/* TaveqHome™ Minimal Luxury Design System - Pure CSS (Desktop Intact + Sleek Mobile Optimization) */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700&display=swap');

:root {
  --bg-primary: #fafafa;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #f4f4f5;
  --bg-glass: rgba(255, 255, 255, 0.92);

  --accent-color: #09090b;
  --accent-hover: #27272a;

  --text-primary: #09090b;
  --text-secondary: #52525b;
  --text-muted: #a1a1aa;

  --border-color: rgba(0, 0, 0, 0.08);
  --border-bright: rgba(0, 0, 0, 0.16);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --shadow-soft: 0 4px 20px -2px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 12px 32px -4px rgba(0, 0, 0, 0.08);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Outfit', sans-serif;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

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

/* Container */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}

/* Ticker Announcement Bar */
.announcement-bar {
  background: #09090b;
  color: #ffffff;
  padding: 0.55rem 1rem;
  font-size: 0.82rem;
  font-weight: 500;
  text-align: center;
  letter-spacing: 0.02em;
  overflow: hidden;
}

.announcement-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  white-space: nowrap;
}

.announcement-content span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.25rem;
}

.brand-logo {
  font-family: 'Outfit', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.brand-logo span {
  background: #09090b;
  color: #ffffff;
  font-size: 0.7rem;
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  letter-spacing: 0.05em;
}

.desktop-nav {
  display: block;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--text-primary);
  border-radius: var(--radius-full);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-search-form {
  display: flex;
  align-items: center;
}

.search-input {
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  outline: none;
  width: 140px;
  background: #ffffff;
  transition: all 0.3s ease;
}

.search-input:focus {
  width: 180px;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(9, 9, 11, 0.06);
}

.cart-btn {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--border-color);
  padding: 0.55rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
}

.cart-btn:hover {
  border-color: var(--border-bright);
  background: var(--bg-surface-elevated);
  transform: translateY(-1px);
}

.cart-btn:active {
  transform: scale(0.97);
}

.cart-badge {
  background: #09090b;
  color: #ffffff;
  font-size: 0.75rem;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Mobile Toggle Button - Strictly Hidden on Desktop */
.mobile-toggle-btn {
  display: none !important;
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: 0.35rem;
  border-radius: var(--radius-sm);
  transition: background 0.2s ease;
}

.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-nav-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 84%;
  max-width: 320px;
  background: #ffffff;
  z-index: 91;
  box-shadow: 10px 0 30px rgba(0, 0, 0, 0.15);
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.mobile-nav-drawer.active {
  transform: translateX(0);
}

.mobile-nav-header {
  padding: 1.25rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.close-mobile-btn {
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--text-secondary);
  padding: 0.2rem 0.5rem;
}

.mobile-nav-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.mobile-menu-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-nav-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: all 0.2s ease;
}

.mobile-nav-item:hover,
.mobile-nav-item.active {
  background: var(--bg-surface-elevated);
}

.mobile-nav-item:active {
  transform: scale(0.98);
}

/* Buttons */
.btn-primary {
  background: #09090b;
  color: #ffffff;
  border: 1px solid #09090b;
  font-weight: 600;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  font-size: 0.92rem;
}

.btn-primary:hover {
  background: #27272a;
  border-color: #27272a;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.16);
}

.btn-primary:active {
  transform: translateY(0) scale(0.98);
}

.btn-secondary {
  background: #ffffff;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  font-weight: 600;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
  font-size: 0.92rem;
}

.btn-secondary:hover {
  background: #f4f4f5;
  border-color: var(--border-bright);
}

.btn-secondary:active {
  transform: scale(0.98);
}

