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

:root {
  /* Premium Palette */
  --karys-green: #35723b;
  --karys-brown: #352013;
  --karys-gold: #d4af37;
  --bg-cream: #fdfbf7;
  --bg-dark: #1a1009;
  
  --text-dark: #2a201a;
  --text-light: #ffffff;
  --text-muted: #6b5a51;

  /* Brand Colors Alias */
  --color-primary: var(--karys-green);

  /* Typography */
  --font-serif: 'Playfair Display', serif;
  --font-sans: 'Outfit', sans-serif;

  /* Layout */
  --max-w: 1200px;
  --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  --shadow-soft: 0 10px 30px rgba(53, 32, 19, 0.08);
  --shadow-hover: 0 20px 40px rgba(53, 32, 19, 0.15);
}

/* =========================================================
   Reset & Base Styles
   ========================================================= */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg-cream);
  color: var(--text-dark);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* =========================================================
   Typography
   ========================================================= */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--karys-brown);
  line-height: 1.2;
}

.section-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  margin-bottom: 24px;
}

.divider {
  width: 60px;
  height: 2px;
  background: var(--karys-gold);
  margin-bottom: 32px;
}

/* =========================================================
   Animations
   ========================================================= */
.animate-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.animate-up.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   Buttons
   ========================================================= */
.btn-primary {
  display: inline-block;
  background: var(--karys-gold);
  color: var(--bg-dark);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 18px 48px;
  border-radius: 4px;
  transition: var(--transition);
}

.btn-primary:hover {
  background: var(--karys-green);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  padding: 12px 0;
  z-index: 100;
  background: #ffffffca;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  transition: var(--transition);
}

.site-header.scrolled {
  padding: 12px 0;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
}

.nav-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand img {
  height: 55px;
  transition: var(--transition);
}

.site-header.scrolled .brand img {
  height: 65px;
}

.primary-nav ul {
  list-style: none;
  display: flex;
  gap: 40px;
}

.primary-nav a {
  font-size: 1rem;
  font-weight: 600;
  color: #1a1a1a;
  position: relative;
  padding-bottom: 4px;
  letter-spacing: 0.02em;
}

.primary-nav a:hover {
  color: var(--karys-green);
}

.primary-nav a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--karys-green);
  transition: width 0.3s ease;
}

.primary-nav a:hover::after,
.primary-nav a.active::after {
  width: 100%;
}

/* =========================================================
   Hero Section
   ========================================================= */
/* =========================================================
   Hero Section — Full Bleed Image
   ========================================================= */
.hero-cinematic {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url('hero_spices_spoons.jpg');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  text-align: center;
  padding: 0 24px;
  margin-top: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 6, 2, 0.45) 0%,
    rgba(10, 6, 2, 0.60) 60%,
    rgba(10, 6, 2, 0.80) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
  padding-top: 100px;
}

.hero-title {
  color: #ffffff;
  font-size: clamp(3.5rem, 7vw, 6rem);
  font-style: normal;
  font-weight: 800;
  margin-bottom: 24px;
  text-shadow: 0 4px 24px rgba(0,0,0,0.6);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero-desc {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 48px;
  font-weight: 300;
  line-height: 1.8;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

@media (max-width: 768px) {
  .hero-cinematic { min-height: 80vh; }
  .hero-title { font-size: 3rem; }
  .hero-desc { font-size: 1.05rem; }
}

/* =========================================================
   Story Section — "Why Sri Lankan Spices?"
   ========================================================= */
.story-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 90vh;
}

/* Left: Image Panel */
.story-image-panel {
  position: relative;
  overflow: hidden;
  min-height: 600px;
}

.story-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.story-section:hover .story-img {
  transform: scale(1.05);
}

.story-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26, 16, 9, 0.55) 0%,
    rgba(53, 32, 19, 0.25) 60%,
    rgba(53, 114, 59, 0.15) 100%
  );
  z-index: 1;
}

.story-label {
  position: absolute;
  bottom: 48px;
  left: 48px;
  z-index: 2;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  writing-mode: horizontal-tb;
  display: flex;
  align-items: center;
  gap: 16px;
}

