/* ============================================================
   SRM EXPORT & IMPORT — Warm Spice Design System
   ============================================================ */

/* ------------------ ROOT / TOKENS ------------------ */
:root {
  /* Spice palette */
  --turmeric: #E8A317;
  --turmeric-bright: #F4C430;
  --saffron: #D2691E;
  --paprika: #B84518;
  --cumin: #5A3A22;
  --cumin-deep: #3E2818;

  /* Neutrals */
  --ink: #2B211A;
  --ink-soft: #6b5d51;
  --cream: #FBF6EC;
  --cream-deep: #F3E9D6;
  --card: #FFFDF8;
  --line: rgba(90, 58, 34, 0.12);

  /* Effects */
  --grad-warm: linear-gradient(135deg, var(--turmeric) 0%, var(--saffron) 100%);
  --grad-deep: linear-gradient(135deg, var(--cumin) 0%, var(--paprika) 100%);
  --shadow-sm: 0 6px 20px rgba(90, 58, 34, 0.08);
  --shadow-md: 0 20px 45px rgba(90, 58, 34, 0.12);
  --shadow-lg: 0 40px 80px rgba(90, 58, 34, 0.18);
  --radius: 20px;
  --radius-lg: 28px;
  --maxw: 1180px;

  --font-body: 'Inter', system-ui, sans-serif;
  --font-display: 'Fraunces', Georgia, serif;
}

/* ------------------ RESET ------------------ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

/* ------------------ LAYOUT PRIMITIVES ------------------ */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: clamp(64px, 9vw, 120px) 0;
}

.section-head {
  max-width: 720px;
  margin: 0 auto clamp(36px, 5vw, 60px);
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--saffron);
  margin-bottom: 14px;
  position: relative;
  padding: 6px 16px;
  background: rgba(232, 163, 23, 0.12);
  border-radius: 999px;
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; color: var(--cumin-deep); }

h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  margin-bottom: 16px;
}

h3 { font-size: 1.3rem; margin-bottom: 10px; }

.lead { font-size: 1.05rem; color: var(--ink-soft); }

.light-bg { background: var(--card); }
.cream-bg { background: var(--cream-deep); }

/* ------------------ BUTTONS ------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.btn.primary {
  background: var(--grad-warm);
  color: #fff;
  box-shadow: 0 12px 30px rgba(210, 105, 30, 0.35);
}
.btn.primary:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(210, 105, 30, 0.45); }

.btn.outline {
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
}
.btn.outline:hover { background: #fff; color: var(--cumin); transform: translateY(-3px); }

.btn.dark {
  background: var(--cumin-deep);
  color: #fff;
}
.btn.dark:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.btn.ghost {
  border-color: var(--saffron);
  color: var(--saffron);
}
.btn.ghost:hover { background: var(--saffron); color: #fff; transform: translateY(-3px); }

/* ------------------ NAVBAR ------------------ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(251, 246, 236, 0.82);
  border-bottom: 1px solid transparent;
  transition: padding 0.3s ease, background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.navbar.scrolled {
  background: rgba(251, 246, 236, 0.95);
  box-shadow: var(--shadow-sm);
  border-color: var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--maxw);
  margin: 0 auto;
  transition: padding 0.3s ease;
}
.navbar.scrolled .nav-inner { padding: 10px 24px; }

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--cumin-deep);
  letter-spacing: 0.01em;
}
.brand .dot {
  width: 34px; height: 34px;
  border-radius: 10px;
  background: var(--grad-warm);
  display: grid; place-items: center;
  color: #fff; font-family: var(--font-body); font-weight: 800;
  box-shadow: 0 6px 16px rgba(210, 105, 30, 0.35);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-links a {
  font-weight: 500;
  font-size: 0.96rem;
  color: var(--ink);
  position: relative;
  padding: 4px 0;
}
.nav-links a:not(.nav-btn)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--grad-warm);
  transition: width 0.3s ease;
}
.nav-links a:not(.nav-btn):hover::after,
.nav-links a.active::after { width: 100%; }

.nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--grad-warm);
  color: #fff !important;
  padding: 11px 28px;
  border-radius: 999px;
  font-weight: 600;
  line-height: 1;
  box-shadow: 0 8px 20px rgba(210, 105, 30, 0.3);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.nav-btn::after { display: none !important; }
.nav-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(210, 105, 30, 0.4); }

.nav-backdrop { display: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 26px; height: 3px;
  background: var(--cumin);
  border-radius: 3px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ------------------ HERO ------------------ */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
  padding: 80px 20px;
  background:
    linear-gradient(135deg, rgba(62, 40, 24, 0.82) 0%, rgba(184, 69, 24, 0.72) 55%, rgba(232, 163, 23, 0.6) 100%),
    url('https://images.unsplash.com/photo-1596040033229-a9821ebd058d?auto=format&fit=crop&w=1600&q=80')
      center/cover no-repeat fixed;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.hero .eyebrow {
  background: rgba(255, 255, 255, 0.18);
  color: #ffe9c7;
  backdrop-filter: blur(4px);
}

