/* ==========================================================================
   Ege Cam — Ana Stil Dosyası
   Görsel Dil: Manrope | #18382E | #A9BDB0 | #F7F8F4 | #102820
   ========================================================================== */

:root {
  --pine: #18382E;
  --pine-hover: #112A22;
  --sage: #A9BDB0;
  --sage-hover: #96AE9F;
  --bg: #F7F8F4;
  --surface: #FFFFFF;
  --result-bg: #D5E4D8;
  --text: #102820;
  --text-muted: #4D625B;
  --border: #DCE2DD;
  --border-strong: #C3CEC7;
  --error: #B42318;
  --error-bg: #FEF3F2;
  --radius-card: 12px;
  --radius-btn: 10px;
  --radius-input: 8px;
  --shadow-sm: 0 2px 10px rgba(16, 40, 32, 0.04);
  --shadow-card: 0 6px 20px rgba(16, 40, 32, 0.05);
  --shadow-card-hover: 0 12px 28px rgba(16, 40, 32, 0.1);
  --container-max: 1320px;
  --transition: 0.22s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font-family: inherit;
}

:focus-visible {
  outline: 2px solid var(--pine);
  outline-offset: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 40px;
}

/* ==========================================================================
   1. ÜST MENÜ (HEADER)
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--surface);
  border-bottom: 1px solid rgba(16, 40, 32, 0.07);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 24px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  padding: 6px 2px;
  position: relative;
  transition: color var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--pine);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background-color: var(--pine);
  border-radius: 2px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  font-size: 15px;
  border-radius: var(--radius-btn);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color var(--transition), color var(--transition), transform var(--transition), border-color var(--transition), opacity var(--transition);
  white-space: nowrap;
  text-decoration: none;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn-primary {
  background-color: var(--pine);
  color: var(--surface);
  padding: 12px 24px;
}

.btn-primary:hover {
  background-color: var(--pine-hover);
}

.btn-sage {
  background-color: var(--sage);
  color: var(--text);
  padding: 14px 24px;
}

.btn-sage:hover {
  background-color: var(--sage-hover);
}

.btn-outline {
  background-color: var(--surface);
  color: var(--text);
  border-color: var(--border-strong);
  padding: 11px 18px;
}

.btn-outline:hover {
  border-color: var(--pine);
  background-color: #F2F5F2;
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  color: var(--text);
  border-radius: 8px;
  cursor: pointer;
}

.menu-toggle svg {
  width: 26px;
  height: 26px;
}

/* Mobil Menü Çekmecesi */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(16, 40, 32, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}

.mobile-drawer.open {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(320px, 86vw);
  height: 100%;
  background: var(--surface);
  padding: 20px 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transform: translateX(100%);
  transition: transform 0.26s ease;
  box-shadow: -8px 0 30px rgba(16, 40, 32, 0.14);
}

.mobile-drawer.open .mobile-drawer-panel {
  transform: translateX(0);
}

.mobile-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.mobile-drawer-head img {
  height: 36px;
  width: auto;
}

.drawer-close {
  width: 40px;
  height: 40px;
  border: none;
  background: var(--bg);
  color: var(--text);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.drawer-close svg {
  width: 22px;
  height: 22px;
}

.mobile-nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-nav-links a {
  display: block;
  padding: 12px 14px;
  font-size: 17px;
  font-weight: 700;
  border-radius: 8px;
  color: var(--text);
}

.mobile-nav-links a:hover,
.mobile-nav-links a.active {
  background: var(--bg);
  color: var(--pine);
}

.mobile-drawer-cta {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-drawer-cta .btn {
  width: 100%;
}

/* ==========================================================================
   2. AÇILIŞ (HERO SLIDER)
   ========================================================================== */

.hero-section {
  position: relative;
  background-color: var(--pine);
  overflow: hidden;
}

.hero-slider {
  position: relative;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
}

.hero-slides {
  position: relative;
}

.hero-slide {
  display: none;
  grid-template-columns: 40% 60%;
  min-height: 550px;
  background-color: var(--pine);
}

.hero-slide.is-active {
  display: grid;
  animation: heroFade 0.45s ease;
}

@keyframes heroFade {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}

.hero-content {
  background-color: var(--pine);
  color: var(--surface);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 56px 48px 56px 64px;
  gap: 32px;
  z-index: 2;
}

.hero-title {
  margin: 0;
  font-size: 62px;
  font-weight: 700;
  line-height: 1.07;
  letter-spacing: -0.025em;
  color: var(--surface);
}

.hero-cta {
  padding: 15px 26px;
  font-size: 16px;
  font-weight: 700;
  border-radius: var(--radius-btn);
}

.hero-media {
  position: relative;
  width: 100%;
  height: 550px;
  overflow: hidden;
  background-color: #102820;
}

.hero-media picture,
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
}

.hero-media[data-pos="center"] img {
  object-position: center center;
}

.hero-media::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 96px;
  background: linear-gradient(to top, rgba(16, 40, 32, 0.36), transparent);
  pointer-events: none;
}