/* Cards & Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.75rem;
}

.product-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  border-color: var(--border-bright);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.product-image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #f4f4f5;
  overflow: hidden;
}

.product-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .product-image-wrap img {
  transform: scale(1.06);
}

.card-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 2;
}

.badge-bestseller {
  background: #fef3c7;
  color: #d97706;
  border: 1px solid #fde68a;
}

.badge-trending {
  background: #ffe4e6;
  color: #e11d48;
  border: 1px solid #fecdd3;
}

.badge-toprated {
  background: #d1fae5;
  color: #059669;
  border: 1px solid #a7f3d0;
}

.badge-popular {
  background: #e0e7ff;
  color: #4338ca;
  border: 1px solid #c7d2fe;
}

.badge-new {
  background: #f3e8ff;
  color: #7e22ce;
  border: 1px solid #e9d5ff;
}

.badge-limited {
  background: #ffedd5;
  color: #c2410c;
  border: 1px solid #fed7aa;
}

.product-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-category {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.35rem;
}

.product-title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0.4rem;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-bottom: 0.8rem;
}

.product-rating .star {
  color: #eab308;
}

.product-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-top: auto;
  padding-top: 0.75rem;
}

.current-price {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
}

.original-price {
  font-size: 0.88rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

/* Hero Section */
.hero-section {
  padding: 5rem 0 4rem;
  text-align: center;
  background: radial-gradient(circle at 50% 0%, #f4f4f5 0%, #fafafa 70%);
  border-bottom: 1px solid var(--border-color);
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #ffffff;
  border: 1px solid var(--border-bright);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-soft);
}

.hero-title {
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1.1;
  max-width: 800px;
  margin: 0 auto 1.25rem;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto 2rem;
  line-height: 1.5;
}

/* Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-up {
  animation: fadeUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Slide-Over Cart Drawer */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.cart-drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 440px;
  background: #ffffff;
  z-index: 101;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.cart-drawer.active {
  transform: translateX(0);
}

.cart-drawer-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-drawer-body {
  padding: 1.5rem;
  flex-grow: 1;
  overflow-y: auto;
}

.cart-drawer-footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--border-color);
  background: var(--bg-primary);
}

/* Footer */
.site-footer {
  background: #ffffff;
  border-top: 1px solid var(--border-color);
  padding: 4rem 0 2rem;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

/* =================================================== */
/* DESKTOP VIEW (Masaüstünde 3 çizgi kesinlikle yoktur) */
/* =================================================== */

@media (min-width: 993px) {
  .mobile-toggle-btn {
    display: none !important;
  }

  .desktop-nav {
    display: block !important;
  }
}

/* =================================================== */
/* MOBILE / TABLET ONLY (Sadece Mobil/Tablet Görünümü) */
/* =================================================== */

@media (max-width: 992px) {
  .desktop-nav {
    display: none !important;
  }

  .mobile-toggle-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

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

  /* Announcement Bar Marquee */
  .announcement-bar {
    padding: 0.55rem 0;
  }

  .announcement-content {
    display: flex;
    white-space: nowrap;
    animation: marquee 20s linear infinite;
  }
}

@keyframes marquee {
  0% {
    transform: translateX(100vw);
  }

  100% {
    transform: translateX(-100%);
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1.25rem;
  }

  .ticker-divider {
    display: none;
  }

  .announcement-content {
    gap: 0.8rem;
    font-size: 0.75rem;
  }

  .header-search-form {
    display: none;
  }

  .cart-btn-text {
    display: none;
  }

  .cart-btn {
    padding: 0.5rem 0.75rem;
  }

  .hero-title {
    font-size: 2.1rem;
    line-height: 1.2;
  }

  .hero-subtitle {
    font-size: 0.98rem;
  }

  .hero-section {
    padding: 3.25rem 0 2.75rem;
  }

  .hero-cta-btns {
    width: 100%;
    flex-direction: column;
    gap: 0.75rem !important;
  }

  .hero-cta-btns a {
    width: 100%;
    min-height: 46px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  /* Product Detail Grid */
  .product-detail-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  /* Cart Layout Grid */
  .cart-layout-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  /* Checkout Layout Grid */
  .checkout-layout-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  /* 3-Stage Lifecycle Grid */
  .lifecycle-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }

  /* Reviews Grid */
  .reviews-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }

  /* Specifications Grid */
  .specs-grid {
    grid-template-columns: 1fr !important;
    gap: 0.75rem !important;
  }

  /* Product Spotlight Grid */
  .spotlight-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

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

  .product-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .cart-drawer {
    max-width: 100%;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    min-height: 46px;
  }
}