/* ============================================================
   YURTEN PACK  Custom Styles
   Primary: #0A192F  |  Gold: #C6A664
   ============================================================ */

/* Google Fonts artık HTML <link> etiketiyle yükleniyor (style.css @import kaldırıldı) */

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: #0A192F;
  background: #F9F8F6;
  overflow-x: hidden;
}

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: #C6A664; border-radius: 3px; }

/* ============================================================
   SPLASH SCREEN  PREMIUM (GSAP)
   ============================================================ */

#splash-screen {
  position: fixed;
  inset: 0;
  z-index: 99999;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #07111e;
}

/* ── Gradient base ── */
.splash-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 90% 90% at 25% 40%, #0D2441 0%, #07111e 55%, #030810 100%);
}

/* ── Film grain / noise ── */
.splash-noise {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.055;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
}

/* ── Gold light leak ── */
.splash-light-leak {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(ellipse 38% 75% at -5% 55%,
    rgba(198,166,100,0.26) 0%,
    rgba(198,166,100,0.08) 45%,
    transparent 70%);
  will-change: transform, opacity;
}

/* ── Exit door panels (cover entire screen, split on exit) ── */
.splash-door {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 51%;          /* slight overlap hides seam */
  z-index: 6;
  pointer-events: none;
  will-change: transform;
  background: radial-gradient(ellipse 90% 90% at 25% 40%, #0D2441 0%, #07111e 55%, #030810 100%);
}
.splash-door-left  { left: 0; }
.splash-door-right { right: 0; }

/* ── Content ── */
.splash-content {
  position: relative;
  z-index: 10;
  text-align: center;
  will-change: opacity, transform;
}

#splash-tagline-top {
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  font-weight: 300;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.42);
  opacity: 0;
  transform: translateY(10px);
  margin-bottom: 1rem;
}

/* ── Splash logo graphic ── */
.splash-logo-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  margin-block: 0.25rem 1rem;
  background: transparent;
}

#splash-logo-img.splash-logo-img {
  position: relative;
  z-index: 1;
  display: block;
  width: clamp(16rem, 48vw, 26rem);
  max-width: min(480px, 90vw);
  height: auto;
  opacity: 0;
  transform: scale(0.92) translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  user-select: none;
  pointer-events: none;
  /* PNG’de gömülü siyah zemin → splash gradyanıyla kaynaşsın */
  mix-blend-mode: lighten;
}

@media (max-width: 767.98px) {
  #splash-logo-img.splash-logo-img {
    width: clamp(11.5rem, 68vw, 17rem);
    max-width: min(340px, 88vw);
  }
}

/* ── Divider ── */
.splash-divider-line {
  height: 1px;
  width: 0;
  margin: 1.1rem auto;
  background: linear-gradient(to right, transparent, #C6A664 35%, #C6A664 65%, transparent);
}

#splash-tagline-bottom {
  font-family: 'Inter', sans-serif;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.55em;
  text-transform: uppercase;
  color: #C6A664;
  opacity: 0;
  transform: translateY(8px);
}


/* Gold shimmer (kept for other uses) */
.gold-shimmer {
  background: linear-gradient(105deg,
    #8B6914 0%, #C6A664 30%, #F0D99A 50%, #C6A664 70%, #8B6914 100%);
  background-size: 250% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3.5s linear infinite;
}
@keyframes shimmer {
  0%   { background-position: 0% center; }
  100% { background-position: 250% center; }
}

/* ============================================================
   NAVBAR
   ============================================================ */
#navbar {
  transition: background-color 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease,
              transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
  background-color: transparent;
}
#navbar.nav-hidden {
  transform: translateY(-110%);
}

/* ---- Navbar logo (raster PNG — dosya: images/YP 101.png, src’te boşluk → YP%20101.png) ---- */
#navbar .navbar-brand {
  align-items: center;
  gap: 0;
  position: relative;
  z-index: 70;
}

