/* ===========================================
   FOOTER.CSS - Dark Compact Footer
   =========================================== */

#main-footer {
    background: #000;
    padding: 2rem 5% 1rem;
    border-top: 1px solid #111;
    font-family: 'Rajdhani', sans-serif;
    position: relative;
    z-index: 20;
    /* Ensure it sits above other sections including starfield */
    width: 100%;
    margin-bottom: 0;
}

/* Prevent page overflow below footer */
html,
body {
    overflow-x: hidden;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

/* --- Branding Column --- */
.branding-col {
    flex: 1 1 300px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.brand-info h3 {
    color: var(--neon-green);
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    margin-bottom: 0.2rem;
}

.footer-tagline {
    color: #fff;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.footer-desc {
    color: #aaa;
    font-size: 0.9rem;
    line-height: 1.4;
    max-width: 350px;
}

/* Map - Dark Mode Trick */
.footer-map {
    margin-top: 1rem;
    width: 100%;
    max-width: 350px;
    height: 150px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #333;
}

.footer-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    /* Invert colors then rotate hue to keep it somewhat normal but dark */
    filter: invert(90%) hue-rotate(180deg) contrast(90%);
}

/* --- Links Column --- */
.links-col {
    flex: 1 1 200px;
    display: flex;
    gap: 3rem;
    justify-content: center;
}

.link-group h4 {
    color: #fff;
    font-family: 'Cinzel', serif;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--neon-green);
    display: inline-block;
    padding-bottom: 5px;
}

.link-group ul {
    list-style: none;
    padding: 0;
}

.link-group ul li {
    margin-bottom: 0.5rem;
}

.link-group ul li a {
    color: #aaa;
    text-decoration: none;
    font-size: 0.95rem;
    transition: 0.3s;
}

.link-group ul li a:hover {
    color: var(--neon-green);
    padding-left: 5px;
}

/* --- Contact Column --- */
.contact-col {
    flex: 1 1 250px;
    display: flex;
    flex-direction: column;
}

.contact-col h4 {
    color: #fff;
    font-family: 'Cinzel', serif;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--neon-green);
    display: inline-block;
}

.address-box {
    margin-bottom: 1rem;
}

.address-box p {
    color: #aaa;
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
    line-height: 1.3;
}

.contact-methods p a {
    color: var(--neon-green);
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.contact-methods p a:hover {
    color: #fff;
    text-shadow: 0 0 5px var(--neon-green);
}

.footer-socials {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icon {
    color: #fff;
    width: 35px;
    height: 35px;
    border: 1px solid #333;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    transition: 0.3s;
    background: #050505;
}

.social-icon:hover {
    background: var(--neon-green);
    color: #000;
    border-color: var(--neon-green);
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.4);
    transform: translateY(-3px);
}

/* --- Bottom --- */
.footer-bottom {
    border-top: 1px solid #111;
    padding-top: 1rem;
    padding-bottom: 1rem;
    text-align: center;
    color: #444;
    font-size: 0.8rem;
    margin-top: 1rem;
    margin-bottom: 0;
}

/* Club Contact Sections - Wrapper for layout */
.contact-col .club-contacts-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 2.5rem;
    justify-content: flex-start;
}

/* All club sections have the same styling */
.club-contact-section {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    border-left: 2px solid #333;
    padding-left: 10px;
}

.club-name {
    color: var(--neon-green);
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    font-weight: bold;
    letter-spacing: 1px;
}

.footer-socials {
    margin-top: 0.5rem;
    gap: 0.8rem;
}

.social-icon {
    width: 30px;
    height: 30px;
}

/* Responsive */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        gap: 2.5rem;
    }

    .branding-col,
    .footer-map {
        max-width: 100%;
        text-align: center;
    }

    .footer-map {
        margin: 1rem auto 0;
    }

    .links-col {
        justify-content: flex-start;
        gap: 3rem;
    }
}