/**
 * Index Page Specific Styles
 */

/* Section with Logo Background */
.features-with-logo {
    background-color: var(--white);
    position: relative;
}

.features-with-logo .container {
    position: relative;
}

.section-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    opacity: 0.1;
    pointer-events: none;
}

.section-logo img {
    width: 4000px;
    height: auto;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50% 40% 60% 35%;
    padding: 400px 500px;
    box-shadow: 0 8px 32px rgba(255, 255, 255, 0.1);
}

/* Poster Section */
.poster-section {
    padding: 0;
    margin: 0;
    background: var(--white);
}

.poster-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.poster-desktop,
.poster-mobile {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
}

.poster-mobile {
    display: none;
}

@media (max-width: 768px) {
    .section-logo {
        display: none;
    }

    .poster-desktop {
        display: none;
    }

    .poster-mobile {
        display: block;
    }
}

/* Hoodie Section */
.hoodie-section {
    padding: 0;
    margin: 0;
    background: #1a1a1a;
}

.hoodie-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hoodie-image {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
}

/* Feature Icons */
.feature-icon {
    font-size: 2.5rem;
    color: var(--accent, #FF6B35);
    margin-bottom: 1rem;
}

/* Crew Showcase */
.crew-showcase {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin: 2rem 0;
}

.crew-member-small {
    text-align: center;
    flex: 0 0 auto;
}

.crew-image-small {
    width: 80px;
    height: 80px;
    margin: 0 auto 0.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--black);
}

.crew-image-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.crew-member-small h4 {
    margin-bottom: 0.25rem;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.crew-member-small p {
    font-size: 0.8rem;
    color: var(--accent);
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--white);
    opacity: 0.8;
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-buttons .button.secondary {
    background-color: transparent;
    color: var(--black);
    border: 2px solid var(--black);
}

/* Schedule Grid */
.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.schedule-day {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.schedule-day h3 {
    text-align: center;
    margin-bottom: 1rem;
    color: var(--black);
    text-transform: uppercase;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 0.5rem;
}

.schedule-item {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
    padding: 0.5rem;
    border-bottom: 1px solid var(--gray-light);
}

.schedule-time {
    font-weight: bold;
    color: var(--accent-dark);
    margin-bottom: 0.25rem;
}

.schedule-class {
    font-size: 0.9rem;
}

/* Black Background Section */
.features.black-bg {
    background-color: var(--black);
    color: var(--white);
}

.features.black-bg h2 {
    color: var(--white);
}

/* Final CTA Section with Calendar Background */
.final-cta-section {
    background-color: #000 !important;
    background-image:
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 50px,
            rgba(255, 255, 255, 0.05) 50px,
            rgba(255, 255, 255, 0.05) 52px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 50px,
            rgba(255, 255, 255, 0.05) 50px,
            rgba(255, 255, 255, 0.05) 52px
        );
    color: #ffffff !important;
    position: relative;
}

.final-cta-section * {
    color: #ffffff !important;
}

.final-cta-section .container {
    color: #ffffff !important;
}

.final-cta-section h2 {
    color: #ffffff !important;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
    font-weight: 700;
}

.final-cta-section .text-center-large {
    color: #ffffff !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
    opacity: 1 !important;
}

.final-cta-section p {
    color: #ffffff !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

.final-cta-section .button {
    text-shadow: none;
}

.final-cta-section .button.accent {
    background-color: #ffffff !important;
    color: #000000 !important;
    border: 2px solid #ffffff !important;
    font-weight: 700;
}

.final-cta-section .button.accent:hover {
    background-color: transparent !important;
    color: #ffffff !important;
    border: 2px solid #ffffff !important;
}

.final-cta-section .button.secondary {
    background-color: transparent !important;
    color: #ffffff !important;
    border: 2px solid #ffffff !important;
    font-weight: 700;
}

.final-cta-section .button.secondary:hover {
    background-color: #ffffff !important;
    color: #000000 !important;
    border: 2px solid #ffffff !important;
}

/* Text Utilities */
.text-center {
    text-align: center;
}

.text-center-large {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    color: inherit;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .crew-showcase {
        gap: 1rem;
    }

    .text-center-large {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
        padding: 0 1rem;
        line-height: 1.6;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .cta-buttons .button {
        width: 80%;
        max-width: 300px;
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .text-center-large {
        font-size: 0.875rem;
        margin-bottom: 1.25rem;
        padding: 0 0.75rem;
        line-height: 1.5;
    }

    .cta-buttons {
        gap: 0.625rem;
    }

    .cta-buttons .button {
        width: 85%;
        max-width: 280px;
        padding: 0.65rem 1.25rem;
        font-size: 0.85rem;
    }
}
