@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=DM+Sans:wght@300;400;500;600&display=swap');

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

:root {
  --orange: #E8621A;
  --orange-light: #F4894A;
  --orange-pale: #FFF0E6;
  --orange-dark: #B84A0C;
  --white: #FFFFFF;
  --cream: #FFFAF6;
  --gray-100: #F9F5F2;
  --gray-200: #EDE8E3;
  --gray-500: #9E8E82;
  --gray-700: #4A3F37;
  --gray-900: #1E1510;
  --nav-height: 70px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--gray-900);
  overflow-x: hidden;
}

/* ── NAVBAR ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  z-index: 1000;
  transition: box-shadow 0.3s;
}

nav.scrolled { box-shadow: 0 4px 24px rgba(232,98,26,0.10); }

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo img {
  width: 40px; height: 40px;
  border-radius: 10px;
  object-fit: cover;
}

.nav-logo-icon {
  width: 40px; height: 40px;
  background: var(--orange);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.nav-logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.2;
  max-width: 180px;
}

.nav-logo-text span { color: var(--orange); }

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

.nav-links a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-700);
  padding: 8px 16px;
  border-radius: 8px;
  transition: all 0.2s;
  letter-spacing: 0.01em;
}

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

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

.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: all 0.3s;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── HERO ── */
#home {
  min-height: 100vh;
  background: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-height) + 40px) 5% 80px;
  position: relative;
  overflow: hidden;
}

.hero-bg-pattern {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(255,255,255,0.06) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.08) 0%, transparent 40%);
  pointer-events: none;
}

.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-content { position: relative; max-width: 780px; }

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: white;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
  animation: fadeUp 0.6s ease both;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 700;
  color: white;
  line-height: 1.1;
  margin-bottom: 20px;
  animation: fadeUp 0.6s 0.1s ease both;
}

.hero-title span { color: var(--orange-pale); }

.hero-sub {
  font-size: clamp(15px, 2vw, 18px);
  color: rgba(255,255,255,0.82);
  line-height: 1.7;
  margin-bottom: 36px;
  animation: fadeUp 0.6s 0.2s ease both;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  color: var(--orange);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 32px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.25s;
  animation: fadeUp 0.6s 0.3s ease both;
}

.hero-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,0,0,0.15); }
.hero-cta svg { width: 18px; height: 18px; fill: var(--orange); }

.hero-scroll {
  position: absolute;
  bottom: 30px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.6);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  animation: bounce 2s 1s infinite;
}

.hero-scroll-line {
  width: 1px; height: 40px;
  background: rgba(255,255,255,0.4);
}

/* ── SECTIONS ── */
section { padding: 100px 5%; }
section:nth-child(even) { background: var(--gray-100); }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  display: block;
  width: 24px; height: 2px;
  background: var(--orange);
  border-radius: 2px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.15;
  margin-bottom: 16px;
}

/* ── ABOUT ── */
#about .about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.about-visual { position: relative; }

.about-img-main {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.about-img-main .about-emoji { font-size: 96px; }

.about-stat-card {
  position: absolute;
  bottom: -24px; right: -24px;
  background: white;
  border-radius: 14px;
  padding: 20px 24px;
  box-shadow: 0 8px 40px rgba(232,98,26,0.15);
  text-align: center;
}

.about-stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--orange);
  line-height: 1;
}

.about-stat-label {
  font-size: 12px;
  color: var(--gray-500);
  margin-top: 4px;
  font-weight: 500;
}

.about-text p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--gray-700);
  margin-bottom: 16px;
}

.about-pillars {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.pillar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--orange-pale);
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--orange-dark);
}

.pillar svg { width: 16px; height: 16px; fill: var(--orange); flex-shrink: 0; }

/* ── PRODUCTS ── */
#products { background: var(--cream); }

.products-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px;
}

.products-header p {
  color: var(--gray-500);
  font-size: 16px;
  line-height: 1.7;
  margin-top: 8px;
}

/* ── CAROUSEL ── */
.carousel-wrapper {
  position: relative;
  max-width: 1160px;
  margin: 0 auto;
}

.carousel-track-outer {
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-slide {
  flex: 0 0 33.333%;
  padding: 0 10px;
}

.product-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(232,98,26,0.13);
}

/* ── REAL PRODUCT IMAGE ── */
.product-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--gray-100);
  position: relative;
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s ease;
}

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

/* fallback if image fails */
.product-img img[data-error] {
  display: none;
}

.product-img-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  background: var(--orange-pale);
}

/* ── PRODUCT BODY ── */
.product-body { padding: 22px 24px 24px; }

.product-name {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.product-desc {
  font-size: 13.5px;
  color: var(--gray-500);
  line-height: 1.65;
  margin-bottom: 14px;
}

.product-tag {
  display: inline-block;
  background: var(--orange-pale);
  color: var(--orange-dark);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 6px;
}

/* ── CAROUSEL CONTROLS ── */
.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.carousel-btn {
  width: 50px; height: 50px;
  border-radius: 50%;
  background: white;
  border: 1.5px solid var(--gray-200);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.22s;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  flex-shrink: 0;
}

.carousel-btn:hover { background: var(--orange); border-color: var(--orange); }
.carousel-btn:hover svg { fill: white; }
.carousel-btn svg { width: 20px; height: 20px; fill: var(--gray-700); transition: fill 0.2s; }
.carousel-btn:disabled { opacity: 0.3; cursor: default; pointer-events: none; }

.carousel-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gray-200);
  cursor: pointer;
  transition: all 0.3s;
  border: none;
  padding: 0;
}

.dot.active { background: var(--orange); width: 24px; border-radius: 4px; }

/* ── CONTACT ── */
#contact { background: var(--gray-900); }

#contact .section-label { color: var(--orange-light); }
#contact .section-label::before { background: var(--orange-light); }
#contact .section-title { color: white; }

.contact-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-intro {
  font-size: 16px;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
  margin-bottom: 40px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-icon {
  width: 48px; height: 48px;
  background: rgba(232,98,26,0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg { width: 22px; height: 22px; fill: var(--orange-light); }

.contact-item-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange-light);
  margin-bottom: 4px;
}

.contact-item-value {
  font-size: 15px;
  color: rgba(255,255,255,0.85);
  line-height: 1.5;
}

.contact-map-placeholder {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  height: 100%;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  color: rgba(255,255,255,0.3);
  font-size: 13px;
}

.contact-map-placeholder svg { width: 48px; height: 48px; fill: rgba(255,255,255,0.1); }

/* ── FOOTER ── */
footer {
  background: #0E0C0A;
  padding: 32px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  font-weight: 700;
  color: white;
}

.footer-logo span { color: var(--orange); }
.footer-copy { font-size: 13px; color: rgba(255,255,255,0.35); }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

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

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  #about .about-grid { grid-template-columns: 1fr; gap: 60px; }
  .about-stat-card { right: 0; bottom: -20px; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-map-placeholder { min-height: 200px; }
  .product-slide { flex: 0 0 50%; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-height);
    left: 0; right: 0;
    background: white;
    padding: 16px 24px 24px;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    gap: 4px;
    z-index: 999;
  }
  .hamburger { display: flex; }
  .product-slide { flex: 0 0 85%; }
  section { padding: 70px 5%; }
  footer { flex-direction: column; text-align: center; }
}
