/* Custom Styles for Bodhgaya Jagannath Temple Website */

/* Header Styles */
header {
    background-color: #8B0000;
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
}

.logo span {
    color: #FFD700;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 1.5rem;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #FFD700;
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
     background-size: cover;
    height: 80vh;
    display: flex;
    align-items: center;
    color: white;
    text-align: center;
    background-image: url('../img/banner.jpeg');

}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #333;

}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #333;
}

/* Buttons */
.btn {
    display: inline-block;
    background-color: #8B0000;
    color: white;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #6b0000;
}

.btn-gold {
    background-color: #FFD700;
    color: #8B0000;
}

.btn-gold:hover {
    background-color: #e6c200;
}

/* Sections */
section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 2rem;
}

.section-title h2 {
    font-size: 2rem;
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
    color: #8B0000;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #8B0000;
}

/* Cards and Grids */
.events-grid, .gallery-grid, .services-grid, .booking-services, .accommodation-grid, .nearby-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.event-card, .service-card, .booking-card, .accommodation-card, .nearby-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.event-card:hover, .service-card:hover, .booking-card:hover, .accommodation-card:hover, .nearby-card:hover {
    transform: translateY(-5px);
}

.event-date {
    background-color: #8B0000;
    color: white;
    padding: 1rem;
    text-align: center;
}

.event-content, .service-content, .booking-content, .accommodation-content, .nearby-content {
    padding: 1.5rem;
}

/* Forms */
.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    nav {
        display: none;
        width: 100%;
    }
    
    nav.active {
        display: block;
    }
    
    nav ul {
        flex-direction: column;
        margin-top: 1rem;
    }
    
    nav ul li {
        margin: 0.5rem 0;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .events-grid, .gallery-grid, .services-grid, .booking-services, .accommodation-grid, .nearby-grid {
        grid-template-columns: 1fr;
    }
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.5s ease-out;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-1 {
    margin-top: 1rem;
}

.mt-2 {
    margin-top: 2rem;
}

.mb-1 {
    margin-bottom: 1rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}
.gallery-item img{    height: 241px;
    width: auto;
}
/* Stylish Footer Admin Login Button */
.footer-login {
    text-align: center;
    margin-top: 1rem;
}

.admin-login-btn {
    display: inline-block;
    padding: 0.6rem 1.6rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(45deg, #f30519, #ff6f00, #fdd835);
    border: none;
    border-radius: 12px;
    text-decoration: none;
    font-family: 'Figtree', sans-serif;
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.admin-login-btn::after {
    content: '';
    position: absolute;
    left: -50%;
    top: 0;
    width: 200%;
    height: 100%;
    background: rgba(255,255,255,0.2);
    transform: skewX(-20deg);
    transition: all 0.5s ease;
}

.admin-login-btn:hover::after {
    left: 100%;
}

.admin-login-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