@media (min-width: 768px) {
  #navbar .navbar-brand {
    /* Mega menü açıkken geniş panel üstüne binmesin; çizgiyi hafifçe yukarı al */
    transform: translateY(-1.05rem);
  }
}

@media (max-width: 767.98px) {
  #navbar {
    padding-left: max(1rem, env(safe-area-inset-left)) !important;
    padding-right: max(1.35rem, calc(env(safe-area-inset-right) + 0.35rem)) !important;
  }

  #navbar.fixed {
    padding-top: 0.75rem !important;
    padding-bottom: 0.75rem !important;
  }

  #navbar.scrolled {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
  }

  /* Flex/grid çakışmasını kes — logo mutlak ortada, hamburger sağda */
  header#navbar > nav {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 5.5rem !important;
  }

  header#navbar > nav > ul {
    display: none !important;
  }

  header#navbar > nav > a.navbar-brand,
  header#navbar > nav > a:has(.navbar-logo-wrap) {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    width: auto !important;
    max-width: none !important;
    pointer-events: none !important;
  }

  header#navbar > nav > a.navbar-brand .navbar-logo-wrap,
  header#navbar > nav > a:has(.navbar-logo-wrap) .navbar-logo-wrap {
    margin-inline-end: 0 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    pointer-events: auto !important;
  }

  header#navbar > nav > a.navbar-brand .navbar-logo-img,
  header#navbar > nav > a:has(.navbar-logo-wrap) .navbar-logo-img {
    width: 8.25rem !important;
    min-width: 8.25rem !important;
    max-width: 8.25rem !important;
    margin-inline: auto !important;
    display: block !important;
  }

  header#navbar > nav > div.flex.items-center {
    position: absolute !important;
    right: 0.35rem !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 2 !important;
    display: flex !important;
    align-items: center !important;
    gap: 0 !important;
    margin: 0 !important;
    width: max-content !important;
  }

  header#navbar > nav > a.nav-lang-mobile {
    position: absolute !important;
    left: 0.35rem !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 2 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    min-width: 2.5rem !important;
    height: 2.25rem !important;
    padding: 0 0.55rem !important;
    margin: 0 !important;
    pointer-events: auto !important;
    width: max-content !important;
  }

  header#navbar > nav > div.flex.items-center > a[lang],
  header#navbar > nav > div.flex.items-center > a.btn-gold {
    display: none !important;
  }

  #navbar #menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.875rem;
    height: 2.875rem;
    padding: 0;
    flex-shrink: 0;
  }

  #navbar #menu-btn svg {
    width: 1.875rem;
    height: 1.875rem;
  }

  #navbar #menu-btn svg path {
    stroke-width: 2.25;
  }

  /* Açılır mobil menü: okunaklı boyut */
  #mobile-menu ul {
    padding: 1.125rem 1.35rem 1.5rem;
    gap: 0.2rem;
  }

  #mobile-menu .nav-link {
    font-size: 1rem !important;
    padding: 0.9rem 0.85rem !important;
    letter-spacing: 0.1em;
  }

  #mobile-menu .nav-mobile-products summary {
    padding: 0.9rem 0.85rem !important;
  }

  #mobile-menu .nav-mobile-products summary span {
    font-size: 1rem !important;
  }

  #mobile-menu .nav-mobile-products summary svg {
    width: 1.25rem;
    height: 1.25rem;
  }

  #mobile-menu .btn-gold {
    font-size: 0.8125rem !important;
    padding: 0.95rem 1rem !important;
  }
}

@media (max-width: 380px) {
  header#navbar > nav > a.navbar-brand .navbar-logo-img,
  header#navbar > nav > a:has(.navbar-logo-wrap) .navbar-logo-img {
    width: 7.5rem !important;
    min-width: 7.5rem !important;
    max-width: 7.5rem !important;
  }
}
#navbar .navbar-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-inline-end: clamp(1.25rem, 2.8vw, 2.5rem);
  flex-shrink: 0;
}
#navbar .navbar-logo-img {
  display: block;
  height: auto;
  /* Kare marka: daha büyük görünüm */
  width: clamp(5.5rem, 15vw, 10.75rem);
  max-width: min(640px, 62vw);
  aspect-ratio: 1;
  object-fit: contain;
}
#navbar:not(.scrolled) .navbar-logo-img {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.25));
}
#navbar.scrolled .navbar-logo-img {
  filter: none;
}
.navbar-logo-wrap--footer {
  margin-inline-end: 0;
}
.navbar-logo-img--footer {
  height: auto;
  width: clamp(3.5rem, 7.75vw, 4.75rem);
  max-width: min(520px, 55vw);
  aspect-ratio: 1;
  object-fit: contain;
}

