/* ============================================
   JAYTEMPLE - Global Styles
   Colour Palette:
   - Primary Saffron:  #D4691E
   - Deep Gold:        #B8860B
   - Warm Cream:       #FFF8F0
   - Light Amber:      #FEF0DC
   - Deep Brown:       #3D2314
   - Medium Brown:     #7A4522
   - Muted Sage:       #8FA67A  (accent for balance)
   ============================================ */

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

:root {
  --primary:       #D4691E;
  --primary-dark:  #B8540E;
  --gold:          #C49A2D;
  --gold-light:    #E8C44A;
  --cream:         #FFF8F0;
  --cream-dark:    #FEF0DC;
  --deep-brown:    #3D2314;
  --med-brown:     #7A4522;
  --text:          #3D2314;
  --text-muted:    #7A6050;
  --sage:          #8FA67A;
  --white:         #FFFFFF;
  --shadow-sm:     0 2px 8px rgba(61,35,20,0.10);
  --shadow-md:     0 4px 20px rgba(61,35,20,0.15);
  --shadow-lg:     0 8px 40px rgba(61,35,20,0.18);
  --radius-sm:     6px;
  --radius-md:     12px;
  --radius-lg:     20px;
  --transition:    all 0.3s ease;
  --font-heading:  'Cinzel', serif;
  --font-body:     'Lato', sans-serif;
  --font-serif:    'Playfair Display', serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--cream);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  color: var(--deep-brown);
  line-height: 1.3;
}

h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--deep-brown);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  cursor: pointer;
  font-family: var(--font-body);
}

/* ---- Utility Classes ---- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section-alt {
  background-color: var(--cream-dark);
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  text-align: center;
  margin-bottom: 12px;
  position: relative;
}

.section-subtitle {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 50px;
  font-style: italic;
}

.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
}

.divider-line {
  width: 60px;
  height: 2px;
  background: var(--gold);
}

.divider-om {
  color: var(--primary);
  font-size: 1.4rem;
}

.btn-primary {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  padding: 12px 30px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  border: 2px solid var(--primary);
  transition: var(--transition);
  text-transform: uppercase;
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--primary);
  padding: 12px 30px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  border: 2px solid var(--primary);
  transition: var(--transition);
  text-transform: uppercase;
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-gold {
  display: inline-block;
  background: var(--gold);
  color: var(--white);
  padding: 12px 30px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  border: 2px solid var(--gold);
  transition: var(--transition);
  text-transform: uppercase;
}

.btn-gold:hover {
  background: #a8851e;
  border-color: #a8851e;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ---- Page Banner ---- */
.page-banner {
  background: linear-gradient(135deg, var(--deep-brown) 0%, var(--med-brown) 50%, var(--primary-dark) 100%);
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-banner::before {
  content: 'ॐ';
  position: absolute;
  font-size: 300px;
  color: rgba(255,255,255,0.03);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  font-family: serif;
}

.page-banner h1 {
  color: var(--white);
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin-bottom: 8px;
}

.page-banner p {
  color: var(--gold-light);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.1rem;
}

/* ---- Card ---- */
.card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition);
}

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

/* ---- Scrollbar ---- */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--cream);
}
::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

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