/* ===== Design Tokens ===== */
:root {
  --bg: #09090b;
  --surface: rgba(255,255,255,0.03);
  --surface-2: rgba(255,255,255,0.06);
  --glass: rgba(255,255,255,0.08);
  --glass-border: rgba(255,255,255,0.12);
  --text: #e8e6e3;
  --text-muted: #8a8580;
  --accent: #c97b3d;
  --accent-glow: rgba(201,123,61,0.3);
  --success: #2da580;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 8px 40px rgba(0,0,0,0.4);
  --transition: 0.4s cubic-bezier(0.4,0,0.2,1);
  --transition-snap: 0.3s cubic-bezier(0.4,0,0.2,1);
}

/* ===== Base Reset ===== */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* ===== Layout ===== */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ===== Typography ===== */
h1,h2,h3,h4 { font-family: 'Playfair Display', Georgia, serif; color: #fff; margin-bottom: 0.8em; line-height: 1.2; }
h1 { font-size: clamp(2.5rem,5vw,4rem); font-weight: 600; }
h2 { font-size: clamp(1.8rem,3.5vw,2.8rem); font-weight: 500; }
h3 { font-size: clamp(1.2rem,2.2vw,1.6rem); font-weight: 500; }
p { color: var(--text-muted); margin-bottom: 1rem; }
a { color: var(--text); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.8rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), #b5653d);
  color: white;
  box-shadow: 0 6px 24px var(--accent-glow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px var(--accent-glow);
}
.btn-outline {
  background: transparent;
  border: 1px solid var(--glass-border);
  color: var(--text);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.btn-lg { padding: 1.1rem 2.2rem; font-size: 1.05rem; }
.btn-sm { padding: 0.6rem 1.2rem; font-size: 0.85rem; }

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(9,9,11,0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #fff;
  font-weight: 700;
  font-size: 1.4rem;
}
.logo-img {
  height: 50px;
  width: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.logo-text { letter-spacing: -0.02em; }
.logo-accent { color: var(--accent); }
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.nav-links a { font-size: 0.95rem; color: var(--text-muted); position: relative; }
.nav-links a.active, .nav-links a:hover { color: var(--text); }
.nav-links a.active::after {
  content: ''; position: absolute; bottom: -6px; left: 0; right: 0; height: 2px;
  background: var(--accent); border-radius: 2px;
}
.nav-cta { margin-left: 1rem; }
.mobile-menu-toggle { display: none; }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 95vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 80px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    url('assets/images/hero/hero-kitchen.jpg') center / cover no-repeat;
  animation: kenBurns 30s ease-in-out infinite alternate;
  will-change: transform;
}
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(201,123,61,0.25) 0%, transparent 50%),
    radial-gradient(ellipse at 20% 80%, rgba(107,99,246,0.12) 0%, transparent 50%),
    linear-gradient(180deg, rgba(9,9,11,0.55) 0%, rgba(9,9,11,0.92) 80%, var(--bg) 100%);
  z-index: 1;
}
@keyframes kenBurns {
  0% { transform: scale(1) translate(0,0); }
  100% { transform: scale(1.08) translate(-1%,-1%); }
}
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
}
.hero .reveal-text {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.hero .reveal-text.visible {
  opacity: 1;
  transform: translateY(0);
}
.hero h1 {
  margin: 0.5rem 0 1.2rem;
  background: linear-gradient(135deg, #fff 40%, #c4a77d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 2rem;
}
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-muted);
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translate(-50%, 0); }
  40% { transform: translate(-50%, 10px); }
  60% { transform: translate(-50%, 5px); }
}

/* ===== Features ===== */
.features { padding: 8rem 0; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: var(--transition);
}
.feature-card:hover { transform: translateY(-5px); background: var(--surface-2); }
.feature-icon {
  width: 64px; height: 64px; margin: 0 auto 1.5rem;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(201,123,61,0.12);
  color: var(--accent);
}
.feature-icon svg { width: 32px; height: 32px; }

