/* --- CSS VARIABLES & THEME --- */
:root {
  /* ISKCON Color Palette */
  --clr-cream: #faf8f5;
  --clr-beige: #f0e6d2;
  --clr-saffron: #f39c12;
  --clr-saffron-dark: #d35400;
  --clr-gold: #f1c40f;
  --clr-blue-accent: #3498db;
  --clr-blue-light: #85c1e9;
  --clr-text-main: #2c3e50;
  --clr-text-muted: #7f8c8d;
  --clr-white: #ffffff;
  
  /* Typography */
  --font-heading: 'Cinzel', 'Playfair Display', serif;
  --font-body: 'Lora', 'Georgia', serif; /* For a more spiritual reading feel */
  --font-sans: 'Inter', 'Open Sans', sans-serif;
  
  /* Effects */
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
  --shadow-glow: 0 0 20px rgba(243, 156, 18, 0.4);
  --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* --- RESET & FOUNDATION --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--clr-text-main);
  background-color: var(--clr-cream);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.3;
  color: var(--clr-saffron-dark);
}

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

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* --- HEADER & NAVIGATION --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 0;
  background-color: transparent;
  z-index: 1000;
  transition: var(--transition-smooth);
}

.site-header.scrolled {
  background-color: rgba(250, 248, 245, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  box-shadow: var(--shadow-soft);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--clr-saffron-dark);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  white-space: nowrap;
}

.site-header.scrolled .logo,
.site-header.dark-hero .logo {
  color: var(--clr-saffron-dark);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--clr-text-main);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--clr-saffron-dark);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--clr-saffron);
  transition: var(--transition-smooth);
  box-shadow: 0 0 10px rgba(243, 156, 18, 0);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
  box-shadow: 0 0 10px rgba(243, 156, 18, 0.5); /* Glowing underline */
}

.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  width: 44px; /* Minimum tap target */
  height: 44px;
  position: relative;
  z-index: 1001;
}

/* Hamburger Icon Animation */
.hamburger span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--clr-text-main);
  margin: 5px auto;
  transition: var(--transition-smooth);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-header.scrolled .hamburger span {
  background-color: var(--clr-text-main);
}

/* --- BUTTONS --- */
.btn-primary {
  display: inline-block;
  padding: 1rem 2.5rem;
  background-color: var(--clr-saffron);
  color: var(--clr-white);
  font-family: var(--font-sans);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-glow);
  transition: var(--transition-smooth);
}

.btn-primary:hover {
  background-color: var(--clr-saffron-dark);
  transform: translateY(-3px);
  box-shadow: 0 0 25px rgba(211, 84, 0, 0.6);
  color: var(--clr-white);
}

/* --- FOOTER --- */
.site-footer {
  background-color: var(--clr-beige);
  padding: 4rem 0 2rem;
  text-align: center;
  border-top: 1px solid rgba(211, 84, 0, 0.1);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--clr-saffron-dark);
}

.footer-contact p {
  margin-bottom: 0.5rem;
  font-family: var(--font-sans);
  color: var(--clr-text-muted);
}

.footer-contact a {
  color: var(--clr-saffron-dark);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--clr-text-muted);
}

/* --- ANIMATIONS & UTILS --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

section {
  padding: 6rem 0;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 1rem;
}

.section-title::after {
  content: '✿';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--clr-saffron);
  font-size: 1.2rem;
}

.section-subtitle {
  text-align: center;
  color: var(--clr-text-muted);
  font-family: var(--font-sans);
  max-width: 600px;
  margin: 0 auto 4rem auto;
}

/* --- HERO BANNERS --- */
.hero-banner {
  height: 60vh;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-top: 70px;
}

.hero-banner img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background-color: var(--clr-beige);
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.7));
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  color: var(--clr-white);
  max-width: 800px;
  padding: 0 2rem;
}

.hero-content h1 {
  color: var(--clr-white);
  font-size: 3.5rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-content p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
  opacity: 0.9;
}

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--clr-cream);
    flex-direction: column;
    align-items: center;
    padding: 2rem 0;
    box-shadow: 0 10px 15px rgba(0,0,0,0.05);
    transition: var(--transition-smooth);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    z-index: 999;
    border-top: 1px solid rgba(0,0,0,0.05);
  }
  
  .nav-links.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-links li {
    width: 100%;
    text-align: center;
  }

  .nav-links a {
    display: block;
    padding: 1rem 0;
    font-size: 1.1rem;
    min-height: 44px; /* Minimum tap target */
  }
  
  .hamburger {
    display: block;
  }
  
  .hero-content h1 {
    font-size: 2.8rem;
  }
  
  .section-title {
    font-size: 2.2rem;
  }
  
  .logo {
    font-size: 1.1rem;
    letter-spacing: 1px;
    white-space: normal;
    line-height: 1.2;
    max-width: 220px;
  }
}

@media (max-width: 576px) {
  .hero-content h1 {
    font-size: 2.3rem;
  }
  .section-title {
    font-size: 1.8rem;
  }
  section {
    padding: 4rem 0;
  }
  .logo {
    font-size: 1rem;
    max-width: 180px;
  }
}
