/* ==========================================================================
   POLİMAN YALITIM — PAGES & SECTION SPECIFIC STYLES
   ========================================================================== */

/* ==========================================================================
   HERO SECTION (Tam Genişlik & Endüstriyel Güç)
   ========================================================================== */
/* ==========================================================================
   HERO SECTION (Split Layout & Endüstriyel Mühendislik)
   ========================================================================== */
.hero-section {
  position: relative;
  background-color: var(--primary-dark);
  color: #FFFFFF;
  padding: 80px 0 96px;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 85% 15%, rgba(230, 81, 0, 0.12) 0%, transparent 45%),
    linear-gradient(180deg, rgba(10, 39, 68, 0.92) 0%, rgba(10, 39, 68, 0.98) 100%);
  pointer-events: none;
}

.hero-split-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 2;
}

@media (max-width: 992px) {
  .hero-split-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: clamp(1.4rem, 2.65vw, 2.5rem);
  color: #FFFFFF;
  line-height: 1.25;
  margin-bottom: var(--space-6);
  letter-spacing: -0.02em;
  font-weight: 800;
}

.hero-title-line {
  display: block;
  white-space: nowrap;
}

.hero-title .highlight {
  color: #FF8A65;
  font-weight: 800;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 1.4vw, 1.22rem);
  color: #CBD5E1;
  line-height: 1.65;
  margin-bottom: var(--space-8);
  max-width: 640px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-bottom: var(--space-8);
}

.hero-quick-features {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: var(--space-6);
}

.quick-feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: #CBD5E1;
  font-weight: 500;
}

.quick-feature-item svg {
  color: var(--accent);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.hero-image-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-image-wrap img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  display: block;
}

.hero-image-overlay-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(10, 39, 68, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 14px 20px;
  border-radius: var(--radius-md);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 14px;
}

/* ==========================================================================
   TRUST BAR (Hero Altı Güven & Rakamlar)
   ========================================================================== */
.trust-bar-section {
  background-color: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 3;
  margin-top: -40px;
  padding: 20px 24px;
}

.trust-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  overflow-x: auto;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 auto;
  white-space: nowrap;
}

.trust-icon-box {
  width: 44px;
  height: 44px;
  background-color: var(--primary-subtle);
  color: var(--primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-icon-box svg {
  width: 22px;
  height: 22px;
}

.trust-info {
  display: flex;
  flex-direction: column;
}

.trust-number {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.1;
  white-space: nowrap;
}

.trust-label {
  font-size: 0.76rem;
  color: var(--muted);
  font-weight: 500;
  white-space: nowrap;
}

/* ==========================================================================
   MEGA CTA (Sayfa Sonu Dönüşüm Bandı)
   ========================================================================== */
.mega-cta-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: #FFFFFF;
  padding: var(--space-16) 0;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  text-align: center;
}

.mega-cta-section::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(230, 81, 0, 0.3) 0%, transparent 70%);
}

.mega-cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: var(--space-6);
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.mega-cta-title {
  font-size: 2.2rem;
  color: #FFFFFF;
  margin-bottom: 12px;
  text-align: center;
}

.mega-cta-desc {
  font-size: 1.05rem;
  color: #E2E8F0;
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  line-height: 1.6;
}

.mega-cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  width: 100%;
}

/* ==========================================================================
   SECTIONS GENERAL SPACING
   ========================================================================== */
.section-py {
  padding-top: var(--space-20);
  padding-bottom: var(--space-20);
}

.bg-surface-alt {
  background-color: var(--surface-alt);
}

.bg-dark {
  background-color: var(--primary-dark);
  color: #FFFFFF;
}

/* ==========================================================================
   WHY POLIMAN (Neden Biz? 6 Temel Avantaj)
   ========================================================================== */
.feature-card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  transition: all var(--transition-normal);
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(15, 59, 102, 0.3);
  box-shadow: var(--shadow-md);
}

