/* ============================================
   MENDERES DİJİTAL — Page-Specific Styles
   ============================================ */

/* --- Marquee Bar --- */
.marquee-bar { width: 100%; background: var(--orange); overflow: hidden; position: relative; min-height: 52px; }
.marquee-item {
  font-family: var(--font-display); font-size: clamp(16px, 2.5vw, 28px);
  color: var(--bg); display: flex; align-items: center; gap: 24px; flex-shrink: 0; margin-right: 24px;
}
.marquee-dot { width: 8px; height: 8px; background: rgba(8,8,8,0.35); transform: rotate(45deg); flex-shrink: 0; }

/* --- Glow Backgrounds --- */
.glow-bg::before {
  content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 600px; height: 600px; border-radius: 50%; background: var(--orange-subtle);
  filter: blur(150px); pointer-events: none;
}

/* --- Service Detail Page --- */
.service-hero { padding: 140px 0 80px; }
.service-hero h1 { font-family: var(--font-display); font-size: clamp(36px, 7vw, 80px); line-height: 0.9; color: var(--fg); }
.service-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.service-feature {
  padding: 32px; border-radius: var(--radius-lg); background: rgba(255,255,255,0.02);
  border: 1px solid var(--border); transition: var(--transition);
}
.service-feature:hover { border-color: rgba(255,109,0,0.2); }
.service-feature h3 { font-family: var(--font-heading); font-size: 18px; font-weight: 700; color: var(--fg); margin: 16px 0 8px; }
.service-feature p { font-size: 14px; color: var(--fg-muted); line-height: 1.7; }

/* --- Process Steps (Service Pages) --- */
.process-steps { counter-reset: step; }
.process-step {
  position: relative; padding: 32px 32px 32px 80px; border-left: 2px solid var(--border);
  margin-left: 24px; counter-increment: step;
}
.process-step::before {
  content: counter(step, decimal-leading-zero); position: absolute; left: -20px; top: 28px;
  width: 40px; height: 40px; border-radius: 50%; background: var(--bg); border: 2px solid var(--orange);
  font-family: var(--font-mono); font-size: 12px; font-weight: 700; color: var(--orange);
  display: flex; align-items: center; justify-content: center;
}
.process-step h3 { font-family: var(--font-heading); font-size: 20px; font-weight: 700; color: var(--fg); margin-bottom: 8px; }
.process-step p { font-size: 14px; color: var(--fg-muted); line-height: 1.7; }

/* --- Contact Page --- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-info-card {
  display: flex; align-items: flex-start; gap: 16px; padding: 20px; border-radius: var(--radius);
  border: 1px solid var(--border); transition: var(--transition);
}
.contact-info-card:hover { border-color: rgba(255,109,0,0.2); }
.contact-info-icon { width: 44px; height: 44px; border-radius: 10px; background: var(--orange-subtle); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-info-icon svg { width: 20px; height: 20px; color: var(--orange); }
.contact-info-card h3 { font-family: var(--font-heading); font-size: 14px; font-weight: 600; color: var(--fg); margin-bottom: 4px; }
.contact-info-card p, .contact-info-card a { font-size: 14px; color: var(--fg-muted); }
.contact-info-card a:hover { color: var(--orange); }

.map-container { width: 100%; height: 300px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); margin-top: 24px; }
.map-container iframe { width: 100%; height: 100%; border: 0; }

/* --- About Page --- */
.about-hero { padding: 140px 0 80px; }
.about-values { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.about-value { padding: 32px; border-radius: var(--radius-lg); border: 1px solid var(--border); }
.about-icon { color: var(--orange); margin-bottom: 12px; }
.about-value h3 { font-family: var(--font-heading); font-size: 18px; font-weight: 700; color: var(--fg); margin-bottom: 12px; }
.about-value p { font-size: 14px; color: var(--fg-muted); line-height: 1.7; }

/* --- Blog Listing --- */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 32px; }

/* --- Blog Article --- */
.article-header { padding: 140px 0 48px; }
.article-meta { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.article-tag { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.15em; color: var(--orange); padding: 4px 10px; border: 1px solid rgba(255,109,0,0.3); border-radius: 6px; }
.article-date { font-family: var(--font-mono); font-size: 11px; color: var(--fg-dim); }
.article-title { font-family: var(--font-display); font-size: clamp(32px, 6vw, 64px); line-height: 0.95; color: var(--fg); }
.article-hero-img { width: 100%; max-height: 480px; object-fit: cover; border-radius: var(--radius-lg); margin: 32px 0; }

/* --- CTA Section --- */
.cta-section { padding: 120px 0; text-align: center; position: relative; }
.cta-section::before {
  content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 500px; height: 500px; border-radius: 50%; background: rgba(255,109,0,0.06);
  filter: blur(180px); pointer-events: none;
}
.cta-title { font-family: var(--font-display); font-size: clamp(40px, 10vw, 120px); line-height: 0.88; color: var(--fg); overflow-wrap: break-word; word-break: break-word; }
.cta-text { margin: 24px auto 0; max-width: 480px; font-size: 16px; color: var(--fg-muted); line-height: 1.7; }
.cta-contacts { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 32px; }
.cta-contact-item { display: flex; align-items: center; gap: 8px; font-family: var(--font-heading); font-size: 14px; color: var(--fg-dim); transition: color 0.3s; }
.cta-contact-item:hover { color: var(--orange); }
.cta-contact-item svg { width: 18px; height: 18px; }

/* --- 404 --- */
.error-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; }
.error-code { font-family: var(--font-display); font-size: clamp(100px, 25vw, 300px); line-height: 1; color: rgba(255,109,0,0.1); }
.error-title { font-family: var(--font-heading); font-size: 24px; font-weight: 700; color: var(--fg); margin-top: -20px; }
.error-text { font-size: 15px; color: var(--fg-muted); margin: 16px 0 32px; }

/* --- WhatsApp Float --- */
.whatsapp-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 80; width: 56px; height: 56px;
  border-radius: 50%; background: #25D366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4); transition: var(--transition);
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 30px rgba(37,211,102,0.5); }
.whatsapp-float svg { width: 28px; height: 28px; fill: white; }

/* --- Legal Pages --- */
.legal-page .section:first-child { padding-top: 140px; }

/* --- Responsive additions --- */
@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
  .service-hero { padding: 120px 0 48px; }
  .about-hero { padding: 120px 0 48px; }
  .cta-section { padding: 80px 0; }
  .process-step { padding-left: 56px; margin-left: 16px; }
  .legal-page .section:first-child { padding-top: 100px; }
  .service-card > a { flex-direction: column; }
  .service-card-img { min-height: 200px !important; }
}
