/* General Styles */
body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', sans-serif;
    scroll-behavior: smooth;
    background-color: #000;
}

/* Navbar */
.navbar_custom {
    position: sticky;
    backdrop-filter: blur(20px);
    z-index: 1000;
}

.nav-container {
    position: absolute;
    display: flex;
    justify-content: space-between;
    align-items: center;
    top: 0;
    left: 0;
    right: 0;
    padding: 2.5rem;
    bottom: 0;

    transform: translate(25%, 0%);
    background: rgba(255, 255, 255, 0.1);
    max-width: 60%;
    border-radius: 4rem;
    margin-top: 1rem;
} */


.logo {
    font-weight: bold;
    color: white;
}

/* .nav-links {
    list-style: none;
    display: flex;
    gap: 3rem;
    font-size: 1.25rem;
}

.nav-links li a {
    color: white;
    text-decoration: none;
}

.nav-links li a.active {
    color: gold;
    position: relative;
    ::after {
        content: '.';
        font-size: 3.5rem;
        position: absolute;
        top: -20px;
        left: 0;
        right: 0;
        transform: translate(35%, -50%);
        display: block;
        height: 0px;
        background-color: gold;
    }
} */

/* Hero Section */
.hero {
    background-color: rgba(255, 255, 255, 0.1);
    /* position: relative; */
    /* height: 100vh; */
    overflow: hidden;
    /* display: grid; */
    align-items: end;
    /* grid-template-columns: repeat(12, minmax(0, 6fr)); */
}

.hero-video {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    mix-blend-mode: soft-light;
}

.hero-text {
    color: white;
    /* text-align: center;
    align-items: center; */
    z-index: 1;
    /* display: grid;
    grid-column-start: 2;
    grid-column-end: 8; */
}

.hero-text {
    text-align: left;
    h1 {
        font-size: 3.5rem;
        margin: 0;
    }

    p {
        font-size: 1.5rem;
        margin-bottom: 5rem;
}
}

.hero-buttons {
    gap:1rem;
    display: flex;
    flex-direction: row;
    justify-content: start;
   
}


 .btn {
     padding: 0.75rem 1.75rem;
     border-radius: 2.5rem;
     font-size: 1.5rem;
     font-weight: 400;
 }

.btn-outline {
    border: 2px solid white;
    background: transparent;
    color: white;
}
.grid{
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 6fr));
    margin-bottom: 2rem;
}

.btn-filled {
    background-color: #fcd34d;
    color: black;
    text-decoration: none;
    border: none;
}

/* Events */
.events-section {
    display: grid;
    padding: 80px 50px;
    justify-content: space-between;
    align-items: center;
    background: #D2DCC9;
    
}
.events-text{
    display: grid;
    grid-column-start: 1;
    grid-column-end:4 ;
    h2{
        font-size: 3rem;
        margin: 0;
    }

}
.event-image-container {
    position: relative;
    grid-column-start: 5;
    grid-column-end:12 ;
}

.event-image {
    width: 600px;
    border-radius: 12px;
}

.event-hover-info {
    position: absolute;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 10px;
    display: none;
}

.event-image-container:hover .event-hover-info {
    display: block;
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: white;
    padding: 30px;
    border-radius: 10px;
    width: 95%;
    max-width: 500px;
    position: relative;
    max-height: 95vh;
    overflow-y: auto;
}

.modal-content h2 {
    margin-top: 0;
}

.modal-content .close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 20px;
    cursor: pointer;
}

/* Responsive modal styles */
@media (max-width: 768px) {
    .modal-content {
        width: 98%;
        padding: 20px;
        margin: 1% auto;
        max-height: 98vh;
    }
}

@media (max-width: 576px) {
    .modal-content {
        width: 100%;
        padding: 15px;
        margin: 0;
        border-radius: 0;
        max-height: 100vh;
    }
}

/* Form */
.modal-content input,
.modal-content textarea {
    width: 100%;
    padding: 12px;
    margin-top: 10px;
    border-radius: 8px;
    border: 1px solid #ccc;
}

.radio-group label {
    display: inline-block;
    margin-right: 10px;
}


.join-banner {
    position: relative;
    width: 100%;
    min-height: 200px;
    overflow: hidden;
    text-align: center;
    border-radius: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.join-banner img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    display: block;
    filter: brightness(70%);
    border-radius: 1.5rem;
    position: absolute;
    /* Stretch image to all edges so it always covers container height, including padding */
    inset: 0;
}

.join-banner-text {
    position: relative;
    z-index: 2;
    color: white;
    padding: 2rem 1rem;
    width: 90%;
    max-width: 600px;
}

.join-banner-text h1 {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 8px;
    line-height: 1.2;
}

.join-banner-text p {
    font-size: 16px;
    margin-bottom: 16px;
    line-height: 1.4;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .join-banner {
        min-height: 220px;
        margin: 0 0.5rem;
    }
    
    .join-banner-text {
        width: 95%;
        padding: 1.5rem 0.5rem;
    }
    
    .join-banner-text h1 {
        font-size: 28px;
        margin-bottom: 6px;
    }
    
    .join-banner-text p {
        font-size: 14px;
        margin-bottom: 12px;
    }
    
    .join-banner-text .btn {
        padding: 8px 16px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .join-banner {
        min-height: 200px;
    }
    
    .join-banner-text {
        padding: 1rem 0.5rem;
    }
    
    .join-banner-text h1 {
        font-size: 24px;
        margin-bottom: 4px;
    }
    
    .join-banner-text p {
        font-size: 13px;
        margin-bottom: 10px;
    }
    
    .join-banner-text .btn {
        padding: 6px 12px;
        font-size: 12px;
    }
}

.join-btn {
    background-color: #fcd34d;
    color: #000;
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s ease;
}

.join-btn:hover {
    background-color: #eab308;
}

.contact-section {
    background-color: #f9f6ef;
    padding: 40px 0;
    font-family: 'Segoe UI', sans-serif;
}

.contact-container {
    display: flex;
    max-width: 1200px;
    margin: auto;
    justify-content: space-between;
    gap: 2rem;
    padding: 20px;
}

.contact-form {
    flex: 1;
    border-radius: 10px;
    padding: 30px;
    color: white;
}

.contact-form label {
    display: block;
    margin-top: 15px;
    margin-bottom: 5px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 6px;
    margin-bottom: 10px;
}

.contact-form textarea {
    height: 120px;
}

.send-btn {
    background-color: #f9c623;
    color: black;
    padding: 10px 30px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    margin-top: 15px;
}

.contact-info {
    flex: 1;
    padding: 30px;
}

.contact-info h2 {
    font-size: 32px;
    color: #1e2c28;
}

.contact-info p {
    margin: 10px 0 20px;
    color: #444;
    font-size: 15px;
}

.contact-info ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
    color: #444;
}

.contact-info li {
    margin-bottom: 10px;
}

.social-icons i {
    font-size: 22px;
    margin-right: 15px;
    color: #1e2c28;
}


/* ============================
   Custom 3-then-2 grid for events
   ============================ */
#additional-events-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 per row */
  gap: 1.5rem;
  justify-content: center;
}

#additional-events-container > div:nth-child(n+4) {
  grid-column: span 1;
}

/* Responsive behavior */
@media (max-width: 992px) {
  #additional-events-container {
    grid-template-columns: repeat(2, 1fr); /* 2 per row on tablets */
  }
}

@media (max-width: 576px) {
  #additional-events-container {
    grid-template-columns: 1fr; /* 1 per row on phones */
  }
}