@media (min-width: 768px) {
  .navbar-logo-img--footer {
    width: clamp(5.5rem, 9vw, 8rem);
    max-width: min(640px, 35vw);
  }
}

#navbar.fixed {
  padding-top: clamp(0.95rem, 2.1vw, 1.3rem);
  padding-bottom: clamp(0.95rem, 2.1vw, 1.3rem);
}

#navbar.scrolled {
  background-color: #0A192F !important;
  box-shadow: 0 4px 24px rgba(0,0,0,0.35);
  padding-top: 0.5rem !important;
  padding-bottom: 0.5rem !important;
}

.nav-link {
  position: relative;
  transition: color 0.25s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #C6A664;
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link.active { color: #C6A664; }

/* ---- Ürünler mega menü (≥ md) ---- */
.nav-mega-panel {
  display: none;
}

@media (min-width: 768px) {
  .nav-products-dropdown {
    position: relative;
    z-index: 2;
  }

  /* Panel absolute olduğu için li yüksekliği sadece link kadar; ara boşluk oluşunca :hover kopar.
     Üste bindirilen top + görünmez ::before ile imleci taşırken menü stabil kalır. */
  .nav-mega-panel {
    display: block;
    position: absolute;
    left: 50%;
    top: calc(100% - 10px); /* Tetik ile panel arasında “ölü zona” kalmasın */
    width: min(100vw - 3rem, 72rem);
    padding-top: calc(10px + 0.75rem);
    transform: translateX(-50%) translateY(6px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      opacity 0.22s ease,
      transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
      visibility 0.22s ease;
  }

  .nav-mega-panel::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: -28px;
    height: 28px;
    pointer-events: auto;
    background: transparent;
  }

  .nav-products-dropdown:hover .nav-mega-panel,
  .nav-products-dropdown:focus-within .nav-mega-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
  }

  .nav-products-dropdown:hover .nav-mega-chevron,
  .nav-products-dropdown:focus-within .nav-mega-chevron {
    transform: rotate(180deg);
  }
}

.nav-mega-chevron {
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-mega-link {
  display: block;
  padding: 0.55rem 0.5rem 0.55rem 0.5rem;
  border-radius: 6px;
  margin-left: -0.25rem;
  margin-right: -0.25rem;
  transition: background-color 0.16s ease, color 0.16s ease, padding-left 0.16s ease;
}

@media (hover: hover) and (min-width: 768px) {
  .nav-mega-link:hover {
    background: rgba(198, 166, 100, 0.1);
    color: #fff;
    padding-left: 0.65rem;
  }
}

/* Mobil — Ürünler accordion */
.nav-mobile-products > summary {
  list-style: none;
}
.nav-mobile-products > summary::-webkit-details-marker,
.nav-mobile-products > summary::marker {
  display: none;
}
.nav-mobile-products > summary svg {
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav-mobile-products[open] > summary svg {
  transform: rotate(180deg);
}

/* ============================================================
   HOME — HERO SLIDER
   ============================================================ */
.hero-wrapper {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  transition: opacity 1.4s ease;
  background-size: cover;
  background-position: center;
}

.hero-slide.active {
  opacity: 1;
  z-index: 1;
}

/* Ofis galerisi — dış cephe büyük kartı (contain ile tam görünüm) */
.office-facade-zoomout {
  position: relative;
  overflow: hidden;
  background: #f9f8f6;
}
.office-facade-zoomout.office-facade--on-white {
  background: #fff;
}
.office-facade-zoomout-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  transition: transform 0.65s ease;
}
.office-facade-zoomout:hover .office-facade-zoomout-img {
  transform: scale(1.02);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10,25,47,0.80) 0%,
    rgba(10,25,47,0.55) 50%,
    rgba(0,0,0,0.65) 100%
  );
}