/* Slayt Kontrolleri (Fotoğrafın Alt Ortasında) */
.hero-controls {
  position: absolute;
  bottom: 22px;
  left: 70%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 14px;
}

.slider-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.72);
  background: rgba(16, 40, 32, 0.32);
  backdrop-filter: blur(4px);
  color: var(--surface);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color var(--transition), border-color var(--transition);
}

.slider-arrow:hover {
  background: rgba(24, 56, 46, 0.75);
  border-color: var(--surface);
}

.slider-arrow svg {
  width: 18px;
  height: 18px;
}

.slider-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.slider-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  background: transparent;
  cursor: pointer;
  transition: background-color var(--transition), transform var(--transition);
}

.slider-dot.is-active {
  background: var(--surface);
  transform: scale(1.1);
}

.slider-pause {
  margin-left: 4px;
  height: 32px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(16, 40, 32, 0.42);
  backdrop-filter: blur(4px);
  color: var(--surface);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: background-color var(--transition);
}

.slider-pause:hover {
  background: rgba(24, 56, 46, 0.82);
}

/* ==========================================================================
   3. ÖLÇÜ ARACI (QUOTE CALCULATOR BAR)
   ========================================================================== */

.quote-band {
  background-color: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 24px 0 20px;
  scroll-margin-top: 84px;
}

.quote-form {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  flex-wrap: nowrap;
}

.quote-heading-wrap {
  display: flex;
  align-items: center;
  height: 48px;
  padding-right: 18px;
  border-right: 1px solid var(--border);
  flex-shrink: 0;
}

.quote-heading {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.015em;
  white-space: nowrap;
}

.quote-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  position: relative;
}

.quote-field label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  line-height: 1.2;
}

.quote-field--system {
  flex: 1.25 1 215px;
  min-width: 195px;
}

.quote-dimensions {
  display: flex;
  gap: 12px;
  flex: 1.1 1 245px;
}

.quote-field--dim {
  flex: 1 1 115px;
  min-width: 105px;
}

.select-wrap {
  position: relative;
}

.quote-select,
.quote-input {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-input);
  background-color: var(--surface);
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.quote-select {
  appearance: none;
  padding-right: 38px;
  cursor: pointer;
}

.select-chevron {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--text);
  pointer-events: none;
}

.input-unit-wrap {
  position: relative;
}

.quote-input {
  padding-right: 38px;
}

.input-unit {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  pointer-events: none;
}

.quote-select:focus,
.quote-input:focus {
  outline: none;
  border-color: var(--pine);
  box-shadow: 0 0 0 3px rgba(24, 56, 46, 0.12);
}

.quote-input.is-invalid {
  border-color: var(--error);
  background-color: var(--error-bg);
}

.quote-result-box {
  height: 60px;
  min-width: 138px;
  padding: 6px 16px;
  background-color: var(--result-bg);
  border-radius: var(--radius-btn);
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-shrink: 0;
}

.quote-result-box.is-hidden {
  display: none;
}

.quote-result-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--pine);
  line-height: 1.15;
}

