/* Theme Variables */
:root {
    --background-color: #002A5C; /* Navy Blue */
    --text-color: white;
    --button-bg-color: #FF3131; /* Bright Red */
    --button-hover-color: #FFDE59; /* Warm Yellow */
    --button-text-color: #002A5C; /* Navy Blue for contrast */
    --disabled-bg-color: #555;
    --disabled-text-color: #ccc;
    --royal-blue-color: #004AAD;
}

body {
    background-color: var(--background-color);
    color: var(--text-color);
    margin: 0;
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding-top: 60px; /* Prevent content from being hidden under the fixed navbar */
    padding-bottom: 40px; /* Prevent content from being hidden under the fixed footer */
}

.container {
    max-width: 90%;
    padding: 20px;
    margin: 0 auto;
    text-align: center;
}

img {
    max-width: 100%;
}

.date-container {
    margin-top: 5px;
}

.button-container {
    margin-top: 20px;
}

.button-container a {
    text-decoration: none;
}

.theme-button {
    display: flex; /* Use flexbox for centering */
    justify-content: center; /* Horizontally center the text */
    align-items: center; /* Vertically center the text */
    margin: 10px auto;
    width: 150px;
    height: 40px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    background-color: transparent; /* Transparent background like nav-link */
    color: var(--text-color); /* White text */
    text-decoration: none; /* Remove underline */
    border: 2px solid var(--button-hover-color); /* Yellow border */
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Subtle shadow */
}

.theme-button:hover {
    background-color: var(--button-hover-color); /* Yellow background on hover */
    color: var(--background-color); /* Navy Blue text on hover */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Slightly larger shadow on hover */
}

.theme-button:focus {
    outline: 2px solid var(--button-hover-color);
    outline-offset: 2px;
}

button:disabled {
    background-color: var(--disabled-bg-color);
    color: var(--disabled-text-color);
    cursor: not-allowed;
    box-shadow: none;
}

.headliner-container {
    margin-top: 30px;
    text-align: center;
}

.headliner-images {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
}

.address-container {
    margin-top: 30px;
    line-height: 1.4;
}

.address-container a {
    color: var(--button-hover-color);
    text-decoration: none;
}

.contact-container {
    margin-top: 30px;
    margin-bottom: 30px;
    text-align: center;
}

.contact-container a {
    color: var(--button-hover-color);
    text-decoration: none;
}

.email-link {
    color: var(--button-hover-color); /* Warm Yellow */
    text-decoration: none;
}

.email-link:hover {
    text-decoration: underline;
}


.faq-link {
    color: var(--button-hover-color); /* Warm Yellow */
    text-decoration: none;
}

.faq-link:hover {
    text-decoration: underline;
}

/* Navigation Bar Styles */
.navbar {
    background-color: var(--background-color); /* Ensure solid background color */
    padding: 0; /* Remove extra padding */
    margin: 0; /* Remove any margin */
    border: none; /* Remove any border */
    position: fixed; /* Fix the navbar to the top of the screen */
    top: 0;
    width: 100%; /* Full width */
    z-index: 1000; /* Ensure it stays above other content */
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2); /* Optional: Slight shadow for visibility */
}

.nav-container {
    display: flex;
    justify-content: center; /* Align links horizontally */
    gap: 15px; /* Reduce space between links */
}

.nav-link {
    color: var(--button-hover-color); /* Warm Yellow */
    text-decoration: none;
    font-size: 14px; /* Slightly smaller font size */
    font-weight: bold;
    padding: 5px 10px; /* Reduce padding for smaller buttons */
    border: 1px solid var(--button-hover-color); /* Thinner border */
    border-radius: 5px;
    background-color: transparent; /* Transparent background */
    transition: background-color 0.3s ease, color 0.3s ease;
}

.nav-link:hover {
    background-color: var(--button-hover-color); /* Warm Yellow background */
    color: var(--background-color); /* Navy Blue text */
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Section Visibility */
.section {
    display: none; /* Hide all sections by default */
}

.section:target {
    display: block; /* Show the targeted section when navigated to */
}

#info {
    display: block; /* Ensure the info section is visible by default */
}

body:has(:target) #info:not(:target) {
    display: none; /* Hide the info section only when it is not the target */
}

/* Navbar Active State */
.nav-link.active {
    background-color: var(--button-hover-color); /* Yellow background */
    color: var(--background-color); /* Navy Blue text */
}

/* Media Query for Small Screens */
@media (max-width: 600px) {
    .nav-container {
        gap: 10px; /* Reduce space between links on small screens */
    }

    .nav-link {
        font-size: 14px; /* Slightly smaller font size */
        padding: 8px 10px; /* Reduce padding for smaller buttons */
    }
}

/* General Section Spacing */
.date-container,
.content-section,
.address-container,
.contact-container,
.footer {
    margin: 2px 0;
    padding: 0px;
}

/* Reserve Space for Images */
img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* Footer Styles */
.footer {
    background-color: var(--background-color); /* Navy Blue */
    color: var(--text-color); /* White text */
    text-align: center;
    
    position: fixed; /* Fix the footer to the bottom of the screen */
    bottom: -2px;
    width: 100%; /* Full width */
    z-index: 1000; /* Ensure it stays above other content */
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.2); /* Subtle shadow for visibility */
}

.footer .social-media p {
    margin: 5px 0; /* Reduce margin for the "Follow Us" text */
}

.footer .social-media a img {
    width: 25px; /* Reduce the size of the Instagram icon */
    height: 25px;
}

/* Header Section */
.header-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0px 0; /* Adjust padding for spacing */
    margin-bottom: 0; /* Remove extra margin */
}

.header-section img {
    display: block;
    margin: 0 auto; /* Ensure the image is centered */
}

/* Content Section */
.content-section {
    margin-top: 0; /* Remove extra margin */
    padding: 0px 0; /* Add consistent padding */
}

.social-media {
    align-items: center;
    text-align: center; /* Centers the content horizontally */
}

.social-media a img {
    display: inline-block; /* Ensures the image behaves like inline content */
    margin: 0 auto; /* Centers the image within its container */
}