/* Basic reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

html:focus-within {
  scroll-behavior: smooth;
}

img,
picture {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

:root {
  /* Color palette */
  --primary: #8f1d1d;
  --primary-strong: #741515;
  --text: #2d2117;
  --text-muted: #5b4534;
  --surface: #fff8f1;
  --surface-soft: #fff6ea;
  --card: #ffffff;
  --border-soft: #ebd5c0;
  --accent: #1f9d55;
  --accent-dark: #157347;
  --whatsapp: #25d366;
  --whatsapp-dark: #128c49;
  --nav-bg: #741515;

  /* Typography */
  --heading-font: "Georgia", "Times New Roman", serif;
  --body-font: "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  /* Spacing scale */
  --space-1: 0.35rem;
  --space-2: 0.6rem;
  --space-3: 0.9rem;
  --space-4: 1.2rem;
  --space-5: 1.6rem;

  /* Radius and elevation */
  --radius-sm: 0.5rem;
  --radius-md: 0.6rem;
  --shadow-sm: 0 8px 16px rgba(122, 66, 22, 0.08);
  --shadow-md: 0 12px 24px rgba(122, 66, 22, 0.1);
}

/* Typography: Kerala traditional feel */
body {
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  font-family: var(--body-font);
  line-height: 1.65;
  letter-spacing: 0.01em;
  color: var(--text);
  background: linear-gradient(180deg, var(--surface-soft) 0%, var(--surface) 100%);
  font-size: clamp(1rem, 0.98rem + 0.2vw, 1.06rem);
}

h1,
h2,
h3,
h4 {
  font-family: var(--heading-font);
  line-height: 1.2;
  color: #4a170b;
  letter-spacing: 0.01em;
}

h1 {
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
}

h2 {
  font-size: clamp(1.5rem, 2.8vw, 2.15rem);
}

h3 {
  font-size: clamp(1.18rem, 2vw, 1.45rem);
}

h4 {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
}

p {
  text-wrap: pretty;
}

.container {
  width: min(100% - 1.5rem, 1080px);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(180deg, var(--primary) 0%, var(--nav-bg) 100%);
  color: #fff;
  padding: 1rem 0;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
}

.site-header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem 1rem;
}

.site-header h1,
.site-title {
  margin: 0;
  font-family: var(--heading-font);
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  letter-spacing: 0.04em;
  color: #fff;
  font-weight: 700;
}

.main-nav {
  margin-left: auto;
}

.nav-toggle {
  display: none !important;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  padding: 0.5rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 0.6rem;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font: inherit;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.nav-toggle-bar {
  width: 1rem;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  display: block;
}

.nav-toggle-label {
  margin-left: 0.2rem;
  font-size: 0.88rem;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  background: rgba(255, 255, 255, 0.16);
}

/* Navigation styles */
.nav-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  padding: 0;
  margin: 0;
}

.nav-list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  min-height: 44px;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-list a:hover,
.nav-list a:focus-visible {
  background: rgba(255, 255, 255, 0.15);
}

.nav-list a.active {
  background: #fff;
  color: var(--primary);
}

main {
  padding: 2rem 0;
  flex: 1 0 auto;
}

.products-section h2 {
  margin-top: 0;
  margin-bottom: 1rem;
}

.trust-banner {
  margin-bottom: 1rem;
  background: linear-gradient(180deg, #fff6db 0%, #ffefc2 100%);
  border: 1px solid #f3cf77;
  border-radius: 0.6rem;
  padding: 0.8rem 1rem;
  box-shadow: 0 8px 16px rgba(146, 64, 14, 0.08);
}

.trust-banner-title {
  margin: 0;
  font-weight: 800;
  color: #8a3b0b;
}

.trust-banner-meta {
  margin: 0.2rem 0 0;
  color: #6d4b31;
}

/* Responsive grid for products */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.1rem;
}

.product-card {
  background: var(--card);
  border-radius: 0.6rem;
  border: 1px solid #ebd5c0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 20px rgba(122, 66, 22, 0.08);
}

.product-card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
}