.quote-result-value {
  font-size: 24px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.quote-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.btn-example {
  height: 48px;
  padding: 0 18px;
  border-radius: var(--radius-btn);
  border: 1.5px solid var(--border-strong);
  background: var(--surface);
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-example:hover {
  border-color: var(--pine);
  background-color: #EDF3EE;
}

.btn-example.is-hidden {
  display: none;
}

.btn-whatsapp {
  height: 48px;
  padding: 0 22px;
  background-color: var(--pine);
  color: var(--surface);
  border-radius: var(--radius-btn);
  font-size: 15px;
  font-weight: 700;
}

.btn-whatsapp:hover:not(:disabled) {
  background-color: var(--pine-hover);
}

.quote-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 10px;
  min-height: 20px;
  flex-wrap: wrap;
}

.quote-disclaimer {
  margin: 0;
  font-size: 12.5px;
  color: var(--text-muted);
}

.quote-errors {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--error);
}

.field-error-text {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--error);
  margin-top: 2px;
  display: none;
}

.field-error-text.is-visible {
  display: block;
}

/* ==========================================================================
   4. HİZMETLER (CAM VE DOĞRAMA SİSTEMLERİ)
   ========================================================================== */

.services-section {
  padding: 48px 0 64px;
}

.section-title {
  margin: 0 0 28px;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  display: flex;
  flex-direction: column;
  background-color: var(--surface);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(16, 40, 32, 0.06);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(24, 56, 46, 0.22);
}

.service-card-media {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: #E7ECE8;
}

.service-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.service-card:hover .service-card-media img {
  transform: scale(1.04);
}

.service-card-body {
  padding: 16px 18px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.service-card-title {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
}

.service-card-desc {
  margin: 6px 0 0;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.45;
}

/* ==========================================================================
   5. KAPANIŞ BANDI & ALT BİLGİ (CTA + FOOTER)
   ========================================================================== */

.closing-cta {
  background-color: var(--pine);
  color: var(--surface);
  padding: 28px 0;
}

.closing-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.closing-cta-title {
  margin: 0;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--surface);
}

.site-footer {
  background-color: #112A22;
  color: rgba(255, 255, 255, 0.82);
  padding: 28px 0;
  font-size: 14px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-brand-name {
  font-weight: 800;
  color: var(--surface);
  font-size: 16px;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--sage);
}

/* ==========================================================================
   ALT SAYFALAR (ÜRÜNLER, DETAYLAR, UYGULAMALAR, İLETİŞİM)
   ========================================================================== */

.page-hero {
  background-color: var(--pine);
  color: var(--surface);
  padding: 48px 0 44px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.breadcrumb a:hover {
  color: var(--sage);
}

.page-title {
  margin: 0 0 12px;
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.12;
}

.page-lead {
  margin: 0;
  max-width: 680px;
  font-size: 16.5px;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.55;
}

.section-pad {
  padding: 52px 0;
}

.section-pad-sm {
  padding: 36px 0;
}

.sub-heading {
  margin: 0 0 10px;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.sub-lead {
  margin: 0 0 28px;
  color: var(--text-muted);
  font-size: 15.5px;
  max-width: 700px;
}

/* Cam Balkon 3 Alt Model Kartları */
.models-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.model-card {
  background: var(--surface);
  border-radius: var(--radius-card);
  border: 1px solid rgba(16, 40, 32, 0.08);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.model-card-media {
  aspect-ratio: 16 / 10;
  background: #E8EDE9;
  overflow: hidden;
}

.model-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.model-card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.model-badge {
  display: inline-flex;
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--result-bg);
  color: var(--pine);
  font-size: 12px;
  font-weight: 700;
}

.model-card-title {
  margin: 0;
  font-size: 21px;
  font-weight: 800;
}

.model-card-text {
  margin: 0;
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.55;
}

.model-specs-mini {
  list-style: none;
  margin: 4px 0 8px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13.5px;
  color: var(--text);
}

.model-specs-mini li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.model-specs-mini li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pine);
  flex-shrink: 0;
}

.model-card-actions {
  margin-top: auto;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 8px;
}

/* Ürün Detay Yerleşimi */
.detail-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: start;
}

.detail-card {
  background: var(--surface);
  border-radius: var(--radius-card);
  padding: 28px;
  border: 1px solid rgba(16, 40, 32, 0.08);
  box-shadow: var(--shadow-card);
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px;
}

