/* ============================================================
   BERRE KİMYA — ANA SITE STILI v4.0
   Modern, hızlı, animasyonlu, PageSpeed 90+
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500&display=swap');

:root {
  --primary: #0b3d6b;
  --primary2: #1260a4;
  --accent: #e88c14;
  --accent2: #f5a733;
  --dark: #080f1c;
  --text: #1a2234;
  --muted: #6b7a99;
  --light: #f4f6fb;
  --white: #ffffff;
  --border: #e2e6f0;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 4px 24px rgba(11, 61, 107, .09);
  --shadow-lg: 0 12px 48px rgba(11, 61, 107, .15);
  --transition: .3s cubic-bezier(.4, 0, .2, 1);
}

/* ---- RESET ---- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.65;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  position: relative;
}

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

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

ul {
  list-style: none;
}

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-thumb {
  background: var(--primary2);
  border-radius: 3px;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #f7f7f7 !important;
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(11, 61, 107, .07);
  height: 70px;
  transition: box-shadow var(--transition), background var(--transition);
}

.navbar.scrolled {
  box-shadow: 0 2px 20px rgba(11, 61, 107, .12);
}

.navbar-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.navbar-logo img {
  height: 46px;
  width: auto;
  object-fit: contain;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text);
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  background: rgba(11, 61, 107, .07);
  color: var(--primary);
}

.nav-link svg {
  width: 14px;
  height: 14px;
  transition: transform var(--transition);
}

.nav-item:hover .nav-link svg {
  transform: rotate(180deg);
}

/* Dropdown */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all .22s ease;
  z-index: 200;
  overflow: hidden;
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: block;
  padding: 10px 18px;
  font-size: 13.5px;
  color: var(--text);
  transition: background .15s, color .15s;
  border-bottom: 1px solid var(--border);
}

.dropdown-item:last-child {
  border-bottom: none;
}

.dropdown-item:hover {
  background: var(--light);
  color: var(--primary);
}

/* Language button */
.lang-switcher {
  position: relative;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  border: 1.5px solid rgba(11, 61, 107, .2);
  background: transparent;
  font-family: inherit;
  transition: background var(--transition);
}

.lang-btn:hover {
  background: rgba(11, 61, 107, .06);
}

.lang-btn img {
  width: 20px;
  height: 13px;
  border-radius: 2px;
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 160px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all .22s ease;
  overflow: hidden;
  z-index: 200;
}

.lang-switcher:hover .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  font-size: 13px;
  color: var(--text);
  transition: background .15s;
  border-bottom: 1px solid var(--border);
}

.lang-dropdown a:last-child {
  border-bottom: none;
}

.lang-dropdown a:hover {
  background: var(--light);
}

.lang-dropdown img {
  width: 20px;
  height: 13px;
  border-radius: 2px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all .3s;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  z-index: 999;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform .35s ease, visibility .35s ease;
  visibility: hidden;
  pointer-events: none;
  padding: 20px;
}

.mobile-menu.open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