.product-card h3 {
  margin: 0.85rem 0.85rem 0.35rem;
  font-size: 1.1rem;
}

.sizes {
  margin: 0 0.85rem 0.85rem;
  color: #5b4534;
  font-size: 0.95rem;
}

.sizes span {
  font-weight: 700;
}

.size-select-label {
  margin: 0 0.85rem 0.35rem;
  font-size: 0.88rem;
  color: #5b4534;
  font-weight: 600;
}

.size-select {
  margin: 0 0.85rem 0.8rem;
  min-height: 44px;
  padding: 0.45rem 0.55rem;
  border-radius: 0.4rem;
  border: 1px solid #d8bea4;
  background: #fff;
  color: var(--text);
}

/* WhatsApp button style in green */
.order-button {
  margin: auto 0.85rem 0.85rem;
  text-decoration: none;
  appearance: none;
  cursor: pointer;
  text-align: center;
  background: linear-gradient(180deg, #2ee071 0%, var(--whatsapp-dark) 100%);
  color: #fff;
  font-weight: 700;
  border-radius: 0.45rem;
  border: 1px solid #0f7c3f;
  padding: 0.6rem 0.8rem;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.18);
  min-height: 44px;
}

.order-button:hover,
.order-button:focus-visible {
  background: linear-gradient(180deg, #27cc65 0%, #0f7c3f 100%);
}

.home-content {
  display: grid;
  gap: var(--space-4);
}

.hero,
.story-card,
.top-trust {
  background: var(--card);
  border-radius: var(--radius-sm);
  padding: clamp(1rem, 2vw, 1.25rem);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  gap: var(--space-4);
  align-items: center;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-md);
}

.hero-copy {
  display: grid;
  gap: 0.7rem;
}

