/* ====== SOMINE PRO THEME (Responsive) ====== */

/* ---------- 0) PALLET & TOKENS ---------- */
:root{
  --brand:#C96E3D;
  --brand-ink:#8E451E;
  --ink:#121316;
  --muted:#6B7280;
  --soft:#F5F1ED;
  --card:#ffffff;
  --radius:22px;
  --radius-sm:14px;
  --shadow:0 14px 36px rgba(18,19,22,.10);
  --shadow-2:0 24px 56px rgba(18,19,22,.16);

  /* Kart yükseklik token’ları (kategori vitrin) */
  --cat-h-xs:200px;
  --cat-h-sm:240px;
  --cat-h-md:280px;
  --cat-h-lg:320px;
}

/* ---------- 1) GLOBAL ---------- */
html{ scroll-behavior:smooth; }
body{ color:var(--ink); letter-spacing:.2px; background:#fff; }
.section{ padding:64px 0; }
.section-title{ font-weight:800; letter-spacing:.3px; }
.section-sub{ color:var(--muted); }

/* Buttons */
.btn{ border-radius:999px; }
.btn-brand{
  background:linear-gradient(135deg, var(--brand), var(--brand-ink));
  border:none; color:#fff; box-shadow:var(--shadow);
  transform:translateZ(0);
  transition: box-shadow .2s ease, transform .2s ease, filter .2s ease;
}
.btn-brand:hover{ box-shadow:var(--shadow-2); filter:brightness(.98); transform:translateY(-1px); }
.btn-outline-light{
  border-color:#fff; color:#fff;
  backdrop-filter:saturate(180%) blur(6px);
  background:rgba(255,255,255,.06);
}
.btn-outline-light:hover{ background:rgba(255,255,255,.12); }

/* Cards */
.card{
  border-radius:var(--radius);
  border:1px solid rgba(18,19,22,.06);
  background:var(--card);
  box-shadow:var(--shadow);
}
.shadow-soft{ box-shadow:var(--shadow); }
.hover-lift{ transition: transform .18s ease, box-shadow .18s ease, filter .18s ease; }
.hover-lift:hover{ transform:translateY(-4px); box-shadow:var(--shadow-2); }

/* Media helpers */
.object-cover{ width:100%; height:100%; object-fit:cover; }
.ratio>img{ width:100%; height:100%; object-fit:cover; display:block; border-radius:inherit; }

/* Navbar */
.nav-link{ font-weight:700; color:#222; }
.nav-link:hover{ color:var(--brand-ink); }

/* Soft sections */
section[style*="var(--soft"]{ background:var(--soft) !important; }

/* ---------- 2) HERO PREMIUM (SADECE .hero-premium) ---------- */
.hero-premium{
  min-height:68vh;
  border-bottom-left-radius:44px;
  border-bottom-right-radius:44px;
  position:relative;
  isolation:isolate;
}
.hero-premium .hero-bg{
  position:absolute; inset:0;
  background-size:cover; background-position:center;
  filter:saturate(1.05) contrast(1.02) brightness(.95);
}
.hero-premium .hero-overlay{
  position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.65));
}
.hero-premium .hero-noise{
  position:absolute; inset:0; pointer-events:none; opacity:.07;
  background-image: radial-gradient(1px 1px at 20% 30%, #fff, transparent 55%),
                    radial-gradient(1px 1px at 80% 70%, #fff, transparent 55%);
  background-size:300px 300px; mix-blend-mode:overlay;
}
.hero-premium .hero-glow{
  position:absolute; width:560px; height:560px; left:-120px; bottom:-120px; border-radius:50%;
  background:radial-gradient(closest-side, rgba(201,110,61,.25), transparent 70%);
  filter:blur(10px);
}
.min-vh-60{ min-height:60vh; }
.text-white-75{ color:rgba(255,255,255,.8) !important; }

.hero-badge{
  background:rgba(255,255,255,.85) !important;
  color:#111; border:1px solid rgba(255,255,255,.6);
  backdrop-filter:blur(6px) saturate(180%);
  padding:.55rem .9rem; border-radius:999px;
}
.hero-sidecard{
  background:#fff; border-radius:22px; overflow:hidden;
  border:1px solid rgba(0,0,0,.06);
}
.hero-sidecard .ratio{ border-bottom-left-radius:0; border-bottom-right-radius:0; }
.hero-stats .hero-stat-card{
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.25);
  border-radius:16px; padding:.75rem 0;
  backdrop-filter:blur(6px) saturate(180%);
  color:#fff;
}

/* ---------- 3) KATEGORİ VİTRİN KARTLAR ---------- */
.section .card.text-white .ratio-16x9{ height:var(--cat-h-lg); }
.card.text-white .ratio-16x9 img{
  transform:scale(1.02);
  transition:transform .5s ease, filter .5s ease;
  filter:saturate(1.02) contrast(1.02);
}
.card.text-white:hover .ratio-16x9 img{
  transform:scale(1.07);
  filter:saturate(1.08) contrast(1.06);
}
.card.text-white .position-absolute.bottom-0{
  text-shadow:0 4px 18px rgba(0,0,0,.45);
}

/* Kategori kısayol “chip”leri */
a.bg-white.h-100.hover-lift{
  border-radius:var(--radius-sm);
  border:1px solid rgba(18,19,22,.08);
  background:
    radial-gradient(1200px 1200px at 100% -10%, rgba(201,110,61,.06), transparent 40%),
    var(--card);
}
a.bg-white.h-100.hover-lift i{ color:var(--brand-ink); }
a.bg-white.h-100.hover-lift:hover{ filter:brightness(1.02); }

/* “Neden Biz?” kartları */
.section [class*="col-"] > .p-4.bg-white{
  border-radius:var(--radius);
  border:1px solid rgba(18,19,22,.06);
  box-shadow:var(--shadow);
}
.section [class*="col-"] > .p-4.bg-white h5{ font-weight:700; }
.section [class*="col-"] > .p-4.bg-white .bi{ color:var(--brand-ink); }

/* CTA paneli */
.bg-dark.rounded-4{
  background:radial-gradient(1200px 1200px at -10% -10%, rgba(201,110,61,.22), transparent 40%),
             radial-gradient(900px 900px at 110% 120%, rgba(201,110,61,.16), transparent 40%),
             #111317;
  box-shadow:var(--shadow-2);
}
.bg-dark .btn-light{ color:#111; }
.bg-dark .btn-outline-light{ border-color:rgba(255,255,255,.6); }

/* WhatsApp Floating */
.wh-floating{
  position:fixed; left:20px; bottom:20px;
  width:56px; height:56px; border-radius:50%;
  background:#25D366; color:#fff;
  display:flex; align-items:center; justify-content:center;
  font-size:26px; text-decoration:none;
  box-shadow:0 10px 24px rgba(0,0,0,.18);
  z-index:1050;
  transition:transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.wh-floating:hover{ transform:translateY(-2px); box-shadow:0 16px 36px rgba(0,0,0,.22); filter:brightness(1.05); }

/* ---------- 4) BREAKPOINT’LER ---------- */
/* XL (>=1200px): varsayılanlar yeterli */

/* LG (>=992px ve <1200px) */
@media (max-width:1199.98px){
  .section .card.text-white .ratio-16x9{ height:var(--cat-h-md); }
}

/* MD (>=768px ve <992px) – tablet */
@media (max-width:991.98px){
  .hero-premium{ border-bottom-left-radius:32px; border-bottom-right-radius:32px; }
  .display-4{ font-size:2.2rem; line-height:1.15; }
  .hero-stats .hero-stat-card{ padding:.6rem 0; }
  .section .card.text-white .ratio-16x9{ height:var(--cat-h-sm); }
  #about .row{ flex-direction:column-reverse; } /* metin üstte ister misin? kaldırabilirsin */
  #about .ratio{ margin-top:8px; }
  .bg-dark.rounded-4{ text-align:center; gap:12px; }
  .bg-dark.rounded-4 .d-flex.gap-2{ justify-content:center; }
}

/* SM (<768px) – büyük telefon / küçük tablet */
@media (max-width:767.98px){
  .section{ padding:48px 0; }
  .container{ padding-left:16px; padding-right:16px; }
  .section-title{ font-size:1.5rem; }
}

/* XS (<576px) – telefon */
@media (max-width:575.98px){
  .display-4{ font-size:1.9rem; }
  .hero-premium{ border-bottom-left-radius:24px; border-bottom-right-radius:24px; }
  .section{ padding:36px 0; }
  .section .card.text-white .ratio-16x9{ height:var(--cat-h-xs); }
  .wh-floating{ left:12px; bottom:12px; width:52px; height:52px; font-size:24px; }
}



/* ===== Video arka plan için ===== */
.hero-video{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  z-index:0;
  /* iOS/Android için akıcılık */
  transform:translateZ(0);
  will-change: transform;
}

/* Mevcut premium katmanlar bu videonun üstünde kalıyor */
.hero-premium .hero-overlay{
  position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.65));
  z-index:1;
}
.hero-premium .hero-noise{ z-index:2; }
.hero-premium .hero-glow{ z-index:1; }

/* Poster fallback: video yüklenmeden önce arka plan görselin görünsün */
.hero-premium{
  background: url('../img/hero.jpg') center/cover no-repeat; /* istersen burayı admin’den gelen $heroBg ile render edebilirsin */
  position:relative;
}

/* Mobilde badge, istatistikler daha kompakt */
@media (max-width: 575.98px){
  .display-4{ font-size:1.9rem; line-height:1.15; }
  .hero-stats .hero-stat-card{ padding:.55rem 0; }
}

/* Instagram Floating Button */
.ig-floating {
  position: fixed;
  left: 20px;
  bottom: 86px; /* WhatsApp’ın üstüne gelecek */
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #E4405F; /* Instagram pembe tonu */
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(0,0,0,.18);
  z-index: 1050;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.ig-floating:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(0,0,0,.22);
  filter: brightness(1.05);
}

/* Mobil için biraz küçültelim */
@media (max-width: 576px){
  .ig-floating { left: 14px; bottom: 76px; width: 52px; height: 52px; font-size: 24px; }
}