.spec-table tr {
  border-bottom: 1px solid var(--border);
}

.spec-table th,
.spec-table td {
  text-align: left;
  padding: 12px 8px;
  font-size: 14.5px;
}

.spec-table th {
  color: var(--text-muted);
  font-weight: 600;
  width: 44%;
}

.spec-table td {
  color: var(--text);
  font-weight: 700;
}

.detail-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.detail-photo-card {
  background: var(--surface);
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid rgba(16, 40, 32, 0.08);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  padding: 0;
  text-align: left;
}

.detail-photo-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.detail-photo-card figcaption {
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

.notice-box {
  background: #EDF3EE;
  border: 1px solid #C8DACD;
  border-radius: var(--radius-card);
  padding: 18px 20px;
  font-size: 14px;
  color: var(--text);
  line-height: 1.55;
}

/* ==========================================================================
   UYGULAMALAR GALERİSİ & LIGHTBOX
   ========================================================================== */

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.filter-btn {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--border-strong);
  background: var(--surface);
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
}

.filter-btn:hover {
  border-color: var(--pine);
}

.filter-btn.is-active {
  background: var(--pine);
  border-color: var(--pine);
  color: var(--surface);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.gallery-item {
  background: var(--surface);
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid rgba(16, 40, 32, 0.08);
  box-shadow: var(--shadow-card);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  text-align: left;
  padding: 0;
  transition: transform var(--transition), box-shadow var(--transition);
}

.gallery-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
}

.gallery-item.is-hidden {
  display: none;
}

.gallery-thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #E8EDE9;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-caption {
  padding: 14px 16px;
}

.gallery-tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--pine);
  background: var(--result-bg);
  padding: 3px 9px;
  border-radius: 999px;
  margin-bottom: 6px;
}

.gallery-title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}

.gallery-empty {
  display: none;
  background: var(--surface);
  border-radius: var(--radius-card);
  border: 1px dashed var(--border-strong);
  padding: 36px 24px;
  text-align: center;
  color: var(--text-muted);
}