.mobile-nav a {
  display: block;
  padding: 13px 16px;
  font-size: 15px;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

.mobile-nav a:hover {
  color: var(--primary);
}

.mobile-sub {
  padding-left: 20px;
  display: none;
}

.mobile-sub.open {
  display: block;
}

.mobile-toggle {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-toggle svg {
  width: 16px;
  height: 16px;
  transition: transform .3s;
}

.mobile-toggle.open svg {
  transform: rotate(180deg);
}

/* ============================================================
   HERO / EDITORIAL 2-COLUMN SPLIT (CLEAN, WHITE & MINIMAL)
   ============================================================ */
.hero {
  position: relative;
  background: #ffffff;
  margin-top: 70px;
  min-height: calc(100vh - 128px);
  min-height: calc(100dvh - 128px);
  height: calc(100vh - 128px);
  height: calc(100dvh - 128px);
  display: flex;
  align-items: center;
  padding: 12px 0;
  overflow: hidden;
  border-bottom: 1px solid #edf2f7;
}

.hero-container {
  max-width: 1320px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

.hero-split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 52px;
  align-items: center;
  width: 100%;
  min-width: 0;
}

/* Sol Kolon */
.hero-left-col {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 12px 0;
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Outfit', -apple-system, sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 26px;
  height: 2.5px;
  background: var(--accent);
  border-radius: 2px;
  flex-shrink: 0;
}

.hero-text-slider {
  position: relative;
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.hero-text-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0.5s ease;
  pointer-events: none;
  min-width: 0;
  max-width: 100%;
}

.hero-text-slide.active {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.hero-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.35rem, 3.6vw, 3.4rem);
  font-weight: 800;
  color: #08162b;
  line-height: 1.14;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  word-wrap: break-word;
  overflow-wrap: break-word;
  width: 100%;
  max-width: 100%;
}

.hero-desc {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #4b5563;
  max-width: 630px;
  width: 100%;
  margin-bottom: 22px;
  font-weight: 400;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 22px;
}

.hero-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #0b3d6b;
  color: #ffffff !important;
  font-family: 'Outfit', sans-serif;
  font-size: 15.5px;
  font-weight: 700;
  padding: 13px 26px;
  border-radius: 9px;
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
  box-shadow: 0 4px 14px rgba(11, 61, 107, 0.22);
  border: 1.5px solid #0b3d6b;
}

.hero-btn-primary:hover {
  background: #082d50;
  border-color: #082d50;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(11, 61, 107, 0.28);
}

.hero-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  color: #1f2937 !important;
  font-family: 'Outfit', sans-serif;
  font-size: 14.5px;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 9px;
  border: 1.5px solid #d1d5db;
  transition: all .2s ease;
}

.hero-btn-outline:hover {
  background: #f8fafc;
  border-color: #0b3d6b;
  color: #0b3d6b !important;
  transform: translateY(-2px);
}

/* Hero Güven İpuçları (Boş durmaması için) */
.hero-trust-row {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  padding-top: 18px;
  border-top: 1px solid #edf2f7;
}

.hero-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #556987;
}

.hero-trust-item i {
  color: #0b3d6b;
  font-size: 14px;
}

/* Sağ Kolon: Sol Kolonla Eşit Boyutta Görsel Çerçeve */
.hero-right-col {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
}

.hero-photo-frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  width: 100%;
  aspect-ratio: 4 / 3.2;
  max-height: 520px;
  box-shadow: 0 20px 45px -12px rgba(11, 61, 107, 0.16);
}

.hero-photo-slider {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-photo-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.hero-photo-slide.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.hero-photo-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Minimal Slider Nav Overlay */
.hero-photo-nav {
  position: absolute;
  bottom: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  padding: 6px 12px;
  border-radius: 24px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  z-index: 5;
}

.hero-photo-dots {
  display: flex;
  gap: 6px;
}

.hero-photo-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cbd5e1;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all .25s ease;
}

.hero-photo-dot.active {
  background: #0b3d6b;
  width: 20px;
  border-radius: 4px;
}

.hero-photo-arrow {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: transparent;
  border: none;
  color: #4b5563;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  cursor: pointer;
  transition: background .2s, color .2s;
}

.hero-photo-arrow:hover {
  background: #f1f5f9;
  color: #111827;
}

