/* General */
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  color: #333;
  background: #fffdf6;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(to right, #ffcc80, #f44336);
  height: 90vh;
  background-image: url('images/pic1.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.overlay {
  background-color: rgba(224, 123, 7, 0.5);
  padding: 40px;
  border-radius: 15px;
  height: 700px;
}

.overlay h1 {
  font-size: 2.5em;
  margin-bottom: 10px;
}

.overlay p {
  font-size: 1.2em;
}

.btn {
  background-color: #ffd54f;
  color: #4b2e05;
  padding: 10px 20px;
  border-radius: 20px;
  text-decoration: none;
  display: inline-block;
  margin-top: 20px;
  font-weight: bold;
  transition: background 0.3s ease;
}

.btn:hover {
  background-color: #ffb300;
}

/*Banner*/

 h2 {
		font-size: 18px;
		color: #fff;
		text-align: center;
		letter-spacing: -2px;
		margin: 0;
	}

/* Navigation */
nav {
    background: linear-gradient(90deg, #f57c00, #e65100);
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding: 10px 0;
    font-size: 16px;
    font-weight: 600;
    position: sticky;
    top: 0;
    z-index: 999;
}

nav a {
  color: #fff;
  text-decoration: none;
  margin: 10px 20px;
  font-weight: 600;
  transition: color 0.3s ease;
}


nav a:hover {
  color: #ffecb3;
}
/*button like anchor style*/
nav button {
    color: #fff;
    text-decoration: none;
    margin: 10px 20px;
    transition: color 0.3s ease;
    background: none;
    border: none;
    font: inherit;
    cursor:pointer
}

/* Sections */
.section {
  max-width: 1100px;
  margin: 40px auto;
  padding: 30px;
  border-radius: 15px;
  background: #ffffff;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.section h2 {
  text-align: center;
  color: #b71c1c;
}

.page-section {
    padding: 100px 20px;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.content-card {
    max-width: 1100px;
    width: 100%;
    background: #ffffff;
    border-radius: 20px;
    padding: 50px 40px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.about-bg {
    background: linear-gradient(135deg, #fff3e0, #ffe0b2);
}

.pooja-bg {
    background: linear-gradient(135deg, #fff9c4, #ffecb3);
}

.festival-bg {
    background: linear-gradient(135deg, #ffcdd2, #f8bbd0);
}

.gallery-bg {
    background: linear-gradient(135deg, #b3e5fc, #81d4fa);
}

.contact-bg {
    background: linear-gradient(135deg, #dcedc8, #c5e1a5);
}

.content-card h2 {
    text-align: center;
    font-size: 2rem;
    color: #b71c1c;
    margin-bottom: 30px;
    position: relative;
}

.content-card h2::after {
    content: "";
    width: 80px;
    height: 4px;
    background: #b71c1c;
    display: block;
    margin: 10px auto 0;
    border-radius: 2px;
}

html {
    scroll-behavior: smooth;
}


/* About */
.about-section {
  background: linear-gradient(135deg, #fff3e0, #ffe0b2);
}

/* Pooja Section */
.pooja-section {
    background: linear-gradient(135deg, #fff9c4, #ffecb3);
   
}

.pooja-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
  margin-top: 20px;
}

.pooja-card {
  padding: 15px;
  border-radius: 10px;
  color: #fff;
  font-weight: 500;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease-in-out;
}

.pooja-card:hover {
  transform: scale(1.05);
}

.morning { background-color: #f57c00; }
.sunshine { background-color: #ffb300; }
.golden { background-color: #ffa000; }
.dusk { background-color: #e65100; }

/* Festivals */
.festival-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
    margin-top: 40px;
}

/* Base Card */
.festival-card {
    border-radius: 20px;
    padding: 28px 24px;
    color: #ffffff;
    box-shadow: 0 14px 35px rgba(0,0,0,0.18);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    position: relative;
    overflow: hidden;
}

    /* Decorative glow */
    .festival-card::after {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at top right, rgba(255,255,255,0.25), transparent 60%);
    }

    /* Hover lift */
    .festival-card:hover {
        transform: translateY(-8px) scale(1.02);
        box-shadow: 0 22px 50px rgba(0,0,0,0.28);
    }

    /* Title */
    .festival-card h3 {
        margin: 0 0 12px;
        font-size: 1.25rem;
        font-weight: 700;
    }

    /* Description */
    .festival-card p {
        margin: 0;
        font-size: 0.95rem;
        line-height: 1.7;
        opacity: 0.95;
    }

.festival-red {
    background: linear-gradient(135deg, #c62828, #b71c1c);
}

.festival-gold {
    background: linear-gradient(135deg, #ffb300, #f57c00);
}

.festival-orange {
    background: linear-gradient(135deg, #ef6c00, #e65100);
}

.festival-pink {
    background: linear-gradient(135deg, #ad1457, #880e4f);
}

.festival-green {
    background: linear-gradient(135deg, #558b2f, #33691e);
}

/* Gallery old style */
.gallery-section {
  background: linear-gradient(135deg, #b3e5fc, #81d4fa);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin-top: 20px;
}

.gallery-grid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  transition: transform 0.3s;
}

.gallery-grid img:hover {
  transform: scale(1.05);
}

/* Contact */
.contact-section {
  background: linear-gradient(135deg, #dcedc8, #c5e1a5);
  text-align: center;
}

.contact-section p {
  line-height: 1.8;
  font-size: 1.1em;
}

/* Footer */
footer {
  background: linear-gradient(90deg, #d84315, #bf360c);
  color: #fff;
  text-align: center;
  padding: 20px 0;
  font-size: 0.9em;
  margin-top: 40px;
}

.image-container img {
    width: 300px;
    cursor: pointer;
    border-radius: 6px;
}

/* Photo Gallery Modern Style*/
.modern-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.gallery-item {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
    cursor: pointer;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0,0,0,0.25);
}

.gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.gallery-item figcaption {
    padding: 14px 16px;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 600;
    color: #5d4037;
    background: #fffaf3;
}

.gallery-item {
    position: relative;
}

.gallery-item figcaption {
    position: absolute;
    inset: auto 0 0 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: #fff;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.gallery-item:hover figcaption {
    opacity: 1;
    transform: translateY(0);
}

/* Modal background for Photo gallery */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
}

    /* Full-size image */
    .modal img {
        max-width: 90%;
        max-height: 90%;
        border-radius: 8px;
    }