/**
 * Lake City Ultrabots Team 8041 - Meet Team Page Styles
 * MOBILE-FIRST APPROACH
 *
 * Removed sections (dead code cleanup):
 *   - .sub-navigation / .sub-nav-tabs / .tab-item  (replaced by universal subnav component)
 *   - .quick-stats-section                          (never implemented in HTML)
 *   - .skills-forged-section / .skills-grid         (replaced by first.css photo cards)
 *   - .skill-card / .skill-modal / modal styles     (replaced by first.css photo cards)
 *   - .skills-outcome-summary                       (gone with skills-forged)
 *   - .cta-section                                  (footer already has CTAs)
 *   - .subteam-grid / .subteam-card                 (planned Team Structure cards, never added to HTML)
 *   - .drive-team-block / .drive-role               (planned Drive Team section, never added to HTML)
 *   - .gp-block                                     (planned Gracious Professionalism callout, never added)
 */

/* ==============================
   HERO SECTION - MOBILE BASE
============================== */
.hero {
    position: relative;
    padding-top: 0;
    height: 600px;
    color: white;
    overflow: hidden;
    background-color: var(--secondary);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background-color: rgba(204, 0, 0, 0.7);
    z-index: 12;
}

.hero-slider {
    position: relative;
    height: 100%;
    width: 100%;
    z-index: 2;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: brightness(0.4);
    background-color: var(--primary);
}

/* Specific background positions */
.hero-slide:nth-child(1) .hero-background { background-position: center 50%; }
.hero-slide:nth-child(2) .hero-background { background-position: center 30%; }
.hero-slide:nth-child(3) .hero-background { background-position: center 30%; }
.hero-slide:nth-child(4) .hero-background { background-position: center 20%; }
.hero-slide:nth-child(5) .hero-background { background-position: center 60%; }
.hero-slide:nth-child(6) .hero-background { background-position: center 18%; }

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 1000px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    z-index: 3;
    padding: 20px;
}

.hero-content .intro-logo {
    max-width: 400px;
    width: 85%;
    height: auto;
    display: block;
    filter: drop-shadow(3px 3px 8px rgba(0, 0, 0, 0.9));
    margin-bottom: 20px;
}

.hero-tagline {
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    margin: 0;
    letter-spacing: 0.5px;
}

/* Hero Navigation Arrows */
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.hero-arrow:hover {
    background: rgba(204, 0, 0, 0.8);
    border-color: var(--primary);
    transform: translateY(-50%) scale(1.1);
}

.hero-arrow-left {
    left: 15px;
}

