/* General Body Styling */
body {
    margin: 0;
    padding: 0;
    padding-top: 38px; /* Adjust based on the navbar height */
    font-family: 'Arial', sans-serif;
    background-image: url('../images/background.webp'); /* Path to your .webp file */
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed; /* Prevent the image from resizing with the container */
}

header {
    text-align: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.7); /* Semi-transparent black */
    border-radius: 10px;
    margin: 20px auto; /* Add some spacing */
    max-width: 800px; /* Optional: Limit width for aesthetics */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); /* Add shadow for depth */
}

header h1 {
    font-family: 'Jersey 10', sans-serif; /* Bold sports-style font */
    font-size: 2.5rem;
    color: #ffcc00; /* Gold color for title */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8); /* Add contrast with shadow */
    margin: 0;
}

header p {
    font-family: 'Arial', sans-serif; /* Simple complementary font */
    font-size: 1.2rem;
    color: #ffffff; /* White for readability */
    margin-top: 10px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6); /* Slight shadow for clarity */
}

/* Banner Styling */
.banner {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
        url('../images/background.webp') no-repeat center center;
    background-size: cover;
    text-align: center;
    padding: 50px 20px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.banner h1 {
    font-family: 'Jersey 10', sans-serif;
    font-size: 3rem;
    margin: 0;
}

.banner p {
    font-family: 'Arial', sans-serif;
    font-size: 1.2rem;
    margin-top: 10px;
}

/* History Container */
#history-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    margin: 20px auto;
    padding: 20px;
    max-width: 1200px;
}

/* Year Section Styling */
.year-section {
    background-color: rgba(255, 255, 255, 0.8); /* Semi-transparent white */
    border-radius: 10px;
    padding: 20px;
    width: 100%;
    max-width: 800px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.year-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.super-bowl-name {
    font-size: 18px;
    color: #555;
    margin-bottom: 20px;
    text-align: center; /* Ensure it's centered */
}

/* Trophy Showcase Layout */
.trophy-showcase {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 20px;
}

/* Trophy Container */
.trophy-container {
    position: relative;
    width: 200px;
    text-align: center;
}

.trophy-container img {
    width: 100%;
    height: auto;
}

.trophy-container .name {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 18px;
    font-weight: bold;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
}

/* Footer Styling */
footer {
    background-color: rgba(0, 0, 0, 0.8);
    text-align: center;
    padding: 10px 0;
    font-size: 0.9rem;
}

footer a {
    color: #ffcc00;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    color: white;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    z-index: 1000;
    margin-bottom: 0; /* Remove default margin */
}

/* Menu Container */
.menu-container {
    display: flex;
    align-items: center;
}

/* Menu Label */
.menu-label {
    font-family: Arial, sans-serif;
    font-size: 1rem;
    color: white; /* Match the menu icon's color */
    margin-left: 10px; /* Add space between the menu icon and label */
    display: none; /* Hide by default */
}

/* Hamburger Menu Icon */
.menu-icon {
    display: none; /* Hidden on larger screens */
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001; /* Ensure it appears above other elements */
}

/* Hamburger Bars */
.menu-icon .bar {
    width: 25px;
    height: 3px;
    background-color: white;
}

/* Navigation Links */
.nav-links {
    list-style-type: none;
    display: flex; /* Default for larger screens */
    gap: 20px;
    margin: 0;
    transition: transform 0.3s ease-in-out;
}

/* Hover Effects for Links */
.nav-links li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
}

.nav-links li a:hover {
    text-decoration: underline;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .menu-icon {
        display: flex; /* Show the hamburger menu */
    }

    .menu-label {
        display: inline-block; /* Show the label next to the menu icon */
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 30px; /* Position below the navbar */
        left: 20%; /* Center horizontally */
        transform: translateX(-50%); /* Align center */
        flex-direction: column;
        gap: 15px; /* Add space between links */
        background-color: rgba(0, 0, 0, 0.9); /* Background color for visibility */
        padding: 20px;
        border-radius: 8px;
        z-index: 1000;
    }

    .nav-links.show {
        display: flex; /* Show when toggled */
    }
}

/* Footer Styling */
footer {
    text-align: center;
    background-color: #ff4500;
    color: white;
    padding: 10px 0;
    position: relative;
    bottom: 0;
    width: 100%;
}