.feature-card-icon {
  width: 48px;
  height: 48px;
  background-color: var(--accent-subtle);
  color: var(--accent);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
}

.feature-card-icon svg {
  width: 24px;
  height: 24px;
}

.feature-card-title {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.feature-card-desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.55;
}

/* ==========================================================================
   ABOUT SECTION (Hakkımızda & Mühendislik)
   ========================================================================== */
.about-image-stack {
  position: relative;
}

.about-main-img-box {
  width: 100%;
  height: 480px;
  background: linear-gradient(135deg, #1E293B 0%, #0F3B66 100%);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-8);
  color: #FFFFFF;
  text-align: center;
}

.about-floating-stat {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background-color: var(--surface);
  border: 2px solid var(--accent);
  border-radius: var(--radius-md);
  padding: var(--space-5) var(--space-6);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 16px;
}

.floating-stat-num {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.floating-stat-text {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.25;
}

/* ==========================================================================
   TESTIMONIALS (Müşteri Yorumları)
   ========================================================================== */
.testimonial-card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  color: #F59E0B;
  margin-bottom: var(--space-4);
}

.testimonial-comment {
  font-size: 0.96rem;
  color: var(--text);
  line-height: 1.65;
  margin-bottom: var(--space-6);
  font-style: italic;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
  padding-top: var(--space-4);
}

.testimonial-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.94rem;
  color: var(--primary-dark);
}

.testimonial-meta {
  font-size: 0.8rem;
  color: var(--muted);
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-item.is-active {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  text-align: left;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--dark);
}

.faq-icon {
  width: 20px;
  height: 20px;
  color: var(--primary);
  transition: transform var(--transition-normal);
}

.faq-item.is-active .faq-icon {
  transform: rotate(180deg);
  color: var(--accent);
}

.faq-answer {
  display: none;
  padding: 0 24px 20px 24px;
  font-size: 0.94rem;
  color: var(--muted);
  line-height: 1.65;
  border-top: 1px solid rgba(0, 0, 0, 0.04);
  padding-top: 12px;
}

.faq-item.is-active .faq-answer {
  display: block;
}

/* ==========================================================================
   MEGA CTA (Sayfa Sonu Dönüşüm Bandı)
   ========================================================================== */
.mega-cta-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: #FFFFFF;
  padding: var(--space-16) 0;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.mega-cta-section::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 100%;
  background: radial-gradient(circle, rgba(230, 81, 0, 0.25) 0%, transparent 70%);
}

