/*
Theme Name: Hello Elementor Child - Ayurvedachary Guruji
Template: hello-elementor
Version: 1.0.0
Text Domain: hello-elementor-child
*/

/* =========================================
   1. GLOBAL ROOT VARIABLES (Design System)
   ========================================= */
:root {
  /* Brand Colors */
  --primary: #2E7D32;
  --primary-light: #4CAF50;
  --dark: #1B5E20;
  --gold: #C8A951;
  --gold-light: #D4B86A;
  --cream: #F8F5EF;
  --white: #FFFFFF;
  --text: #1A1A1A;
  --text-light: #555555;
  --bg-light: #FAFAFA;

  /* Typography */
  --font-body: 'Poppins', sans-serif;
  --font-heading: 'Cinzel', serif;
  
  /* Font Sizes */
  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: 1.25rem;
  --fs-xl: 1.5rem;
  --fs-2xl: 2rem;
  --fs-3xl: 2.5rem;
  --fs-4xl: 3.5rem;

  /* Spacing & Layout */
  --section-space: 80px;
  --container: 97%;
  --header-height: 90px;
  --drawer-width: 340px;
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;

  /* Effects, Shadows & Borders */
  --shadow-sm: 0 4px 6px rgba(0,0,0,0.05);
  --shadow: 0 12px 30px rgba(0,0,0,0.08);
  --shadow-lg: 0 20px 40px rgba(0,0,0,0.12);
  --shadow-gold: 0 8px 20px rgba(200, 169, 81, 0.2);
  --radius-sm: 8px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-full: 50%;
  --glass: rgba(255,255,255,0.6);
  --border-color: rgba(0,0,0,0.08);

  /* Transitions & Z-Index */
  --transition-fast: 0.2s ease;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --z-header: 1000;
  --z-overlay: 1040;
  --z-drawer: 1050;

  /* Common Component Styles (Buttons, Cards, Inputs) */
  --btn-padding: 14px 32px;
  --btn-radius: 50px;
  --btn-font-weight: 600;
  --card-bg: var(--white);
  --card-radius: var(--radius);
  --card-shadow: var(--shadow);
  --input-bg: var(--white);
  --input-border: 1px solid var(--border-color);
  --input-radius: var(--radius-sm);
}

/* =========================================
   2. BASE TYPOGRAPHY & BODY
   =========================================  */
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,h2,h3,h4,h5,h6 { 
  font-family: var(--font-heading); 
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: var(--spacing-sm);
}

/* =========================================
   3. MAIN HEADER STYLES (UPDATED)
   ========================================= */
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  z-index: var(--z-header);
  height: var(--header-height);
  transition: var(--transition);
}

/* Header Container - Full width background, content centered */
.header-container {
  width: 100%;
  margin: 0 auto;
  padding: 0 5%;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--spacing-lg);
}

/* Logo - Left Side */
.site-logo {
  justify-self: start;
}

.site-logo a {
  text-decoration: none;
  display: flex;
  align-items: center;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--dark);
  letter-spacing: 1px;
}

.logo-highlight {
  color: var(--gold);
}

.site-logo img {
  max-height: 60px;
  width: auto;
}

/* Desktop Navigation - Center */
.desktop-nav-wrap {
  justify-self: center;
  display: flex;
  align-items: center;
}

.desktop-nav-menu {
  list-style: none;
  display: flex;
  gap: var(--spacing-lg);
  margin: 0;
  padding: 0;
}

.desktop-nav-menu li a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  font-size: var(--fs-sm);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  padding: 8px 0;
  transition: var(--transition);
}

/* Desktop Nav Icons */
.desktop-nav-menu li a i, 
.desktop-nav-menu li a svg {
  color: var(--gold);
  font-size: var(--fs-md);
  transition: var(--transition);
}

/* Desktop Nav Hover Effect */
.desktop-nav-menu li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: var(--transition);
}

.desktop-nav-menu li a:hover {
  color: var(--primary);
}

.desktop-nav-menu li a:hover::after {
  width: 100%;
}

.desktop-nav-menu li a:hover i,
.desktop-nav-menu li a:hover svg {
  transform: scale(1.15);
  color: var(--primary);
}

/* Header Right CTA - Right Side */
.header-right {
  justify-self: end;
  display: flex;
  align-items: center;
}

