/* Join Us Page Styles */

/* Hero Section */
.join-hero {
    background-image: url('../images/header-background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 120px 0 80px;
    text-align: center;
    color: var(--text-dark);
    position: relative;
}

.join-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background-color: rgba(255, 255, 255, 0.85); */
    z-index: 1;
}

.join-hero .section-container {
    position: relative;
    z-index: 2;
}

.join-hero h1 {
    font-size: 3.5rem;
    margin-bottom: var(--spacing-sm);
    font-weight: 300;
    letter-spacing: 0.02em;
}

.section-separator {
    width: 40px;
    height: 1px;
    background-color: var(--text-dark);
    margin: var(--spacing-sm) auto;
    opacity: 0;
}

.join-hero .subtitle {
    font-size: 1.1rem;
    font-weight: 300;
    letter-spacing: 0.02em;
    margin-top: var(--spacing-md);
}

/* Join Options Section */
.join-options {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 60px var(--spacing-xl);
}

/* Tabs */
.options-tabs {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 60px;
}

.tab-button {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--text-dark);
    padding: var(--spacing-sm) 0;
    cursor: pointer;
    position: relative;
    font-weight: 300;
    letter-spacing: 0.02em;
}

.tab-button::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--text-dark);
    transition: width 0.3s ease;
}

.tab-button.active {
    font-weight: 400;
}

.tab-button.active::after {
    width: 100%;
}

/* Tab Content */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Featured Image */
.featured-image {
    width: 100%;
    margin-bottom: 60px;
}

.featured-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* Content Section */
.content-section {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: left;
}

.content-section h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    font-weight: 300;
    letter-spacing: 0.02em;
    line-height: 1.3;
}

.content-section p {
    margin-bottom: 30px;
    line-height: 1.6;
    font-weight: 300;
}

.benefits, .requirements, .who-can-join {
    margin-bottom: 40px;
}

.benefits h3, .requirements h3, .who-can-join h3 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-weight: 400;
    letter-spacing: 0.02em;
    text-align: center;
}

.benefits ul, .requirements ul, .who-can-join ul {
    list-style-type: none;
    padding-left: 24px;
}

.benefits li, .requirements li, .who-can-join li {
    margin-bottom: 12px;
    position: relative;
    font-weight: 300;
    line-height: 1.5;
}

.benefits li::before, .requirements li::before, .who-can-join li::before {
    content: '•';
    position: absolute;
    left: -24px;
    color: var(--text-dark);
}

/* Form Section */
.form-section {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px;
    background-color: var(--white);
    border: 1px solid #E0E0E0;
}

.membership-form,
.volunteer-form {
    width: 100%;
}

.form-group {
    margin-bottom: 24px;
}

.name-group,
.school-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="date"],
textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #E0E0E0;
    background-color: var(--white);
    font-size: 1rem;
    font-weight: 300;
    transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="date"]:focus,
textarea:focus {
    outline: none;
    border-color: var(--text-dark);
}

input[type="date"] {
    color: #666;
}

textarea {
    height: 120px;
    resize: none;
}

.gender-options {
    display: flex;
    gap: 30px;
    margin-top: 8px;
}

.gender-options label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: 300;
}

.gender-options input[type="radio"] {
    margin: 0;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.form-submit {
    margin-top: 30px;
}

.submit-button {
    width: 100%;
    background-color: var(--text-dark);
    color: var(--white);
    border: none;
    padding: 14px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-weight: 300;
    letter-spacing: 0.02em;
}

.submit-button:hover {
    background-color: #333;
}

/* Responsive Design */
@media screen and (max-width: 1200px) {
    .join-options {
        padding: 40px var(--spacing-lg);
        max-width: 100%;
    }
}

@media screen and (max-width: 992px) {
    .featured-image img {
        height: 300px;
    }

    .content-section {
        max-width: 100%;
        padding: 0 var(--spacing-md);
    }
}

@media screen and (max-width: 768px) {
    .join-hero h1 {
        font-size: 2.5rem;
    }

    .content-section h2 {
        font-size: 1.8rem;
    }

    .join-options {
        padding: 40px 12px;
        width: 100%;
    }

    .content-section {
        padding: 0 12px;
        width: 100%;
    }

    .form-section {
        padding: 30px 12px;
        margin: 0;
        border-left: none;
        border-right: none;
        max-width: 100%;
    }
}

@media screen and (max-width: 480px) {
    .name-group,
    .school-group {
        grid-template-columns: 1fr;
    }

    .options-tabs {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .join-hero h1 {
        font-size: 2rem;
    }

    .join-options {
        width: 90%;
        padding: 10px 10px;
    }

    .content-section {
        padding: 0 8px;
        margin-bottom: -50px;
    }

    .form-section {
        padding: 20px 8px;
        width: 80%;
        border: none;
    }

    .benefits ul, 
    .requirements ul, 
    .who-can-join ul {
        padding-left: 16px;
    }

    .benefits li::before, 
    .requirements li::before, 
    .who-can-join li::before {
        left: -16px;
    }

    input[type="text"],
    input[type="email"],
    input[type="url"],
    input[type="date"],
    textarea {
        padding: 10px 12px;
    }

    .featured-image img {
        height: 200px;
    }
} 