.mega-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.mega-cta-title {
  font-size: 2.2rem;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.mega-cta-desc {
  font-size: 1.05rem;
  color: #E2E8F0;
  max-width: 600px;
}

.mega-cta-buttons {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

/* Responsive Pages Adjustments */
@media (max-width: 1024px) {
  .about-floating-stat { position: static; margin-top: 20px; }
}

@media (max-width: 768px) {
  /* 1. HERO MOBİL ORTALAMA */
  .hero-section {
    text-align: center;
    padding-top: 36px;
    padding-bottom: 36px;
  }
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .hero-content .badge {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 12px;
  }
  .hero-title {
    text-align: center;
    font-size: clamp(1.75rem, 5.5vw, 2.25rem);
    line-height: 1.22;
  }
  .hero-title-line {
    text-align: center;
    display: block;
    white-space: normal;
  }
  .hero-subtitle {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    font-size: 0.96rem;
  }
  .hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 12px;
    margin-top: 20px;
  }
  .hero-actions .btn {
    width: 100%;
    max-width: 320px;
    justify-content: center;
    margin: 0 auto;
  }

  /* 2. TRUST BAR MOBİL DÜZGÜN & TEMİZ 2 KOLON GRID */
  .trust-bar-section {
    margin-top: 0;
    border-radius: var(--radius-md);
    padding: 16px;
  }
  .trust-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    width: 100%;
    overflow-x: visible;
  }
  .trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
    background-color: var(--surface-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 14px 10px;
    width: 100%;
    gap: 8px;
  }
  .trust-icon-box {
    margin: 0 auto;
    width: 40px;
    height: 40px;
  }
  .trust-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .trust-number {
    font-size: 0.88rem;
    text-align: center;
  }
  .trust-label {
    font-size: 0.74rem;
    text-align: center;
  }

  /* 3. NEDEN POLİMAN İKONLAR ORTALI */
  .feature-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px 20px;
  }
  .feature-card-icon {
    margin: 0 auto 16px auto;
  }
  .feature-card-title {
    text-align: center;
  }
  .feature-card-desc {
    text-align: center;
  }

  /* 4. KURUMSAL / HAKKIMIZDA BÖLÜMÜ ORTALI */
  #hakkimizda .col-6 {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  #hakkimizda .badge {
    margin-left: auto;
    margin-right: auto;
  }
  #hakkimizda .section-title {
    text-align: center;
  }
  #hakkimizda p {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  #hakkimizda .grid-2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 12px;
  }
  #hakkimizda .grid-2 > div {
    justify-content: center;
    text-align: center;
    width: 100%;
  }
  #hakkimizda .btn {
    margin: 0 auto;
    display: inline-flex;
    justify-content: center;
  }

  /* 5. UYGULAMA ALANLARI & HİZMETLER İKONLAR VE ROZETLER ORTALI */
  .service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .service-card-badge,
  .service-card .badge {
    align-self: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-bottom: 12px !important;
    display: inline-flex !important;
    justify-content: center !important;
    text-align: center !important;
  }
  .service-icon-wrap {
    margin: 0 auto 16px auto;
  }
  .service-card-title {
    text-align: center;
  }
  .service-card-desc {
    text-align: center;
  }
  .service-card-link {
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
  }

  /* 6. ÇALIŞMA SÜRECİMİZ 01 YAZANLAR ORTALI */
  .process-steps-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .process-step-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .step-number {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  .step-title {
    text-align: center;
  }
  .step-desc {
    text-align: center;
  }

  /* 7. TEKNİK AVANTAJLAR (0.022 W/mK) MOBİLDE ORTALI */
  .tech-spec-box {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
  }
  .tech-spec-val,
  .tech-spec-label,
  .tech-spec-box p {
    text-align: center !important;
  }

  /* 8. SAHA DENEYİMLERİ (MÜŞTERİ YORUMLARI) YILDIZLAR VE KARTLAR ORTALI */
  .testimonial-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }
  .testimonial-card > div:first-child {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
  }
  .testimonial-stars {
    display: flex !important;
    justify-content: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-bottom: 12px !important;
    text-align: center !important;
  }
  .testimonial-comment {
    text-align: center !important;
  }
  .testimonial-author {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    width: 100%;
  }
  .testimonial-name,
  .testimonial-meta {
    text-align: center !important;
  }

  /* 9. TÜM PROJELERİMİZ, PROJEYİ İNCELE, TÜM MAKALELERİ OKU BUTONLARI ORTALI */
  .flex.items-center.justify-between {
    flex-direction: column;
    text-align: center;
    align-items: center;
    justify-content: center;
    gap: 16px;
  }
  .flex.items-center.justify-between > div {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .flex.items-center.justify-between .btn {
    margin: 0 auto;
    display: inline-flex;
    justify-content: center;
  }
  .project-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .project-body .btn {
    align-self: center !important;
    margin: 0 auto;
  }

  /* MEGA CTA MOBİL */
  .mega-cta-inner { flex-direction: column; text-align: center; }
  .mega-cta-buttons { flex-direction: column; width: 100%; }
  .mega-cta-buttons .btn { width: 100%; max-width: 320px; margin: 0 auto; }
}

.mobile-only-break {
  display: none;
}
@media (max-width: 768px) {
  .mobile-only-break {
    display: inline !important;
  }
}
