/* ============================================
   FILE: style.css
   Specific styles for homepage sections
   (Hero, Why, Steps, Benefits, Events, CTA)
   ============================================ */

/* ----- Hero Section (modern split) ----- */
.hero-modern {
    background: linear-gradient(135deg, #F9FBFE 0%, #F0F4FA 100%);
    padding: 3rem 0 4rem;
    border-bottom: 1px solid rgba(0,0,0,0.03);
}

.hero-grid {
    display: flex;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.hero-content {
    flex: 1;
    min-width: 280px;
}

.hero-badge {
    background: var(--fbla-gold-light, #FFF0CC);
    color: var(--fbla-deep-blue, #002868);
    padding: 0.3rem 1rem;
    border-radius: 40px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.hero-content h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    margin-bottom: 1.2rem;
    color: var(--fbla-navy, #0A1C3A);
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-muted, #4A5568);
    margin-bottom: 2rem;
    line-height: 1.5;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image-wrapper {
    flex: 0.8;
    display: flex;
    justify-content: center;
}

.hero-logo-float {
    max-width: 300px;
    width: 100%;
    filter: drop-shadow(0 20px 25px -8px rgba(0,0,0,0.15));
    animation: floatSoft 3s ease-in-out infinite;
}

@keyframes floatSoft {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
    100% { transform: translateY(0px); }
}

/* Why Join Section */
.why-section {
    padding: 4rem 0 2rem;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 1rem;
}

.why-card {
    background: var(--white, #FFFFFF);
    padding: 2rem 1.5rem;
    border-radius: 1.5rem;
    text-align: center;
    transition: all 0.25s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.03), 0 2px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0,0,0,0.03);
}

.why-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
    border-color: var(--fbla-gold-light, #FFF0CC);
}

.why-icon {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.why-card h3 {
    color: var(--fbla-deep-blue, #002868);
    margin-bottom: 0.75rem;
}

/* Steps Section (How it works) */
.steps-section {
    background: var(--white, #FFFFFF);
    padding: 4rem 0;
    margin: 2rem 0;
    border-radius: 0;
    box-shadow: inset 0 1px 0 rgba(0,0,0,0.02), 0 10px 20px -10px rgba(0,0,0,0.02);
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    text-align: center;
}

.step-item {
    background: var(--fbla-gray-bg, #F8FAFE);
    padding: 2rem 1.2rem;
    border-radius: 2rem;
    transition: all 0.2s;
    position: relative;
}

.step-number {
    background: var(--fbla-gold, #F4A900);
    color: var(--fbla-navy, #0A1C3A);
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 60px;
    font-weight: 800;
    font-size: 1.3rem;
    margin: 0 auto 1rem;
}

.step-icon {
    font-size: 2rem;
    margin-bottom: 0.8rem;
}

.step-item h3 {
    margin: 0.8rem 0 0.5rem;
}

.step-item p {
    color: var(--text-muted, #4A5568);
    font-size: 0.95rem;
}

/* Benefits Section */
.benefits-section {
    padding: 2rem 0 4rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background: var(--white, #FFFFFF);
    padding: 2rem;
    border-radius: 1.75rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.03), 0 2px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.25s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    border-left: 5px solid var(--fbla-gold, #F4A900);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.benefit-card h3 {
    margin-bottom: 0.6rem;
    color: var(--fbla-navy, #0A1C3A);
}

/* Events Preview Cards */
.events-preview {
    padding: 3rem 0;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.event-card {
    background: white;
    border-radius: 1.5rem;
    padding: 1.8rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.03), 0 2px 6px rgba(0, 0, 0, 0.05);
    transition: 0.2s;
    border: 1px solid rgba(0,0,0,0.05);
}

.event-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
    border-color: var(--fbla-gold-light, #FFF0CC);
}

.event-date {
    font-weight: 600;
    color: var(--fbla-gold, #F4A900);
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
}

.event-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.6rem;
}

.event-card p {
    color: var(--text-muted, #4A5568);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.event-link {
    color: var(--fbla-deep-blue, #002868);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.event-link:hover {
    color: var(--fbla-gold, #F4A900);
}

/* CTA Banner */
.cta-banner {
    background: linear-gradient(115deg, var(--fbla-navy, #0A1C3A) 0%, var(--fbla-deep-blue, #002868) 100%);
    margin: 3rem 0 1rem;
    border-radius: 2rem;
    padding: 3rem 2rem;
}

.cta-inner {
    text-align: center;
    color: white;
}

.cta-inner h2 {
    color: white;
    margin-bottom: 0.75rem;
}

.cta-inner p {
    max-width: 600px;
    margin: 0 auto 2rem;
    opacity: 0.9;
}

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

/* Gold text utility */
.gold-text {
    color: var(--fbla-gold, #F4A900);
}

/* Responsive fine-tuning */
@media (max-width: 768px) {
    .hero-grid {
        flex-direction: column;
        text-align: center;
    }
    .hero-buttons {
        justify-content: center;
    }
    .hero-content h1 br {
        display: none;
    }
    .steps-container, .why-grid, .benefits-grid, .events-grid {
        gap: 1.2rem;
    }
    .step-item, .why-card {
        padding: 1.5rem;
    }
    .cta-banner {
        padding: 2rem 1rem;
        border-radius: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-logo-float {
        max-width: 200px;
    }
    .step-number {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
}