/* Base Styles */
:root {
    --primary-color: #8B0000;
    --secondary-color: #D4AF37;
    --text-color: #333;
    --light-text: #666;
    --background-color: #fff;
    --section-padding: 4rem 2rem;
    --header-height: 80px;
    --mobile-header-height: 60px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

h1,
h2,
h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Header Styles */
.main-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    transition: all 0.3s ease;
}

.main-header.sticky {
    position: fixed;
    background: var(--background-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h2 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.logo .tagline {
    font-size: 0.9rem;
    color: var(--light-text);
}

.desktop-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.desktop-nav a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.desktop-nav a:hover {
    color: var(--primary-color);
}

.language-switch a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--text-color);
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero-section {

    /* Add padding-top equal to the header height */
    font-size: 1vw;
    padding-top: 10px;
    position: relative;
    background: linear-gradient(rgba(78, 59, 59, 0.5), rgba(0, 0, 0, 0.5)),
        url('../assets/hero-bg.jpg') center/cover no-repeat;
    display: flex;
    flex-direction: column;
    /* Keep as column */
    justify-content: center;
    /* Adjust alignment */
    align-items: center;
    text-align: center;
    color: var(--background-color);
    /* Keep padding-left/right, but remove top/bottom if they were causing issues */
    padding-left: 2em;
    padding-right: 2em;
    padding-bottom: 2em;
    /* Add some bottom padding if needed */
}

.hero-content {
    max-width: 800px;
    margin-bottom: 2em;
}

.hero-content h1 {
    font-size: 3.5em;
    margin-bottom: 1em;
    color: var(--background-color);
}

.hero-content h2 {
    font-size: 2em;
    margin-bottom: 1.5em;
    color: var(--secondary-color);
}

.hero-content p {
    font-size: 1.1em;
    margin-bottom: 1.5em;
}

.administration-note {
    font-style: italic;
    color: var(--secondary-color);
    margin: 1.5em 0;
}

.hero-cta {
    display: flex;
    gap: 1em;
    justify-content: center;
    margin-top: 2em;
}

.btn {
    display: inline-block;
    padding: 0.8em 2em;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--background-color);
}

.btn-secondary {
    background-color: transparent;
    color: var(--background-color);
    border: 2px solid var(--background-color);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}






.deity-photo {
    max-width: 150px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--secondary-color);
}


.deity-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.leaders-photos {
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.leader-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--secondary-color);
}

/* Gallery Section */
.gallery-section {
    padding: var(--section-padding);
    background-color: #f9f9f9;
}

.gallery-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Instructions Section */
.instructions-section {
    padding: var(--section-padding);
}

.instructions-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-color);
}



/* Existing CSS for sections and content blocks */
.section {
    padding: 80px 0;
    /* Vertical padding for sections */
    position: relative;
}

.content-block {
    max-width: 900px;
    /* Limit width of text blocks for readability */
    margin: 25px auto;
    /* Center text blocks */
    padding: 0 20px;
    text-align: justify;
    /* Justify text for a cleaner look */
    color: #555;
    /* Softer text color */
    font-size: 1.1em;
    /* Slightly larger body text */
}

.content-block ul,
.content-block ol {
    margin: 20px 0;
    padding-left: 40px;
    /* Indentation for list items */
}

.content-block li {
    margin-bottom: 12px;
    /* More space between list items */
    line-height: 1.6;
    /* Ensure readability */
}

/* Add or ensure these exist from previous steps */
#instructions h2 {
    text-align: center;
    margin-bottom: 25px;
    color: #6B3E2E;
    /* Match heading color */
    border-bottom: 2px solid #D4C5AD;
    padding-bottom: 10px;
}

/* No specific style needed for strong unless you want a different color */
/* strong { color: #5a4a42; } */







/* Location Section */
.location-section {
    padding: var(--section-padding);
    background-color: #f9f9f9;
}

.location-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.location-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
}

.address {
    padding: 2rem;
    background-color: var(--background-color);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.map-container {
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 400px;
    /* This is the line to change */
    border: 0;
    /* ... other styles */
}

/* About Section */
.about-section {
    padding: var(--section-padding);
}

.about-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.about-section h3 {
    text-align: center;
    margin-bottom: 0.7rem;
    /* color: var(--primary-color); */
}

/* Contact Section */
.contact-section {
    padding: var(--section-padding);
    background-color: #f9f9f9;
}

.contact-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-info {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--text-color);
    text-decoration: none;
    font-size: 1.1rem;
}

.whatsapp-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: #25D366;
    color: var(--background-color);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.whatsapp-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

/* Floating WhatsApp Button */
.floating-whatsapp {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 1000;
}

.floating-whatsapp:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.floating-whatsapp img {
    width: 35px;
    height: 35px;
}

/* Footer */
.main-footer {
    background-color: var(--primary-color);
    color: var(--background-color);
    padding: 2rem;
    text-align: center;
}

/* Mobile Navigation Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
}

.mobile-nav-overlay.active {
    display: flex;
}

.mobile-nav ul {
    list-style: none;
    text-align: center;
}

.mobile-nav li {
    margin: 1.5rem 0;
}

.mobile-nav a {
    color: var(--background-color);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 500;
}

/* Mobile Styles */
@media (max-width: 768px) {
    :root {
        --header-height: var(--mobile-header-height);
    }

    .main-header {
        background-color: var(--background-color);
        position: fixed;
    }

    .desktop-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .hero-section {
        font-size: 3vw;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content h2 {
        font-size: 1.5rem;
    }



    .leaders-photos {
        flex-direction: row;
    }

    .location-content {
        grid-template-columns: 1fr;
    }

    .map-container iframe {
        width: 100%;
        height: 400px;
        /* This is the line to change */
        border: 0;
        /* ... other styles */
    }


    .contact-item {
        font-size: 1rem;
    }
}

/* Tablet Styles */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-content h1 {
        font-size: 3rem;
    }

    .location-content {
        grid-template-columns: 1fr 1.5fr;
    }


}

/* Print Styles */
@media print {

    .main-header,
    .floating-whatsapp,
    .whatsapp-button {
        display: none;
    }

    body {
        color: #000;
    }

    a {
        text-decoration: none;
        color: #000;
    }
}