/* =====================
   THEME VARIABLES
   Change colors here only
===================== */
:root {
  --bg-main: #ffffff;
  --bg-muted: #f7f7f7;
  --text-main: #111111;
  --text-muted: #666666;
  --border-light: #eaeaea;
  --accent: #ff8352;
}

/* Lazydog font: place a .woff2 at /fonts/Lazydog.woff2 if you want this to load locally.
   Falls back to Playfair Display when Lazydog isn't available. */
/* LazyDog font: download from https://www.dafont.com/lazy-dog.font and place
   the files in /fonts (relative to css/). Fallback to Playfair Display if not present. */
@font-face {
  font-family: 'LazyDog';
  src: local('LazyDog'), url('../fonts/LazyDog.ttf') format('truetype');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}


/* =====================
   BASE STYLES
===================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-main);
  color: var(--text-main);
}

a {
  text-decoration: none;
  color: inherit;
}

/* =====================
   HEADER
===================== */
.header {
  position: sticky;
  top: 0;
  /* header background and border are styled below */
  z-index: 10;
}

.nav {
  max-width: 1200px;
  margin: auto;
  padding: 18px 20px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.logo {
  font-weight: 700;
  letter-spacing: 2px;
  font-family: 'LazyDog', 'Playfair Display', serif;
}

.nav-links a {
  margin-left: 24px;
  font-size: 14px;
}

/* Header / Navigation visual tweaks */
.header {
  position: sticky;
  top: 0;
  background: var(--accent);
  border-bottom: none;
  z-index: 10;
}

.nav {
  max-width: 1200px;
  margin: auto;
  padding: 18px 20px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  position: relative;
  color: #fff;
}

.logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 50%;
  transform: translate(-50%, -50%);
  font-weight: 700;
  letter-spacing: 2px;
  color: #fff;
  font-family: 'LazyDog', 'Playfair Display', serif;
  font-size: 18px;
  pointer-events: auto;
  text-decoration: none;
}

/* increase English logo size so it appears prominent compared to Devanagari */
.logo-en {
  font-size: 26px;
  line-height: 1;
  display: inline-block;
}
.logo-hi {
  font-size: 18px;
  line-height: 1;
}
.logo-divider { color: rgba(255,255,255,0.9); }

@media (max-width: 700px) {
  .logo-en { font-size: 20px; }
  .logo-hi { font-size: 16px; }
}

.nav-links a {
  color: #fff;
}

.menu-btn {
  display: none;
  background: transparent;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: #fff;
}

/* Header ordering so elements lay out straight (logo left, links right, menu button to the right on small screens) */
/* remove explicit ordering so absolute-centered logo doesn't shift layout */

/* =====================
   HERO
===================== */
.hero {
  height: 90vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  overflow: hidden;
}

/* Blurred background image using a pseudo-element so content stays sharp */
.hero::before {
  /* subtle film-grain overlay using SVG turbulence embedded as a data URL */
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'><filter id='t'><feTurbulence baseFrequency='0.9' numOctaves='1' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100' height='100' filter='url(%23t)' opacity='0.6' fill='white'/></svg>");
  background-size: 200% 200%;
  opacity: 0.06;
  pointer-events: none;
  z-index: 0;
}

/* Background video styles (keeps content sharp while video is blurred) */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* reduced blur for clarity, slightly increased contrast */
  filter: blur(3px) brightness(0.62) contrast(1.04);
  transform: scale(1.02);
  z-index: -1;
  pointer-events: none;
}

.hero::after {
  /* subtle dark overlay for contrast */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0,0,0,0.22), rgba(0,0,0,0.22));
  z-index: 1;
}

