:root{
  --bg:#ffffff;
  --cream:#fbfaf7;
  --cream2:#f3efe7;
  --surface:#ffffff;
  --text:#121212;
  --muted:#5c5c5c;

  --green:#1f7a3a;
  --green2:#2aa34e;
  --gold:#caa85d;

  --border:rgba(18,18,18,.10);
  --shadow: 0 16px 44px rgba(0,0,0,.10);
  --shadow2: 0 10px 24px rgba(0,0,0,.08);

  --r-lg:26px;
  --r-md:18px;
  --r-sm:14px;

  --container:1120px;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0;font-family:ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;color:var(--text);background:var(--bg)}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
.container{width:min(var(--container), 92vw); margin:0 auto}

.topbar{
  background:linear-gradient(90deg, rgba(31,122,58,.10), rgba(202,168,93,.12));
  border-bottom:1px solid var(--border);
}
.topbar .inner{
  display:flex; gap:12px; justify-content:space-between; align-items:center;
  padding:10px 0; color:var(--muted); font-size:14px;
}
/* Topbar merkezli tek bilgi */
.topbar-center{
  display: flex;
  justify-content: center;
  align-items: center;
}

.topbar-center .badge{
  justify-content: center;
}

.badge{
  display:inline-flex; gap:8px; align-items:center;
  padding:8px 12px; border:1px solid var(--border);
  border-radius:999px; background:rgba(255,255,255,.72);
}

header{
  position:sticky; top:0; z-index:20;
  background:rgba(255,255,255,.86);
  backdrop-filter:saturate(160%) blur(10px);
  border-bottom:1px solid rgba(18,18,18,.06);
}
.nav{display:flex; align-items:center; justify-content:space-between; padding:14px 0}
.brand{display:flex; flex-direction:column; line-height:1.1}
.brand strong{font-size:18px; letter-spacing:.2px}
.brand span{font-size:12px; color:var(--muted)}
.menu{display:flex; gap:8px; align-items:center}
.menu a{padding:10px 12px; border-radius:12px; color:var(--muted)}
.menu a.active, .menu a:hover{background:rgba(31,122,58,.10); color:var(--text)}
.hamburger{display:none; border:1px solid var(--border); background:rgba(255,255,255,.90); padding:10px 12px; border-radius:12px}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand .logo {
  height: 48px;          /* masaüstü */
  width: auto;
  display: block;
}

@media (max-width: 768px) {
  .brand .logo {
    height: 40px;        /* mobil */
  }
}

.brand:hover .logo {
  transform: scale(1.03);
  transition: .2s ease;
}

.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding:12px 16px; border-radius:999px;
  border:1px solid rgba(18,18,18,.10);
  background:rgba(255,255,255,.92);
  transition:transform .12s ease, box-shadow .12s ease, filter .12s ease;
  font-weight:600;
}
.btn.primary{
  background:linear-gradient(135deg, var(--green), var(--green2));
  color:#fff; border-color:rgba(31,122,58,.35);
  box-shadow:0 12px 24px rgba(31,122,58,.18);
}
.btn:hover{transform:translateY(-1px); box-shadow:var(--shadow2)}

h1,h2,h3{letter-spacing:-.2px}
h1{margin:10px 0 12px; font-size:46px; line-height:1.05}
h2{margin:0; font-size:28px}
h3{margin:0; font-size:18px}
p{margin:0 0 12px; color:var(--muted); line-height:1.75}

