/* =====================================================================
   TEKIBOSS — site.css
   Sinematik / atmosferik koyu tema. Melodic House dunyasi.
   Imza: hipnotik radyal halka + grain dokusu + tek sicak vurgu.
   ===================================================================== */

:root {
  /* Palet — gece moru / kömür / sıcak amber vurgu */
  --bg:        #0a0710;   /* neredeyse siyah, mor altton */
  --bg-2:      #120c1c;   /* yükseltilmiş yüzey */
  --bg-3:      #1b1228;   /* kart */
  --ink:       #f4eefb;   /* ana metin */
  --ink-soft:  #b3a7c9;   /* ikincil metin */
  --ink-mute:  #6b6080;   /* soluk */
  --accent:    #ff5c39;   /* sıcak amber-mercan — imza vurgu */
  --accent-2:  #b14bff;   /* hipnotik mor */
  --line:      rgba(177,75,255,0.14);
  --line-soft: rgba(244,238,251,0.07);

  --radius:    14px;
  --radius-lg: 22px;
  --maxw:      1180px;

  --shadow:    0 24px 60px -20px rgba(0,0,0,0.7);
  --glow:      0 0 40px -8px rgba(255,92,57,0.45);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

/* Grain dokusu — tüm sayfaya ince film hissi */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

/* Tipografi — display: Space Grotesk benzeri ağırlık; başlıklar geniş tracking */
h1, h2, h3 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
}

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------------- HEADER ---------------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  backdrop-filter: blur(14px);
  background: rgba(10,7,16,0.55);
  border-bottom: 1px solid var(--line-soft);
  transition: background .3s;
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; max-width: var(--maxw); margin: 0 auto; padding: 0 24px;
}
.brand {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; font-size: 1.35rem; letter-spacing: 0.12em;
}
.brand span { color: var(--accent); }
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a {
  font-size: 0.9rem; color: var(--ink-soft); letter-spacing: 0.02em;
  transition: color .2s; position: relative;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 1px; width: 0;
  background: var(--accent); transition: width .25s;
}
.nav-links a:hover::after { width: 100%; }

.cart-link { display: flex; align-items: center; gap: 7px; }
.cart-badge {
  background: var(--accent); color: #fff; font-size: 0.7rem; font-weight: 700;
  min-width: 18px; height: 18px; border-radius: 9px; display: inline-flex;
  align-items: center; justify-content: center; padding: 0 5px;
}
.nav-toggle { display: none; background: none; border: none; color: var(--ink); font-size: 1.5rem; cursor: pointer; }