.hero-content { z-index: 2; color: #fffefb; text-shadow: 0 2px 12px rgba(0,0,0,0.55); }


.hero-content h1 {
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 700;
}

.hero-content p {
  margin-top: 16px;
  font-size: 18px;
  color: #fffefb;
}

.btn-primary {
  display: inline-block;
  margin-top: 30px;
  padding: 14px 36px;
  border: 1px solid var(--accent);
  font-size: 14px;
  letter-spacing: 1px;
}

/* =====================
   SECTIONS
===================== */
.section {
  max-width: 1200px;
  margin: auto;
  padding: 80px 20px;
}

.section-muted {
  background: var(--bg-muted);
}

/* Story section: two-column, typographic layout */
.story-section { padding-top: 64px; padding-bottom: 64px; }
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}
.story-quote {
  font-family: 'Cormorant Garamond', 'Playfair Display', serif;
  font-size: clamp(28px, 4vw, 44px);
  color: var(--text-main);
  font-weight: 600;
  border-left: 4px solid var(--accent);
  padding-left: 18px;
  line-height: 1.05;
}
.story-text p {
  font-size: 1.05rem;
  line-height: 1.9;
  color: #333;
  margin-bottom: 18px;
}
/* Drop cap for the first paragraph */
.story-text p:first-of-type:first-letter {
  font-family: 'Cormorant Garamond', 'Playfair Display', serif;
  font-size: 3.2rem;
  display: inline-block;
  vertical-align: top;
  line-height: 0.9;
  margin-right: 10px;
  margin-top: 4px;
  color: var(--accent);
}

@media (max-width: 880px) {
  .story-grid { grid-template-columns: 1fr; }
  .story-quote { font-size: 26px; margin-bottom: 12px; border-left: 0; padding-left: 0; }
}

.section-title {
  font-size: 28px;
  margin-bottom: 40px;
}

/* =====================
   PRODUCTS
===================== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.product-card img {
  width: 100%;
  border-radius: 4px;
}

.product-card h3 {
  margin-top: 12px;
  font-size: 16px;
}

.product-card p {
  font-size: 14px;
  color: var(--text-muted);
}

/* =====================
   STORY
===================== */
.story-text {
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.8;
  font-size: 1rem;
  color: #444;
}

.story-lead {
  font-size: 1.1rem;
  font-weight: 500;
  color: #111;
  letter-spacing: 0.02em;
}

/* =====================
   FOOTER
===================== */
.footer {
  border-top: 1px solid var(--border-light);
  padding: 40px 20px;
  text-align: center;
  font-size: 14px;
  color: #777;
}

.footer-links a {
  margin: 0 12px;
}

/* =====================
   INTERACTIONS & RESPONSIVE TWEAKS
===================== */

/* Menu toggle (mobile) */
.menu-btn {
  display: none;
  background: transparent;
  border: none;
  font-size: 22px;
  cursor: pointer;
}

.nav-links {
  display: flex;
  align-items: center;
}

/* Product card improvements */
.product-card {
  background: #fff;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 20px rgba(17,17,17,0.06);
}

.product-card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.btn-shop {
  display: inline-block;
  margin-top: 6px;
  padding: 10px 14px;
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
  border-radius: 6px;
  font-size: 14px;
  text-align: center;
}

.btn-shop:hover {
  background: var(--accent);
  color: #fff;
}

.btn-primary {
  transition: background 140ms ease, color 140ms ease, transform 140ms ease;
}

.btn-primary:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-3px);
}

/* Responsive adjustments */
@media (max-width: 880px) {
  .nav {
    padding: 14px 16px;
  }

  .hero {
    height: 60vh;
    padding: 40px 20px;
  }

  .section {
    padding: 48px 16px;
  }

  .section-title {
    font-size: 22px;
    margin-bottom: 24px;
  }
}

@media (max-width: 700px) {
  .menu-btn { display: block; }
  /* Use transform for smooth slide-in from the right instead of toggling display */
  .nav-links {
    display: block;
    position: absolute;
    top: 64px;
    right: 20px;
    background: var(--accent);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 8px;
    padding: 12px 16px;
    box-shadow: 0 8px 24px rgba(17,17,17,0.06);
    transform: translateX(110%);
    opacity: 0;
    transition: transform 260ms cubic-bezier(.2,.9,.2,1), opacity 260ms ease;
    will-change: transform, opacity;
  }
  .nav-links.open {
    transform: translateX(0);
    opacity: 1;
  }
  .nav-links a { display: block; margin: 8px 0; color: #fff; }

  .hero-content h1 { font-size: 28px; }

  .product-grid {
    gap: 16px;
  }
}