/* ===== Categories ===== */
.categories { padding: 6rem 0; }
.section-title {
  text-align: center;
  margin-bottom: 3rem;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.category-card {
  position: relative;
  height: 280px;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  background: var(--surface);
  border: 1px solid var(--glass-border);
}
.category-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.7s ease;
  filter: brightness(0.6);
}
.category-card:hover .category-bg { transform: scale(1.05); filter: brightness(0.8); }
.category-content {
  position: relative;
  z-index: 1;
  padding: 1.5rem;
  width: 100%;
}
.category-name {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: #fff;
}
.category-count {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ===== Featured Products ===== */
.featured-products { padding: 6rem 0; background: linear-gradient(180deg, transparent, var(--surface) 30%, var(--surface) 70%, transparent); }
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2.5rem;
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}
.product-card {
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.product-image {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.product-card:hover .product-image img { transform: scale(1.05); }
.product-overlay {
  position: absolute;
  inset: 0;
  background: rgba(9,9,11,0.6);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-card:hover .product-overlay { opacity: 1; }
.product-info { padding: 1.5rem; }
.product-category {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--accent);
  letter-spacing: 0.05em;
}
.product-title { margin: 0.4rem 0 0.6rem; font-family: 'Playfair Display', serif; font-size: 1.2rem; }
.product-price { color: var(--text-muted); font-weight: 600; font-size: 0.95rem; }

/* ===== Story ===== */
.story { padding: 8rem 0; }
.story-inner {
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 4rem;
}
.story-content { max-width: 700px; margin-bottom: 3rem; }
.story-highlight {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}
.stat {
  background: var(--surface-2);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 1.5rem 2rem;
  text-align: center;
  flex: 1;
  min-width: 150px;
}
.stat strong { display: block; font-size: 2rem; color: var(--accent); margin-bottom: 0.3rem; }

/* ===== CTA ===== */
.cta { padding: 6rem 0; }
.cta-inner {
  background: radial-gradient(ellipse at 80% 50%, rgba(201,123,61,0.15) 0%, transparent 60%),
              var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 4rem;
  text-align: center;
}
.cta-actions { display: flex; gap: 1rem; justify-content: center; margin-top: 2rem; flex-wrap: wrap; }

/* ===== Footer ===== */
.site-footer {
  border-top: 1px solid var(--glass-border);
  padding: 4rem 0 2rem;
  margin-top: 4rem;
}
.footer-inner { display: grid; gap: 3rem; }
.footer-brand { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1rem; }
.footer-logo { height: 40px; border-radius: 6px; }
.footer-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2rem;
}
.footer-col h5 { font-family: 'Inter', sans-serif; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1rem; color: #fff; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }
.footer-col a { color: var(--text-muted); font-size: 0.9rem; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--glass-border);
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.footer-bottom a { color: var(--text-muted); }
.footer-bottom a:hover { color: var(--accent); }

/* ===== Reveal Animations ===== */
.reveal-card { opacity: 0; transform: translateY(40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-card.visible { opacity: 1; transform: translateY(0); }

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-menu-toggle {
    display: block; width: 28px; height: 22px; position: relative; cursor: pointer;
    background: transparent; border: none;
  }
  .mobile-menu-toggle span {
    position: absolute; left: 0; width: 100%; height: 2px; background: var(--text);
    transition: var(--transition);
  }
  .mobile-menu-toggle span:nth-child(1) { top: 0; }
  .mobile-menu-toggle span:nth-child(2) { top: 50%; transform: translateY(-50%); }
  .mobile-menu-toggle span:nth-child(3) { bottom: 0; }
  .story-inner, .cta-inner { padding: 2.5rem 1.5rem; }
  .hero { min-height: 85vh; }
  .hero-actions { flex-direction: column; align-items: center; }
  .features, .categories, .featured-products, .story, .cta { padding: 4rem 0; }
}

/* Focus states for accessibility */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
