:root {
    --primary-color: #1a73e8;
    --secondary-color: #0d47a1;
    --text-color: #333;
    --light-text: #666;
    --background: #fff;
    --footer-bg: #f5f5f5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
   
}

body {
    background-color: var(--background);
    color: var(--text-color);
    line-height: 1.6;
     overflow-x: hidden;
    
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background-color: var(--background);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    margin-right: 10px;
}

.logo h1 {
    color: var(--primary-color);
    font-size: 24px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--primary-color);
}

.auth-buttons button {
    padding: 8px 15px;
    margin-left: 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
}

.login-btn {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.signup-btn {
    background-color: var(--primary-color);
    color: white;
}

.auth-buttons button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-color);
    cursor: pointer;
}
        
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: url('./lord.jpg') center/cover no-repeat;
  filter: blur(1px);
  z-index: 0;
} 

.hero-content {
  position: relative;
  z-index: 1;
  color: white;
  text-align: center;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  padding: 0 1rem;
}
        .hero h2 {
            font-size: 48px;
            margin-bottom: 20px;
        }
        
        .hero p {
            font-size: 20px;
            margin-bottom: 30px;
            max-width: 800px;
            margin-left: auto;
            margin-right: auto;
        }
        
        .cta-button {
            display: inline-block;
            padding: 12px 30px;
            background-color: var(--primary-color);
            color: white;
            text-decoration: none;
            border-radius: 4px;
            font-weight: 500;
            transition: all 0.3s;
        }
        
        .cta-button:hover {
            background-color: var(--secondary-color);
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        }
        /* Dropdown container */
.dropdown {
    position: relative;
}

/* Dropdown content hidden by default */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff; /* or match your site's color scheme */
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    min-width: 180px;
    z-index: 1;
    padding: 0;
    margin: 0px;
    list-style: none;
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-content {
    display: block;
}

/* Dropdown item styling */
.dropdown-content li a {
    color: #000;
    padding: 12px 16px;
    display: block;
    text-decoration: none;
}