/* ---------------- BUTONLAR ---------------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 26px; border-radius: 100px; font-weight: 600; font-size: 0.92rem;
  border: 1px solid transparent; cursor: pointer; transition: all .22s;
  font-family: inherit;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: var(--glow); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 56px -6px rgba(255,92,57,0.6); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--accent-2); color: #fff; }
.btn-wa { background: #25d366; color: #06251a; }
.btn-wa:hover { transform: translateY(-2px); }
.btn-block { width: 100%; justify-content: center; }

/* ---------------- HERO ---------------- */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  overflow: hidden;
}
/* hipnotik radyal halka — imza element */
.hero::before {
  content: ""; position: absolute; top: 50%; left: 50%;
  width: 140vmax; height: 140vmax; transform: translate(-50%,-50%);
  background:
    radial-gradient(circle, transparent 30%, rgba(177,75,255,0.06) 31%, transparent 32%),
    radial-gradient(circle, transparent 42%, rgba(255,92,57,0.05) 43%, transparent 44%),
    radial-gradient(circle, transparent 54%, rgba(177,75,255,0.05) 55%, transparent 56%),
    radial-gradient(circle, transparent 66%, rgba(255,92,57,0.04) 67%, transparent 68%);
  animation: pulse 14s ease-in-out infinite;
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 40%, rgba(177,75,255,0.12), transparent 70%);
  pointer-events: none;
}
@keyframes pulse {
  0%,100% { transform: translate(-50%,-50%) scale(1); opacity: .8; }
  50%     { transform: translate(-50%,-50%) scale(1.08); opacity: 1; }
}
.hero-inner { position: relative; z-index: 2; text-align: center; width: 100%; padding: 100px 24px; }
.hero h1 {
  font-size: clamp(3.2rem, 13vw, 9rem);
  letter-spacing: 0.04em; margin-bottom: 18px;
  background: linear-gradient(180deg, #fff 0%, var(--ink-soft) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero .tagline {
  font-size: clamp(1rem, 2.5vw, 1.4rem); color: var(--ink-soft);
  letter-spacing: 0.06em; margin-bottom: 38px; font-weight: 400;
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.scroll-hint {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  color: var(--ink-mute); font-size: 0.75rem; letter-spacing: 0.2em; z-index: 2;
  animation: bob 2.2s ease-in-out infinite;
}
@keyframes bob { 0%,100%{transform:translateX(-50%) translateY(0);} 50%{transform:translateX(-50%) translateY(8px);} }

/* ---------------- BOLUM BASLIKLARI ---------------- */
section { padding: 100px 0; position: relative; }
.section-head { margin-bottom: 50px; }
.section-head h2 { font-size: clamp(2rem, 5vw, 3.2rem); margin-top: 10px; }
.section-head p { color: var(--ink-soft); max-width: 560px; margin-top: 14px; }

/* ---------------- URUN GRID ---------------- */
.product-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 26px;
}
.product-card {
  background: var(--bg-3); border: 1px solid var(--line-soft); border-radius: var(--radius-lg);
  overflow: hidden; transition: transform .3s, border-color .3s, box-shadow .3s;
}
.product-card:hover { transform: translateY(-6px); border-color: var(--line); box-shadow: var(--shadow); }
.product-thumb {
  aspect-ratio: 1/1; background: var(--bg-2); position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.product-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.product-card:hover .product-thumb img { transform: scale(1.05); }
.product-thumb .no-img { color: var(--ink-mute); font-size: 0.8rem; letter-spacing: 0.2em; }
.product-badge {
  position: absolute; top: 12px; left: 12px; background: var(--accent); color: #fff;
  font-size: 0.66rem; font-weight: 700; letter-spacing: 0.1em; padding: 5px 11px; border-radius: 100px;
}
.sold-out-badge { background: var(--ink-mute); }
.product-body { padding: 18px 20px 22px; }
.product-cat { font-size: 0.7rem; color: var(--accent-2); letter-spacing: 0.16em; text-transform: uppercase; }
.product-name { font-size: 1.05rem; font-weight: 600; margin: 6px 0 10px; }
.product-price { font-family: 'Space Grotesk', sans-serif; font-size: 1.15rem; font-weight: 700; }
.product-price .old { color: var(--ink-mute); text-decoration: line-through; font-size: 0.85rem; margin-left: 8px; font-weight: 400; }

/* ---------------- URUN DETAY ---------------- */
.pd-wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 50px; padding-top: 120px; }
.pd-gallery { position: sticky; top: 100px; align-self: start; }
.pd-main-img {
  aspect-ratio: 1/1; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--bg-2); border: 1px solid var(--line-soft);
}
.pd-main-img img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.pd-thumbs img {
  width: 72px; height: 72px; object-fit: cover; border-radius: 10px; cursor: pointer;
  border: 1px solid var(--line-soft); opacity: 0.6; transition: opacity .2s, border-color .2s;
}
.pd-thumbs img:hover, .pd-thumbs img.active { opacity: 1; border-color: var(--accent); }
.pd-info h1 { font-size: 2.4rem; margin: 10px 0 16px; }
.pd-price { font-family: 'Space Grotesk'; font-size: 1.8rem; font-weight: 700; margin-bottom: 24px; }
.pd-desc { color: var(--ink-soft); margin-bottom: 30px; }
.pd-opt-label { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 10px; }
.opt-group { margin-bottom: 24px; }
.opt-pills { display: flex; gap: 10px; flex-wrap: wrap; }
.opt-pill {
  padding: 10px 18px; border: 1px solid var(--line); border-radius: 100px; cursor: pointer;
  font-size: 0.9rem; transition: all .2s; background: transparent; color: var(--ink); font-family: inherit;
}
.opt-pill:hover { border-color: var(--accent-2); }
.opt-pill.active { background: var(--accent); border-color: var(--accent); color: #fff; }
.opt-pill:disabled { opacity: 0.3; cursor: not-allowed; text-decoration: line-through; }
.qty-row { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; }
.qty-ctrl { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 100px; overflow: hidden; }
.qty-ctrl button { background: none; border: none; color: var(--ink); width: 42px; height: 42px; font-size: 1.2rem; cursor: pointer; }
.qty-ctrl button:hover { background: var(--bg-3); }
.qty-ctrl span { min-width: 40px; text-align: center; font-weight: 600; }
.stock-note { font-size: 0.82rem; color: var(--ink-mute); margin-top: 14px; }

/* ---------------- MUZIK ---------------- */
.release-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 22px; }
.release-card {
  background: var(--bg-3); border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 20px; transition: border-color .3s, transform .3s;
}
.release-card:hover { border-color: var(--line); transform: translateY(-4px); }
.release-cover {
  aspect-ratio: 1/1; border-radius: 10px; background: linear-gradient(135deg, var(--accent-2), var(--accent));
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px; overflow: hidden;
}
.release-cover img { width: 100%; height: 100%; object-fit: cover; }
.release-cover .play-icon { font-size: 2rem; color: rgba(255,255,255,0.85); }
.release-title { font-weight: 600; font-size: 1.05rem; }
.release-year { color: var(--ink-mute); font-size: 0.82rem; margin-top: 3px; }
.release-links { display: flex; gap: 12px; margin-top: 14px; }
.release-links a { font-size: 0.78rem; color: var(--accent-2); letter-spacing: 0.04em; }
.release-links a:hover { color: var(--accent); }

