/* Global */
body {
	font-family: 'Poppins', sans-serif;
	margin: 0;
	background-color: #fdf5e6;
	color: #3C1F1F;
	line-height: 1.7;
	overflow-x: hidden;
}

h1,
h2 {
	margin: 0;
}

h2 {
	font-family: 'Merriweather', serif;
	color: #ff8c00;
	border-bottom: 2px solid #b22222;
	padding-bottom: 6px;
	margin-top: 40px;
}

/* Header */
header {
	background-color: #fffacd;
	padding: 20px;
	text-align: center;
	border-bottom: 4px solid #ff8c00;
}

header h1 {
	font-family: 'Merriweather', serif;
	font-size: 1.8rem;
	color: #b22222;
	text-shadow: 1px 1px 3px #FF8C00;
}

/* Banner */
.banner {
	background-image: url('kartik_damodar.png');
	background-position: center;
	background-size: 100% 100%;
	background-repeat: no-repeat;
	height: 30rem;
	display: flex;
	position: relative;
	overflow: hidden;
	margin-top: 6rem;
}

.banner::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.4);
}

/* Content */
.content {
	max-width: 950px;
	margin: 30px auto;
	background: #fff;
	padding: 30px 40px;
	border-radius: 12px;
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
	position: relative;
	z-index: 1;
}

ul {
	list-style: none;
	padding: 0;
}

li {
	margin: 12px 0;
	padding-left: 25px;
	position: relative;
}

li::before {
	content: "★";
	position: absolute;
	left: 0;
	color: #FFD700;
	text-shadow: 0 0 5px #ff8c00;
}

/* Donation Cards */
.donation-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 20px;
	margin-top: 20px;
	position: relative;
}

.donation-category {
	background: rgba(255, 215, 0, 0.15);
	color: #3C1F1F;
	padding: 20px;
	border-radius: 12px;
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
	text-align: center;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	position: relative;
	overflow: hidden;
}