.dropdown-content li a:hover {
    background-color: #f1f1f1;
}

        /* About Section */
        .about {
            padding: 80px 0;
        }
        
        .section-title {
            text-align: center;
            margin-bottom: 50px;
        }
        
        .section-title h2 {
            font-size: 36px;
            color: var(--primary-color);
            margin-bottom: 15px;
        }
        
        .section-title p {
            color: var(--light-text);
            max-width: 700px;
            margin: 0 auto;
        }
        
        .about-content {
            display: flex;
            align-items: center;
            gap: 40px;
        }
        
        .about-image {
            flex: 1;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }
        
        .about-image img {
            width: 100%;
            height: auto;
            display: block;
            transition: transform 0.5s;
        }
        
        .about-image:hover img {
            transform: scale(1.05);
        }
        
        .about-text {
            flex: 1;
        }
        
        .about-text h3 {
            font-size: 28px;
            margin-bottom: 20px;
            color: var(--primary-color);
        }
        
        .about-text p {
            margin-bottom: 20px;
        }
        
        /* Services Section */
        .services {
            padding: 80px 0;
            background-color: var(--footer-bg);
        }
        
        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            margin-top: 40px;
        }
        
        .service-card {
            background-color: var(--background);
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s, box-shadow 0.3s;
        }
        
        .service-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
        }
        
        .service-image {
            height: 200px;
            overflow: hidden;
        }
        
        .service-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s;
        }
        
        .service-card:hover .service-image img {
            transform: scale(1.1);
        }
        
        .service-content {
            padding: 20px;
        }
        
        .service-content h3 {
            font-size: 22px;
            margin-bottom: 10px;
            color: var(--primary-color);
        }
        
        .service-content p {
            color: var(--light-text);
            margin-bottom: 15px;
        }
        
        .read-more {
            display: inline-block;
            color: var(--primary-color);
            font-weight: 500;
            text-decoration: none;
            transition: color 0.3s;
        }
        
        .read-more:hover {
            color: var(--secondary-color);
        }
        
        /* Poojas Section */
        .poojas {
            padding: 80px 0;
        }
        
        .poojas-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 25px;
            margin-top: 40px;
        }
        
        .pooja-card {
            background-color: var(--footer-bg);
            border-radius: 8px;
            padding: 25px;
            text-align: center;
            transition: transform 0.3s, box-shadow 0.3s;
        }
        
        .pooja-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        }
        
        .pooja-icon {
            font-size: 40px;
            color: var(--primary-color);
            margin-bottom: 15px;
        }
        
        .pooja-card h3 {
            font-size: 20px;
            margin-bottom: 10px;
        }
        
        .pooja-card p {
            color: var(--light-text);
            margin-bottom: 15px;
        }
        
        .pooja-card .price {
            font-size: 18px;
            font-weight: 600;
            color: var(--primary-color);
            margin-bottom: 15px;
        }
        
        .book-btn {
            display: inline-block;
            padding: 8px 20px;
            background-color: var(--primary-color);
            color: white;
            border-radius: 4px;
            text-decoration: none;
            font-weight: 500;
            transition: background-color 0.3s;
        }
        
        .book-btn:hover {
            background-color: var(--secondary-color);
        }
        
        /* Weekly Sevas Section */
        .weekly-sevas {
            padding: 80px 0;
            background-color: var(--footer-bg);
        }
        
        .seva-table {
            width: 100%;
            border-collapse: collapse;
            margin-top: 30px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }
        
        .seva-table th, .seva-table td {
            padding: 15px;
            text-align: left;
            border-bottom: 1px solid #ddd;
        }
        
        .seva-table th {
            background-color: var(--primary-color);
            color: white;
        }
        
        .seva-table tr:nth-child(even) {
            background-color: rgba(0, 0, 0, 0.02);
        }
        
        .seva-table tr:hover {
            background-color: rgba(0, 0, 0, 0.05);
        }
        
        /* Gallery Section */
        .gallery {
            padding: 80px 0;
        }
        
        .gallery-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 20px;
            margin-top: 40px;
        }
        
        .gallery-item {
            position: relative;
            border-radius: 8px;
            overflow: hidden;
            height: 250px;
        }
        
        .gallery-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s;
        }
        
        .gallery-item:hover img {
            transform: scale(1.2);
        }
        
        .gallery-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
            padding: 20px;
            color: white;
            opacity: 0;
            transition: opacity 0.3s;
        }
        
        .gallery-item:hover .gallery-overlay {
            opacity: 1;
        }
        
        /* Booking Section */
        .booking {
            padding: 80px 0;
            background-color: var(--footer-bg);
        }
        
        .booking-container {
            display: flex;
            gap: 40px;
            margin-top: 40px;
        }
        
        .booking-form {
            flex: 1;
            background-color: var(--background);
            padding: 30px;
            border-radius: 8px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }
        
        .booking-form h3 {
            font-size: 24px;
            margin-bottom: 20px;
            color: var(--primary-color);
        }
        
        .form-group {
            margin-bottom: 20px;
        }
        
        .form-group label {
            display: block;
            margin-bottom: 8px;
            font-weight: 500;
        }
        
        .form-group input, 
        .form-group select, 
        .form-group textarea {
            width: 100%;
            padding: 12px;
            border: 1px solid #ddd;
            border-radius: 4px;
            font-size: 16px;
        }
        
        .form-group textarea {
            height: 120px;
        }
        
        .submit-btn {
            background-color: var(--primary-color);
            color: white;
            border: none;
            padding: 12px 25px;
            border-radius: 4px;
            font-size: 16px;
            font-weight: 500;
            cursor: pointer;
            transition: background-color 0.3s;
        }
        
        .submit-btn:hover {
            background-color: var(--secondary-color);
        }
        
        .booking-info {
            flex: 1;
        }
        
        .booking-info h3 {
            font-size: 24px;
            margin-bottom: 20px;
            color: var(--primary-color);
        }
        
        .booking-info p {
            margin-bottom: 20px;
        }
        
        .info-card {
            background-color: var(--background);
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            margin-bottom: 20px;
        }
        
        .info-card h4 {
            font-size: 18px;
            margin-bottom: 10px;
            color: var(--primary-color);
        }
        
        /* Contact Section */
        .contact {
            padding: 80px 0;
        }
        
        .contact-container {
            display: flex;
            gap: 40px;
            margin-top: 40px;
        }
        
        .contact-info {
            flex: 1;
        }
        
        .contact-info h3 {
            font-size: 24px;
            margin-bottom: 20px;
            color: var(--primary-color);
        }
        
        .contact-info p {
            margin-bottom: 20px;
        }
        
        .contact-item {
            display: flex;
            align-items: flex-start;
            margin-bottom: 20px;
        }
        
        .contact-icon {
            font-size: 20px;
            color: var(--primary-color);
            margin-right: 15px;
            margin-top: 3px;
        }
        
        .contact-text h4 {
            font-size: 18px;
            margin-bottom: 5px;
        }
        
        .contact-text p, .contact-text a {
            color: var(--light-text);
            text-decoration: none;
        }
        
        .contact-text a:hover {
            color: var(--primary-color);
        }
        
        .contact-map {
           flex: 1;
            display: flex;
            flex-direction: column;
            gap: 30px;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }
        .contact-map iframe {
            width: 100%;
            height: 100%;
            border: none;
            display: block;
        }
        
        /* Footer */
        footer {
            background-color: var(--footer-bg);
            padding: 60px 0 20px;
        }
        
        .footer-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 40px;
            margin-bottom: 40px;
        }
        
        .footer-col h3 {
            font-size: 20px;
            margin-bottom: 20px;
            color: var(--primary-color);
        }
        
        .footer-col p {
            margin-bottom: 15px;
        }
        
        .footer-links {
            list-style: none;
        }
        
        .footer-links li {
            margin-bottom: 10px;
        }
        
        .footer-links a {
            text-decoration: none;
            color: var(--light-text);
            transition: color 0.3s;
        }
        
        .footer-links a:hover {
            color: var(--primary-color);
        }
        
        .social-links {
            display: flex;
            gap: 15px;
            margin-top: 20px;
        }
        
        .social-links a {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            text-decoration: none;
            background-color: var(--primary-color);
            color: white;
            border-radius: 50%;
            transition: background-color 0.3s;
        }
        
        .social-links a:hover {
            background-color: var(--secondary-color);
        }
        /* Target only the newsletter footer column */
