/* ============================================================
   BEDIRRISE - Premium 2026 Stil
   Lüks krem / siyah / altın palet · Web + Mobil uyumlu
   ============================================================ */

:root {
  --bg: #faf8f5;
  --bg-alt: #f2ede6;
  --ink: #1a1613;
  --ink-soft: #5c544c;
  --line: #e4ddd3;
  --gold: #b89355;
  --gold-dark: #9a7840;
  --white: #ffffff;
  --radius: 18px;
  --shadow-sm: 0 4px 18px rgba(26, 22, 19, 0.06);
  --shadow-md: 0 16px 48px rgba(26, 22, 19, 0.12);
  --maxw: 1280px;
  --font-serif: "Playfair Display", Georgia, serif;
  --font-sans: "Jost", "Segoe UI", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 clamp(18px, 4vw, 48px);
}

.serif {
  font-family: var(--font-serif);
}

/* ---------- Announcement bar ---------- */
.topbar {
  background: var(--ink);
  color: #f6efe4;
  text-align: center;
  font-size: 13px;
  letter-spacing: 1.5px;
  padding: 9px 12px;
  text-transform: uppercase;
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 248, 245, 0.85);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo {
  font-family: var(--font-serif);
  font-size: clamp(20px, 5vw, 26px);
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--ink);
  white-space: nowrap;
}
.logo span {
  color: var(--gold);
}

.nav-links {
  display: flex;
  gap: 34px;
  list-style: none;
}
.nav-links a {
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ink-soft);
  position: relative;
  transition: color 0.25s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: width 0.3s;
}
.nav-links a:hover {
  color: var(--ink);
}
.nav-links a:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}
.icon-btn {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  cursor: pointer;
  transition: all 0.25s;
  color: var(--ink);
}
.icon-btn:hover {
  background: var(--ink);
  color: var(--white);
  transform: translateY(-2px);
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.burger span {
  width: 24px;
  height: 2px;
  background: var(--ink);
  transition: 0.3s;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: center;
  background: linear-gradient(
      105deg,
      rgba(20, 17, 14, 0.78) 0%,
      rgba(20, 17, 14, 0.45) 55%,
      rgba(20, 17, 14, 0.2) 100%
    ),
    url("../images/hero.jpg") center/cover no-repeat;
  color: #fff;
}
.hero-inner {
  max-width: 600px;
  margin-right: auto;
  margin-left: 0;
  text-align: left;
}
.hero .eyebrow {
  letter-spacing: 4px;
  text-transform: uppercase;
  font-size: 13px;
  color: #e9d7b6;
  margin-bottom: 18px;
}
.hero h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(38px, 7vw, 86px);
  line-height: 1.02;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 22px;
  overflow-wrap: break-word;
  word-break: normal;
}
.hero p {
  font-size: clamp(15px, 2vw, 18px);
  max-width: 460px;
  margin-bottom: 34px;
  color: #f0e9de;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 34px;
  font-size: 14px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 999px;
  cursor: pointer;
  border: none;
  transition: all 0.3s;
  font-family: var(--font-sans);
  font-weight: 500;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #fff;
  box-shadow: 0 10px 28px rgba(184, 147, 85, 0.35);
}
.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(184, 147, 85, 0.45);
}
.btn-dark {
  background: var(--ink);
  color: #fff;
}
.btn-dark:hover {
  background: #000;
  transform: translateY(-3px);
}
.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
}
.btn-ghost:hover {
  background: #fff;
  color: var(--ink);
}
.btn-block {
  width: 100%;
  justify-content: center;
}

/* ---------- Marquee / trust strip ---------- */
.trust {
  background: var(--ink);
  color: #efe7d9;
}
.trust-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 18px;
  padding: 26px 0;
  text-align: center;
}
.trust-item {
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
}
.trust-item svg {
  color: var(--gold);
}

/* ---------- Section ---------- */
.section {
  padding: clamp(60px, 9vw, 110px) 0;
}
.section-head {
  text-align: center;
  margin-bottom: 52px;
}
.section-head .eyebrow {
  letter-spacing: 4px;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--gold);
  margin-bottom: 12px;
}
.section-head h2 {
  font-family: var(--font-serif);
  font-size: clamp(30px, 4.5vw, 48px);
  font-weight: 700;
}
.section-head p {
  color: var(--ink-soft);
  max-width: 540px;
  margin: 14px auto 0;
}

