/* General Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #000;
    color: #fff;
}

a {
    color: inherit;
    text-decoration: none;
}

/* Navigation Bar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #000000;
    padding: 0.10em 0em;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: background-color 0.3s;
}

.navbar .logo img {
    max-height: 50px;
}
.navbar .nav-links {
    display: flex;
    gap: 1.5em;
    align-items: center;
    margin-left: auto; /* Moves the links towards the right */
}
.navbar .nav-links li {
    list-style: none;
}

.navbar .nav-links a {
    color: #00bfff;
    font-size: 1em;
    font-weight: bold;
    transition: color 0.3s, text-shadow 0.3s;
}

.navbar .nav-links a:hover {
    color: #0073e6;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

.navbar .menu-toggle {
    display: none;
    cursor: pointer;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 60px;
    right: 0;
    background-color: #111;
    width: 100%;
    padding: 1em;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu a {
    display: block;
    color: #00bfff;
    text-decoration: none;
    padding: 1em;
    font-size: 1.2em;
    text-align: center;
}

.mobile-menu a:hover {
    background-color: #0073e6;
    color: #fff;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.5)), url('images/hero.jpg') no-repeat center center/cover;
    color: #fff;
    padding: 100px 2em;
    text-align: center;
}

.hero-content h1 {
    font-size: 3em;
    margin: 0;
    line-height: 1.2;
}

.hero-content .highlight {
    color: #00bfff;
}

.hero-content .tagline {
    font-size: 1.5em;
    margin: 0.5em 0 1em;
}

.cta-button {
    background-color: #00bfff;
    color: #fff;
    padding: 0.75em 1.5em;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    font-size: 1em;
    display: flex;
    align-items: center;
    justify-content: center; /* Center the text and icon horizontally */
    margin: 0 auto; /* Center the button horizontally */
    text-align: center;
}

.cta-button i {
    margin-right: 8px;
}

.cta-button:hover {
    background-color: #0073e6;
    transform: scale(1.05);
}

/* Clubs Section */
.clubs-section {
    padding: 4em 2em;
    text-align: center;
}

.clubs-section h2 {
    font-size: 2.5em;
    margin-bottom: 1em;
    color: #00bfff;
}

.club-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5em;
    justify-content: center;
}

.club-card {
    background-color: #1e1e1e;
    border-radius: 10px;
    width: 300px;
    padding: 1.5em;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.7);
    transform: translateY(-50px);
    opacity: 0;
    animation: fadeInUp 0.6s forwards;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.club-card:hover {
    transform: translateY(0);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.9);
}

.club-card:nth-child(1) { animation-delay: 0.1s; }
.club-card:nth-child(2) { animation-delay: 0.3s; }
.club-card:nth-child(3) { animation-delay: 0.5s; }
.club-card:nth-child(4) { animation-delay: 0.7s; }
.club-card:nth-child(5) { animation-delay: 0.9s; }
.club-card:nth-child(6) { animation-delay: 1.1s; }

.card-content img {
    width: 120px;
    height: auto;
    margin-bottom: 1em;
    border-radius: 50%;
    border: 2px solid #00bfff;
    padding: 5px;
}

.card-content h3 {
    font-size: 1.6em;
    margin: 0.5em 0;
}

.card-content p {
    font-size: 1.2em;
    margin-bottom: 1em;
}

.view-events-button {
    background-color: #00bfff;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center; /* Center the text and icon horizontally */
    margin: 0 auto; /* Center the button horizontally */
    text-align: center;
    font-size: 16px;
}

.view-events-button i {
    margin-right: 8px;
}

.view-events-button:hover {
    background-color: #0073e6;
    transform: scale(1.05);
}

/* Events Section */
.events-section {
    padding: 4em 2em;
    text-align: center;
}

.events-section h2 {
    font-size: 2.5em;
    margin-bottom: 1em;
    color: #00bfff;
}

.events-list {
    display: flex;
    flex-direction: column;
    gap: 1.5em;
    align-items: center;
}

.event-item {
    background-color: #1e1e1e;
    border-radius: 10px;
    padding: 1.5em;
    width: 90%;
    max-width: 600px;
    text-align: center;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.7);
    transform: translateY(-50px);
    opacity: 0;
    animation: fadeInUp 0.6s forwards;
}

.event-item:nth-child(1) { animation-delay: 0.1s; }
.event-item:nth-child(2) { animation-delay: 0.3s; }
.event-item:nth-child(3) { animation-delay: 0.5s; }

.event-item h3 {
    font-size: 1.8em;
    margin-bottom: 0.5em;
}

.event-item p {
    font-size: 1.2em;
    margin-bottom: 1em;
}

.join-now-button {
    background-color: #00bfff;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center; /* Center the text and icon horizontally */
    margin: 0 auto; /* Center the button horizontally */
    text-align: center;
    font-size: 16px;
}

.join-now-button i {
    margin-right: 8px;
}

.join-now-button:hover {
    background-color: #0073e6;
    transform: scale(1.05);
}

/* Animations */
@keyframes fadeInUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar .nav-links {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .mobile-menu {
        display: block;
    }

    .mobile-menu a {
        display: block;
        padding: 1em;
        font-size: 1.2em;
        text-align: center;
        color: #00bfff;
    }

    .mobile-menu a:hover {
        background-color: #0073e6;
        color: #fff;
    }

    .club-cards, .events-list {
        flex-direction: column;
    }
}


/* Responsive Design for Hero Section */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2em;
    }

    .hero-content .tagline {
        font-size: 1em;
        margin: 0.5em 0;
    }

    .cta-button {
        font-size: 1em;
        padding: 0.5em 1em;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.5em;
    }

    .hero-content .tagline {
        font-size: 0.9em;
        margin: 0.5em 0;
    }

    .cta-button {
        font-size: 0.9em;
        padding: 0.5em;
    }
}

/* Responsive Design for Clubs Section */
@media (max-width: 768px) {
    .club-card {
        width: calc(50% - 1em); /* 2 cards per row */
    }

    .clubs-section h2 {
        font-size: 2em; /* Adjust header size */
    }

    .card-content h3 {
        font-size: 1.5em; /* Adjust card title size */
    }

    .card-content p {
        font-size: 1em; /* Adjust card description size */
    }

    .view-events-button {
        font-size: 0.9em; /* Adjust button font size */
    }
}

@media (max-width: 480px) {
    .club-card {
        width: calc(100% - 1em); /* 1 card per row */
    }

    .clubs-section h2 {
        font-size: 1.5em; /* Adjust header size */
    }

    .card-content h3 {
        font-size: 1.2em; /* Adjust card title size */
    }

    .card-content p {
        font-size: 0.9em; /* Adjust card description size */
    }

    .view-events-button {
        font-size: 0.8em; /* Adjust button font size */
    }
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #00bfff;
    color: #fff;
    text-decoration: none; /* Remove underline from anchor */
    border: none;
    padding: 0.75em 1.5em;
    font-size: 1.1em;
    border-radius: 5px;
    transition: background-color 0.3s, transform 0.3s;
}

.cta-button i {
    margin-right: 0.5em;
}

.cta-button:hover {
    background-color: #0073e6;
    transform: scale(1.05);
}
