/* ============ RESET & GLOBAL ============ */

*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --bg: #050505;
  --surface: #111111;
  --surface-soft: #181818;
  --surface-elevated: #1f1f1f;
  --border-soft: rgba(255, 255, 255, 0.06);
  --text-main: #f5f2ea;
  --text-muted: #a8a395;
  --accent: #f7e3c3;
  --accent-soft: #c0b7aa;
  --accent-deep: #b18c5c;
  --danger: #f25d5d;
  --radius-xl: 999px;
  --radius-lg: 32px;
  --radius-md: 18px;
  --shadow-soft: 0 18px 50px rgba(0, 0, 0, 0.6);
  --font-deco: "Cinzel Decorative", system-ui, serif;
  --font-main: "Cinzel", system-ui, serif;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text-main);
  font-family: var(--font-main);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
}

/* Utility */

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button {
  font-family: inherit;
  border: none;
  outline: none;
  background: none;
  cursor: pointer;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ============ NAVBAR ============ */

.top-nav {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 40;
  background: radial-gradient(circle at top, #191919 0, #050505 60%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.2rem 2.25rem;  /* daha ince bir bar: 0.75rem → 0.5rem yaptık */
  display: flex;
  align-items: center;
  justify-content: space-between;
}


.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.nav-logo-image {
  width: 120px;       /* LOGO GENİŞLİĞİ – istersen 140px yap */
  height: auto;       /* Oran korunsun */
  object-fit: contain;
  display: block;
}


.nav-logo-text {
  font-family: var(--font-deco);
  letter-spacing: 0.3em;
  font-size: 0.9rem;
}

.nav-links {
  display: flex;
  gap: 1.75rem;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.28em;
}

.nav-links a {
  position: relative;
  padding-bottom: 0.25rem;
  color: var(--text-muted);
  transition: color 0.25s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.25s ease;
}

.nav-links a:hover {
  color: var(--text-main);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-cart {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: grid;
  place-items: center;
  background: radial-gradient(circle at top, #2a2a2a, #101010);

  /* animasyon + glow için eklediklerimiz */
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.02);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

/* sepete profil ile aynı hover/glow */
.nav-cart:hover {
  transform: translateY(-1px);
  border-color: rgba(247, 227, 195, 0.45);
  box-shadow: 0 0 18px rgba(247, 227, 195, 0.35);
}

.nav-cart-icon {
  font-size: 0.95rem;
}


.nav-avatar {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  place-items: center;
  background: radial-gradient(circle at top, #2a2a2a, #101010);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.02);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
  overflow: hidden; /* İçine görsel koyarsan taşmasın diye */
}

.nav-avatar:hover {
  transform: translateY(-1px);
  border-color: rgba(247, 227, 195, 0.45);
  box-shadow: 0 0 18px rgba(247, 227, 195, 0.35);
}

/* Harfli versiyon (KV vs.) */
.nav-avatar-initials {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

/* Görselli versiyon (img kullanırsan) */
.nav-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  display: block;
}


/* add top padding so content is not hidden under fixed nav */
main {
  padding-top: 72px;
}

/* ============ HERO ============ */

.hero {
  padding: 0 0 3.25rem;
  background: transparent;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 40px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-soft);
}

/* Senin tam tasarım görselin */
.hero-banner {
  display: block;
  width: 100%;
  height: auto;
}

.hero-shop-button {
  position: absolute;
  left: 76.8%;
  top: 85.5%;
  width: 20.7%;
  height: 10%;

  display: flex;
  align-items: center;
  justify-content: center;

  text-decoration: none;
  font-family: "Cinzel", serif;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  font-size: 14px;
  color: #1b1916;

  border-radius: 999px;
  background: linear-gradient(90deg, #f6ead7 0%, #e3c38e 100%);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.35);

  cursor: pointer;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    filter 0.22s ease;
}

/* Hover efekti */
.hero-shop-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.9);
  filter: brightness(1.05);
}

/* Click efekti */
.hero-shop-button:active {
  transform: translateY(1px) scale(0.98);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.75);
}


/* Hover’da hafif glow verelim ki buton hissiyatı olsun */
.hero-shop-button::before {
  content: "";
  position: absolute;
  inset: 20%;
  border-radius: var(--radius-xl);
  border: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.hero-shop-button:hover::before {
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 20px rgba(247, 227, 195, 0.35);
}

/* ============ GENERIC SECTION STYLES ============ */

.section {
  padding: 4.5rem 0 4.5rem;
}

.section-dark {
  background: radial-gradient(circle at top, #171515, #050505 65%);
}

.section-split {
  background: linear-gradient(135deg, #050505 0, #14120f 55%, #050505 100%);
}

.section-cta {
  background: radial-gradient(circle at top, #17130c 0, #050505 65%);
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding-inline: 2rem;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 3.25rem;
}

.section-col {
  min-width: 0;
}

.section-header {
  text-align: left;
  max-width: 600px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.7rem;
  color: var(--accent-soft);
  margin-bottom: 0.85rem;
}

.section-title {
  font-family: var(--font-deco);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  letter-spacing: 0.13em;
  margin: 0 0 0.8rem;
}

.section-subtitle {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.section-copy {
  margin: 0 0 1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
}

/* ============ SHOP / PRODUCT CARDS ============ */

.product-row {
  margin-top: 3.25rem;
  display: flex;
  gap: 1.75rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scroll-snap-type: x mandatory;
}

.product-row::-webkit-scrollbar {
  height: 6px;
}

.product-row::-webkit-scrollbar-track {
  background: transparent;
}

.product-row::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.16);
  border-radius: 999px;
}

.product-card {
  flex: 0 0 260px;
  scroll-snap-align: start;
  background: radial-gradient(circle at top left, #26201b 0, #12100d 55%, #050505 100%);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.6rem 1.8rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.6);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease,
    background 0.35s ease;
}

.product-card::after {
  content: "";
  position: absolute;
  inset: -60%;
  background: radial-gradient(circle at 10% 0, rgba(247, 227, 195, 0.22), transparent 55%);
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
}

.product-card:hover {
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.85);
  border-color: rgba(247, 227, 195, 0.4);
  background: radial-gradient(circle at top left, #2b231a 0, #14110d 55%, #050505 100%);
}

.product-card:hover::after {
  opacity: 1;
}

.product-tag {
  font-size: 0.7rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--accent-soft);
  margin-bottom: 1.1rem;
}

.product-title {
  margin: 0 0 0.75rem;
  font-family: var(--font-deco);
  letter-spacing: 0.18em;
  font-size: 1rem;
}

.product-copy {
  margin: 0 0 1.4rem;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-muted);
}

/* Kart altı fiyat + buton satırı */
.product-footer {
  margin-top: 2.2rem;
  padding-top: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

/* Fiyat */
.product-price {
  font-size: 0.95rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ADD TO CART – gerçek buton hali */
.product-card .product-cta {
  min-width: 120px;
  height: 40px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0 1.8rem;
  border-radius: 999px;

  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.65rem;

  background: transparent;
  color: var(--accent);
  border: 1px solid rgba(247, 227, 195, 0.7);

  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  transition:
    background 0.18s ease,
    color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease,
    border-color 0.18s ease;
  cursor: pointer;
}

/* Hover efekti – hafif glow + lift */
.product-card .product-cta:hover {
  background: rgba(247, 227, 195, 0.06);
  border-color: rgba(247, 227, 195, 0.95);
  box-shadow: 0 0 18px rgba(247, 227, 195, 0.3);
  transform: translateY(-1px);
}

/* Click */
.product-card .product-cta:active {
  transform: translateY(0);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
}


/* ============ ABOUT ============ */

.about-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.4rem;
}

.about-label {
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--accent-soft);
  margin-bottom: 0.35rem;
}

.about-detail {
  display: block;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ============ CTA FORM ============ */

.section-cta .section-inner {
  max-width: 700px;
  text-align: center;
}

.cta-form {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.cta-form input {
  min-width: 240px;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(5, 5, 5, 0.85);
  color: var(--text-main);
  font-size: 0.9rem;
  outline: none;
}

.cta-form input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.cta-form input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(247, 227, 195, 0.6);
}

.cta-button {
  padding: 0.8rem 1.8rem;
  border-radius: var(--radius-xl);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  background: linear-gradient(90deg, #f7e3c3, #c7a476);
  color: #21160c;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.75);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    filter 0.18s ease;
}

.cta-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.9);
  filter: brightness(1.02);
}

/* ============ FOOTER ============ */

.site-footer {
  padding: 1.8rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: #050505;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding-inline: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-brand {
  font-family: var(--font-deco);
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

/* ============ REVEAL ON SCROLL ============ */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  filter: blur(2px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease,
    filter 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* ============ TILT CARDS (mouse responsive) ============ */

.tilt-card {
  transform-style: preserve-3d;
  will-change: transform;
}

/* hover state handled in JS; burada sadece küçük easing var */
.tilt-card.is-tilting {
  transition: transform 0.08s linear;
}

/* ============ RESPONSIVE ============ */

@media (max-width: 992px) {
  .nav-inner {
    padding-inline: 1.25rem;
  }

  .section-inner {
    padding-inline: 1.6rem;
  }

  .section-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .product-row {
    gap: 1.25rem;
  }
}

@media (max-width: 720px) {
  main {
    padding-top: 64px;
  }

  .nav-links {
    display: none; /* basit çözüm – istersen hamburger yaparız */
  }

  .hero {
    padding: 1.4rem 0 2.5rem;
  }

  .hero-inner {
    border-radius: 26px;
  }

  .section {
    padding: 3.3rem 0 3.4rem;
  }

  .section-inner {
    padding-inline: 1.25rem;
  }

  .product-row {
    padding-inline: 0.1rem;
  }

  .product-card {
    flex: 0 0 80%;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ============ BACK TO TOP BUTTON ============ */

.back-to-top {
  position: fixed;
  right: 1.8rem;
  bottom: 1.8rem;
  width: 44px;
  height: 44px;
  border-radius: 999px;

  /* Hafif şeffaf, premium görünüm */
  background: radial-gradient(circle at top, #2a2a2a, #101010);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);

  display: flex;
  align-items: center;
  justify-content: center;

  color: var(--accent);
  opacity: 0;
  pointer-events: none;          /* görünmüyken tıklanamasın */
  z-index: 45;

  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.back-to-top-arrow {
  font-size: 0.9rem;
  letter-spacing: 0.12em;
}

/* Görünür haldeyken */
.back-to-top.is-visible {
  opacity: 0.85;
  pointer-events: auto;
}

/* Hover efekti */
.back-to-top:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.9);
  opacity: 1;
}

/* Küçük ekranlarda biraz yukarı alalım */
@media (max-width: 720px) {
  .back-to-top {
    right: 1.2rem;
    bottom: 1.2rem;
  }
}