.hero-content {
  animation: heroFadeUp 1s 0.3s ease both;
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Slider dots */
.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: 1px solid rgba(255,255,255,0.6);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}

.slider-dot.active {
  background: #C6A664;
  transform: scale(1.3);
  border-color: #C6A664;
}

/* Slider arrows */
.slider-arrow {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s, border-color 0.3s;
  backdrop-filter: blur(4px);
}

.slider-arrow:hover {
  background: #C6A664;
  border-color: #C6A664;
}

/* Küçük ekran: oklar dikey ortada kalır; kenara yaklaştırılır + hero metnine ek yatay boşluk (index.html px-14 md:px-6) */
@media (max-width: 767.98px) {
  .hero-wrapper #prev-slide {
    left: max(8px, env(safe-area-inset-left));
  }
  .hero-wrapper #next-slide {
    right: max(8px, env(safe-area-inset-right));
  }
}

/* ============================================================
   SECTION HEADINGS
   ============================================================ */
.section-title {
  font-family: 'Playfair Display', serif;
  color: #0A192F;
  position: relative;
}

.gold-bar {
  display: inline-block;
  width: 56px;
  height: 3px;
  background: linear-gradient(90deg, #C6A664, #F0D99A);
  border-radius: 2px;
}

/* ============================================================
   PRODUCT CARDS
   ============================================================ */
.product-card {
  overflow: hidden;
  border-radius: 4px;
  position: relative;
  cursor: pointer;
}

.product-card img {
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card:hover img {
  transform: scale(1.08);
}

.product-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,25,47,0.92) 0%, rgba(10,25,47,0.3) 60%, transparent 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
}

.product-card:hover .product-overlay { opacity: 1; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #C6A664;
  color: #0A192F;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.85rem 2rem;
  border: none;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
  border-radius: 2px;
  text-decoration: none;
}

.btn-gold:hover {
  background: #D4B878;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(198,166,100,0.35);
}

.btn-outline-gold {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: #C6A664;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.85rem 2rem;
  border: 1.5px solid #C6A664;
  cursor: pointer;
  transition: background 0.3s, color 0.3s, transform 0.2s;
  border-radius: 2px;
  text-decoration: none;
}

.btn-outline-gold:hover {
  background: #C6A664;
  color: #0A192F;
  transform: translateY(-2px);
}

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: #fff;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.85rem 2rem;
  border: 1.5px solid rgba(255,255,255,0.7);
  cursor: pointer;
  transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.2s;
  border-radius: 2px;
  text-decoration: none;
}

.btn-outline-white:hover {
  background: rgba(255,255,255,0.12);
  border-color: #fff;
  transform: translateY(-2px);
}

/* ============================================================
   STATISTICS BAR
   ============================================================ */
.stat-card {
  border-left: 1px solid rgba(198,166,100,0.3);
  padding-left: 1.5rem;
}

.stat-card:first-child { border-left: none; }

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal.delay-1 { transition-delay: 0.1s; }
.reveal.delay-2 { transition-delay: 0.2s; }
.reveal.delay-3 { transition-delay: 0.3s; }
.reveal.delay-4 { transition-delay: 0.4s; }
.reveal.delay-5 { transition-delay: 0.5s; }

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ============================================================
   CATEGORY TABS (Products Page)
   ============================================================ */
.cat-tab {
  padding: 0.6rem 1.5rem;
  border: 1.5px solid #C6A664;
  color: #0A192F;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 2px;
  transition: background 0.25s, color 0.25s;
  background: transparent;
}

