/* =========================================================
   Atlas Oto Kokusu — Modern & Premium tema
   ========================================================= */

:root {
  /* --- Tema değişmeyen sabitler --- */
  --accent:    #fc5761;
  --accent-2:  #ff8b92;
  --accent-ink:#ffffff;
  --wpp:       #25d366;   /* whatsapp yeşili */
  --radius:    12px;
  --radius-sm: 8px;
  --max:       1320px;
  --ease:      cubic-bezier(.22,.61,.36,1);

  /* --- DARK tema (varsayılan) --- */
  --bg:        #101522;
  --bg-soft:   #171e2d;
  --bg-soft-2: #20293a;
  --line:      #30394a;
  --text:      #f1f4f8;
  --muted:     #aab2c1;
  --header-bg: rgba(11,15,20,.72);
  --shadow:    0 18px 50px -20px rgba(0,0,0,.7);
  --cta-grad:  linear-gradient(135deg, #15110a, #1d160b);
}

/* --- LIGHT tema --- */
[data-theme="light"] {
  --bg:        #ffffff;
  --bg-soft:   #ffffff;
  --bg-soft-2: #f5f7f8;
  --line:      #e5e8ec;
  --text:      #101522;
  --muted:     #687693;
  --header-bg: rgba(255,255,255,.78);
  --shadow:    0 18px 50px -22px rgba(20,32,46,.22);
  --cta-grad:  linear-gradient(135deg, #fbf6e8, #fff8ea);
}

/* Tema geçişini yumuşat */
body, .feature, .product-card, .spec, .cta-band, .chip,
.trust { transition: background-color .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease); }

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Chillax", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container { width: min(100% - 2.4rem, var(--max)); margin-inline: auto; }

.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }

/* ---------- Tipografi yardımcıları ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .8rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent);
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--accent); }

h1, h2, h3 { line-height: 1.15; font-weight: 600; letter-spacing: -.01em; }
.section-title { font-size: clamp(1.8rem, 4vw, 2.7rem); margin: .6rem 0 1rem; }
.section-intro { color: var(--muted); max-width: 56ch; }
.center { text-align: center; }
.center .section-intro { margin-inline: auto; }

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .85rem 1.5rem; border-radius: 100px; font-weight: 600; font-size: .95rem;
  border: 1px solid transparent; cursor: pointer; transition: all .25s var(--ease);
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 28px -10px var(--accent); }
.btn-ghost { border-color: var(--line); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-wpp { background: var(--wpp); color: #04210f; }
.btn-wpp:hover { transform: translateY(-2px); box-shadow: 0 10px 28px -10px var(--wpp); }
.btn-lg { padding: 1.05rem 2rem; font-size: 1.02rem; }

/* =========================================================
   Hero
   ========================================================= */
.hero { position: relative; padding: clamp(3rem,7vw,5.5rem) 0 clamp(3.5rem,8vw,6rem); }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem,5vw,4rem); align-items: center;
}
.hero h1 { font-size: clamp(2.2rem, 5.2vw, 3.7rem); margin: 1rem 0; }
.hero h1 .hl { color: var(--accent); }
.hero p.lead { color: var(--muted); font-size: clamp(1.02rem,1.6vw,1.18rem); max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.hero-stats { display: flex; gap: 2.2rem; margin-top: 2.4rem; flex-wrap: wrap; }
.hero-stats .stat strong { display: block; font-size: 1.6rem; color: var(--text); }
.hero-stats .stat span { font-size: .82rem; color: var(--muted); }

.hero-visual { position: relative; }
.hero-visual img {
  width: 100%; border-radius: var(--radius); box-shadow: var(--shadow);
  aspect-ratio: 4/5; object-fit: cover;
}
.hero-visual .glow {
  position: absolute; inset: -10% -10% auto auto; width: 60%; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(212,175,55,.28), transparent 70%);
  filter: blur(20px); z-index: -1;
}
.hero-badge {
  position: absolute; bottom: 18px; left: -14px;
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 14px;
  padding: .85rem 1.1rem; box-shadow: var(--shadow); display: flex; align-items: center; gap: .7rem;
}
.hero-badge .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 0 4px rgba(90,209,200,.18); }
.hero-badge b { font-size: .9rem; } .hero-badge span { font-size: .75rem; color: var(--muted); display:block; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 460px; margin-inline: auto; }
  .hero-visual img { aspect-ratio: 16/12; }
}

/* ---------- Logo şeridi (güven) ---------- */
.trust { border-block: 1px solid var(--line); background: var(--bg-soft); }
.trust .container { padding-block: 1.5rem; }
.trust p { text-align: center; color: var(--muted); font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; }
.trust .logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.2rem 2.6rem; margin-top: 1rem; }
.trust .logos span { color: var(--muted); font-weight: 600; opacity: .65; font-size: 1.05rem; }

/* =========================================================
   Özellik kartları
   ========================================================= */