.header-cta-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--primary);
  color: var(--white);
  text-decoration: none;
  padding: 12px 24px;
  border-radius: var(--btn-radius);
  font-weight: 600;
  font-size: var(--fs-sm);
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.header-cta-btn:hover {
  background: var(--dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.header-cta-btn svg {
  stroke: var(--gold);
}

/* Mobile Toggle (Hidden on Desktop) */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  flex-direction: column;
  gap: 5px;
}

.hamburger-line {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--dark);
  border-radius: 3px;
  transition: var(--transition);
}
/* =========================================
   4. DESKTOP NAVIGATION
   ========================================= */
.desktop-nav-wrap {
  display: flex;
  align-items: center;
}

.desktop-nav-menu {
  list-style: none;
  display: flex;
  gap: var(--spacing-lg);
  margin: 0;
  padding: 0;
}

.desktop-nav-menu li a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  font-size: var(--fs-sm);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  padding: 8px 0;
  transition: var(--transition);
}

/* Desktop Nav Icons */
.desktop-nav-menu li a i, 
.desktop-nav-menu li a svg {
  color: var(--gold);
  font-size: var(--fs-md);
  transition: var(--transition);
}

/* Desktop Nav Hover Effect */
.desktop-nav-menu li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: var(--transition);
}

.desktop-nav-menu li a:hover {
  color: var(--primary);
}
.desktop-nav-menu li a:hover::after {
  width: 100%;
}
.desktop-nav-menu li a:hover i,
.desktop-nav-menu li a:hover svg {
  transform: scale(1.15);
  color: var(--primary);
}

/* Header Right CTA */
.header-right {
  display: flex;
  align-items: center;
}

.header-cta-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--primary);
  color: var(--white);
  text-decoration: none;
  padding: 12px 24px;
  border-radius: var(--btn-radius);
  font-weight: 600;
  font-size: var(--fs-sm);
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.header-cta-btn:hover {
  background: var(--dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.header-cta-btn svg {
  stroke: var(--gold);
}

/* Mobile Toggle (Hidden on Desktop) */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  flex-direction: column;
  gap: 5px;
}
.hamburger-line {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--dark);
  border-radius: 3px;
  transition: var(--transition);
}

/* =========================================
   5. MOBILE SIDE DRAWER
   ========================================= */
.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: var(--z-overlay);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-side-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--drawer-width);
  max-width: 85vw;
  height: 100vh;
  background: var(--white);
  z-index: var(--z-drawer);
  transform: translateX(-100%);
  transition: var(--transition-slow);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  overflow-y: auto;
}
.mobile-side-drawer.active {
  transform: translateX(0);
}

/* Drawer Header & Close */
.drawer-header {
  padding: var(--spacing-md);
  display: flex;
  justify-content: flex-end;
  border-bottom: 1px solid var(--border-color);
}
.drawer-close-btn {
  background: var(--cream);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--dark);
  transition: var(--transition);
}
.drawer-close-btn:hover {
  background: var(--primary);
  color: var(--white);
}

/* Guruji Profile Section */
.guruji-profile-section {
  text-align: center;
  padding: var(--spacing-lg) var(--spacing-md);
  background: linear-gradient(135deg, var(--cream) 0%, #fff 100%);
  border-bottom: 1px solid var(--border-color);
}

.guruji-photo-frame {
  width: 140px;
  height: 140px;
  margin: 0 auto var(--spacing-md);
  border-radius: var(--radius-full);
  padding: 5px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  box-shadow: var(--shadow-gold);
}

.guruji-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-full);
  border: 4px solid var(--white);
}

.guruji-name {
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  color: var(--dark);
  margin-bottom: 4px;
}
.guruji-title {
  font-size: var(--fs-xs);
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin: 0;
}

/* Mobile Nav Menu */
.mobile-nav-wrap {
  flex: 1;
  padding: var(--spacing-md);
}
.mobile-nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}
.mobile-nav-menu li {
  border-bottom: 1px solid var(--border-color);
}
.mobile-nav-menu li:last-child {
  border-bottom: none;
}
.mobile-nav-menu li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 8px;
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  font-size: var(--fs-base);
  transition: var(--transition);
}
.mobile-nav-menu li a:hover {
  color: var(--primary);
  padding-left: 16px;
}
.mobile-nav-menu li a i {
  color: var(--gold);
  width: 20px;
  text-align: center;
}