/* Responsive Düzenlemeler */
@media(max-width: 992px) {
  .hero {
    margin-top: 70px;
    min-height: auto;
    height: auto;
    padding: 20px 0 28px;
  }

  .banner-strip {
    height: auto;
    padding: 12px 0;
  }

  .hero-container {
    padding: 0 16px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .hero-split-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    align-items: start;
    width: 100%;
    min-width: 0;
  }

  .hero-left-col {
    padding: 0;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .hero-right-col {
    max-width: 100%;
    margin: 0 auto;
    width: 100%;
    min-height: auto;
    min-width: 0;
  }

  .hero-photo-frame {
    aspect-ratio: 4 / 3;
    min-height: auto;
    height: auto;
    width: 100%;
    max-width: 100%;
  }

  .hero-trust-row {
    gap: 12px;
    width: 100%;
  }

  .hero-trust-item {
    font-size: 12px;
  }
}

@media(max-width: 576px) {
  .hero {
    margin-top: 70px;
    padding: 14px 0 20px;
  }

  .hero-split-grid {
    gap: 16px !important;
  }

  .hero-eyebrow {
    font-size: 12px;
    letter-spacing: 1.8px;
    margin-bottom: 8px;
  }

  .hero-title {
    font-size: 1.65rem !important;
    line-height: 1.22 !important;
    margin-bottom: 10px;
  }

  .hero-desc {
    font-size: 14px !important;
    line-height: 1.6;
    margin-bottom: 14px;
    word-break: normal;
    overflow-wrap: break-word;
    text-align: justify;
  }

  .hero-buttons {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 9px !important;
    width: 100% !important;
    margin-bottom: 14px;
  }

  .hero-btn-outline {
    order: 1 !important;
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 11px 8px !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    text-align: center;
    gap: 6px !important;
    white-space: nowrap;
    border-radius: 9px;
  }

  .hero-btn-outline:only-of-type {
    grid-column: 1 / -1 !important;
  }

  .hero-btn-primary {
    order: 2 !important;
    grid-column: 1 / -1 !important;
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 18px !important;
    font-size: 14.5px !important;
    font-weight: 700 !important;
    text-align: center;
    gap: 8px !important;
    border-radius: 9px;
  }

  .hero-trust-row {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px 14px !important;
    width: 100% !important;
    padding-top: 12px !important;
    margin-top: 0 !important;
    border-top: 1px solid #edf2f7;
    text-align: center;
  }

  .hero-trust-item {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #475569 !important;
    flex: 0 1 calc(50% - 10px) !important;
    max-width: calc(50% - 7px) !important;
    text-align: center !important;
    line-height: 1.3 !important;
  }

  /* Eğer toplam tek rozet kalırsa tam satırda ortalansın */
  .hero-trust-item:last-child:nth-child(odd) {
    flex: 0 1 100% !important;
    max-width: 100% !important;
  }

  .hero-trust-item i {
    color: #0b3d6b !important;
    font-size: 13px !important;
    flex-shrink: 0 !important;
  }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 10px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
}

.btn svg {
  width: 16px;
  height: 16px;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary2);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(11, 61, 107, .3);
}

.btn-accent {
  background: var(--accent);
  color: #fff;
}

.btn-accent:hover {
  background: var(--accent2);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232, 140, 20, .35);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, .5);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, .1);
  border-color: #fff;
}

.btn-outline-dark {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}

.btn-outline-dark:hover {
  background: var(--primary);
  color: #fff;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 13px;
}

.btn-lg {
  padding: 15px 34px;
  font-size: 15px;
}

/* ============================================================
   SECTIONS / LAYOUT
   ============================================================ */
.section {
  padding: 80px 0;
}

.section-sm {
  padding: 50px 0;
}

.section-dark {
  background: var(--dark);
  color: #fff;
}

.section-light {
  background: var(--light);
}

.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-sm {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

.section-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 14px;
}

.section-title.white {
  color: #fff;
}

.section-desc {
  font-size: 15.5px;
  color: var(--muted);
  max-width: 580px;
}

.section-desc.white {
  color: rgba(255, 255, 255, .7);
}

/* ============================================================
   PAGE BANNER (iç sayfalar)
   ============================================================ */
.page-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary2) 100%);
  padding: 100px 0 60px;
  margin-top: 70px;
  position: relative;
  overflow: hidden;
}

.page-banner::after {
  content: '';
  position: absolute;
  right: -100px;
  top: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .04);
}

.page-banner h1 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
}

.page-banner p {
  color: rgba(255, 255, 255, .7);
  font-size: 15px;
}

.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  color: rgba(255, 255, 255, .6);
  margin-top: 16px;
}

.breadcrumb a {
  color: rgba(255, 255, 255, .6);
}

.breadcrumb a:hover {
  color: #fff;
}

.breadcrumb span {
  color: rgba(255, 255, 255, .35);
}

/* ============================================================
   BANNER ITEMS (icon strip)
   ============================================================ */