/* ---------------- INSTAGRAM GRID ---------------- */
.ig-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.ig-item { position: relative; aspect-ratio: 1/1; border-radius: 12px; overflow: hidden; background: var(--bg-3); display: block; }
.ig-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.ig-item:hover img { transform: scale(1.06); }
.ig-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(10,7,16,0.55); opacity: 0; transition: opacity .25s; }
.ig-item:hover .ig-overlay { opacity: 1; }
@media (max-width: 760px) { .ig-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------------- ETKINLIKLER ---------------- */
.event-row {
  display: flex; align-items: center; gap: 24px; padding: 22px 0;
  border-bottom: 1px solid var(--line-soft); flex-wrap: wrap;
}
.event-date {
  font-family: 'Space Grotesk'; text-align: center; min-width: 70px;
}
.event-date .day { font-size: 1.9rem; font-weight: 700; line-height: 1; }
.event-date .mon { font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin-top: 4px; }
.event-info { flex: 1; min-width: 200px; }
.event-info h3 { font-size: 1.2rem; }
.event-info .meta { color: var(--ink-soft); font-size: 0.88rem; margin-top: 4px; }
.event-past { opacity: 0.4; }

/* ---------------- SEPET ---------------- */
.cart-table { width: 100%; border-collapse: collapse; }
.cart-item { display: flex; gap: 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line-soft); }
.cart-item-img { width: 80px; height: 80px; border-radius: 10px; object-fit: cover; background: var(--bg-2); flex-shrink: 0; }
.cart-item-info { flex: 1; }
.cart-item-info .name { font-weight: 600; }
.cart-item-info .variant { color: var(--ink-mute); font-size: 0.84rem; margin-top: 2px; }
.cart-summary {
  background: var(--bg-3); border: 1px solid var(--line-soft); border-radius: var(--radius-lg);
  padding: 26px; position: sticky; top: 100px;
}
.summary-row { display: flex; justify-content: space-between; margin-bottom: 14px; color: var(--ink-soft); }
.summary-row.total { color: var(--ink); font-size: 1.25rem; font-weight: 700; font-family: 'Space Grotesk'; border-top: 1px solid var(--line); padding-top: 16px; margin-top: 4px; }