.cat-tab:hover,
.cat-tab.active {
  background: #C6A664;
  color: #0A192F;
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.form-input {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid #D8D3CB;
  border-radius: 2px;
  background: #fff;
  color: #0A192F;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.form-input:focus {
  border-color: #C6A664;
  box-shadow: 0 0 0 3px rgba(198,166,100,0.15);
}

.form-input::placeholder { color: #9A9490; }

/* ============================================================
   FOOTER
   ============================================================ */
footer a {
  transition: color 0.25s;
}

footer a:hover { color: #C6A664; }

/* ============================================================
   WHATSAPP FLOAT
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37,211,102,0.45);
  z-index: 1000;
  transition: transform 0.3s, box-shadow 0.3s;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.12) translateY(-3px);
  box-shadow: 0 10px 28px rgba(37,211,102,0.55);
}

/* ============================================================
   PAGE HERO (Inner Pages)
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, #0A192F 0%, #0D2441 60%, #0A192F 100%);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(198,166,100,0.12) 0%, transparent 70%);
  border-radius: 50%;
}

/* ============================================================
   FEATURED PRODUCTS  MINIMAL
   ============================================================ */

.min-card-img {
  overflow: hidden;
}

.min-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: block;
}

.min-card:hover .min-card-img img {
  transform: scale(1.05);
}

.min-card-num {
  font-family: 'Playfair Display', serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: #C6A664;
  display: block;
  margin-bottom: 0.5rem;
}

.min-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #0A192F;
  line-height: 1.25;
  transition: color 0.25s;
}

.min-card:hover .min-card-title { color: #C6A664; }

.min-card-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0A192F;
  text-decoration: none;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.3s, transform 0.3s, gap 0.3s;
}

.min-card:hover .min-card-arrow {
  opacity: 1;
  transform: translateX(0);
}

.min-card-arrow:hover { gap: 0.7rem; }

/* ============================================================
   PRODUCTS PAGE  PREMIUM
   ============================================================ */

/* ── Hero ── */
.prod-hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse 80% 80% at 60% 40%, #0D2441 0%, #07111e 55%, #030810 100%);
}
.prod-hero-noise {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.045;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
}
.prod-hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(198,166,100,0.12) 0%, transparent 65%);
  pointer-events: none;
  animation: prodGlowDrift 8s ease-in-out infinite alternate;
}
@keyframes prodGlowDrift {
  0%   { transform: translate(-10%, -10%); opacity: 0.7; }
  100% { transform: translate(10%, 10%);  opacity: 1;   }
}
.prod-hero-scroll-cue {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.35);
  font-size: 0.6rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  animation: prodScrollBounce 2s ease-in-out infinite;
}
@keyframes prodScrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* ── Filter bar ── */
.prod-filter-bar {
  position: sticky;
  top: 72px;
  z-index: 40;
  background: #fff;
  border-bottom: 1px solid #E8E4DE;
  box-shadow: 0 2px 16px rgba(0,0,0,0.05);
}
.prod-filter-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.prod-filter-inner::-webkit-scrollbar { display: none; }
.prod-tab {
  position: relative;
  padding: 1.1rem 1.6rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #9ca3af;
  background: none;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.25s;
  outline: none;
}
.prod-tab::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: #C6A664;
  transform: scaleX(0);
  transition: transform 0.3s cubic-bezier(0.25,0.46,0.45,0.94);
}
.prod-tab:hover { color: #0A192F; }
.prod-tab.active { color: #0A192F; }
.prod-tab.active::after { transform: scaleX(1); }

/* ── Category header ── */
.cat-hdr {
  padding: 5rem 1.5rem 3.5rem;
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: end;
  gap: 2rem;
}
.cat-hdr-num {
  font-family: 'Playfair Display', serif;
  font-size: clamp(4rem, 8vw, 8rem);
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(198,166,100,0.3);
  user-select: none;
}
.cat-hdr-line {
  height: 1px;
  background: linear-gradient(to right, rgba(198,166,100,0.4), transparent);
  margin-bottom: 1.4rem;
}
.cat-hdr-text {}
.cat-hdr-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: #C6A664;
  margin-bottom: 0.4rem;
}
.cat-hdr-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  line-height: 1.15;
  color: #0A192F;
}
.cat-hdr-title.light { color: #fff; }
.cat-hdr-desc {
  max-width: 480px;
  font-size: 0.85rem;
  color: #6b7280;
  line-height: 1.75;
  margin-top: 0.75rem;
}

/* Alt seri başlıkları (ör. Airless: Tüp / Kavanoz / Şişe) */
.prod-subhdr-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem 1.5rem 0.65rem;
}
.prod-subhdr-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  line-height: 1.2;
  color: #0A192F;
  margin: 0.15rem 0 0;
}
.prod-subhdr-wrap .cat-hdr-label {
  margin-bottom: 0.2rem;
}