.footer-col.newsletter-col {
  display: flex;
  flex-direction: column;
  align-items: center; 
  text-align: center; 
  margin-bottom: 30px;
  background-color: #fff; /* same as refund policy */
  padding: 60px 20px 20px;
  border-radius: 12px;
  margin: 40px 20px; /* space around footer */
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.08);
}

/* Input + button container styling */
.newsletter-form .form-group {
  display: flex;
  gap: 10px;
  margin-top: 10px;
  justify-content: center; /* ensures items inside are centered */
  flex-wrap: wrap; /* allows wrapping on smaller screens */
}

/* Input styling */
.newsletter-form input[type="email"] {
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 20px;
  font-size: 14px;
  outline: none;
  flex: 1;
  width: 300px;
  max-width: 100%;
}

/* Button styling */
/* .newsletter-form .submit-btn {
  padding: 10px 16px;
  background-color: #7030a0;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
  transition: background 0.3s ease;
} */

/* Button hover effect */
/* .newsletter-form .submit-btn:hover {
  background-color: #5c2591;
} */

        .footer-bottom {
            text-align: center;
            padding-top: 20px;
            border-top: 1px solid #ddd;
            color: var(--light-text);
        }
        
        /* Modal Styles */
        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            z-index: 1000;
            justify-content: center;
            align-items: center;
        }
        
        .modal-content {
            background-color: var(--background);
            padding: 30px;
            border-radius: 8px;
            width: 100%;
            max-width: 500px;
            box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
            position: relative;
        }
        
        .close-btn {
            position: absolute;
            top: 15px;
            right: 15px;
            font-size: 24px;
            cursor: pointer;
            color: var(--light-text);
        }
        
        .modal h2 {
            font-size: 24px;
            margin-bottom: 20px;
            color: var(--primary-color);
        }
        
        .tab-container {
            display: flex;
            margin-bottom: 20px;
            border-bottom: 1px solid #ddd;
        }
        
        .tab {
            padding: 10px 20px;
            cursor: pointer;
            font-weight: 500;
        }
        
        .tab.active {
            color: var(--primary-color);
            border-bottom: 2px solid var(--primary-color);
        }
        
        .tab-content {
            display: none;
        }
        
        .tab-content.active {
            display: block;
        }
        .close-menu-btn {
    display: none;
}
      
 /* Responsive Styles */
@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
    }
    
    .booking-container,
    .contact-container {
        flex-direction: column;
    }
    
    .contact-map {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-wrap: wrap;
        align-items: center;
    }
    
    /* nav {
        order: 3;
        width: 100%;
        margin-top: 15px;
        display: none;
    } */
     nav {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 250px;
        background-color: #16699f;
        box-shadow: -2px 0 5px rgba(0, 0, 0, 0.3);
        padding: 20px;
        transition: right 0.3s ease-in-out;
        z-index: 1000;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        border-radius: 10px;
    }
    .close-menu-btn {
        display: block;
        background: none;
        border: none;
        font-size: 24px;
        align-self: flex-end;
        cursor: pointer;
        margin-bottom: 20px;
        color: #ffffff;
    }
    nav.active {
         right: 0;
    }
    
    nav ul {
         list-style: none;
        padding: 0;
        margin: 0;
        width: 100%;
        display: flex;
        flex-direction: column;
    }
    
    nav ul li {
        margin: 0;
        padding: 15px 0;
          width: 100%;
        border-bottom: 1px solid var(--gray);
    }
    
    .mobile-menu-btn {
        display: block;
        background: none;
        border: none;
        font-size: 24px;
        cursor: pointer;
        margin-left: auto;
    }
    nav ul li a {
        text-decoration: none;
        color: #ffffff;
        width: 100%;
        display: block;
    }
    .auth-buttons {
        display: flex;
        gap: 10px;
        margin-left: 10px;
    }
    
    .hero-content h2 {
        font-size: 2.5rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .seva-table {
        display: block;
        overflow-x: auto;
    }
}

@media (max-width: 576px) {
    .hero {
        min-height: 500px;
        padding-top: 70px;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .cta-button,
    .book-btn,
    .submit-btn {
        padding: 10px 20px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
}
