/* ============================================
   PrakrutikBliss — Global Styles
   ============================================ */

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

/* ---- CSS Custom Properties ---- */
:root {
  --color-forest:     #C05218;  /* Deep burnt orange — primary */
  --color-sage:       #D97B28;  /* Warm amber — secondary/hover */
  --color-earth:      #8A5230;  /* Warm brown — tertiary */
  --color-cream:      #FBF3E8;  /* Page background */
  --color-warm-white: #FFFCF7;  /* Card backgrounds */
  --color-bark:       #2E1A0A;  /* Body text — deep espresso */
  --color-mist:       #F2E2CA;  /* Alt section background */
  --color-gold:       #D98C10;  /* Stars, price, highlights */
  --color-gold-light: #F5C055;  /* Gold on dark backgrounds */
  --color-dark:       #1A0A02;
  --color-text-muted: #8A6040;

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --size-xs:   0.75rem;   /* 12px */
  --size-sm:   0.875rem;  /* 14px */
  --size-base: 1rem;      /* 16px */
  --size-md:   1.125rem;  /* 18px */
  --size-lg:   1.5rem;    /* 24px */
  --size-xl:   2rem;      /* 32px */
  --size-2xl:  3rem;      /* 48px */
  --size-3xl:  4rem;      /* 64px */

  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(192, 82, 24, 0.08);
  --shadow-md: 0 4px 16px rgba(192, 82, 24, 0.12);
  --shadow-lg: 0 8px 32px rgba(192, 82, 24, 0.18);

  --transition: 0.25s ease;
  --max-width: 1200px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--size-base);
  color: var(--color-bark);
  background-color: var(--color-cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select, textarea {
  font: inherit;
  border: none;
  outline: none;
  background: none;
}
button { cursor: pointer; }

/* ---- Typography ---- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-bark);
}
h1 { font-size: clamp(2rem, 5vw, var(--size-3xl)); }
h2 { font-size: clamp(1.6rem, 4vw, var(--size-2xl)); }
h3 { font-size: clamp(1.25rem, 3vw, var(--size-xl)); }
h4 { font-size: var(--size-lg); }
h5 { font-size: var(--size-md); }
p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

/* ---- Layout Utilities ---- */
.container {
  /* max-width: var(--max-width); */
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.section-lg { padding: 7rem 0; }

.text-center { text-align: center; }
.text-left   { text-align: left; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section { padding: 3.5rem 0; }
}

/* ---- Section Labels ---- */
.section-label {
  display: inline-block;
  font-size: var(--size-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-sage);
  margin-bottom: 0.75rem;
}

.section-header {
  max-width: 600px;
  margin: 0 auto 3rem;
  text-align: center;
}
.section-header p {
  color: var(--color-text-muted);
  font-size: var(--size-md);
}

/* ---- Divider ---- */
.divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-sage), var(--color-gold));
  border-radius: var(--radius-full);
  margin: 1rem auto;
}

/* ---- Backgrounds ---- */
.bg-cream      { background-color: var(--color-cream); }
.bg-mist       { background-color: var(--color-mist); }
.bg-warm-white { background-color: var(--color-warm-white); }
.bg-forest     { background-color: var(--color-forest); color: var(--color-cream); }
.bg-earth      { background-color: var(--color-earth); color: var(--color-warm-white); }

.bg-forest h1, .bg-forest h2, .bg-forest h3,
.bg-forest h4, .bg-forest h5, .bg-forest p { color: inherit; }

/* ---- Fade-in Animation ---- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--color-cream); }
::-webkit-scrollbar-thumb { background: var(--color-earth); border-radius: 3px; }
