/* Override base layout for the homepage hero section */
.site-content {
    padding-top: 0 !important;
    margin-bottom: 0 !important;
}

main {
    margin-top: 0 !important;
}

/* Header Section */
.main-header {
    height: 85vh;
    flex: 0 0 auto;
    position: relative;
    background-image: url("/static/main/img/navbar_background.JPG");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
}

#navbar {
    background: transparent;
    transition: background-color 0.3s ease;
}

#navbar.scrolled {
    background-color: #000000;
}

.main-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.main-header h1,
.main-header h2 {
    position: relative;
    z-index: 2;
    margin: 0;
}

/* Content Sections */
.content-container {
    padding-top: 2rem;
}

.club-section,
.naui-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    border-bottom: 1px solid #e0e0e0;
}

.club-section:last-child,
.naui-section:last-child {
    border-bottom: none;
}

.club-logo,
.naui-logo {
    flex: 0 0 150px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.club-logo img,
.naui-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.naui-logo img {
    background-color: #333333;
    padding: 3px;
}

.club-info,
.naui-info {
    flex: 1;
    padding-left: 1.5rem;
}

.club-info h3,
.naui-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333333;
}

.club-info p,
.naui-info p {
    font-size: 1rem;
    line-height: 1.8;
    color: #555555;
}

@media (max-width: 768px) {
    .main-header {
        height: 55vh;
    }

    .club-section,
    .naui-section {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem 0;
    }

    .club-logo,
    .naui-logo {
        width: 40%;
        margin-bottom: 1rem;
    }

    .club-info,
    .naui-info {
        padding-left: 0;
    }

    .club-info h3,
    .naui-info h3 {
        font-size: 1.3rem;
    }

    .club-info p,
    .naui-info p {
        font-size: 0.95rem;
    }
}

/* Ensure uniform spacing between sections */
.club-section,
.naui-section {
    margin-bottom: 2rem;
}