.section{padding:68px 0}
.section.alt{background:linear-gradient(180deg, var(--cream), #fff)}
.section-title{display:flex; flex-direction:column; gap:10px; align-items:center; text-align:center; margin-bottom:26px}
.section-title .sub{color:var(--green); font-weight:700; letter-spacing:.12em; font-size:12px; text-transform:uppercase}
.section-title .line{width:78px; height:3px; border-radius:99px; background:linear-gradient(90deg, var(--gold), rgba(202,168,93,.15))}
.section-title p{max-width:760px}

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

.card{
  background:var(--surface);
  border:1px solid rgba(18,18,18,.08);
  border-radius:var(--r-lg);
  box-shadow:var(--shadow2);
  overflow:hidden;
}
.card .body{padding:18px}
.card .meta{font-size:13px; color:var(--muted); margin-top:6px}

.img-slot{
  height:190px;
  background:linear-gradient(135deg, rgba(31,122,58,.10), rgba(202,168,93,.14));
  display:flex; align-items:center; justify-content:center;
}
.placeholder{
  width:100%; height:100%;
  border-radius:16px; border:1px dashed rgba(18,18,18,.20);
  display:flex; align-items:center; justify-content:center;
  color:rgba(18,18,18,.45); text-align:center; padding:18px;
}

/* HERO (reference-like) */
.hero{
  padding:22px 0 0;
  background:linear-gradient(180deg, var(--cream), #fff 55%);
}
.hero-wrap{
  position:relative;
  border-radius:28px;
  overflow:hidden;
  border:1px solid rgba(18,18,18,.08);
  box-shadow:var(--shadow);
  min-height:520px;
}
.hero-bg{
  position:absolute; inset:0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.55), rgba(0,0,0,.22) 56%, rgba(0,0,0,0)),
    url("../img/hero.jpg") center/cover no-repeat;
}
.hero-inner{
  position:relative;
  display:flex;
  align-items:center;
  padding:42px;
}
.hero-box{
  width:min(520px, 92%);
  background:rgba(255,255,255,.92);
  border:1px solid rgba(255,255,255,.58);
  border-radius:22px;
  padding:26px;
  box-shadow:0 18px 38px rgba(0,0,0,.12);
}
.hero-kicker{
  display:flex; gap:10px; align-items:center;
  font-weight:700; font-size:12px; letter-spacing:.14em; text-transform:uppercase;
  color:var(--green);
}
.hero-box p{color:#3f3f3f}
.hero-actions{display:flex; gap:12px; flex-wrap:wrap; margin-top:14px}

.hero-full{
  padding:0;
  background:none;
}

.hero-full .hero-wrap{
  width:100%;
  border-radius:0;          /* tam kenardan kenara */
  min-height:560px;
}

/* ABOUT split */
.split{
  display:grid; grid-template-columns: 1fr 1fr; gap:22px; align-items:stretch;
}
.split .media{
  min-height:340px;
  border-radius:26px;
  overflow:hidden;
  border:1px solid rgba(18,18,18,.08);
  box-shadow:var(--shadow2);

  background:
    linear-gradient(180deg, rgba(0,0,0,.15), rgba(0,0,0,.05)),
    url("../img/about.jpg") center / cover no-repeat;
}

.img-slot{
  height:290px;                 /* zaten vardı, aynı kalsın */
  overflow:hidden;              /* taşmayı keser (çerçeve bozulmaz) */
  border-radius:inherit;        /* kart köşeleriyle uyum */
  display:block;
  background:linear-gradient(135deg, rgba(31,122,58,.10), rgba(202,168,93,.14));
}

.img-slot .slot-img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;             /* çerçeveyi doldurur, kırpar */
  object-position:center;       /* ortadan kırpar */
}



.split .panel{
  border-radius:26px;
  border:1px solid rgba(18,18,18,.08);
  box-shadow:var(--shadow2);
  background:linear-gradient(180deg, rgba(251,250,247,.70), rgba(255,255,255,.95));
  padding:22px;
}
.tabs{
  display:flex; gap:10px; justify-content:center;
  margin-top:8px;
}
.tab{
  padding:10px 14px;
  border-radius:999px;
  border:1px solid rgba(18,18,18,.10);
  background:rgba(255,255,255,.85);
  font-weight:700;
  font-size:13px;
  color:var(--muted);
  cursor:pointer;
}
.tab.active{background:rgba(31,122,58,.10); color:var(--text); border-color:rgba(31,122,58,.20)}
.tab-panels{margin-top:14px}
.tab-panel{display:none}
.tab-panel.active{display:block}

/* Featured products (simple carousel) */
.carousel{
  position:relative;
}
.carousel-track{
  display:grid;
  grid-auto-flow:column;
  grid-auto-columns: minmax(240px, 1fr);
  gap:18px;
  overflow:auto;
  scroll-snap-type:x mandatory;
  padding-bottom:10px;
}
.carousel-track::-webkit-scrollbar{height:10px}
.carousel-track::-webkit-scrollbar-thumb{background:rgba(18,18,18,.16); border-radius:99px}
.carousel-track > *{scroll-snap-align:start}
.dotbar{display:flex; justify-content:center; gap:8px; margin-top:14px}
.dot{width:8px; height:8px; border-radius:99px; background:rgba(18,18,18,.18)}
.dot.active{background:var(--green)}

/* Banner section */
.banner{
  border-radius:28px;
  overflow:hidden;
  border:1px solid rgba(18,18,18,.08);
  box-shadow:var(--shadow);
  min-height:480px;
  position:relative;
  background:
    linear-gradient(90deg, rgba(0,0,0,.58), rgba(0,0,0,.18) 60%, rgba(0,0,0,0)),
    url("../img/banner.jpg") center/cover no-repeat;
  display:flex; align-items:top;
}
.banner .inner{padding:34px}
.banner h2{color:#fff; font-size:34px}
.banner p{color:rgba(255,255,255,.85); max-width:640px}
.banner .btn{border-color:rgba(255,255,255,.25)}
.banner .btn.primary{box-shadow:none}

/* Gallery grid */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 👈 3 kolon */
  gap: 20px;
}

.gimg {
  border-radius: 16px;
  overflow: hidden;
  background: #f3f4ef;
}

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

.gimg:hover{filter:brightness(1.02)}

/* Testimonials */
.testimonials{
  border-radius:28px;
  overflow:hidden;
  border:1px solid rgba(18,18,18,.08);
  box-shadow:var(--shadow);
  min-height:320px;
  position:relative;
  background:
    linear-gradient(90deg, rgba(0,0,0,.60), rgba(0,0,0,.22) 60%, rgba(0,0,0,0)),
    url("../img/testimonials.jpg") center/cover no-repeat;
  display:flex; align-items:center;
}
.quote{
  padding:34px;
  color:#fff;
  max-width:760px;
}
.quote .stars{letter-spacing:.18em; color:var(--gold)}
.quote p{color:rgba(255,255,255,.88)}
.quote b{display:block; margin-top:12px}

/* Breadcrumb/pages/product remain compatible */
.page-title{padding:28px 0 10px}
.page-title h1{font-size:34px}
.breadcrumb{font-size:13px; color:var(--muted)}
.product-layout{display:grid; grid-template-columns:.9fr 1.1fr; gap:18px}
.product-media{min-height:360px}

.note{
  margin-top:12px; font-size:13px; color:var(--muted);
  padding:10px 12px; border:1px dashed rgba(18,18,18,.18);
  border-radius:14px; background:rgba(255,255,255,.70);
}

/* Footer */
.footer{
  border-top:1px solid rgba(18,18,18,.08);
  background:linear-gradient(180deg, rgba(251,250,247,.90), rgba(255,255,255,.90));
}

.footer .inner{
  display:grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap:20px;
  padding:28px 0;
  align-items:start;
}

/* ✅ Footer brand'i sola sabitle (header brand'inden bağımsız) */
.footer .brand{
  display:flex;                 /* inline-flex değil */
  align-items:center;
  justify-content:flex-start;   /* asıl kilit burası */
  text-align:left;
}

/* ✅ Link ve logo */
.footer .brand a{
  display:inline-flex;
  align-items:center;
  justify-content:flex-start;
}

.footer .brand .logo{
  height:48px;      /* istersen 44 yap */
  width:auto;
  display:block;
}

/* ✅ İlk kolon metinlerini de sola al */
.footer .inner > div:first-child{
  text-align:left;
}

.small{font-size:13px; color:var(--muted); line-height:1.6}
.list{display:flex; flex-direction:column; gap:8px}
.pills{display:flex; flex-wrap:wrap; gap:8px}
.pill{font-size:12px; padding:7px 10px; border-radius:999px; border:1px solid rgba(18,18,18,.10); background:rgba(255,255,255,.78)}

@media (max-width: 980px){
  .grid{grid-template-columns:repeat(2,1fr)}
  .split{grid-template-columns:1fr}
  .gallery{grid-template-columns:repeat(2,1fr)}
  .hero-inner{padding:26px}
}
@media (max-width: 640px){
  .menu{display:none}
  .hamburger{display:inline-flex}
  .grid{grid-template-columns:1fr}
  .gallery{grid-template-columns:1fr}
  h1{font-size:36px}
  .banner h2{font-size:28px}
  .footer .inner{grid-template-columns:1fr}
}

.footer-brand{
  display:flex;
  justify-content:flex-start;
  align-items:center;
  text-align:left;
}

.footer-logo-link{
  display:inline-flex;
  justify-content:flex-start;
  align-items:center;
}
.footer .logo{ height:48px; width:auto; display:block; }

.about-hero-image {
  width: 100%;
  height: 720px;
  overflow: hidden;
}

.about-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 768px) {
  .about-hero-image {
    height: 260px;
  }
}

