/* =====================
   RESET & BASE
   ===================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --cream: #faf5ff;
  --beige: #ede9fe;
  --warm-white: #fefbff;
  --gold: #e9b84a;
  --gold-light: #f5d080;
  --gold-dark: #c9973a;
  --brown: #4c1d95;
  --brown-light: #6d28d9;
  --text: #1e1b4b;
  --text-muted: #5b4f7a;
  --shadow: rgba(76, 29, 149, 0.12);
  --shadow-lg: rgba(76, 29, 149, 0.2);
  --radius: 14px;
  --radius-sm: 8px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Georgia', 'Times New Roman', serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

/* =====================
   TYPOGRAPHY
   ===================== */
h1, h2, h3, h4 {
  font-family: 'Georgia', serif;
  color: var(--brown);
  line-height: 1.25;
}

p { color: var(--text-muted); }

a { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-dark); }

/* =====================
   NAVBAR
   ===================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(253, 246, 236, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(76, 29, 149, 0.2);
  transition: box-shadow var(--transition);
}

.navbar.scrolled {
  box-shadow: 0 4px 24px var(--shadow-lg);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--brown);
  letter-spacing: -0.02em;
}

.nav-logo .logo-icon { font-size: 1.8rem; }
.nav-logo span em { color: var(--gold); font-style: normal; }

.nav-links {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

.nav-links a {
  font-size: 0.95rem;
  font-family: 'Arial', sans-serif;
  font-weight: 500;
  color: var(--brown-light);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  transition: all var(--transition);
}

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

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--brown);
  border-radius: 2px;
  transition: all var(--transition);
}

/* =====================
   HERO
   ===================== */
#home {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 72px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1486297678162-eb2a19b0a318?w=1200');
  background-size: cover;
  background-position: center;
  filter: brightness(0.45) saturate(0.8);
  transition: background-image 0.5s ease;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(76,29,149,0.6) 0%, rgba(30,27,75,0.4) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 680px;
  margin-left: 10%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(76, 29, 149, 0.25);
  border: 1px solid rgba(76, 29, 149, 0.5);
  color: var(--gold-light);
  font-family: 'Arial', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  width: fit-content;
}

.hero-headline {
  font-size: clamp(2.4rem, 6vw, 4rem);
  color: #fff;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
  line-height: 1.15;
}

.hero-headline em {
  color: var(--gold-light);
  font-style: normal;
}

.hero-desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.82);
  max-width: 520px;
  font-family: 'Arial', sans-serif;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--gold);
  color: #fff;
  font-family: 'Arial', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.9rem 2.2rem;
  border-radius: 50px;
  width: fit-content;
  transition: all var(--transition);
  box-shadow: 0 4px 20px rgba(76, 29, 149, 0.4);
}

.hero-cta:hover {
  background: var(--gold-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(76, 29, 149, 0.5);
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.6);
  font-family: 'Arial', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* =====================
   SECTION BASE
   ===================== */
section { padding: 6rem 2rem; }

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-tag {
  font-family: 'Arial', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 0.8rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
  font-family: 'Arial', sans-serif;
}

.divider {
  width: 56px;
  height: 3px;
  background: linear-gradient(to right, var(--gold), var(--gold-light));
  border-radius: 3px;
  margin: 1.2rem 0 2.5rem;
}

/* =====================
   PRODUCTS SECTION
   ===================== */
#products {
  background: var(--warm-white);
}

/* Carousel */
.carousel-wrapper {
  overflow: hidden;
  position: relative;
  margin-bottom: 4rem;
}

.carousel-wrapper::before,
.carousel-wrapper::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.carousel-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--warm-white), transparent);
}

.carousel-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--warm-white), transparent);
}

.carousel-track {
  display: flex;
  gap: 1.2rem;
  width: max-content;
  will-change: transform;
}

.carousel-track img {
  width: 260px;
  height: 180px;
  object-fit: cover;
  border-radius: var(--radius);
  flex-shrink: 0;
  transition: transform var(--transition), box-shadow var(--transition);
}

.carousel-track img:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 40px var(--shadow-lg);
}

/* Product Grid */
.products-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.8rem;
}

.product-card {
  background: var(--cream);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 16px var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  opacity: 0;
  transform: translateY(24px);
}

.product-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px var(--shadow-lg);
}

.product-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover img { transform: scale(1.05); }

.product-img-wrap { overflow: hidden; }

.product-info {
  padding: 1.3rem 1.4rem 1.5rem;
}

.product-name {
  font-size: 1.05rem;
  color: var(--brown);
  margin-bottom: 0.35rem;
}

.product-desc {
  font-size: 0.87rem;
  color: var(--text-muted);
  font-family: 'Arial', sans-serif;
  line-height: 1.5;
  margin-bottom: 0.9rem;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-price {
  font-size: 1.1rem;
  font-weight: bold;
  color: var(--gold);
  font-family: 'Arial', sans-serif;
}

.product-tag {
  font-size: 0.75rem;
  background: rgba(76, 29, 149, 0.12);
  color: var(--gold-dark);
  padding: 0.2rem 0.6rem;
  border-radius: 50px;
  font-family: 'Arial', sans-serif;
}

/* =====================
   ABOUT SECTION
   ===================== */
#about {
  background: var(--beige);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-image-wrap {
  position: relative;
}

.about-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 16px 60px var(--shadow-lg);
}

.about-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--gold);
  color: #fff;
  padding: 1.4rem 1.8rem;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: 0 8px 32px rgba(76, 29, 149, 0.4);
}

.about-badge .badge-num {
  display: block;
  font-size: 2rem;
  font-weight: bold;
  line-height: 1;
}

.about-badge .badge-text {
  font-family: 'Arial', sans-serif;
  font-size: 0.8rem;
  opacity: 0.9;
}

.about-text { padding-right: 1rem; }

.about-features {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-top: 2rem;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.feature-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-title {
  font-size: 1rem;
  color: var(--brown);
  margin-bottom: 0.2rem;
}

.feature-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-family: 'Arial', sans-serif;
}

/* =====================
   FOOTER
   ===================== */
footer {
  background: var(--brown);
  color: rgba(255,255,255,0.75);
  padding: 4rem 2rem 2rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

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

.footer-brand h3 {
  color: #fff;
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
}

.footer-brand p {
  font-family: 'Arial', sans-serif;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  max-width: 280px;
  line-height: 1.7;
}

.footer-col h4 {
  color: var(--gold-light);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: 'Arial', sans-serif;
  margin-bottom: 1rem;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul li a {
  color: rgba(255,255,255,0.65);
  font-family: 'Arial', sans-serif;
  font-size: 0.9rem;
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--gold-light); }

.footer-contact p {
  font-family: 'Arial', sans-serif;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.social-links {
  display: flex;
  gap: 0.8rem;
  margin-top: 1.2rem;
}

.social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  transition: all var(--transition);
}

.social-link:hover {
  background: var(--gold);
  color: #fff;
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-family: 'Arial', sans-serif;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
}

/* =====================
   ANIMATIONS
   ===================== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: var(--cream);
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(201,151,58,0.2);
    gap: 1.2rem;
    box-shadow: 0 8px 24px var(--shadow);
  }
  .nav-hamburger { display: flex; }

  .hero-content { margin-left: 0; padding: 3rem 1.5rem; }

  section { padding: 4rem 1.5rem; }

  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }

  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-badge { right: 0.5rem; bottom: -1rem; }
  .about-img { height: 320px; }
  .about-text { padding-right: 0; }

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

  .products-header { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-headline { font-size: 2rem; }
}