.banner-strip {
  background: var(--primary);
  height: 58px;
  padding: 0;
  display: flex;
  align-items: center;
}

.banner-strip>.container {
  width: 100%;
}

.banner-strip-inner {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}

.banner-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 32px;
  color: #fff;
  border-right: 1px solid rgba(255, 255, 255, .15);
}

.banner-item:last-child {
  border-right: none;
}

.banner-item i {
  font-size: 20px;
  color: var(--accent2);
}

.banner-item span {
  font-size: 14px;
  font-weight: 600;
}

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

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

.card-body {
  padding: 22px;
}

.card-title {
  font-family: 'Outfit', sans-serif;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.card-text {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

/* ============================================================
   GRID SYSTEM
   ============================================================ */
.grid {
  display: grid;
  gap: 24px;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.grid-auto {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

/* ============================================================
   HAKKIMIZDA
   ============================================================ */
.about-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.about-img-wrap img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.about-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: var(--accent);
  color: #fff;
  border-radius: 12px;
  padding: 16px 22px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(232, 140, 20, .4);
}

.about-badge strong {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.about-badge span {
  font-size: 12px;
  opacity: .9;
}

.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14.5px;
}

.about-list li:last-child {
  border-bottom: none;
}

.about-list li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}

/* ============================================================
   HİZMETLER
   ============================================================ */
.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary), var(--primary2));
  opacity: 0;
  transition: opacity var(--transition);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.service-card:hover .service-icon,
.service-card:hover .service-title,
.service-card:hover .service-desc {
  color: #fff;
}

.service-card:hover .service-icon-wrap {
  background: rgba(255, 255, 255, .15);
}

.service-icon-wrap {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: rgba(11, 61, 107, .08);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
  position: relative;
}

.service-icon {
  font-size: 26px;
  color: var(--primary);
  transition: color var(--transition);
}

.service-title {
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  position: relative;
  transition: color var(--transition);
}

.service-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  position: relative;
  transition: color var(--transition);
}

/* ============================================================
   ÜRÜNLER
   ============================================================ */
.product-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.product-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.product-body {
  padding: 18px;
}

.product-cat {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}

.product-name {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

.product-desc {
  font-size: 13.5px;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ============================================================
   GALERİ
   ============================================================ */
.gallery-grid {
  columns: 3;
  column-gap: 16px;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 16px;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

.gallery-item img,
.gallery-item video {
  width: 100%;
  display: block;
  transition: transform .4s ease;
}

.gallery-item:hover img,
.gallery-item:hover video {
  transform: scale(1.04);
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 61, 107, .5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .3s;
}

.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}

.gallery-item-overlay svg {
  width: 36px;
  height: 36px;
  color: #fff;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: rgba(0, 0, 0, .92);
  display: flex;
  align-items: center;
  justify-content: center;
  display: none;
}

.lightbox.open {
  display: flex;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: var(--radius);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: rgba(255, 255, 255, .1);
  border: none;
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, .2);
}

/* ============================================================
   REFERANSLAR
   ============================================================ */
.refs-track {
  overflow: hidden;
  position: relative;
}

.refs-inner {
  display: flex;
  gap: 32px;
  align-items: center;
  animation: marquee 30s linear infinite;
  width: max-content;
}

.refs-inner:hover {
  animation-play-state: paused;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.ref-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  flex-shrink: 0;
}

.ref-item-nolink {
  cursor: default;
  user-select: none;
}

.ref-logo {
  height: 52px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  opacity: .6;
  filter: grayscale(1);
  transition: opacity .3s, filter .3s;
  flex-shrink: 0;
}

.ref-logo:hover,
.ref-item:hover .ref-logo {
  opacity: 1;
  filter: grayscale(0);
}

/* ============================================================
   İLETİŞİM
   ============================================================ */
.contact-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  box-shadow: var(--shadow);
}