/* Kart görselleri: çerçeveye sığdır + hover zoom */
.card .img,
.card .img-slot,
.gimg,
.media {
  overflow: hidden;
}

.card .img img,
.card .img-slot img,
.gimg img,
.media img,
img.auto-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;          /* taşmadan doldur */
  transform: scale(1);
  transition: transform .35s ease;
}

/* Kart hover zoom */
.card:hover .img img,
.card:hover .img-slot img {
  transform: scale(1.06);
}

/* Hafif yumuşatma (istersen) */
.card .img img,
.card .img-slot img {
  filter: saturate(1.02) contrast(1.02);
}

/* GALERİ */
.gallery{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
}

.gimg{
  position:relative;
  overflow:hidden;
  border-radius:18px;
  background:#f3f3f3;
  box-shadow:0 12px 28px rgba(0,0,0,.08);
}

.gimg img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition:
    transform .6s cubic-bezier(.2,.6,.2,1),
    filter .4s ease;
}

/* Hover efekti */
.gimg::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(
    180deg,
    rgba(0,0,0,0) 40%,
    rgba(0,0,0,.35)
  );
  opacity:0;
  transition:.4s ease;
  pointer-events:none; /* <<< İŞİ BİTİREN SATIR */
}


.gimg:hover img{
  transform:scale(1.08);
  filter:saturate(1.05) contrast(1.05);
}

