/* Global Styles */
:root {
    --primary-color: #121212;
    --secondary-color: #1a1a1a;
    --accent-color: #007BFF;
    --text-color: #e0e0e0;
    --heading-font: 'Great Vibes', cursive;
    --body-font: 'Source Sans Pro', sans-serif;
    --container-max-width: 1200px;
    --spacing-unit: 20px;
    --header-footer-padding: 10px;
    --transition-speed: 0.3s;
    --gradient-start-color: #262635; /* Slightly lighter dark purple */
    --gradient-end-color: #1c1c2a; /* Blackish Purple */
}

body {
    margin: 0;
    font-family: var(--body-font);
    line-height: 1.7;
    background: linear-gradient(to bottom right, var(--gradient-start-color), var(--gradient-end-color));
    color: var(--text-color);
    overflow-x: hidden;
}

.container {
    max-width: var(--container-max-width);
    width: 90%;
    margin: 0 auto;
    padding: 0 var(--spacing-unit);
}

/* Header */
.site-header {
    padding: var(--header-footer-padding) 0;
    background-color: transparent;
}

.site-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: var(--spacing-unit);
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-list a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 12px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px;
    transition: color var(--transition-speed);
}

.nav-list a:hover {
    color: var(--accent-color);
}

/* Social Icons */
.header-social {
    display: flex;
    margin-right: var(--spacing-unit);
}

.header-social a {
    color: var(--text-color);
    text-decoration: none;
    margin: 0 10px;
    font-size: 1.2em;
}

/* Branding (Logo) */
.branding {
    display: block;
    width: 150px; /* Set width to ensure uniform size */
    height: 60px; /* Uniform height */
    overflow: hidden; /* Hide overflow */
    text-indent: -9999px; /* Hide text if any, keeping only the background image */
}

.branding img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Scale logo proportionally and crop if necessary */
    display: block;
}


/* Mobile Navigation */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.5em;
    cursor: pointer;
    margin-left: auto;
}

@media (max-width: 768px) {
    .nav-list {
        display: none; /* Hide menu by default */
        flex-direction: column;
        background-color: var(--primary-color);
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        padding: 20px 0;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    }

    .nav-list.active {
        display: flex; /* Show menu when active */
    }

    .nav-toggle {
        display: block;
    }

    .header-social {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .branding {
        margin: 10px 0;
    }
}

/* Main Content */
main.site-content {
    padding: 40px 0;
    background-color: transparent;
}

/* Section Titles */
.section-title {
    font-family: var(--heading-font);
    font-size: 3em; /* Increase font size */
    font-weight: 700;
    color: #f4f4f4;
    text-align: center;
    margin-bottom: 20px; /* Adjust margin for balance */
    letter-spacing: 2px; /* Increase letter spacing for emphasis */
    text-transform: uppercase; /* Use all caps for impact */
}

/* Grid Layout */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-unit);
    justify-items: stretch;
}

.module {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--secondary-color);
    padding: var(--spacing-unit);
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    overflow: hidden;
}

.module img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.module:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.module__title {
    font-family: var(--heading-font);
    font-size: 1.5em;
    margin-bottom: 10px;
    color: var(--text-color);
}

.module__description {
    font-size: 1em;
    color: #d0d0d0;
    text-align: center;
}

/* About Us Section */
.about-us__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-unit);
    align-items: center;
    margin-bottom: var(--spacing-unit); /* Reduce vertical space */
}

.about-us__text {
    font-size: 1.1em;
    color: var(--text-color);
}

.about-us__images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); /* Use grid for compact layout */
    gap: var(--spacing-unit);
    align-items: center;
}

.about-us__image {
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: 200px; /* Limit the height */
    object-fit: cover; /* Maintain image proportions */
    border-radius: 4px;
    overflow: hidden;
}

/* Passion Section */
.passion__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-unit);
    align-items: center;
}

.passion__text {
    font-size: 1.1em;
    color: var(--text-color);
}

.passion__images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); /* Grid for compact layout */
    gap: var(--spacing-unit);
    align-items: center;
}

.passion__image {
    width: 100%;
    max-height: 200px; /* Limit the height */
    object-fit: cover; /* Maintain image proportions */
    border-radius: 4px;
    overflow: hidden;
}

/* Video Gallery Section */
.video-gallery {
    padding: 40px 0;
    background-color: transparent;
}

.section-description {
    font-size: 1.1em;
    color: var(--text-color);
    text-align: center;
    margin-bottom: var(--spacing-unit); /* Adds space between the description and the videos */
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-unit);
    justify-items: center;
}

.video-grid iframe {
    width: 100%;
    height: 200px;
    border: none;
}

/* Footer */
.site-footer {
    padding: var(--header-footer-padding) 0;
    text-align: center;
    background-color: transparent;
}

.footer-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.footer-container p, .footer-nav a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.9em;
    transition: color var(--transition-speed);
}

.footer-nav a:hover {
    color: var(--accent-color);
}

/* Cookie Consent Banner */
.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--secondary-color);
    color: var(--text-color);
    padding: 20px;
    text-align: center;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: none;
}

.cookie-consent-banner p {
    margin: 0;
    font-size: 1em;
}

.cookie-consent-banner a {
    color: var(--accent-color);
    text-decoration: underline;
}

.cookie-consent-button {
    background-color: var(--accent-color);
    color: white;
    border: none;
    padding: 10px 20px;
    margin-left: 20px;
    cursor: pointer;
    font-size: 1em;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.cookie-consent-button:hover {
    background-color: darken(var(--accent-color), 10%);
}

/* Popup Styles */
.call-to-action-popup {
    display: none; /* Hidden by default */
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--secondary-color);
    padding: 40px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 1001; /* Ensure it sits above other content */
}

.call-to-action-popup.active {
    display: block; /* Display when active */
}

.close-popup {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    font-size: 20px;
    background-color: var(--accent-color);
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    text-align: center;
    line-height: 30px;
    transition: background-color 0.3s ease;
}

.close-popup:hover {
    background-color: darken(var(--accent-color), 10%);
}

.donate-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 20px;
    transition: background-color 0.3s ease;
}

.donate-button:hover {
    background-color: darken(var(--accent-color), 10%);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .nav-toggle {
        display: block; /* Show hamburger menu on mobile */
    }

    .nav-list.active {
        display: flex;
    }
}