.contact-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 12px;
  background: rgba(11, 61, 107, .08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

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

.contact-label {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: var(--muted);
  margin-bottom: 4px;
}

.contact-value {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

/* Form */
.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 7px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  background: var(--light);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}

.form-control:focus {
  border-color: var(--primary2);
  box-shadow: 0 0 0 3px rgba(18, 96, 164, .1);
  background: #fff;
}

.form-control::placeholder {
  color: var(--muted);
}

textarea.form-control {
  resize: vertical;
  min-height: 130px;
}

select.form-control {
  appearance: none;
  cursor: pointer;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ============================================================
   STATS
   ============================================================ */
.stat-item {
  text-align: center;
}

.stat-num {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 3px;
}

.stat-num span {
  font-size: .5em;
  font-weight: 600;
}

.stat-label {
  font-size: 14px;
  color: var(--muted);
  margin-top: 6px;
}

.stat-num.white {
  color: #fff;
}

/* ============================================================
   ANNOUNCEMENT / DUYURU POPUP
   ============================================================ */
.announcement-overlay {
  position: fixed;
  inset: 0;
  z-index: 4000;
  background: rgba(0, 0, 0, .6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn .3s ease;
}

.announcement-box {
  background: #fff;
  border-radius: var(--radius-lg);
  max-width: 500px;
  width: 100%;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .3);
  animation: popIn .35s ease;
}

@keyframes popIn {
  from {
    opacity: 0;
    transform: scale(.92)
  }

  to {
    opacity: 1;
    transform: scale(1)
  }
}

.announcement-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.announcement-body {
  padding: 28px;
}

.announcement-title {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 10px;
}

.announcement-desc {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.announcement-footer {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.announcement-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  background: rgba(0, 0, 0, .4);
  border: none;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ann-relative {
  position: relative;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--dark);
  color: rgba(255, 255, 255, .7);
  padding: 70px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.footer-brand a {
  display: inline-block;
  background: transparent !important;
}

.footer-brand img {
  height: auto;
  width: 220px;
  max-width: 100%;
  object-fit: contain;
  margin-bottom: 18px;
  display: block;
  background: transparent !important;
}

.footer-brand p {
  font-size: 13.5px;
  line-height: 1.8;
  opacity: .65;
}

.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.footer-social {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, .6);
  font-size: 14px;
  transition: background .2s, color .2s;
}

.footer-social:hover {
  background: var(--primary2);
  color: #fff;
}

.footer-title {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  letter-spacing: .5px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 13.5px;
  opacity: .65;
  transition: opacity .2s, color .2s;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--accent2);
}

.footer-contact-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 13px;
  font-size: 13.5px;
  opacity: .7;
}

.footer-contact-item i {
  color: var(--accent2);
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-bottom {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12.5px;
  opacity: .5;
}

.footer-bottom a {
  opacity: .7;
}

.footer-bottom a:hover {
  opacity: 1;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

@keyframes fadeIn {
  from {
    opacity: 0
  }

  to {
    opacity: 1
  }
}

@keyframes slideRight {
  from {
    opacity: 0;
    transform: translateX(-24px)
  }

  to {
    opacity: 1;
    transform: translateX(0)
  }
}

@keyframes slideLeft {
  from {
    opacity: 0;
    transform: translateX(24px)
  }

  to {
    opacity: 1;
    transform: translateX(0)
  }
}

/* Ana makale, detay sayfası veya kritik içerikler asla gizli başlamasın */
article, .post-body, .main-article {
  opacity: 1 !important;
  transform: none !important;
}

/* Scroll-triggered (via JS class) */
[data-aos] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}

[data-aos].aos-animate {
  opacity: 1;
  transform: translateY(0);
}

[data-aos="fade-right"] {
  transform: translateX(-30px);
}

[data-aos="fade-right"].aos-animate {
  transform: translateX(0);
}

[data-aos="fade-left"] {
  transform: translateX(30px);
}

[data-aos="fade-left"].aos-animate {
  transform: translateX(0);
}

[data-aos="zoom-in"] {
  transform: scale(.92);
}

[data-aos="zoom-in"].aos-animate {
  transform: scale(1);
}

/* ============================================================
   FASON TALEP FORMU
   ============================================================ */
.fason-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}

.fason-step {
  display: none;
}

.fason-step.active {
  display: block;
  animation: fadeUp .4s ease;
}

.step-indicators {
  display: flex;
  gap: 0;
  margin-bottom: 32px;
}

.step-ind {
  flex: 1;
  text-align: center;
  position: relative;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border);
  transition: all .3s;
}