.hero h1 {
  color: #fff;
  font-size: clamp(2.4rem, 5.4vw, 4.2rem);
  margin-bottom: 20px;
  text-shadow: 0 6px 30px rgba(0, 0, 0, 0.35);
}
.hero h1 em { font-style: italic; color: var(--turmeric-bright); }

.hero p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  opacity: 0.96;
  margin-bottom: 34px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.trust-strip {
  display: flex;
  justify-content: center;
  gap: clamp(20px, 5vw, 60px);
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.trust-strip div { text-align: center; }
.trust-strip strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--turmeric-bright);
}
.trust-strip span { font-size: 0.85rem; opacity: 0.85; letter-spacing: 0.04em; }

/* floating spice specks */
.speck {
  position: absolute;
  border-radius: 50%;
  background: var(--turmeric-bright);
  opacity: 0.5;
  z-index: 1;
  animation: float 9s ease-in-out infinite;
}
.speck:nth-child(1) { width: 14px; height: 14px; top: 20%; left: 12%; animation-delay: 0s; }
.speck:nth-child(2) { width: 9px; height: 9px; top: 65%; left: 20%; animation-delay: 1.5s; background: #fff; }
.speck:nth-child(3) { width: 18px; height: 18px; top: 30%; right: 14%; animation-delay: 0.8s; background: var(--saffron); }
.speck:nth-child(4) { width: 11px; height: 11px; top: 72%; right: 22%; animation-delay: 2.2s; }
.speck:nth-child(5) { width: 7px; height: 7px; top: 45%; left: 48%; animation-delay: 3s; background: #fff; }

@keyframes float {
  0%, 100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-26px) translateX(12px); }
}

/* ------------------ ABOUT ------------------ */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(36px, 5vw, 70px);
  align-items: center;
}
.about-media { position: relative; }
.about-media img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.about-media .badge {
  position: absolute;
  bottom: -22px; left: -22px;
  background: var(--card);
  padding: 18px 24px;
  border-radius: 18px;
  box-shadow: var(--shadow-md);
  border-left: 4px solid var(--turmeric);
}
.about-media .badge strong {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--saffron);
  display: block;
}
.about-media .badge span { font-size: 0.85rem; color: var(--ink-soft); }
.about-text h2 { text-align: left; }
.about-text p { color: var(--ink-soft); font-size: 1.05rem; }

/* ------------------ PRODUCTS ------------------ */
.tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}
.tab {
  padding: 12px 34px;
  border-radius: 999px;
  border: 2px solid var(--line);
  background: var(--card);
  font-weight: 600;
  font-family: var(--font-body);
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 0.25s ease;
}
.tab:hover { border-color: var(--turmeric); color: var(--saffron); }
.tab.active {
  background: var(--grad-warm);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 10px 24px rgba(210, 105, 30, 0.3);
}

.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeIn 0.5s ease; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 26px;
}

.product-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  border-top: 4px solid var(--turmeric);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.product-card.turmeric-card { border-top-color: var(--saffron); }
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }

.product-card h3 { color: var(--cumin-deep); }
.product-card .pill {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--saffron);
  background: rgba(210, 105, 30, 0.1);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.product-card ul { list-style: none; margin-top: 8px; }
.product-card li {
  position: relative;
  padding-left: 20px;
  font-size: 0.94rem;
  color: var(--ink-soft);
  margin-bottom: 6px;
}
.product-card li::before {
  content: "";
  position: absolute;
  left: 0; top: 10px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--turmeric);
}
.product-card li ul { margin-top: 6px; }
.product-card li li::before { background: var(--saffron); }
.product-card li strong { color: var(--ink); font-weight: 600; }

/* ------------------ SPEC TABLE ------------------ */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  margin-top: 10px;
  -webkit-overflow-scrolling: touch;
}
.spec-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  min-width: 560px;
}
.spec-table thead th {
  background: var(--grad-deep);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  text-align: left;
  padding: 18px 24px;
  font-size: 1.05rem;
}
.spec-table thead th:first-child { border-top-left-radius: var(--radius); }
.spec-table thead th:last-child { border-top-right-radius: var(--radius); }
.spec-table td {
  padding: 15px 24px;
  border-bottom: 1px solid var(--line);
  font-size: 0.96rem;
  color: var(--ink-soft);
}
.spec-table td:first-child { font-weight: 600; color: var(--cumin-deep); }
.spec-table tbody tr:nth-child(even) { background: rgba(243, 233, 214, 0.4); }
.spec-table tbody tr:hover { background: rgba(232, 163, 23, 0.1); }
.spec-table tbody tr:last-child td { border-bottom: none; }