/* ---------------- FORMLAR ---------------- */
.form-grid { display: grid; gap: 18px; }
.form-group label { display: block; font-size: 0.82rem; color: var(--ink-soft); margin-bottom: 7px; letter-spacing: 0.03em; }
.form-control {
  width: 100%; padding: 13px 16px; background: var(--bg-2); border: 1px solid var(--line);
  border-radius: 12px; color: var(--ink); font-family: inherit; font-size: 0.95rem; transition: border-color .2s;
}
.form-control:focus { outline: none; border-color: var(--accent); }
textarea.form-control { resize: vertical; min-height: 110px; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

/* ---------------- IBAN KUTUSU ---------------- */
.iban-box {
  background: linear-gradient(135deg, rgba(177,75,255,0.1), rgba(255,92,57,0.06));
  border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; margin-bottom: 26px;
}
.iban-box .iban-num { font-family: 'Space Grotesk'; font-size: 1.15rem; letter-spacing: 0.06em; margin: 8px 0; word-break: break-all; }

/* ---------------- FOOTER ---------------- */
.site-footer { border-top: 1px solid var(--line-soft); padding: 56px 0 36px; margin-top: 40px; }
.footer-grid { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 30px; }
.footer-brand .brand { margin-bottom: 12px; display: inline-block; }
.footer-brand p { color: var(--ink-mute); max-width: 280px; font-size: 0.9rem; }
.footer-social { display: flex; gap: 18px; margin-top: 18px; flex-wrap: wrap; }
.footer-social a { color: var(--ink-soft); transition: color .2s; display: inline-flex; align-items: center; gap: 6px; font-size: 0.9rem; }
.footer-social a svg { opacity: .85; }
.footer-social a:hover { color: var(--accent); }
.footer-col h4 { font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 16px; }
.footer-col a { display: block; color: var(--ink-soft); font-size: 0.9rem; margin-bottom: 10px; transition: color .2s; }
.footer-col a:hover { color: var(--ink); }
.footer-bottom { text-align: center; color: var(--ink-mute); font-size: 0.82rem; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line-soft); }
.footer-bottom a { color: var(--accent-2); }

/* ---------------- BILDIRIM (toast) ---------------- */
.toast {
  position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%) translateY(100px);
  background: var(--accent); color: #fff; padding: 14px 26px; border-radius: 100px;
  font-weight: 600; box-shadow: var(--glow); z-index: 2000; opacity: 0; transition: all .35s;
}
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }

/* ---------------- BOS DURUM ---------------- */
.empty-state { text-align: center; padding: 80px 20px; color: var(--ink-mute); }
.empty-state h3 { color: var(--ink-soft); margin-bottom: 10px; }

/* ---------------- RESPONSIVE ---------------- */
@media (max-width: 860px) {
  .nav-links {
    position: fixed; top: 68px; right: 0; bottom: 0; width: 75%; max-width: 300px;
    background: var(--bg-2); flex-direction: column; align-items: flex-start;
    padding: 36px 28px; gap: 24px; transform: translateX(100%); transition: transform .3s;
    border-left: 1px solid var(--line);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-toggle { display: block; }
  .pd-wrap { grid-template-columns: 1fr; gap: 30px; }
  .pd-gallery { position: static; }
  .cart-layout { grid-template-columns: 1fr !important; }
  .cart-summary { position: static; }
  .row-2 { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
