/* 🌿 Global Vel cursor override */
body, a, button, input, textarea, select, iframe, .map, #map, .clickable {
  cursor: url('assets/VelCursor.cur'), auto;
}

/* Force Vel cursor on map containers */
#map, .map, iframe {
  cursor: url('assets/VelCursor.cur'), auto; 
} 

/* Force Vel cursor on all interactive elements */
body, a, button, input, textarea, map, iframe, select {
  cursor: url('assets/VelCursor.cur'), auto !important;
}


/* Shared type and centering */
body {
  margin: 0;
  font-family: 'Lora', serif;
  color: #4b2e83;
  text-align: center;
}

/* Stage 1: Sacred gradient background + centered glowing button */
#startButton {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(to right, #660066, #ff9933);
  z-index: 10000;
}
#startButton button {
  padding: 20px 40px;
  font-size: 1.5em;
  background: #d4af37;
  color: white;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  text-shadow: 0 0 10px #4b2e83;
  box-shadow: 0 0 25px rgba(212,175,55,0.7), 0 0 60px rgba(255,153,51,0.5);
  animation: buttonGlow 3s ease-in-out infinite;
}
@keyframes buttonGlow {
  0%   { box-shadow: 0 0 18px rgba(212,175,55,0.6), 0 0 40px rgba(255,153,51,0.4); }
  50%  { box-shadow: 0 0 32px rgba(212,175,55,0.9), 0 0 80px rgba(255,153,51,0.7); }
  100% { box-shadow: 0 0 18px rgba(212,175,55,0.6), 0 0 40px rgba(255,153,51,0.4); }
}

/* Stage 2: Loading screen with proper alignment and full orbits */
#loading {
  position: fixed;
  inset: 0;
  background: linear-gradient(to bottom, #ff9933, #660066);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.vel-container {
  position: relative;
  width: 360px;
  height: 360px;
}

/* Vel perfectly centered and glowing */
.vel {
  position: absolute;
  top: 50%; left: 50%;
  width: 140px;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 0 15px gold) drop-shadow(0 0 30px orange);
  animation: glowPulse 3s ease-in-out infinite;
}
@keyframes glowPulse {
  0%   { filter: drop-shadow(0 0 10px gold) drop-shadow(0 0 20px orange); }
  50%  { filter: drop-shadow(0 0 25px gold) drop-shadow(0 0 40px orange); }
  100% { filter: drop-shadow(0 0 10px gold) drop-shadow(0 0 20px orange); }
}

/* Tamil blessing aligned under the Vel */
.vel-text {
  position: absolute;
  left: 50%;
  top: calc(50% + 100px);
  transform: translateX(-50%);
  font-size: 1.4em;
  font-weight: bold;
  color: #d4af37;
  text-shadow: 0 0 10px #f4a460, 0 0 20px #ffcc00;
}

/* Peacocks orbiting around the Vel in a bigger circle, evenly spaced */
.peacock {
  position: absolute;
  top: 50%; left: 50%;
  width: 90px;
  transform: translate(-50%, -50%);
  transform-origin: center center;
  animation: orbit 14s linear infinite;
}

/* Each peacock offset by 120° for balance */
.peacock1 { animation-delay: 0s; }
.peacock2 { animation-delay: -4.66s; } /* 120° offset */
.peacock3 { animation-delay: -9.33s; } /* 240° offset */

/* Bigger orbit radius (220px) */
@keyframes orbit {
  0%   { transform: translate(-50%, -50%) rotate(0deg) translateX(220px) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg) translateX(220px) rotate(-360deg); }
}

