:root {
  --bg-primary: #FAF8F5;
  --bg-secondary: #F2EFE9;
  --text-primary: #1C1C1C;
  --text-secondary: #5A5753;
  --accent: #B08D57;
  --accent-hover: #967543;
  --font-serif: 'Playfair Display', serif;
  --font-sans: 'Plus Jakarta Sans', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
}

.main-header {
  background: rgba(250, 248, 245, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(28, 28, 28, 0.08);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
}

.favorite-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: var(--text-primary);
  font-size: 0.875rem;
  font-weight: 500;
}

.favorite-btn .badge {
  background: var(--bg-secondary);
  border: 1px solid rgba(28, 28, 28, 0.14);
  border-radius: 999px;
  padding: 1px 8px;
  font-size: 0.75rem;
}

.cta-btn {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  background: var(--accent);
  color: #1C1C1C;
  padding: 10px 24px;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.cta-btn:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  margin: 5px 0;
}

.hero {
  min-height: 100vh;
  padding-top: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-container {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 500px;
}

.hero-buttons .btn-primary,
.hero-buttons .btn-secondary {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  margin-right: 16px;
}

.hero-buttons .btn-primary {
  background: var(--accent);
  color: #1C1C1C;
}

.hero-buttons .btn-secondary {
  border: 2px solid var(--text-secondary);
  color: var(--text-primary);
}

.hero-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-secondary);
}

.hero-slider .slide {
  position: absolute;
  inset: 0;
  background: center/cover no-repeat;
  opacity: 0;
  transition: opacity 1.5s ease;
}

.hero-slider .slide.active {
  opacity: 1;
}

.hero-slider .slide .slide-caption {
  position: absolute;
  bottom: 30px;
  left: 30px;
  color: #FAF8F5;
  background: rgba(28, 28, 28, 0.55);
  padding: 14px 18px;
  border-radius: 6px;
}

.how-it-works,
.categories {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.125rem;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}

.step-item {
  text-align: center;
}

.step-number {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
}

.category-card {
  position: relative;
  height: 300px;
  border-radius: 8px;
  overflow: hidden;
  background-color: var(--bg-secondary);
  background-size: cover;
  background-position: center;
}