.story-label::before {
  content: '';
  display: block;
  width: 48px;
  height: 1px;
  background: var(--karys-gold);
  flex-shrink: 0;
}

/* Right: Content Panel */
.story-content-panel {
  background: var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 80px;
}

.story-inner {
  max-width: 480px;
}

.story-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--karys-gold);
  display: block;
  margin-bottom: 24px;
}

.story-heading {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.05;
  margin-bottom: 32px;
  letter-spacing: -0.01em;
}

.story-inner .divider {
  background: var(--karys-gold);
  margin-bottom: 36px;
}

.story-body {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 300;
  margin-bottom: 40px;
}

.story-quote {
  border-left: 3px solid var(--karys-green);
  padding: 16px 0 16px 24px;
  margin-bottom: 48px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
}

.btn-story {
  display: inline-block;
  border: 1.5px solid var(--karys-gold);
  color: var(--karys-gold);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 16px 40px;
  border-radius: 4px;
  transition: var(--transition);
}

.btn-story:hover {
  background: var(--karys-gold);
  color: var(--bg-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.25);
}

@media (max-width: 960px) {
  .story-section {
    grid-template-columns: 1fr;
  }
  .story-image-panel {
    min-height: 55vw;
  }
  .story-content-panel {
    padding: 80px 40px;
  }
  .story-label {
    bottom: 28px;
    left: 28px;
  }
}

@media (max-width: 600px) {
  .story-content-panel {
    padding: 60px 24px;
  }
  .story-heading {
    font-size: 2.8rem;
  }
}

/* =========================================================
   Origin Section
   ========================================================= */
.origin-section {
  padding: 120px 0;
  background: var(--bg-cream);
}

.origin-content {
  max-width: 700px;
  margin: 0 auto;
}

.lead-text {
  font-size: 1.4rem;
  color: var(--text-muted);
  line-height: 1.8;
  font-weight: 300;
}

/* =========================================================
   Products Grid
   ========================================================= */
.products-section {
  padding: 100px 0 160px;
  background: #ffffff;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 64px;
}

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

.product-card {
  display: block;
  background: var(--bg-cream);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.product-img-wrap {
  height: 320px;
  overflow: hidden;
  position: relative;
}

.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

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

.product-info {
  padding: 40px 32px;
  text-align: center;
}

.product-category {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--karys-green);
  font-weight: 600;
  display: block;
  margin-bottom: 12px;
}

.product-info h3 {
  font-size: 2rem;
  margin-bottom: 16px;
}

.product-info p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin: 0;
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background: var(--bg-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 100px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 64px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand p {
  max-width: 400px;
  margin-top: 24px;
  font-size: 1.05rem;
}

.site-footer h4 {
  color: var(--karys-gold);
  font-family: var(--font-sans);
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 32px;
  font-size: 0.95rem;
}

@media (max-width: 780px) {
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .nav-container { flex-direction: column; gap: 16px; }
  .site-header { padding: 16px 0; background: rgba(253, 251, 247, 0.95); }
  .primary-nav ul {
    gap: 20px;
    justify-content: center;
    padding: 0;
  }
  .primary-nav a {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .brand img {
    height: 45px;
  }
  .primary-nav ul {
    gap: 12px;
  }
  .primary-nav a {
    font-size: 0.85rem;
  }
  .container {
    padding: 0 16px;
  }
}

/* =========================================================
   Our Promise Section (#about)
   ========================================================= */
.promise-section {
  background: linear-gradient(135deg, #3a2a1a 0%, #5a3d2b 50%, #3a2a1a 100%);
  padding: 100px 0;
}

@media (max-width: 768px) {
  .promise-section {
    padding: 60px 0;
  }
}

.promise-eyebrow {
  display: inline-block;
  color: #c9a96e;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  margin-bottom: 20px;
  font-weight: 600;
}

.promise-heading {
  font-size: clamp(2rem, 5vw, 3rem);
  color: #fff;
  font-family: var(--font-serif);
  margin-bottom: 30px;
  line-height: 1.2;
}

.promise-text {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.9;
  margin-bottom: 20px;
  text-align: left;
}

@media (max-width: 768px) {
  .promise-text {
    font-size: 1.05rem;
    line-height: 1.8;
  }
}

.why-choose-heading {
  font-size: clamp(1.8rem, 4vw, 2.2rem);
  color: #fff;
  font-family: var(--font-serif);
  margin-bottom: 10px;
}

.promise-divider {
  width: 60px;
  height: 3px;
  background: #c9a96e;
  margin: 0 auto;
}

.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  max-width: 850px;
  margin: 0 auto;
}

.why-choose-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.08);
  padding: 18px 22px;
  border-radius: 10px;
  border: 1px solid rgba(201, 169, 110, 0.2);
}

