/* Join Page Styles */

/* Main container */
.join-main {
    min-height: calc(100vh - 11rem);
    display: flex;
    align-items: center;
    justify-content: center;
}

.join-container {
    color: white;
    text-align: center;
    max-width: var(--maxwidth);
}

/* Application section */

.join-title {

        font-family: Playfair Display,serif;
        margin-bottom: 24px;
        font-size: 56px;
        font-weight: 500;
        line-height: 1.2;
        text-transform: uppercase;
        text-align: left;

}

.join-description {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.6rem;
    line-height: 1.6;
    text-align: left;
}

/* Apply button */
.join-apply-button {
    display: inline-block;
    background-color: var(--primary);
    color: black;
    padding: 1.5rem 3rem;
    text-decoration: none;
    /* border-radius: 0.5rem; */
    font-size: 1.6rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin-top: 10rem;
}

.join-apply-button span {
    position: relative;
    z-index: 2;
}

.join-apply-button .hover-effect {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: var(--primary);;
    /* transition: left 0.3s ease; */
    z-index: 1;
}

/* Button hover effects */
/* .join-content a:hover .hover-effect {
    left: 0 !important;
} */

/* .join-content a:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255,255,255,0.3);
} */

/* Instructions */
.join-instructions {
    margin-top: 2rem;
    color: #ccc;
    font-size: 1.6rem;
    text-align: left;
}

.join-instructions p {
    margin-bottom: 0.5rem;
}

/* Gallery section */
.join-gallery {
    margin-top: 4rem;
}

.join-gallery-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    justify-content: center;
    align-items: start;
}

.join-gallery-item {
    display: flex;
    align-items: flex-start;
    max-height: 440px;
}

.join-gallery-image {
    width: 100%;
    height: auto;
    max-height: 440px;
    object-fit: cover;
    object-position: top;
    /* border-radius: 0.5rem; */
} 

.application-section{
    /* padding-top:67px; */
}

.join-application {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .join-application {
        display: grid;
        grid-template-columns: 1fr;
    }
    .join-apply-button {
        margin-top: 0;
    }
    /* .join-gallery-row {
        grid-template-columns: repeat(2, 1fr);

    } */
}