.features { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.2rem; }
.feature {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem; transition: transform .25s var(--ease), border-color .25s;
}
.feature:hover { transform: translateY(-4px); border-color: var(--accent); }
.feature .ico {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--bg-soft-2); color: var(--accent); margin-bottom: 1rem; font-size: 1.4rem;
}
.feature h3 { font-size: 1.12rem; margin-bottom: .4rem; }
.feature p { color: var(--muted); font-size: .94rem; }
@media (max-width: 820px) { .features { grid-template-columns: 1fr; } }

/* =========================================================
   Ürün ızgarası
   ========================================================= */
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.2rem; }

.product-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.3rem; }
@media (max-width: 900px) { .product-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px) { .product-grid { grid-template-columns: 1fr; } }

.product-card {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .25s var(--ease), border-color .25s; display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-5px); border-color: var(--accent); }
.product-card .thumb { position: relative; aspect-ratio: 1; background: var(--bg-soft-2); overflow: hidden; }
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.product-card:hover .thumb img { transform: scale(1.06); }
.product-card .tag {
  position: absolute; top: 12px; left: 12px; font-size: .72rem; font-weight: 600;
  background: rgba(11,15,20,.7); border: 1px solid var(--line); color: var(--accent);
  padding: .25rem .6rem; border-radius: 100px; backdrop-filter: blur(6px);
}
.product-card .body { padding: 1.2rem 1.2rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.product-card h3 { font-size: 1.1rem; }
.product-card .desc { color: var(--muted); font-size: .9rem; margin: .4rem 0 1rem; flex: 1; }
.product-card .meta { display: flex; gap: 1rem; font-size: .78rem; color: var(--muted); margin-bottom: 1rem; }
.product-card .meta b { color: var(--text); font-weight: 600; }
.product-card .card-actions { display: flex; gap: .6rem; }
.product-card .card-actions .btn { flex: 1; padding: .7rem 1rem; font-size: .88rem; }

/* =========================================================
   CTA bandı
   ========================================================= */
.cta-band {
  background: var(--cta-grad);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(2rem,5vw,3.5rem); text-align: center; position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: auto -20% -60% auto; width: 50%; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(212,175,55,.25), transparent 70%); filter: blur(30px);
}
.cta-band h2 { font-size: clamp(1.6rem,3.5vw,2.3rem); position: relative; }
.cta-band p { color: var(--muted); max-width: 50ch; margin: .8rem auto 1.6rem; position: relative; }
.cta-band .hero-actions { justify-content: center; }

/* =========================================================
   Ürün detay sayfası
   ========================================================= */
.breadcrumb { color: var(--muted); font-size: .85rem; padding: 1.4rem 0; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { color: var(--accent); }

.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.6rem,4vw,3.2rem); align-items: start; }
@media (max-width: 840px) { .detail-grid { grid-template-columns: 1fr; } }

.gallery .main {
  aspect-ratio: 1; background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
}
.gallery .main img { width: 100%; height: 100%; object-fit: cover; }
.gallery .thumbs { display: flex; gap: .7rem; margin-top: .8rem; flex-wrap: wrap; }
.gallery .thumbs button {
  width: 76px; height: 76px; border-radius: 10px; overflow: hidden; cursor: pointer;
  border: 2px solid var(--line); background: var(--bg-soft); padding: 0; transition: border-color .2s;
}
.gallery .thumbs button.active { border-color: var(--accent); }
.gallery .thumbs img { width: 100%; height: 100%; object-fit: cover; }

.detail-info h1 { font-size: clamp(1.7rem,3.5vw,2.4rem); margin: .4rem 0 .8rem; }
.detail-info .lead { color: var(--muted); margin-bottom: 1.6rem; }
.spec-list { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; margin-bottom: 1.6rem; }
.spec {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .9rem 1rem;
}
.spec span { font-size: .75rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.spec b { display: block; font-size: 1.02rem; margin-top: .15rem; }

.scent-box { margin-bottom: 1.8rem; }
.scent-box h3 { font-size: 1rem; margin-bottom: .7rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
  font-size: .82rem; padding: .4rem .85rem; border-radius: 100px;
  background: var(--bg-soft); border: 1px solid var(--line); color: var(--muted);
}
.detail-actions { display: flex; gap: .8rem; flex-wrap: wrap; }

.detail-long { margin-top: 3rem; max-width: 70ch; }
.detail-long h2 { font-size: 1.4rem; margin-bottom: .8rem; }
.detail-long p { color: var(--muted); }

/* =========================================================
   Footer
   ========================================================= */

/* ---------- Sabit WhatsApp butonu ---------- */
.wpp-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%; background: var(--wpp);
  display: grid; place-items: center; box-shadow: 0 10px 30px -8px rgba(37,211,102,.6);
  transition: transform .2s; color: #04210f;
}
.wpp-float:hover { transform: scale(1.08); }
.wpp-float svg { width: 30px; height: 30px; }

/* ---------- Giriş animasyonu ---------- */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}