/* Drawer Footer */
.drawer-footer {
  padding: var(--spacing-md);
  background: var(--cream);
  border-top: 1px solid var(--border-color);
  margin-top: auto;
}
.drawer-contact p {
  font-size: var(--fs-xs);
  color: var(--text-light);
  margin: 0 0 8px 0;
  line-height: 1.4;
}
.drawer-contact a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}
.drawer-socials {
  display: flex;
  gap: 12px;
  margin-top: var(--spacing-sm);
}
.drawer-socials a {
  width: 36px;
  height: 36px;
  background: var(--white);
  color: var(--primary);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.drawer-socials a:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
}

/* =========================================
   6. RESPONSIVE DESIGN
   ========================================= */
@media (max-width: 992px) {
  .desktop-nav-wrap,
  .header-right {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .site-header {
    height: 75px;
  }
  .logo-text {
    font-size: var(--fs-lg);
  }
}

@media (min-width: 993px) {
  .mobile-side-drawer,
  .drawer-overlay {
    display: none !important;
  }
}




/* =========================================
   7. FOOTER STYLES (PREMIUM REDESIGN)
   ========================================= */
.site-footer {
  background-color: var(--dark);
  color: var(--cream);
  font-size: var(--fs-sm);
  position: relative;
  margin-top: var(--section-space);
}

/* Top Gold Accent Line */
.footer-top-accent {
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--gold) 50%, var(--primary) 100%);
}

/* Footer Container (Full Width with padding, matching header) */
.footer-container {
  width: 100%;
  padding: 0 5%;
  margin: 0 auto;
}

/* =========================================
   7.1 MAIN FOOTER CONTENT
   ========================================= */
.footer-main {
  padding: 80px 0 60px;
}

.footer-container {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 50px;
}

.footer-heading {
  font-family: var(--font-heading);
  color: var(--gold);
  font-size: var(--fs-lg);
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 12px;
}

/* Underline for headings */
.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--gold);
}

.text-gold {
  color: var(--gold);
}

/* --- Column 1: Brand --- */
.footer-site-title {
  font-family: var(--font-heading);
  font-size: var(--fs-2xl);
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.footer-desc {
  color: rgba(248, 245, 239, 0.7);
  line-height: 1.8;
  margin-bottom: 25px;
  max-width: 300px;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-socials a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(200, 169, 81, 0.3);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  transition: var(--transition);
}

.footer-socials a:hover {
  background: var(--gold);
  color: var(--dark);
  transform: translateY(-3px);
}

/* --- Column 2 & 3: Links & Widgets --- */
.footer-menu, 
.footer-fallback-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-menu li, 
.footer-fallback-list li {
  margin-bottom: 12px;
}

.footer-menu a, 
.footer-fallback-list a {
  color: rgba(248, 245, 239, 0.7);
  text-decoration: none;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-menu a::before, 
.footer-fallback-list a::before {
  content: '🌿'; /* Small Ayurvedic leaf bullet */
  font-size: 10px;
  opacity: 0.7;
}

.footer-menu a:hover, 
.footer-fallback-list a:hover {
  color: var(--gold);
  padding-left: 8px;
}

.footer-widget-area ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-widget-area li {
  margin-bottom: 10px;
}
.footer-widget-area a {
  color: rgba(248, 245, 239, 0.7);
  text-decoration: none;
  transition: var(--transition);
}
.footer-widget-area a:hover {
  color: var(--gold);
}

/* --- Column 4: Contact --- */
.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  color: rgba(248, 245, 239, 0.7);
  line-height: 1.6;
}

.contact-icon {
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-contact-list a {
  color: rgba(248, 245, 239, 0.7);
  text-decoration: none;
  transition: var(--transition);
}

.footer-contact-list a:hover {
  color: var(--gold);
}

/* =========================================
   7.2 FOOTER BOTTOM BAR
   ========================================= */
.footer-bottom {
  background: rgba(0, 0, 0, 0.2);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 20px 0;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.copyright {
  margin: 0;
  color: rgba(248, 245, 239, 0.5);
  font-size: var(--fs-xs);
}

.back-to-top {
  width: 40px;
  height: 40px;
  background: var(--gold);
  color: var(--dark);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: var(--transition);
}

.back-to-top:hover {
  background: var(--white);
  transform: translateY(-3px);
}

/* =========================================
   7.3 RESPONSIVE FOOTER
   ========================================= */
@media (max-width: 1024px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .footer-brand-col {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .footer-main {
    padding: 50px 0 30px;
  }
  .footer-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-brand-col {
    grid-column: span 1;
  }
  .footer-bottom-inner {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}