.hero-arrow-right {
    right: 15px;
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    gap: 12px;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot:hover {
    background-color: rgba(255, 255, 255, 0.7);
    transform: scale(1.2);
}

.slider-dot.active {
    background-color: var(--primary);
    border-color: white;
    transform: scale(1.3);
}

/* ========================================== */
/*      CONTENT SECTION SETTINGS              */
/* ========================================== */
.content-section {
    width: 100%;
    padding: 50px 0;
    position: relative;
}
.content-section .container {
    padding: 0 15px;
}
.alt-bg-white {
    background: linear-gradient(135deg, #f8f8f8 0%, #f0f0f0 100%);
}
.alt-bg-light {
    background: linear-gradient(135deg, #e8e8e8 0%, #d8d8d8 100%);
}
.alt-bg-dark {
    background-color: var(--dark);
    color: white;
}

/* ========================================== */
/*   ALTERNATING CONTENT                      */
/* ========================================== */
.alternating-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    text-align: center;
}
.content-image, .content-text {
    width: 100%;
    max-width: 500px;
}
.content-image img {
    display: block;
    width: 100%;
    max-width: 480px;
    height: auto;
    margin: 0 auto;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}
.content-text {
    padding: 0 15px;
}
.content-text h2 {
    color: #1a1a1a;
    font-size: 2rem;
    margin-top: 0;
    margin-bottom: 20px;
    font-weight: 700;
}
.content-text p {
    color: var(--dark);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 20px;
}
.content-text .btn {
    margin-top: 15px;
}

/* ========================================== */
/*   CORE VALUES SHOWCASE (D.R.I.F.T.)        */
/* ========================================== */
.core-values-showcase {
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}
.core-values-showcase.alt-bg-dark {
    background-color: var(--dark);
    color: white;
}
.core-values-showcase::before,
.core-values-showcase::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='52' viewBox='0 0 60 52'%3E%3Cpolygon points='30,2 58,16 58,44 30,58 2,44 2,16' fill='none' stroke='rgba(255,255,255,0.07)' stroke-width='1.5'/%3E%3C/svg%3E");
    background-size: 60px 52px;
    pointer-events: none;
    z-index: 0;
}
.core-values-showcase::before {
    top: -30px;
    right: -30px;
    -webkit-mask-image: radial-gradient(ellipse at top right, black 40%, transparent 72%);
    mask-image: radial-gradient(ellipse at top right, black 40%, transparent 72%);
}
.core-values-showcase::after {
    bottom: -30px;
    left: -30px;
    -webkit-mask-image: radial-gradient(ellipse at bottom left, black 40%, transparent 72%);
    mask-image: radial-gradient(ellipse at bottom left, black 40%, transparent 72%);
}
.core-values-showcase .container {
    position: relative;
    z-index: 1;
}
.section-title-darkbg {
    text-align: center;
    color: white;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.section-subtitle-darkbg {
    text-align: center;
    color: #d0d0d0;
    font-size: 1.1rem;
    margin-bottom: 40px;
    font-style: italic;
}
.drift-values-container {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    max-width: 500px;
    margin: 0 auto;
}
.core-values-showcase .value-item {
    flex-basis: auto;
    background-color: rgba(255,255,255,0.08);
    padding: 25px 30px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    border-radius: 12px;
    border-top: 4px solid var(--primary);
    color: #f0f0f0;
    transition: all 0.3s ease;
    text-align: center;
}
.core-values-showcase .value-item:hover {
    background-color: rgba(255,255,255,0.12);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}
.core-values-showcase .value-item h4 {
    color: white;
    font-size: 1.4rem;
    margin-top: 0;
    margin-bottom: 15px;
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: baseline;
}
.drift-letter {
    font-size: 2rem;
    color: var(--primary);
    margin-right: 8px;
    font-weight: 700;
    line-height: 1;
}
.core-values-showcase .value-item p {
    color: #e0e0e0;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* ═══════════════════════════════════════════════════════
   TAB PANEL — hide non-active panels
═══════════════════════════════════════════════════════ */
.tab-panel[hidden] {
    display: none !important;
}


/* ==============================
   RESPONSIVE OVERRIDES (TABLET AND UP)
============================== */
@media (min-width: 769px) {
    /* --- HERO --- */
    .hero {
        height: 70vh;
        min-height: 500px;
        max-height: 800px;
    }
    .hero-content .intro-logo {
        max-width: 500px;
    }
    .hero-tagline {
        font-size: 2rem;
    }
    .hero-arrow {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    .hero-arrow-left {
        left: 30px;
    }
    .hero-arrow-right {
        right: 30px;
    }
    .slider-dots {
        bottom: 40px;
        gap: 15px;
    }
    .slider-dot {
        width: 14px;
        height: 14px;
    }

    /* --- CONTENT --- */
    .content-section {
        padding: 80px 0;
    }
    .alternating-content {
        flex-direction: row;
        text-align: left;
        gap: 60px;
    }
    .content-image, .content-text {
        max-width: none;
        flex: 1;
    }
    .content-image img {
        max-width: none;
        width: 100%;
        height: 460px;
        object-fit: cover;
        object-position: center;
    }
    .content-text {
        padding: 0;
        text-align: left;
    }
    .image-right .content-image {
        order: 2;
    }
    .image-right .content-text {
        order: 1;
    }
    .content-text h2 {
        font-size: 2.5rem;
    }
    .content-text p {
        font-size: 1.15rem;
    }

    /* --- D.R.I.F.T --- */
    .core-values-showcase {
        padding: 80px 0;
    }
    .section-title-darkbg {
        font-size: 2.5rem;
    }
    .section-subtitle-darkbg {
        font-size: 1.2rem;
    }
    .drift-values-container {
        flex-direction: row;
        gap: 30px;
        max-width: 1200px;
    }
    .core-values-showcase .value-item {
        flex: 1 1 200px;
        min-width: 180px;
        max-width: 280px;
        padding: 30px 35px;
    }
    .core-values-showcase .value-item h4 {
        font-size: 1.6rem;
    }
    .drift-letter {
        font-size: 2.2rem;
    }
    .core-values-showcase .value-item p {
        font-size: 1rem;
    }
}

@media (min-width: 1200px) {
    .hero {
        height: 75vh;
        max-height: 900px;
    }
}