.donation-category:hover {
	transform: translateY(-5px);
	box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.donation-img {
	width: 80px;
	height: 80px;
	object-fit: cover;
	border-radius: 50%;
	margin-bottom: 10px;
	box-shadow: 0 0 8px #FFD700, 0 0 15px #FFA500;
}

.donation-category h3 {
	margin: 10px 0 5px;
	color: #B22222;
}

.donation-category p {
	font-size: 0.95rem;
	color: #3C1F1F;
}

/* Donation Button for Cards */
.card-donate-btn {
	display: inline-block;
	margin-top: 12px;
	padding: 10px 18px;
	background: linear-gradient(45deg, #FFD700, #FFA500);
	color: #B22222;
	font-weight: bold;
	border-radius: 25px;
	text-decoration: none;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
	transition: all 0.3s ease;
	animation: pulse 2s infinite;
}

.card-donate-btn:hover {
	transform: scale(1.05);
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}

@keyframes pulse {
	0% {
		transform: scale(1);
		box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
	}

	50% {
		transform: scale(1.05);
		box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
	}

	100% {
		transform: scale(1);
		box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
	}
}

/* Floating mini symbols for cards */
.card-floating {
	position: absolute;
	font-size: 1.2rem;
	animation: floatUp 5s infinite alternate;
	pointer-events: none;
}

@keyframes floatUp {
	0% {
		transform: translateY(0);
		opacity: 0.8;
	}

	100% {
		transform: translateY(-20px);
		opacity: 0.5;
	}
}

/* Floating donation button */
.donate-float {
	position: fixed;
	bottom: 20px;
	right: 20px;
	background: #FFD700;
	color: #B22222;
	font-weight: bold;
	padding: 12px 20px;
	border-radius: 30px;
	text-decoration: none;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
	transition: all 0.3s ease;
	z-index: 999;
}

.donate-float:hover {
	background: #FFC107;
}

/* Footer donation block */
footer {
	background: #b22222;
	color: #FFD700;
	text-align: center;
	padding: 30px 20px;
	font-size: 1.1rem;
	position: relative;
	overflow: hidden;
}

footer a {
	display: inline-block;
	margin-top: 15px;
	padding: 14px 30px;
	font-size: 1.2rem;
	background: linear-gradient(45deg, #FFD700, #FFA500);
	color: #B22222;
	border-radius: 40px;
	font-weight: bold;
	text-decoration: none;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
	transition: all 0.3s ease;
}

footer a:hover {
	transform: scale(1.1);
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

/* Falling stars and flowers */
@keyframes fall {
	0% {
		transform: translateY(0) rotate(0deg);
		opacity: 1;
	}

	100% {
		transform: translateY(110vh) rotate(360deg);
		opacity: 0.3;
	}
}

.falling {
	position: fixed;
	top: -50px;
	font-size: 1.5rem;
	z-index: 0;
	pointer-events: none;
	animation-name: fall;
	animation-timing-function: linear;
	animation-iteration-count: infinite;
	text-shadow: 0 0 5px #fff, 0 0 10px #FFD700, 0 0 15px #FF69B4, 0 0 20px #FF4500;
	opacity: 0.8;
}

/* Footer floating symbols */
.footer-floating {
	position: absolute;
	font-size: 1.5rem;
	animation: floatUp 6s infinite alternate;
}

.footer-floating.star {
	top: 30px;
	right: 40px;
	font-size: 1.8rem;
	animation-duration: 5s;
}

/* Audio play button */
#playButton {
	display: block;
	margin: 20px auto;
	padding: 12px 25px;
	background: #FFD700;
	color: #b22222;
	font-weight: bold;
	border: none;
	border-radius: 25px;
	cursor: pointer;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
	transition: background 0.3s ease;
}

#playButton:hover {
	background: #FFC107;
}

.stanza-progress {
	font-weight: bold;
	font-size: 1.1rem;
	margin-bottom: 10px;
	color: #B22222;
	text-align: center;
}

.ashtakam-container {
	max-width: 700px;
	margin: 20px auto;
	text-align: center;
}

.stanza-card {
	background: #fff8e1;
	padding: 20px;
	border-radius: 12px;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
	margin-bottom: 15px;
	cursor: pointer;
	display: none;
	transition: all 0.4s ease;
}

.stanza-card.active {
	display: block;
	animation: fadeIn 0.5s ease;
}

.stanza-number {
	font-weight: bold;
	font-size: 1.2rem;
	margin-bottom: 10px;
	color: #B22222;
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(10px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.stanza-card p {
	margin: 5px 0;
	line-height: 1.6;
	color: #3C1F1F;
}

.stanza-buttons button {
	background: #FFD700;
	color: #B22222;
	font-weight: bold;
	padding: 10px 20px;
	border: none;
	border-radius: 25px;
	margin: 10px 10px;
	cursor: pointer;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
	transition: transform 0.3s ease;
}

.stanza-buttons button:hover {
	transform: scale(1.05);
}

/*Diya animation*/
.diya-container {
	display: inline-block;
	margin: 2rem auto;
	position: relative;
}

.diya {
	height: 75px;
	width: 150px;
	background-color: #fdcf0f;
	border-radius: 0 0 150px 150px;
	position: relative;
	margin: auto;
	overflow: hidden;
}

.inside {
	width: 150px;
	height: 30px;
	background-color: #fd500a;
	border-radius: 50%;
	position: absolute;
	left: 0;
	right: 0;
	bottom: 61px;
	margin: auto;
}

.shadow {
	height: 30px;
	width: 160px;
	background-color: rgba(25, 5, 71, 0.5);
	position: absolute;
	bottom: -15px;
	border-radius: 50%;
	margin: auto;
	left: 0;
	right: 0;
}

.flame {
	height: 85px;
	width: 85px;
	background-color: #fdf1c2;
	border-radius: 85px 0;
	transform: rotate(-45deg);
	position: absolute;
	margin: auto;
	left: 0;
	right: 0;
	bottom: 18px;
	animation: scale-up 2s infinite;
}

@keyframes scale-up {
	50% {
		transform: rotate(-45deg) scale(1.05);
		bottom: 21px;
	}
}

.flame:after {
	content: "";
	position: absolute;
	height: 60px;
	width: 60px;
	background-color: #f4c631;
	border-radius: 60px 0;
	bottom: 0;
	left: -1px;
}

.light {
	height: 165px;
	width: 165px;
	background-color: rgba(253, 241, 194, 0.2);
	border-radius: 50%;
	position: absolute;
	left: -7px;
	bottom: 0;
}

.light:before,
.light:after {
	content: "";
	position: absolute;
	height: 60px;
	width: 60px;
	background-color: rgba(253, 241, 194, 0.3);
	border-radius: 50%;
	animation: shine 5s linear infinite;
}

@keyframes shine {
	50% {
		transform: scale(0.7);
		opacity: 0.2;
	}
}

.light:before {
	bottom: 30px;
	right: 76px;
}

.light:after {
	top: 50px;
	left: 100px;
	animation-delay: 1s;
}

/* Calender */
.calendar-grid {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    border-collapse: collapse;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    background-color: white;
}
.calendar-grid th, .calendar-grid td {
    border: 1px solid #ddd;
    padding: 10px;
    vertical-align: top;
    height: 100px;
    width: calc(100% / 7);
    font-size: 0.9em;
}
.calendar-grid th {
    background-color: #f0f0f0;
    text-transform: uppercase;
    font-weight: bold;
    text-align: center;
    color: #5d2b7a;
    padding: 15px;
}
.date {
    font-weight: bold;
    font-size: 1.2em;
    color: #8a2be2; /* Blue-violet for dates */
    display: block;
    margin-bottom: 5px;
}
.event {
    font-size: 0.95em;
    font-weight: 600;
    line-height: 1.3;
    padding: 5px;
    border-radius: 4px;
    margin-top: 5px;
    color: #333;
    background-color: #ffffe0; /* Light yellow background for events */
}
/* Specific event colors for better visibility */
.ekadashi { background-color: #d8f1d8; color: #1e8449; border: 1px solid #c9e6c9; }
.major-fest { background-color: #ffe0b2; color: #e65100; border: 1px solid #ffcc80; }
.last-day { background-color: #b2ebf2; color: #00796b; border: 1px solid #80deea; }

.sponsor-btn {
  display: block;
  margin: 5px auto;
  background: linear-gradient(45deg, #FFD700, #FFA500);
  color: #B22222;
  border: none;
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.3s ease;
}
.sponsor-btn:hover {
  background: #FFD700;
}


/* 🌺 Sticky Navigation Bar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(139, 0, 0, 0.95);
  border-bottom: 2px solid #fdd835;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  backdrop-filter: blur(8px);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin: auto;
  padding: 10px 20px;
}

/* Logo */
.nav-logo {
  color: #fdd835;
  font-family: 'Merriweather', serif;
  font-weight: 700;
  font-size: 1.2rem;
  text-decoration: none;
  transition: text-shadow 0.3s;
}

.nav-logo:hover {
  text-shadow: 0 0 10px gold;
}

/* Menu Links */
.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
  transition: all 0.3s ease-in-out;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
  transition: color 0.3s;
}

/* Gold underline hover effect */
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background: #fdd835;
  transition: width 0.3s;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a:hover {
  color: #fdd835;
}

/* Toggle (mobile menu button) */
.nav-toggle {
  display: none;
  background: transparent;
  color: #fff;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Responsive design */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: 55px;
    right: 0;
    background: rgba(139, 0, 0, 0.98);
    padding: 15px;
    border-bottom-left-radius: 10px;
    border-left: 2px solid #fdd835;
  }

  .nav-links.show {
    display: flex;
  }

  .nav-links a {
    padding: 8px 0;
    width: 100%;
  }
}

/* Smooth scroll for all anchors */
html {
  scroll-behavior: smooth;
}


/* Responsive */
@media(max-width:768px) {
	.content {
		padding: 20px;
	}

	header h1 {
		font-size: 1.5rem;
	}

	footer a {
		font-size: 1rem;
		padding: 12px 25px;
	}
}