/* ---------- Product grid ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 30px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s, box-shadow 0.35s;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}
.product-media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--bg-alt);
}
.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Slider slaytları */
.product-media.slider .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.product-media.slider .slide.active {
  opacity: 1;
  position: relative;
}
.product-card:hover .product-media .slide.active {
  transform: scale(1.05);
  transition: transform 0.6s ease, opacity 0.4s ease;
}
/* Slider okları */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.85);
  color: var(--ink);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  opacity: 0;
  transition: opacity 0.25s, background 0.2s;
  z-index: 3;
}
.product-media:hover .slider-arrow {
  opacity: 1;
}
.slider-arrow:hover {
  background: #fff;
}
.slider-arrow.prev { left: 10px; }
.slider-arrow.next { right: 10px; }
/* Slider noktaları */
.slider-dots {
  position: absolute;
  bottom: 12px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 6px;
  z-index: 3;
}
.slider-dots .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  transition: all 0.2s;
}
.slider-dots .dot.active {
  background: #fff;
  width: 18px;
  border-radius: 4px;
}
/* Büyüt butonu */
.zoom-btn {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: rgba(26, 22, 19, 0.65);
  color: #fff;
  cursor: pointer;
  font-size: 16px;
  display: grid;
  place-items: center;
  opacity: 0;
  transition: opacity 0.25s;
  z-index: 3;
}
.product-media:hover .zoom-btn {
  opacity: 1;
}
.product-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--gold);
  color: #fff;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
}
.product-discount {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 999px;
}
.product-body {
  padding: 20px 20px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-cat {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.product-name {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 4px;
  color: var(--ink);
}
.product-variant {
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 14px;
}
.product-prices {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 18px;
  margin-top: auto;
}
.price-now {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
}
.price-old {
  font-size: 14px;
  color: #a79e92;
  text-decoration: line-through;
}
.card-actions {
  display: flex;
  gap: 10px;
}
.card-actions .btn {
  padding: 12px 18px;
  font-size: 12px;
  flex: 1;
}
.btn-wa {
  background: #25d366;
  color: #fff;
}
.btn-wa:hover {
  background: #1da851;
  transform: translateY(-2px);
}
.btn-ghost-dark {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
}
.btn-ghost-dark:hover {
  background: var(--ink);
  color: #fff;
  transform: translateY(-2px);
}

/* ---------- Ürün Detay Modalı ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 17, 14, 0.72);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 500;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}
.modal-box {
  background: var(--white);
  border-radius: var(--radius);
  max-width: 920px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  transform: translateY(20px) scale(0.98);
  transition: transform 0.3s ease;
}
.modal-overlay.open .modal-box {
  transform: none;
}
.modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  z-index: 5;
  color: var(--ink);
}
.modal-close:hover { background: #fff; }

.pm-gallery {
  padding: 18px;
  background: var(--bg-alt);
}
.pm-main {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 12px;
  overflow: hidden;
  background: var(--white);
}
.pm-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pm-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  font-size: 24px;
  cursor: pointer;
  display: grid;
  place-items: center;
  color: var(--ink);
}
.pm-arrow:hover { background: #fff; }
.pm-arrow.prev { left: 10px; }
.pm-arrow.next { right: 10px; }
.pm-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.pm-thumb {
  width: 60px;
  height: 72px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border 0.2s;
}
.pm-thumb.active { border-color: var(--gold); }

.pm-info {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
}
.pm-title {
  font-family: var(--font-serif);
  font-size: 26px;
  margin: 6px 0 4px;
  line-height: 1.2;
}
.pm-variant {
  color: var(--ink-soft);
  margin-bottom: 14px;
}
.pm-desc {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.7;
  margin: 16px 0 24px;
}
.pm-info .btn-wa { margin-top: auto; }

/* ---------- Feature banner ---------- */
.feature {
  background: var(--bg-alt);
}
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}
.feature-text h2 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 44px);
  margin-bottom: 18px;
}
.feature-text p {
  color: var(--ink-soft);
  margin-bottom: 26px;
  font-size: 16px;
}
.feature-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 5 / 4;
}
.feature-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Newsletter ---------- */
.newsletter {
  background: var(--ink);
  color: #fff;
  text-align: center;
}
.newsletter h2 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: 14px;
}
.newsletter p {
  color: #cfc6b8;
  margin-bottom: 30px;
}
.subscribe {
  display: flex;
  max-width: 480px;
  margin: 0 auto;
  gap: 10px;
  flex-wrap: wrap;
}
.subscribe input {
  flex: 1;
  min-width: 220px;
  padding: 15px 20px;
  border-radius: 999px;
  border: 1px solid #3a342c;
  background: #241f1a;
  color: #fff;
  font-size: 15px;
  outline: none;
}
.subscribe input::placeholder {
  color: #8a8073;
}

/* ---------- Footer ---------- */
.footer {
  background: #16120e;
  color: #cfc6b8;
  padding: 70px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}
.footer h4 {
  color: #fff;
  font-size: 14px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.footer .logo {
  color: #fff;
  margin-bottom: 16px;
  display: inline-block;
}
.footer p {
  font-size: 14px;
  color: #9a9084;
  line-height: 1.8;
}
.footer ul {
  list-style: none;
}
.footer ul li {
  margin-bottom: 12px;
}
.footer ul a {
  font-size: 14px;
  color: #b4aa9c;
  transition: color 0.2s;
}
.footer ul a:hover {
  color: var(--gold);
}
.socials {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}
.socials a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #241f1a;
  color: #cfc6b8;
  transition: all 0.25s;
}
.socials a:hover {
  background: var(--gold);
  color: #fff;
  transform: translateY(-3px);
}
.footer-bottom {
  border-top: 1px solid #2a241e;
  padding-top: 24px;
  text-align: center;
  font-size: 13px;
  color: #7d7367;
}

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45);
  z-index: 200;
  color: #fff;
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .modal-box {
    grid-template-columns: 1fr;
    max-width: 480px;
  }
  .pm-info { padding: 24px 22px; }
}

@media (max-width: 760px) {
  .nav {
    position: relative;
  }
  .nav-links {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    align-items: flex-start;
    padding: 16px clamp(18px, 4vw, 48px);
    gap: 16px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 30px rgba(26, 22, 19, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s;
  }
  .nav-links.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .burger {
    display: flex;
  }
  .hero {
    min-height: 68vh;
    padding: 40px 0;
  }
  .nav {
    height: 64px;
  }
  .logo {
    letter-spacing: 1.5px;
  }
}

@media (max-width: 520px) {
  .hero h1 {
    font-size: clamp(26px, 8vw, 40px);
  }
  .hero p {
    font-size: 14px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .product-body {
    padding: 14px;
  }
  .card-actions {
    flex-direction: column;
  }
  .price-now {
    font-size: 17px;
  }
  .product-name {
    font-size: 14px;
  }
}