#airless .prod-grid:not(:last-child),
#cam .prod-grid:not(:last-child),
#plastik .prod-grid:not(:last-child),
#referans-gunes-kremi-ambalaji .prod-grid:not(:last-child),
#make-up .prod-grid:not(:last-child) {
  padding-bottom: 1.5rem;
}

/* ── Product cards ── */
.prod-grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem 5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 900px) { .prod-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .prod-grid { grid-template-columns: 1fr; } }

.prod-card {
  position: relative;
  overflow: hidden;
  background: #0A192F;
  cursor: pointer;
  opacity: 0;
  transform: translateY(28px);
  transition:
    transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    box-shadow 0.4s ease;
}
.prod-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.prod-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.22);
}
.prod-img-wrap {
  aspect-ratio: 3 / 4;
  overflow: hidden;
}
.prod-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: block;
}
.prod-card:hover .prod-img { transform: scale(1.08); }

.prod-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(5,12,24,0.95) 0%,
    rgba(5,12,24,0.55) 35%,
    rgba(5,12,24,0.1) 65%,
    transparent 100%
  );
  transition: opacity 0.4s ease;
}
.prod-card:hover .prod-overlay {
  background: linear-gradient(
    to top,
    rgba(5,12,24,0.98) 0%,
    rgba(5,12,24,0.7) 45%,
    rgba(5,12,24,0.2) 75%,
    transparent 100%
  );
}

.prod-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.75rem 1.5rem 1.5rem;
  transform: translateY(0);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.prod-card:hover .prod-info { transform: translateY(-6px); }

.prod-sku {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: #C6A664;
  margin-bottom: 0.5rem;
  opacity: 0.85;
}
.prod-name {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.25;
  color: #fff;
  margin-bottom: 0.5rem;
}
.prod-desc {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
  margin-bottom: 1rem;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.35s ease;
}
.prod-card:hover .prod-desc {
  max-height: 4rem;
  opacity: 1;
}
.prod-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.prod-moq {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.05em;
}
.prod-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #C6A664;
  text-decoration: none;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(198,166,100,0);
  transition: gap 0.25s, border-color 0.25s;
}
.prod-cta:hover {
  gap: 0.6rem;
  border-bottom-color: rgba(198,166,100,0.5);
}
/* Gold sweep border bottom */
.prod-gold-bar {
  position: absolute;
  bottom: 0; left: 0;
  height: 2px;
  width: 0;
  background: #C6A664;
  transition: width 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.prod-card:hover .prod-gold-bar { width: 100%; }

/* ============================================================
   TEAM CARDS  "Profesyonel Kadromuz"
   ============================================================ */

.team-card {
  position: relative;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.team-card.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Photo container */
.team-photo-wrap {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #0D2441;
}
.team-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: grayscale(100%) brightness(0.95);
  transition: filter 0.55s ease, transform 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: block;
}
.team-card:hover .team-photo {
  filter: grayscale(0%) brightness(1);
  transform: scale(1.06);
}

/* Gold inset frame  appears on hover */
.team-photo-frame {
  position: absolute;
  inset: 10px;
  border: 1px solid #C6A664;
  opacity: 0;
  pointer-events: none;
  z-index: 3;
  transition: opacity 0.4s ease;
}
.team-card:hover .team-photo-frame { opacity: 1; }

/* Overlay gradient always present, deepens on hover */
.team-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(5,12,24,0.85) 0%,
    rgba(5,12,24,0.2) 45%,
    transparent 70%
  );
  transition: opacity 0.4s ease;
  z-index: 2;
}
.team-card:hover .team-photo-overlay {
  background: linear-gradient(
    to top,
    rgba(5,12,24,0.92) 0%,
    rgba(5,12,24,0.45) 55%,
    transparent 80%
  );
}