.gallery-empty.is-visible {
  display: block;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(10, 24, 19, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox.is-open {
  display: flex;
}

.lightbox-dialog {
  position: relative;
  max-width: 1040px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.lightbox-img-wrap {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img {
  max-height: 76vh;
  max-width: 100%;
  border-radius: var(--radius-card);
  object-fit: contain;
  background: #0D1E18;
}

.lightbox-caption {
  color: var(--surface);
  font-size: 15px;
  font-weight: 600;
  text-align: center;
}

.lightbox-close {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(16, 40, 32, 0.7);
  color: var(--surface);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.lightbox-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(16, 40, 32, 0.7);
  color: var(--surface);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

/* ==========================================================================
   İLETİŞİM SAYFASI
   ========================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.contact-card {
  background: var(--surface);
  border-radius: var(--radius-card);
  padding: 28px;
  border: 1px solid rgba(16, 40, 32, 0.08);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-card h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
}

.contact-card p {
  margin: 0;
  font-size: 14.5px;
  color: var(--text-muted);
}

.contact-value {
  font-size: 20px;
  font-weight: 800;
  color: var(--pine);
}

/* ==========================================================================
   ANA SAYFA ZENGİNLEŞTİRME BÖLÜMLERİ (SÜREÇ, GALERİ ÖNİZLEME, SSS, FOOTER)
   ========================================================================== */

.section-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.section-header-row .section-title,
.section-header-row .sub-heading {
  margin-bottom: 6px;
}

.section-header-row p {
  margin: 0;
  color: var(--text-muted);
  font-size: 15.5px;
  max-width: 640px;
}

.surface-band {
  background-color: var(--surface);
  border-top: 1px solid rgba(16, 40, 32, 0.06);
  border-bottom: 1px solid rgba(16, 40, 32, 0.06);
  padding: 64px 0;
}

.soft-band {
  background-color: var(--bg);
  padding: 64px 0;
}

/* 4 Adımda Süreç Kartları */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.process-card {
  background: var(--bg);
  border: 1px solid rgba(16, 40, 32, 0.08);
  border-radius: var(--radius-card);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.process-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--pine);
  color: var(--surface);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.process-title {
  margin: 4px 0 0;
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
}

.process-text {
  margin: 0;
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Güven / Avantaj Şeridi */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.trust-pill {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.trust-pill strong {
  font-size: 15.5px;
  font-weight: 800;
  color: var(--pine);
}

.trust-pill span {
  font-size: 13.5px;
  color: var(--text-muted);
}

/* SSS Akordeon */
.faq-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid rgba(16, 40, 32, 0.09);
  border-radius: var(--radius-card);
  padding: 18px 22px;
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 20px;
  font-weight: 700;
  color: var(--pine);
  line-height: 1;
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item p {
  margin: 12px 0 0;
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Zengin Footer Grid */
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 20px;
}

.footer-col h3 {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--sage);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  font-weight: 500;
}

.footer-col a:hover {
  color: var(--sage);
}

.footer-col p {
  margin: 10px 0 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
  max-width: 300px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
}

/* ==========================================================================
   RESPONSIVE: TABLET & MOBİL (390px ÖNCELİKLİ)
   ========================================================================== */

@media (max-width: 1180px) {
  .container {
    padding: 0 24px;
  }
  .hero-content {
    padding: 40px 32px;
  }
  .hero-title {
    font-size: 48px;
  }
  .quote-form {
    flex-wrap: wrap;
  }
  .quote-heading-wrap {
    width: 100%;
    height: auto;
    border-right: none;
    padding-right: 0;
    margin-bottom: 4px;
  }
}

@media (max-width: 900px) {
  .desktop-nav {
    display: none;
  }
  .menu-toggle {
    display: inline-flex;
  }
  .hero-slide {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-media {
    order: -1;
    height: 248px;
  }
  .hero-content {
    padding: 26px 22px 30px;
    gap: 18px;
  }
  .hero-title {
    font-size: 34px;
    line-height: 1.12;
  }
  .hero-cta {
    padding: 13px 22px;
    font-size: 15px;
  }
  .hero-controls {
    top: 196px;
    bottom: auto;
    left: 50%;
    transform: translateX(-50%);
    gap: 10px;
  }
  .slider-arrow {
    width: 32px;
    height: 32px;
  }
  .slider-pause {
    display: none;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .models-grid,
  .gallery-grid,
  .contact-grid,
  .detail-layout,
  .faq-list {
    grid-template-columns: 1fr;
  }
  .process-grid,
  .trust-strip,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .surface-band,
  .soft-band {
    padding: 44px 0;
  }
  .detail-gallery-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .container {
    padding: 0 18px;
  }
  .header-inner {
    height: 66px;
  }
  .brand-logo img {
    height: 36px;
  }
  .quote-band {
    padding: 20px 0 18px;
  }
  .quote-form {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .quote-heading {
    font-size: 19px;
  }
  .quote-field--system {
    flex: none;
    width: 100%;
    min-width: 0;
  }
  .quote-dimensions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    flex: none;
    width: 100%;
  }
  .quote-field--dim {
    min-width: 0;
  }
  .quote-result-box {
    width: 100%;
    height: auto;
    padding: 12px 16px;
  }
  .quote-result-value {
    font-size: 26px;
  }
  .quote-actions {
    width: 100%;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px;
  }
  .quote-actions.no-example {
    grid-template-columns: 1fr;
  }
  .btn-example {
    padding: 0 18px;
  }
  .btn-whatsapp {
    width: 100%;
    padding: 0 16px;
    font-size: 14.5px;
  }
  .services-section {
    padding: 28px 0 40px;
  }
  .section-title {
    font-size: 23px;
    margin-bottom: 18px;
  }
  .service-card-body {
    padding: 11px 12px 13px;
  }
  .service-card-title {
    font-size: 14.5px;
  }
  .closing-cta {
    padding: 22px 0;
  }
  .closing-cta-title {
    font-size: 22px;
  }
  .closing-cta .btn-sage {
    padding: 11px 16px;
    font-size: 14px;
  }
  .page-title {
    font-size: 30px;
  }
  .process-grid,
  .trust-strip,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .closing-cta-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .lightbox-nav {
    top: auto;
    bottom: 20px;
    transform: none;
  }
}