.category-card .category-icon {
  position: absolute;
  top: 24px;
  left: 24px;
  width: 48px;
  height: 48px;
  background: var(--bg-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.category-card h3 {
  position: absolute;
  bottom: 24px;
  left: 24px;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: #FAF8F5;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.filter-btn {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(28, 28, 28, 0.16);
  background: var(--bg-primary);
  color: var(--text-primary);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #1C1C1C;
}

.main-footer {
  background: var(--text-primary);
  color: #FAF8F5;
  padding: 60px 0 20px;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr;
  gap: 50px;
  margin-bottom: 50px;
}

.footer-brand .logo-text {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 16px;
}

.footer-links h4,
.footer-contact h4 {
  font-family: var(--font-serif);
  font-size: 1rem;
  margin-bottom: 20px;
  color: var(--accent);
}

.footer-links ul {
  list-style: none;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a,
.footer-contact p,
.footer-contact a {
  color: #E0E0E0;
  font-size: 0.875rem;
  text-decoration: none;
}

.footer-contact address {
  font-style: normal;
  line-height: 1.9;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 20px 0;
  text-align: center;
  border-top: 1px solid #333;
}

.footer-bottom p {
  color: #999;
  font-size: 0.75rem;
}

@media (max-width: 968px) {
  .hero-container,
  .steps-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 2.6rem;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 250px;
    height: calc(100vh - 70px);
    background: var(--bg-primary);
    flex-direction: column;
    align-items: center;
    padding-top: 40px;
    transition: right 0.3s ease;
  }

  .nav-links.active {
    right: 0;
  }

  .menu-toggle {
    display: block;
  }
}

/* ===== Karanlık mod ===== */
:root[data-theme="dark"] {
  --bg-primary: #14120F;
  --bg-secondary: #1F1C18;
  --text-primary: #F2EEE8;
  --text-secondary: #B5AFA6;
  color-scheme: dark;
}
[data-theme="dark"] .main-header {
  background: rgba(20, 18, 15, 0.92);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}
[data-theme="dark"] .main-footer { background: #0C0B09; }
[data-theme="dark"] .product-card,
[data-theme="dark"] .catalog-filters,
[data-theme="dark"] .fav-toggle-btn,
[data-theme="dark"] input,
[data-theme="dark"] select {
  border-color: rgba(255, 255, 255, 0.14) !important;
}
[data-theme="dark"] .filter-btn { border-color: rgba(255, 255, 255, 0.18); }
[data-theme="dark"] .favorite-btn .badge { border-color: rgba(255, 255, 255, 0.2); }
[data-theme="dark"] .hero-buttons .btn-secondary { border-color: var(--text-secondary); }
[data-theme="dark"] .nav-links { box-shadow: -8px 0 24px rgba(0, 0, 0, 0.4); }

input, select, textarea {
  background: var(--bg-primary);
  color: var(--text-primary);
}

.theme-toggle {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid rgba(128, 128, 128, 0.35);
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}
.theme-toggle:hover { transform: scale(1.08); }

/* ===== WhatsApp butonu ===== */
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1100;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease;
  text-decoration: none;
}
.whatsapp-float:hover { transform: scale(1.1); }
.whatsapp-float svg { width: 32px; height: 32px; fill: #fff; }

/* ===== Tablet (601px - 968px) ===== */
@media (min-width: 601px) and (max-width: 968px) {
  .steps-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .step-number { width: 64px; height: 64px; font-size: 2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-title { font-size: 3rem; }
}

/* ===== Mobil + Tablet genel ===== */
@media (max-width: 968px) {
  .hero { min-height: auto; padding: 100px 0 50px; }
  .hero-container { gap: 32px; }
  .hero-subtitle { max-width: none; }
  .how-it-works, .categories { padding: 56px 0; }
  .section-header { margin-bottom: 36px; }
  .section-title { font-size: 2rem; }
  .nav-links { z-index: 1001; }
  .nav-links a { font-size: 1rem; }
  .navbar { gap: 10px; }
}

/* ===== Mobil (600px ve altı) ===== */
@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .hero-container { padding: 0 16px; }
  .navbar { height: 62px; }
  .logo { font-size: 1.5rem; }
  .navbar > .cta-btn { display: none; }
  .favorite-btn .text { display: none; }
  .navbar > .favorite-btn { margin-left: auto; }
  .nav-links { top: 62px; height: calc(100vh - 62px); width: 78%; max-width: 300px; }

  .hero { padding-top: 90px; }
  .hero-title { font-size: 2.2rem; margin-bottom: 16px; }
  .hero-subtitle { font-size: 1.05rem; margin-bottom: 28px; }
  .hero-buttons { display: flex; flex-direction: column; gap: 12px; }
  .hero-buttons .btn-primary,
  .hero-buttons .btn-secondary { margin-right: 0; text-align: center; padding: 14px 20px; }
  .hero-slider { aspect-ratio: 4 / 3; }
  .hero-slider .slide .slide-caption { left: 14px; bottom: 14px; padding: 10px 14px; }
  .hero-slider .slide .slide-caption h3 { font-size: 1rem; }

  .section-title { font-size: 1.7rem; }
  .section-subtitle { font-size: 1rem; }
  .steps-grid { gap: 28px; }
  .categories-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .category-card { height: 190px; }
  .category-card .category-icon { top: 12px; left: 12px; width: 38px; height: 38px; font-size: 1.1rem; }
  .category-card h3 { left: 12px; bottom: 12px; font-size: 1rem; }

  .catalog-filters { padding: 14px !important; }
  .filter-controls { width: 100%; flex-direction: column; align-items: stretch !important; }
  .filter-controls input, .filter-controls select { width: 100%; }
  .products-grid { grid-template-columns: 1fr !important; gap: 20px !important; }

  .main-footer { padding-top: 44px; }
  .footer-grid { gap: 32px; }

  .whatsapp-float { right: 14px; bottom: 14px; width: 52px; height: 52px; }
  .whatsapp-float svg { width: 28px; height: 28px; }
}


/* ===== Özel Logo Görseli ===== */
.brand-logo-img {
  height: 46px;
  width: auto;
  max-width: 170px;
  object-fit: contain;
  display: block;
}
.footer-logo-img {
  height: 52px;
  width: auto;
  max-width: 190px;
  object-fit: contain;
  margin-bottom: 14px;
  display: block;
}

/* ===== Ürün Etiket Rozeti (Yeni Ürün / Fırsat Ürünü) ===== */
.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--accent);
  color: #fff;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  z-index: 2;
}

/* ===== Yüklenme Animasyonu ===== */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}
.page-loader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loader-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.loader-logo {
  height: 58px;
  width: auto;
  animation: loaderPulse 1.4s ease-in-out infinite;
}
.loader-curtain {
  display: flex;
  gap: 8px;
  align-items: flex-end;
  height: 36px;
}
.loader-curtain span {
  width: 7px;
  height: 16px;
  border-radius: 4px;
  background: var(--accent);
  animation: curtainWave 1s ease-in-out infinite;
}
.loader-curtain span:nth-child(2) { animation-delay: 0.15s; }
.loader-curtain span:nth-child(3) { animation-delay: 0.3s; }
.loader-text {
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
}
@keyframes curtainWave {
  0%, 100% { height: 14px; opacity: 0.45; }
  50% { height: 36px; opacity: 1; }
}
@keyframes loaderPulse {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.06); opacity: 1; }
}

/* ===== Mobilde Büyütülmüş 3 Çizgi Hamburger Menü ===== */
@media (max-width: 968px) {
  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 46px;
    height: 46px;
    padding: 8px;
    border-radius: 8px;
    background: var(--bg-secondary);
    border: 1px solid rgba(128, 128, 128, 0.25);
    gap: 6px;
  }
  .menu-toggle span {
    width: 28px;
    height: 3px;
    margin: 0;
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }
  .menu-toggle.open span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  .menu-toggle.open span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.open span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
}
@media (max-width: 600px) {
  .brand-logo-img {
    height: 38px;
    max-width: 135px;
  }
}