.gimg:hover::after{
  opacity:1;
}

/* Mobil uyum */
@media (max-width: 900px){
  .gallery{
    grid-template-columns:repeat(2,1fr);
  }
}
@media (max-width: 560px){
  .gallery{
    grid-template-columns:1fr;
  }
}
.gimg::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(
    120deg,
    rgba(255,255,255,.0) 30%,
    rgba(255,255,255,.25) 50%,
    rgba(255,255,255,.0) 70%
  );
  opacity:0;
  transform:translateX(-100%);
  transition:.6s ease;
}

.gimg:hover::before{
  opacity:1;
  transform:translateX(100%);
}
/* Lightbox */
.lightbox{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.85);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:9999;
}

.lightbox.active{ display:flex; }

.lightbox img{
  max-width:90%;
  max-height:90%;
  border-radius:12px;
}

.lb-nav{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  background:rgba(255,255,255,.15);
  border:none;
  color:#fff;
  font-size:48px;
  padding:10px 18px;
  cursor:pointer;
  user-select:none;
}

.lb-nav:hover{ background:rgba(255,255,255,.25); }

.lb-nav.prev{ left:20px; }
.lb-nav.next{ right:20px; }

.lightbox .close{
  position:absolute;
  top:20px;
  right:24px;
  font-size:34px;
  color:#fff;
  cursor:pointer;
}

/* ✅ Ürün detay sayfası mobil: 2 kolon -> 1 kolon + görsel üstte */
@media (max-width: 768px){

  .product-layout{
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  /* Sıralama: önce görsel, sonra içerik */
  .product-layout .product-media{ order: 1; }
  .product-layout .product-info{ order: 2; } /* varsa */
}
@media (max-width: 768px){
  .product-layout .product-media{ grid-column: 1 / -1; }
  .product-layout .product-info{ grid-column: 1 / -1; }
}
@media (max-width: 768px){
  .product-media{ min-height:auto !important; }
  .product-media .hero-media{ min-height:240px !important; }
}
/* ✅ Ürün detay MOBİL: 2 kolon -> 1 kolon (GARANTİ) */
@media (max-width: 768px){
  .product-layout{
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
}
@media (max-width: 640px){
  .product-layout{
    grid-template-columns: 1fr !important;
  }
}
/* ✅ Mobilde görsel (product-media) üste gelsin */
@media (max-width: 768px){

  .product-layout{
    grid-template-columns: 1fr !important;
  }

  /* 1) Görseli ilk sıraya al */
  .product-layout .product-media{
    grid-row: 1 !important;
  }

  /* 2) Diğer tüm blokları 2. satırdan itibaren altta başlat */
  .product-layout > :not(.product-media){
    grid-row: 2 !important;
  }
}