/* Stage 3: Homepage with full sacred gradient and centered content */
#homepage {
  display: none;
  min-height: 100vh;
  background: linear-gradient(to right, #660066, #ff9933);
  animation: fadeIn 2s ease forwards;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* Navigation Bar */
.navbar {
  background: linear-gradient(to right, #660066, #ff9933);
  padding: 12px 0;
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.navbar ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex; justify-content: center; gap: 50px;
}
.navbar li { display: inline; }
.navbar a {
  color: white; text-decoration: none; font-weight: bold; font-size: 1.1em;
  text-shadow: 0 0 5px #d4af37; transition: color 0.3s ease;
}
.navbar a:hover { color: #ffd700; }

/* Header and sections centered nicely */
header {
  max-width: 900px;
  margin: 80px auto 20px auto;
  background: rgba(75, 46, 131, 0.15);
  padding: 30px;
  border-radius: 12px;
  color: white;
  text-shadow: 0 0 10px #4b2e83;
}
h1 { margin: 0; font-size: 2.6em; }
.subtitle { font-style: italic; font-size: 1.2em; }

main {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 20px 60px 20px;
}
h2 { color: #ffd700; text-shadow: 0 0 8px #f4a460; }
p { max-width: 680px; margin: 10px auto; line-height: 1.6; color: #fff; }

.centered-section {
  background: rgba(75, 46, 131, 0.15);
  padding: 24px;
  border-radius: 12px;
  margin: 20px auto;
}

/* Footer */
footer {
  color: #fff;
  padding: 20px;
  margin-top: 20px;
}

/* Murugan image glowing aura */
.murugan-img {
  margin-top: 20px;
  max-width: 320px;
  border: 5px solid #d4af37;
  border-radius: 10px;
  box-shadow: 0 0 20px #f4a460, 0 0 40px #ffcc00;
  animation: fadeInMurugan 3s ease forwards;
  opacity: 0;
}
@keyframes fadeInMurugan {
  from { opacity: 0; transform: scale(0.95); }
  to   { opacity: 1; transform: scale(1); }
}

/* Directions button styling */
.directions-button {
  display: inline-block;
  padding: 12px 24px;
  background: linear-gradient(to right, #660066, #ff9933);
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
  box-shadow: 0 0 15px #ffd700;
  transition: all 0.3s ease;
}

.directions-button:hover {
  color: #ffd700;
  box-shadow: 0 0 25px #ffd700, 0 0 40px #ff9933;
}

/* Vel icon styling for Pathirikkai button */
.vel-icon 
{ width: 24px;
 height: 24px;
 margin-right: 8px;
 vertical-align: middle;
 filter: drop-shadow(0 0 5px #ffd700);
}

/* 🌿 Responsive layout for mobile */
@media (max-width: 768px) {
  header, main {
    max-width: 100%;
    padding: 16px;
  }

  .navbar ul {
    flex-direction: column;
    gap: 16px;
  }

  iframe {
    width: 100%;
    height: 300px;
  }

  .murugan-img {
    max-width: 90%;
  }

  .download-button,
  .directions-button {
    width: 90%;
    font-size: 1em;
  }
}
/* Facebook link styling */
.facebook-link {
  color: #ffd700;
  font-weight: bold;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}
.facebook-link:hover {
  color: #fff;
  text-shadow: 0 0 10px #ffd700, 0 0 20px #ff9933;
}
.facebook-icon {
  width: 28px;
  height: 28px;
  filter: drop-shadow(0 0 5px #ffd700);
  vertical-align: middle;
}


/* ✨ Hover glow effect for sacred buttons */
.download-button:hover,
.directions-button:hover,
.facebook-link:hover {
  box-shadow: 0 0 25px #ffd700, 0 0 40px #ff9933;
  text-shadow: 0 0 10px #ffd700, 0 0 20px #ff9933;
  transition: all 0.3s ease;
}

  /* 🌿 Mobile curtain menu toggle */
.menu-toggle {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  color: white;
  padding: 10px 16px;
  cursor: pointer;
}

/* 🌿 Mobile curtain menu behavior */
@media (max-width: 768px) {
  .menu-toggle {
    display: inline-block;
  }

  #navMenu {
    display: none;
    flex-direction: column;
    background: rgba(17, 17, 17, 0.95);
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    z-index: 999;
    padding: 20px 0;
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
    animation: curtainDrop 0.4s ease forwards;
  }

  #navMenu.show {
    display: flex;
  }

  #navMenu li {
    padding: 12px;
    text-align: center;
    display: block;
    border-bottom: 1px solid #444;
  }

  #navMenu li a {
    display: block;
    width: 100%;
    color: #fff;
    font-size: 1.2em;
  }
}

@keyframes curtainDrop {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}

  
/* Smooth scrolling */
html { scroll-behavior: smooth; }

  /* Golden styling for story subheadings */
#jeevaratham-story h3 {
  color: #ffd700; /* radiant gold */
  text-shadow: 0 0 8px #f4a460, 0 0 16px #ffcc00;
  margin-top: 20px;
  margin-bottom: 10px;
  font-size: 1.4em;
}

/* 🌿 Make Jeevaratham story text white */
#jeevaratham-story li,
#jeevaratham-story p {
  color: #fff;
}

  /* 🌿 Remove side dots from Jeevaratham story list */
#jeevaratham-story ul {
  list-style-type: none;
  padding-left: 0;
}

  /* 🌿 Golden teaser line at the end of Jeevaratham story */
#jeevaratham-story p em {
  color: #ffd700;
  font-style: italic;
  text-shadow: 0 0 8px #f4a460, 0 0 16px #ffcc00;
  display: block;
  margin-top: 20px;
}

/* Discreet Visitor Counter */
.visitor-counter {
  position: fixed;
  bottom: 10px;
  right: 10px;
  opacity: 0.4; /* 60% transparent */
  transform: scale(0.7); /* Shrinks it down */
  transform-origin: bottom right;
  z-index: 1000; 
  transition: opacity 0.3s ease; 
}

.visitor-counter:hover {
  opacity: 1; /* Fully visible when you hover over it */
}







  
























