:root {
    --primary: #DB0007;
    --secondary: #063672;
    --gold: #9C824A;
    --dark: #111111;
    --light: #F8F9FA;
    --white: #FFFFFF;
}

* { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
    font-family: system-ui, -apple-system, sans-serif; 
}

body { 
    background-color: var(--light); 
    color: var(--dark); 
    line-height: 1.6; 
}

/* Header & Navigation */
header {
    background-color: var(--dark);
    border-bottom: 4px solid var(--primary);
    padding: 0.75rem 2rem;
    position: sticky; 
    top: 0; 
    z-index: 100;
}

.nav-container {
    max-width: 1100px; 
    margin: 0 auto;
    display: flex; 
    justify-content: space-between; 
    align-items: center;
}

.logo-wrapper { 
    display: flex; 
    align-items: center; 
    gap: 0.85rem; 
    text-decoration: none; 
}

.logo-img { 
    width: 60px; 
    height: 60px; 
    border-radius: 50%; 
    object-fit: cover; 
}

.logo-text { 
    color: var(--white); 
    font-size: 1.5rem; 
    font-weight: 800; 
    text-transform: uppercase; 
}

.logo-text span { 
    color: var(--primary); 
}

.nav-links a { 
    color: var(--white); 
    text-decoration: none; 
    margin-left: 1.5rem; 
    font-weight: 600; 
}

.nav-links a:hover { 
    color: var(--gold); 
}

/* Hero Section - Extended Height & Seamless Flow */
.hero {
    position: relative; 
    min-height: 80vh;
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    align-items: center;
    background: linear-gradient(rgba(17, 17, 17, 0.45), rgba(219, 0, 7, 0.35)), 
                url('otherimages/huddle-bg.jpg') center/cover no-repeat;
    color: var(--white); 
    text-align: center; 
    padding: 8rem 1.5rem 6rem 1.5rem;
}

.hero h1 { 
    font-size: 3.5rem; 
    font-weight: 900; 
    margin-bottom: 1rem; 
    text-shadow: 0 3px 8px rgba(0,0,0,0.8); 
}

.hero p { 
    font-size: 1.35rem; 
    max-width: 700px; 
    font-weight: 600; 
    text-shadow: 0 2px 6px rgba(0,0,0,0.8); 
}

/* Buttons */
.btn {
    display: inline-block; 
    background-color: var(--primary); 
    color: var(--white);
    padding: 0.9rem 2rem; 
    border-radius: 6px; 
    text-decoration: none; 
    font-weight: 700;
    transition: transform 0.2s, background-color 0.2s;
}

.btn:hover { 
    background-color: #b30005; 
    transform: translateY(-2px); 
}

.btn-fb { 
    background-color: #1877F2; 
    margin-top: 1rem; 
}

.btn-fb:hover { 
    background-color: #0d65d9; 
}

.btn-back { 
    display: inline-block; 
    background-color: var(--secondary); 
    color: var(--white); 
    padding: 0.6rem 1.2rem; 
    border-radius: 6px; 
    text-decoration: none; 
    font-weight: 700; 
    margin-bottom: 2rem; 
}

.btn-back:hover { 
    background-color: #04244d; 
    transform: translateY(-2px); 
}

/* Containers & Section Titles */
.container { 
    max-width: 1100px; 
    margin: 0 auto; 
    padding: 2rem 1.5rem 4rem 1.5rem; 
}

.section-title { 
    text-align: center; 
    font-size: 2rem; 
    margin-bottom: 2.5rem; 
    text-transform: uppercase; 
    color: var(--dark);
}

.section-title::after { 
    content: ''; 
    display: block; 
    width: 50px; 
    height: 4px; 
    background-color: var(--primary); 
    margin: 0.5rem auto 0; 
}

/* Matchday HQ Location Card */
.location-card {
    background: var(--white); 
    border-radius: 8px; 
    border-top: 5px solid var(--primary);
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 2rem; 
    padding: 2.5rem; 
    margin-bottom: 4rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    align-items: center;
}

.location-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Map Container */
.map-placeholder {
    width: 100%;
    height: 100%;
    min-height: 300px;
    background-color: transparent;
    border: none;
    padding: 0;
    margin: 0;
    overflow: hidden;
    border-radius: 8px;
}

.map-placeholder iframe { 
    width: 100%; 
    height: 100%; 
    min-height: 300px; 
    border: 0; 
    border-radius: 8px; 
}

/* Photos Section - Clean & Borderless */
#photos {
    background-color: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin-bottom: 4rem;
}

.photo-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 1.5rem; 
    background-color: transparent;
    padding: 0;
}

.grid-item { 
    background-color: #e5e7eb; 
    border-radius: 8px; 
    overflow: hidden; 
    aspect-ratio: 4/3; 
    cursor: pointer; 
}

.grid-item img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    transition: transform 0.3s ease; 
}

.grid-item:hover img { 
    transform: scale(1.05); 
}

/* Social Section */
.social-section { 
    text-align: center; 
    background: var(--white); 
    padding: 3rem 2rem; 
    border-radius: 8px; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.05); 
}

.social-icons {
    display: flex; 
    justify-content: center;
    align-items: center; 
    gap: 1.5rem; 
    margin-top: 1.5rem;
}

.social-icon {
    display: inline-flex; 
    align-items: center; 
    justify-content: center;
    width: 60px; 
    height: 60px; 
    border-radius: 50%;
    background-color: var(--secondary); 
    color: var(--white);
    text-decoration: none; 
    font-size: 1.8rem;
    transition: transform 0.2s, background-color 0.2s;
}

.social-icon:hover { 
    background-color: var(--primary); 
    transform: scale(1.1);
}

/* Modal */
.modal { 
    display: none; 
    position: fixed; 
    z-index: 1000; 
    padding-top: 50px; 
    left: 0; 
    top: 0; 
    width: 100%; 
    height: 100%; 
    background-color: rgba(0,0,0,0.9); 
}

.modal-content { 
    margin: auto; 
    display: block; 
    max-width: 90%; 
    max-height: 80vh; 
    border-radius: 6px; 
}

.close-modal { 
    position: absolute; 
    top: 20px; 
    right: 35px; 
    color: #fff; 
    font-size: 40px; 
    font-weight: bold; 
    cursor: pointer; 
}

/* Footer */
footer { 
    background-color: var(--dark); 
    color: var(--white); 
    text-align: center; 
    padding: 2.5rem 1.5rem; 
    border-top: 1px solid #222; 
}

footer a { 
    color: var(--gold); 
    text-decoration: none; 
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .location-card { 
        grid-template-columns: 1fr; 
    }
    .hero h1 { 
        font-size: 2.2rem; 
    }
    .nav-container { 
        flex-direction: column; 
        gap: 1rem; 
    }
}