/* Expertise text  slides up on hover */
.team-expertise {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 4;
  padding: 1.5rem 1.25rem 1rem;
  transform: translateY(100%);
  opacity: 0;
  transition:
    transform 0.42s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    opacity 0.35s ease;
}
.team-card:hover .team-expertise {
  transform: translateY(0);
  opacity: 1;
}
.team-expertise-text {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  line-height: 1.55;
  color: rgba(255,255,255,0.75);
  font-style: italic;
  border-left: 2px solid #C6A664;
  padding-left: 0.65rem;
}

/* Info block below photo */
.team-info {
  padding: 1.25rem 0.25rem 0;
}
.team-name {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: #0A192F;
  line-height: 1.2;
  margin-bottom: 0.3rem;
  transition: color 0.25s ease;
}
.team-card:hover .team-name { color: #0A192F; }
.team-title {
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #C6A664;
}

/* ============================================================
   BEFORE & AFTER SLIDER (home + products)
   ============================================================ */

.ba-section { background: #0A192F; }

.ba-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 7;
  overflow: hidden;
  border-radius: 12px;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid rgba(198, 166, 100, 0.55);
  box-shadow:
    0 0 0 1px rgba(198, 166, 100, 0.12),
    0 32px 80px rgba(0, 0, 0, 0.55);
  user-select: none;
  -webkit-user-select: none;
  cursor: ew-resize;
  touch-action: none;
  --ba-split: 50%;
}

.ba-wrapper:focus-within .ba-handle,
.ba-wrapper:hover .ba-handle {
  box-shadow:
    0 0 0 2px rgba(198, 166, 100, 0.6),
    0 10px 24px rgba(0, 0, 0, 0.45);
}

.ba-image {
  position: absolute;
  inset: 0;
}

.ba-before {
  z-index: 1;
}

.ba-after {
  z-index: 2;
  clip-path: polygon(50% 0, 100% 0, 100% 100%, 50% 100%);
}

.ba-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.ba-chip {
  position: absolute;
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.45);
  color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  pointer-events: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  z-index: 4;
}

.ba-chip-before {
  bottom: 14px;
  left: 14px;
}

.ba-chip-after {
  bottom: 14px;
  right: 14px;
  background: rgba(212, 175, 55, 0.35);
  color: rgba(255, 215, 0, 0.95);
  border: 1px solid rgba(212, 175, 55, 0.4);
}

.ba-hint-ba {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.06em;
  pointer-events: none;
  transition: opacity 0.3s ease;
  white-space: nowrap;
  z-index: 5;
}

.ba-wrapper.ba-active .ba-hint-ba {
  opacity: 0;
}

.ba-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 48px;
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  cursor: ew-resize;
  z-index: 6;
  left: var(--ba-split, 50%);
  transform: translateX(-50%);
  touch-action: none;
}

.ba-divider-vertical::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.85);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.35),
    0 4px 20px rgba(0, 0, 0, 0.4);
}

.ba-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(10, 25, 47, 0.92);
  border: 2px solid rgba(198, 166, 100, 0.75);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  pointer-events: none;
}

.ba-handle::after {
  content: '\2194';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1;
}

@media (hover: none) {
  .ba-wrapper {
    cursor: default;
  }

  .ba-divider {
    cursor: grab;
  }

  .ba-divider:active {
    cursor: grabbing;
  }
}

@media (max-width: 640px) {
  .ba-wrapper {
    aspect-ratio: 4 / 5;
  }
}