.hero-brand {
  margin: 0;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.hero h2 {
  margin: 0;
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.hero-tagline {
  margin: 0;
  max-width: 65ch;
}

.hero-proof {
  margin: 0;
  color: #6b4d33;
  font-size: 0.95rem;
  font-weight: 600;
}


.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding-top: 0.25rem;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.hero-cta-primary {
  background: linear-gradient(180deg, #2ee071 0%, var(--whatsapp-dark) 100%);
  color: #fff;
  border: 1px solid #0f7c3f;
}

.hero-cta-primary:hover,
.hero-cta-primary:focus-visible {
  background: linear-gradient(180deg, #27cc65 0%, #0f7c3f 100%);
}

.hero-cta-secondary {
  border: 1px solid #d8bea4;
  background: #fff;
  color: var(--primary);
}

.hero-cta-secondary:hover,
.hero-cta-secondary:focus-visible {
  background: #fdecdc;
}

.hero-image-wrap {
  margin: 0;
  border-radius: 0.6rem;
  overflow: hidden;
  border: 1px solid #e8d3bf;
  background: #fff;
}

.hero-image {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}


.seo-intro,
.whatsapp-cta,
.why-choose {
  background: var(--card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: clamp(1rem, 2vw, 1.25rem);
  box-shadow: var(--shadow-sm);
}

.seo-intro h2,
.whatsapp-cta h2,
.why-choose h2 {
  margin: 0 0 0.6rem;
}

.seo-intro p + p {
  margin-top: 0.7rem;
}

.whatsapp-cta p {
  margin: 0 0 0.8rem;
}

.whatsapp-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(180deg, #2ee071 0%, var(--whatsapp-dark) 100%);
  border: 1px solid #0f7c3f;
}

.whatsapp-cta a:hover,
.whatsapp-cta a:focus-visible {
  background: linear-gradient(180deg, #27cc65 0%, #0f7c3f 100%);
}

.why-choose ul {
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.35rem;
}

.intro-slider {
  background: var(--card);
  border-radius: 0.5rem;
  padding: 1rem;
  border: 1px solid #ebd5c0;
}

.intro-slider-title {
  margin: 0 0 0.75rem;
  font-size: 1.2rem;
}

.intro-slider-shell {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.6rem;
}

.intro-slider-shell:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 4px;
}

.intro-slider-viewport {
  overflow: hidden;
  border-radius: 0.6rem;
  touch-action: pan-y;
}

.intro-slider-track {
  display: flex;
  gap: 0;
  width: 100%;
  transition: transform 360ms ease;
  will-change: transform;
  touch-action: pan-y;
}

.intro-slide {
  margin: 0;
  flex: 0 0 100%;
  border: 1px solid #e8d3bf;
  background: #fff;
  box-shadow: 0 8px 18px rgba(122, 66, 22, 0.08);
}

.intro-slide img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.intro-slider-control {
  border: 1px solid #e8d3bf;
  background: #fff;
  color: var(--primary);
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
}

.intro-slider-control:hover,
.intro-slider-control:focus-visible {
  background: #fdecdc;
}

.intro-slider-control:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

@media (prefers-reduced-motion: reduce) {
  .intro-slider-track {
    transition: none;
  }
}



.story-card,
.intro-slider,
.testimonials,
.home-shop {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.testimonials {
  border: 1px solid #efd3ad;
  border-radius: 0.6rem;
  padding: clamp(1rem, 2vw, 1.25rem);
  background: linear-gradient(180deg, #fff9f2 0%, #fff2df 100%);
  box-shadow: 0 10px 20px rgba(122, 66, 22, 0.09);
}

.testimonials-header h3 {
  margin: 0;
}

.testimonials-header p {
  margin: 0.35rem 0 0;
  color: #6b4d33;
}

.testimonials-grid {
  margin-top: 0.9rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.testimonial-card {
  background: #fff;
  border: 1px solid #ead2ba;
  border-radius: 0.55rem;
  padding: 0.85rem;
  display: grid;
  gap: 0.45rem;
  box-shadow: 0 8px 16px rgba(122, 66, 22, 0.08);
}

.testimonial-stars {
  margin: 0;
  color: #b45309;
  font-size: 1rem;
  letter-spacing: 0.08em;
}

.testimonial-comment {
  margin: 0;
  color: #4e3927;
}

.testimonial-name {
  margin: 0;
  font-weight: 700;
  color: #7c2d12;
  font-size: 0.95rem;
}

.home-shop {
  background: var(--card);
  border-radius: 0.5rem;
  padding: 1rem;
  border: 1px solid #ebd5c0;
}

.home-shop-header {
  margin-bottom: 0.85rem;
}

.home-shop-header h3 {
  margin: 0;
}

.home-shop-header p {
  margin: 0.35rem 0 0;
  color: #5b4534;
}

.product-grid-home {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-shop-link {
  margin-top: 0.9rem;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 700;
  color: var(--primary);
}


.top-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem 1rem;
  border: 1px solid #f3cf77;
  background: linear-gradient(180deg, #fffaf0 0%, #fff3d6 100%);
}

.top-trust-meta {
  margin: 0;
  color: #7b4a13;
  font-weight: 600;
  font-size: 0.95rem;
}

.story-card h3,
.home-shop-header h3,
.testimonials-header h3 {
  margin: 0;
}

.story-video-container {
  position: relative;
  width: 100%;
  max-width: 780px;
  margin: 1rem auto 0;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 0.6rem;
  box-shadow: 0 10px 18px rgba(122, 66, 22, 0.12);
}

.story-video-container iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-caption {
  margin: 0.85rem auto 0;
  max-width: 70ch;
  text-align: center;
  color: #5b4534;
  font-size: 0.95rem;
}

.intro-slider-title {
  margin: 0 0 var(--space-2);
}

.badge {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fcd34d;
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-weight: 600;
}

.contact-form {
  margin-top: 0.7rem;
}

.contact-form label {
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: min(100%, 680px);
  padding: 0.65rem 0.7rem;
  border-radius: 0.45rem;
  border: 1px solid #d8bea4;
  font: inherit;
}

.contact-form button {
  min-height: 44px;
  border: 1px solid #0f7c3f;
  border-radius: 0.45rem;
  background: linear-gradient(180deg, #2ee071 0%, var(--whatsapp-dark) 100%);
  color: #fff;
  padding: 0.55rem 1rem;
  font-weight: 700;
  cursor: pointer;
}

.contact-form button:hover,
.contact-form button:focus-visible {
  background: linear-gradient(180deg, #27cc65 0%, #0f7c3f 100%);
}

.site-footer {
  background: #2a2a2a;
  color: #fff;
  padding: 1.2rem 0;
}

.site-footer-content {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.footer-heading {
  color: #fff;
  font-size: 1.05rem;
  margin: 0 0 0.3rem;
}

.site-footer p {
  margin: 0 0 0.25rem;
  font-size: 0.9rem;
}

.site-footer a {
  color: #d2ffe2;
}

.social-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding: 0;
  margin: 0 0 0.65rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.05);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.social-link:hover,
.social-link:focus-visible {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-1px);
}

.social-icon {
  width: 1rem;
  height: 1rem;
  display: inline-flex;
}

.social-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

@media (max-width: 960px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .intro-slide img {
    height: 260px;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-header .container {
    justify-content: center;
  }

  .site-header h1,
  .site-title {
    text-align: center;
  }

  .nav-list {
    justify-content: center;
  }

  .main-nav {
    margin-left: 0;
  }

  .site-footer-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 1rem, 1080px);
  }

  main {
    padding: 1.35rem 0;
  }

  .site-header {
    padding: 0.75rem 0;
  }

  .site-header .container {
    justify-content: space-between;
    align-items: flex-start;
  }

  .site-header h1,
  .site-title {
    text-align: left;
    max-width: 16ch;
    font-size: 1.25rem;
  }

  .nav-toggle {
    display: inline-flex !important;
    flex-direction: column;
    min-height: 44px;
    min-width: 44px;
  }

  .main-nav {
    width: 100%;
    order: 3;
  }

  .js-enabled .main-nav {
    display: none;
    margin-top: 0.55rem;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 0.6rem;
    padding: 0.5rem;
    background: rgba(0, 0, 0, 0.16);
    backdrop-filter: blur(2px);
  }

  .js-enabled .main-nav.is-open {
    display: block;
  }

  .nav-list {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.45rem;
    margin-top: 0.55rem;
  }

  .nav-list a {
    width: 100%;
    justify-content: flex-start;
    padding: 0.65rem 0.85rem;
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.07);
  }

  .nav-list a.active {
    background: #fff;
    color: var(--primary);
  }

  .intro-slider-shell {
    gap: 0.45rem;
  }

  .intro-slider-control {
    width: 2.5rem;
    height: 2.5rem;
  }


  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-cta {
    width: 100%;
  }

  .home-shop-link {
    width: 100%;
    justify-content: center;
    border: 1px solid #d8bea4;
    border-radius: 0.5rem;
    background: #fff;
    padding: 0.55rem 0.75rem;
  }

  .home-shop-link:hover,
  .home-shop-link:focus-visible {
    background: #fdecdc;
  }

  body.menu-open {
    overflow: hidden;
  }

  .top-trust {
    align-items: flex-start;
  }

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

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .product-grid-home {
    grid-template-columns: 1fr;
  }
}

.about-page {
  display: grid;
  gap: 1rem;
}

.about-story,
.about-makers,
.kitchen-process {
  background: var(--card);
  border: 1px solid #ebd5c0;
  border-radius: 0.6rem;
  padding: 1.25rem;
  box-shadow: 0 10px 20px rgba(122, 66, 22, 0.08);
}

.about-story h2,
.about-makers h2,
.kitchen-process h2 {
  margin: 0 0 0.6rem;
}

.about-story p + p,
.about-makers p + p {
  margin-top: 0.65rem;
}

.kitchen-process-intro {
  margin: 0 0 1rem;
  color: #5b4534;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.process-card {
  margin: 0;
  border: 1px solid #e8d3bf;
  border-radius: 0.55rem;
  overflow: hidden;
  background: #fff;
}

.process-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.process-card figcaption {
  padding: 0.7rem 0.75rem 0.8rem;
  font-size: 0.92rem;
  color: #5a4331;
}

@media (max-width: 900px) {
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 580px) {
  .process-grid {
    grid-template-columns: 1fr;
  }
}