.step-ind.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.step-ind.done {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 13.5px;
  cursor: pointer;
  transition: all .2s;
  user-select: none;
}

.checkbox-label:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.checkbox-label input {
  accent-color: var(--primary);
}

.checkbox-label input:checked+span,
.checkbox-label:has(input:checked) {
  color: var(--primary);
}

/* ============================================================
   ALERTS / MESSAGES
   ============================================================ */
.alert {
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 14px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.alert-success {
  background: rgba(16, 185, 129, .1);
  border: 1px solid rgba(16, 185, 129, .25);
  color: #047857;
}

.alert-error {
  background: rgba(239, 68, 68, .1);
  border: 1px solid rgba(239, 68, 68, .25);
  color: #dc2626;
}

.alert-info {
  background: rgba(59, 130, 246, .1);
  border: 1px solid rgba(59, 130, 246, .25);
  color: #1d4ed8;
}

/* ============================================================
   MAP
   ============================================================ */
.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  height: 400px;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width:1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .gallery-grid {
    columns: 2;
  }
}

@media (max-width:768px) {
  .navbar-nav {
    display: none;
  }

  .lang-switcher {
    display: none !important;
  }

  .hamburger {
    display: flex;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .form-row-2 {
    grid-template-columns: 1fr;
  }

  .banner-item {
    padding: 10px 18px;
  }

  .gallery-grid {
    columns: 2;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .about-img-wrap img {
    height: 300px;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  /* Hakkımızda, Detay, İletişim grid'leri mobilde tek sütun */
  [style*="grid-template-columns:1fr 1fr"],
  [style*="grid-template-columns:1fr 1.5fr"],
  [style*="grid-template-columns:1.5fr 1fr"],
  [style*="grid-template-columns:1fr 1fr;"],
  .about-grid,
  .detay-wrap,
  .fason-wrap,
  .contact-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width:480px) {
  .gallery-grid {
    columns: 1;
  }

  .section {
    padding: 50px 0;
  }

  .container {
    padding: 0 16px;
  }
}

/* ============================================================
   MOBİL GENEL GRID DÜZELTMESİ
   ============================================================ */
@media (max-width: 768px) {

  /* Tüm 2 sütunlu inline grid'leri tek sütuna düşür */
  .about-grid,
  .detay-wrap,
  .fason-wrap {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }

  /* Hizmetler grid - mobilde 1 sütun */
  .grid.grid-4 {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* Ürün slider - daha küçük */
  .product-slide {
    flex: 0 0 calc(70% - 9px) !important;
  }

  /* Banner strip - mobilde 2'şer yan yana */
  .banner-strip {
    height: auto !important;
    min-height: auto !important;
    padding: 12px 0 !important;
  }

  .banner-strip-inner {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px 0 !important;
    align-items: center !important;
    width: 100% !important;
  }

  .banner-item {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 8px 10px !important;
    border-right: 1px solid rgba(255, 255, 255, .15) !important;
    border-bottom: none !important;
    width: 100% !important;
    box-sizing: border-box !important;
    text-align: center;
  }

  /* 2. sütundaki elemanların sağ kenarlığını kaldır */
  .banner-item:nth-child(2n) {
    border-right: none !important;
  }

  /* Tek eleman kalırsa (örn: 3 eleman varsa 3.sü) tam satır kaplasın ve ortalansın */
  .banner-item:last-child:nth-child(odd) {
    grid-column: 1 / -1 !important;
    border-right: none !important;
    padding-top: 8px !important;
    border-top: 1px solid rgba(255, 255, 255, .1) !important;
  }

  .banner-item i {
    font-size: 15px !important;
    color: var(--accent2) !important;
    flex-shrink: 0 !important;
  }

  .banner-item span {
    font-size: 12.5px !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr !important;
  }

  /* Stats grid mobil */
  .grid.grid-4[style] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 480px) {
  .grid.grid-4 {
    grid-template-columns: 1fr !important;
  }

  .product-slide {
    flex: 0 0 85% !important;
  }

  .hero-title {
    font-size: 1.85rem !important;
    color: var(--primary2);
  }
}

@media(max-width:1024px) {
  .haberler-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media(max-width:768px) {
  .haberler-grid {
    grid-template-columns: 1fr !important;
    width: 100% !important;
  }

  .haberler-grid>* {
    width: 100% !important;
  }
}

/* ============================================================
   RTL (ARABIC) SUPPORT
   ============================================================ */
[dir="rtl"] {
  text-align: right;
}

[dir="rtl"] .dropdown-menu {
  left: auto;
  right: 0;
}

[dir="rtl"] .lang-dropdown {
  right: auto;
  left: 0;
}

[dir="rtl"] .mobile-menu {
  transform: translateX(-100%);
}

[dir="rtl"] .mobile-menu.open {
  transform: translateX(0);
}

[dir="rtl"] .about-list li::before,
[dir="rtl"] .ilist li::before {
  margin-right: 0;
  margin-left: 10px;
}

[dir="rtl"] .section-label::before {
  margin-right: 0;
  margin-left: 8px;
}

[dir="rtl"] .banner-item {
  border-right: none;
  border-left: 1px solid rgba(255, 255, 255, .15);
}

[dir="rtl"] .banner-item:last-child {
  border-left: none;
}

@media (max-width: 768px) {
  [dir="rtl"] .banner-item {
    border-right: none !important;
    border-left: 1px solid rgba(255, 255, 255, .15) !important;
  }

  [dir="rtl"] .banner-item:nth-child(2n) {
    border-left: none !important;
  }
}

/* ============================================================
   SERTİFİKA VE BELGELER / LIGHTBOX MEDYA GÖRÜNTÜLEYİCİ
   ============================================================ */
.belge-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.belge-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.belge-card:hover .belge-zoom {
  opacity: 1;
}

.belge-card img {
  height: 105px;
  width: 100%;
  object-fit: contain;
  margin-bottom: 12px;
  display: block;
  transition: transform .3s ease;
}

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

.belge-card p {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.35;
  margin: 0;
}

.belge-zoom {
  position: absolute;
  inset: 0;
  background: rgba(11, 61, 107, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .25s ease;
  border-radius: var(--radius);
  backdrop-filter: blur(2px);
}

.belge-zoom i {
  font-size: 24px;
  color: #fff;
  background: rgba(255, 255, 255, 0.22);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s ease;
}

.belge-card:hover .belge-zoom i {
  transform: scale(1.1);
}

/* Lightbox Modal */
.lb-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(8, 15, 28, 0.92);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lb-overlay.open {
  display: flex;
  animation: lbFadeIn .25s ease;
}

@keyframes lbFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.lb-inner {
  position: relative;
  max-width: 820px;
  width: 100%;
  animation: lbPopIn .28s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
}

@keyframes lbPopIn {
  from {
    opacity: 0;
    transform: scale(.93) translateY(12px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.lb-img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 12px;
  display: block;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.6);
  background: #fff;
  padding: 8px;
}

.lb-caption {
  text-align: center;
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 600;
  margin-top: 16px;
  letter-spacing: .3px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.lb-close {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 40px;
  height: 40px;
  background: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
  transition: all .2s ease;
  z-index: 10;
}

.lb-close:hover {
  background: #ef4444;
  color: #fff;
  transform: rotate(90deg);
}

.lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  cursor: pointer;
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: background .2s ease, transform .2s ease;
  backdrop-filter: blur(6px);
  z-index: 5;
}

.lb-nav:hover {
  background: rgba(255, 255, 255, 0.35);
  transform: translateY(-50%) scale(1.08);
}

.lb-nav.prev {
  left: -64px;
}

.lb-nav.next {
  right: -64px;
}

@media(max-width: 992px) {
  .lb-nav.prev {
    left: 8px;
  }

  .lb-nav.next {
    right: 8px;
  }

  .lb-close {
    top: -14px;
    right: 0px;
  }
}