.why-choose-card span:first-child {
  font-size: 1.5rem;
}

.why-choose-card span:last-child {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .why-choose-grid {
    grid-template-columns: 1fr;
  }
  .why-choose-card {
    padding: 14px 18px;
  }
}

/* =========================================================
   Contact Section
   ========================================================= */
.contact-section {
  background: #faf8f5;
  padding: 100px 0;
}

@media (max-width: 768px) {
  .contact-section {
    padding: 60px 0;
  }
}

.contact-eyebrow {
  display: inline-block;
  color: var(--karys-green);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  margin-bottom: 16px;
  font-weight: 600;
}

.contact-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-top: 20px;
}

@media (max-width: 768px) {
  .contact-desc {
    font-size: 1.05rem;
  }
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}

.contact-card {
  background: #fff;
  border-radius: 12px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}

.contact-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.contact-card-icon-wrap {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #c9a96e, #a07d50);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}

.contact-card h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #000000;
  margin-bottom: 8px;
}

.contact-card-link, .contact-card-text {
  color: var(--text-dark);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
}

@media (max-width: 960px) {
  .contact-info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .contact-info-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .contact-card {
    padding: 24px 16px;
  }
}

/* Enquiry Form */
.enquiry-form-container {
  max-width: 750px;
  margin: 0 auto;
  background: #fff;
  padding: 50px;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

.enquiry-form-container h3 {
  font-size: 2rem;
  margin-bottom: 8px;
  font-family: var(--font-serif);
  color: var(--karys-brown);
  text-align: center;
}

.enquiry-form-container p {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 36px;
}

.form-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group-last {
  margin-bottom: 28px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  color: #555;
}

.form-input, .form-textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #e0dcd8;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  transition: border 0.3s;
  box-sizing: border-box;
}

.form-input:focus, .form-textarea:focus {
  border-color: #c9a96e;
  outline: none;
}

@media (max-width: 576px) {
  .enquiry-form-container {
    padding: 30px 20px;
  }
  .form-grid-2col {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .enquiry-form-container h3 {
    font-size: 1.6rem;
  }
}

/* =========================================================
   Policy Pages (Privacy / Return Policy)
   ========================================================= */
.policy-card {
  background: #fff;
  border-radius: 16px;
  padding: 50px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

.policy-item {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
  align-items: flex-start;
}

.policy-item-icon-wrap {
  min-width: 52px;
  height: 52px;
  background: linear-gradient(135deg, #c9a96e, #a07d50);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.policy-item-content h2 {
  font-size: 1.5rem;
  margin-bottom: 12px;
  font-family: var(--font-serif);
  color: var(--karys-brown);
}

.policy-item-content p {
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 1.05rem;
}

.policy-item-content ul {
  margin-bottom: 16px;
  padding-left: 20px;
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 1.05rem;
}

.policy-divider-horizontal {
  width: 100%;
  height: 1px;
  background: #eee;
  margin: 30px 0;
}

@media (max-width: 576px) {
  .policy-card {
    padding: 30px 20px;
    border-radius: 12px;
  }
  .policy-item {
    flex-direction: column;
    gap: 12px;
  }
  .policy-item-content h2 {
    font-size: 1.3rem;
  }
}