/* ------------------ WHAT WE DO ------------------ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
.info-card {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.info-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.info-card .thumb { height: 190px; overflow: hidden; }
.info-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.info-card:hover .thumb img { transform: scale(1.08); }
.info-card .body { padding: 26px; }
.info-card .body p { color: var(--ink-soft); }

/* ------------------ SERVICES ------------------ */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}
.service {
  background: var(--card);
  border-radius: 16px;
  padding: 26px 22px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 14px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.service:hover { transform: translateY(-6px); border-color: var(--turmeric); }
.service .ico {
  flex-shrink: 0;
  width: 46px; height: 46px;
  border-radius: 12px;
  background: rgba(232, 163, 23, 0.14);
  display: grid; place-items: center;
  font-size: 1.4rem;
}
.service span.txt { font-weight: 600; font-size: 0.98rem; color: var(--cumin-deep); }

/* ------------------ WHY CHOOSE ------------------ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}
.feature {
  position: relative;
  background: var(--card);
  padding: 40px 34px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.feature .num {
  font-family: var(--font-display);
  font-size: 3.4rem;
  font-weight: 600;
  line-height: 1;
  background: var(--grad-warm);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.9;
  display: block;
  margin-bottom: 12px;
}
.feature p { color: var(--ink-soft); }

/* ------------------ CTA ------------------ */
.cta {
  background: var(--grad-deep);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1509358271058-acd22cc93898?auto=format&fit=crop&w=1400&q=80') center/cover;
  opacity: 0.12;
}
.cta .container { position: relative; z-index: 1; }
.cta h2 { color: #fff; margin-bottom: 26px; }

/* ------------------ CONTACT ------------------ */
.contact-box {
  background: var(--card);
  padding: clamp(36px, 5vw, 60px);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  text-align: center;
  max-width: 620px;
  margin: 0 auto;
  border-top: 5px solid var(--turmeric);
}
.contact-box .who {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--cumin-deep);
  margin: 8px 0 20px;
}
.contact-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  margin-top: 10px;
}
.contact-list a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  color: var(--ink);
  padding: 12px 24px;
  border-radius: 999px;
  background: var(--cream);
  transition: background 0.25s ease, transform 0.25s ease;
}
.contact-list a:hover { background: rgba(232, 163, 23, 0.16); transform: translateY(-2px); }

/* ------------------ FOOTER ------------------ */
footer {
  background: var(--cumin-deep);
  color: rgba(255, 255, 255, 0.75);
  text-align: center;
  padding: 34px 20px;
  font-size: 0.9rem;
}
footer .brand { justify-content: center; color: #fff; margin-bottom: 10px; }

/* ------------------ SCROLL REVEAL ------------------ */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ------------------ RESPONSIVE ------------------ */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-text h2 { text-align: center; }
  .about-media { order: -1; }
  .about-media .badge { left: 16px; bottom: 16px; }

  /* --- Mobile / tablet navigation --- */
  .nav-toggle { display: flex; z-index: 120; }

  .nav-links {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    height: 100dvh;
    width: min(82vw, 340px);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 4px;
    background: var(--cream);
    padding: 92px 26px 40px;
    box-shadow: -24px 0 70px rgba(43, 33, 26, 0.22);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.35s ease, visibility 0.35s ease;
    z-index: 110;
    overflow-y: auto;
  }
  .nav-links.open {
    transform: translateX(0);
    visibility: visible;
  }
  .nav-links a {
    font-size: 1.08rem;
    width: 100%;
    padding: 12px 4px;
    border-bottom: 1px solid var(--line);
  }
  .nav-links a:not(.nav-btn)::after { display: none; }
  .nav-btn {
    width: 100%;
    margin-top: 14px;
    padding: 15px;
    border-bottom: none;
  }

  /* backdrop */
  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(43, 33, 26, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    z-index: 90;
  }
  .nav-backdrop.open { opacity: 1; visibility: visible; }
  body.menu-open { overflow: hidden; }
}

@media (max-width: 768px) {
  .hero { background-attachment: scroll; }
  .hero-buttons { flex-direction: column; align-items: stretch; }
  .hero-buttons .btn { justify-content: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .trust-strip { gap: 24px; }
  .service { flex-direction: row; }
}

/* ------------------ REDUCED MOTION ------------------ */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .speck { display: none; }
  .hero { background-attachment: scroll; }
}