/* ── Category feature badge on card ── */
.prod-badge {
  position: absolute;
  top: 1rem; left: 1rem;
  background: rgba(198,166,100,0.12);
  border: 1px solid rgba(198,166,100,0.35);
  color: #C6A664;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  padding: 0.3rem 0.65rem;
  backdrop-filter: blur(4px);
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.prod-card:hover .prod-badge { opacity: 1; transform: translateY(0); }

/* ── Techniques section ── */
.tech-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(198,166,100,0.12);
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
  transition: background 0.35s ease, border-color 0.35s ease, transform 0.35s ease;
  opacity: 0;
  transform: translateY(24px);
}
.tech-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.tech-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  height: 2px;
  width: 0;
  background: #C6A664;
  transition: width 0.5s ease;
}
.tech-card:hover {
  background: rgba(198,166,100,0.04);
  border-color: rgba(198,166,100,0.3);
  transform: translateY(-4px);
}
.tech-card:hover::before { width: 100%; }

.tech-icon {
  width: 52px;
  height: 52px;
  border: 1px solid rgba(198,166,100,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.75rem;
  transition: border-color 0.35s, background 0.35s;
}
.tech-card:hover .tech-icon {
  border-color: #C6A664;
  background: rgba(198,166,100,0.1);
}

/* ── Process steps ── */
.process-step {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.process-step.visible { opacity: 1; transform: translateY(0); }

/* ── Stats strip ── */
.stat-item {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.stat-item.visible { opacity: 1; transform: translateY(0); }

/* ── Section divider ── */
.prod-section-sep {
  height: 1px;
  background: linear-gradient(to right, transparent 0%, #E8E4DE 20%, #E8E4DE 80%, transparent 100%);
  margin: 0 1.5rem;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   UTILITY
   ============================================================ */
.font-display { font-family: 'Playfair Display', serif; }
.text-gold { color: #C6A664; }
.bg-night { background-color: #0A192F; }
.border-gold { border-color: #C6A664; }

.divider-gold {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, #C6A664, transparent);
  margin: 3rem 0;
}

/* Mobile menu */
#mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.35s ease;
  opacity: 0;
}

/* ============================================================
   BLOG  Prose styles for article pages
   ============================================================ */
.prose-custom h2 {
  font-family: 'Playfair Display', serif;
  color: #0A192F;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}
.prose-custom p {
  font-family: 'Inter', sans-serif;
  color: #4B5563;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}
.prose-custom p.lead {
  font-size: 1.1rem;
  color: #374151;
}
.prose-custom ul {
  margin-bottom: 1.5rem;
}
.prose-custom strong {
  color: #0A192F;
  font-weight: 600;
}
.prose-custom a {
  color: #C6A664;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

#mobile-menu.open {
  /* Ürünler accordion uzun; içerik kesilmesin — panel içinde kaydır */
  max-height: min(88vh, calc(100vh - 5rem));
  max-height: min(88dvh, calc(100dvh - 5.5rem));
  opacity: 1;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: contain;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

/* Mobil navbar logo ortası — cascade sonu, tüm çakışmaları ezer */
@media (max-width: 767.98px) {
  header#navbar > nav {
    position: relative !important;
    display: block !important;
    min-height: 5.5rem !important;
  }

  header#navbar > nav > a.navbar-brand,
  header#navbar > nav > a:has(.navbar-logo-wrap) {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    margin: 0 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    pointer-events: none !important;
  }

  header#navbar > nav > a.navbar-brand .navbar-logo-wrap,
  header#navbar > nav > a:has(.navbar-logo-wrap) .navbar-logo-wrap {
    pointer-events: auto !important;
  }

  header#navbar > nav > a.nav-lang-mobile {
    position: absolute !important;
    left: 0.35rem !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 2 !important;
    display: inline-flex !important;
    pointer-events: auto !important;
  }

  header#navbar > nav > div.flex.items-center {
    position: absolute !important;
    right: 0.35rem !important;
    top: 50% !important;
    left: auto !important;
    transform: translateY(-50%) !important;
    margin: 0 !important;
  }
}
