/**
 * Lake City Ultrabots Team 8041 - Homepage Styles
 * MOBILE-FIRST RESPONSIVE DESIGN
 */

/* ==============================
   HERO SECTION - MOBILE BASE
============================== */
.hero-main {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: white;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 1;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.5) 0%,
        rgba(204, 0, 0, 0.3) 50%,
        rgba(0, 0, 0, 0.7) 100%
    );
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-logo-container {
    position: relative;
    width: 100%;
    margin-bottom: -80px;
    z-index: 1;
}

.hero-logo-bg {
    max-width: 400px;
    width: 60%;
    height: auto;
    opacity: 0.35;
    filter: drop-shadow(2px 2px 8px rgba(0, 0, 0, 0.9));
    margin: 0 auto;
    display: block;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0 0 15px 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
    line-height: 1.1;
    position: relative;
    z-index: 2;
}

.hero-subtitle {
    font-size: 1.1rem;
    margin: 0 0 40px 0;
    color: #f0f0f0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    position: relative;
    z-index: 2;
}

/* Stats Bar */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.stat-item {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    padding: 20px 10px;
    border-radius: 8px;
    border: 2px solid rgba(204, 0, 0, 0.5);
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 5px;
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: #ddd;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    animation: bounce 2s infinite;
    cursor: pointer;
}

.scroll-arrow {
    font-size: 2.5rem;
    color: white;
    opacity: 0.7;
    display: block;
    line-height: 1;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-20px) translateX(-50%);
    }
    60% {
        transform: translateY(-10px) translateX(-50%);
    }
}

/* ==============================
   TEAM INTRO SECTION - MOBILE
============================== */
.team-intro-section {
    padding: 0;
    background-color: #fafafa;
    overflow: hidden;
    width: 100%;
}

.team-intro-content {
    display: flex;
    flex-direction: column;
    gap: 0;
    min-height: 600px;
    width: 100%;
}

.team-photo {
    width: 100%;
    order: 1;
    min-height: 400px;
    position: relative;
    flex-shrink: 0;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.team-intro-text {
    order: 2;
    padding: 60px 20px;
    text-align: center;
    width: 100%;
}

.team-intro-text h2 {
    font-size: 2rem;
    color: var(--dark);
    margin: 0 0 10px 0;
    font-weight: 700;
}

.team-badge {
    display: inline-block;
    background-color: var(--primary);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.intro-description {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--gray);
    margin-bottom: 30px;
}

.intro-highlights {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
    text-align: left;
}

.highlight-item {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    background-color: white;
    border-radius: 8px;
    border-left: 4px solid var(--primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.highlight-item span {
    font-size: 0.95rem;
    color: var(--dark);
    font-weight: 500;
}

.intro-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.intro-buttons .btn {
    padding: 14px 30px;
    font-size: 1rem;
}

/* ==============================
   QUICK ACCESS CARDS - MOBILE
============================== */
.quick-access-section {
    padding: 60px 0;
    background-color: #f5f5f5;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    color: var(--dark);
    margin: 0 0 40px 0;
    font-weight: 700;
}

.access-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.access-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-decoration: none;
    color: var(--dark);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 5px solid var(--primary);
}

.access-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.access-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary), #ff4444);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.3s ease;
}

.access-card:hover::before {
    transform: scaleY(1);
}

.access-card h3 {
    font-size: 1.4rem;
    margin: 0 0 10px 0;
    color: var(--dark);
    font-weight: 700;
}

.access-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--gray);
    margin: 0 0 20px 0;
    flex-grow: 1;
}

.card-arrow {
    font-size: 1.5rem;
    color: var(--primary);
    align-self: flex-start;
    transition: transform 0.3s ease;
}

.access-card:hover .card-arrow {
    transform: translateX(10px);
}

/* ==============================
   SEASON SPOTLIGHT - MOBILE
============================== */
.season-spotlight {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--dark) 0%, #1a1a1a 100%);
    color: white;
}

.spotlight-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.spotlight-text {
    order: 2;
}

.season-badge {
    display: inline-block;
    background-color: var(--primary);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.spotlight-text h2 {
    font-size: 2rem;
    margin: 0 0 15px 0;
    color: white;
    font-weight: 700;
}

.spotlight-description {
    font-size: 1rem;
    line-height: 1.7;
    color: #ddd;
    margin-bottom: 30px;
}

.robot-info {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid var(--primary);
    margin-bottom: 25px;
}

.robot-info h3 {
    font-size: 1.3rem;
    margin: 0 0 10px 0;
    color: var(--primary);
}

.robot-info p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #ddd;
    margin: 0;
}

.btn-outline {
    background-color: transparent;
    color: white;
    border: 2px solid white;
    padding: 12px 30px;
    font-size: 1rem;
    text-decoration: none;
    border-radius: 4px;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background-color: white;
    color: var(--dark);
}

.spotlight-media {
    order: 1;
}

.robot-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    margin-bottom: 25px;
}

.recent-awards {
    background: rgba(255, 255, 255, 0.08);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.recent-awards h4 {
    font-size: 1.2rem;
    margin: 0 0 15px 0;
    color: var(--primary);
    font-weight: 600;
}

.recent-awards ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.recent-awards li {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.95rem;
    color: #ddd;
}

.recent-awards li:last-child {
    border-bottom: none;
}

.recent-awards li::before {
    content: '▸';
    color: var(--primary);
    font-size: 1.2rem;
    margin-right: 12px;
    font-weight: bold;
}

/* ==============================
   CTA SECTION - MOBILE
============================== */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #d40000 0%, #a30000 100%);
    color: white;
    text-align: center;
    position: relative;
}

/* Ensure CTA doesn't interfere with footer */
.cta-section::after {
    content: '';
    display: block;
    height: 1px;
    background: transparent;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.cta-content h2 {
    font-size: 2.2rem;
    margin: 0 0 15px 0;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.cta-content > p {
    font-size: 1.1rem;
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto 35px auto;
    color: rgba(255, 255, 255, 0.95);
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 400px;
    margin: 0 auto 40px auto;
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    display: inline-block;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-light {
    background-color: white;
    color: var(--primary);
    border: 2px solid white;
}

.btn-light:hover {
    background-color: transparent;
    color: white;
}

.contact-quick {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.contact-quick p {
    margin: 10px 0;
    font-size: 1rem;
}

.contact-quick a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s ease;
    display: inline-block;
    padding: 5px 0;
}

.contact-quick a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* ==============================
   TABLET RESPONSIVE (768px+)
============================== */
@media (min-width: 768px) {
    /* HERO */
    .hero-logo-bg {
        max-width: 550px;
        width: 55%;
        opacity: 0.4;
    }
    
    .hero-logo-container {
        margin-bottom: -100px;
    }
    
    .hero-title {
        font-size: 3.5rem;
        margin-bottom: 20px;
    }

    .hero-subtitle {
        font-size: 1.3rem;
        margin-bottom: 50px;
    }

    .stats-bar {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
        max-width: 900px;
    }

    .stat-item {
        padding: 25px 15px;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    /* TEAM INTRO */
    .team-intro-section {
        padding: 0;
    }

    .team-intro-content {
        flex-direction: row;
        align-items: stretch;
        gap: 0;
        min-height: 600px;
        width: 100%;
        max-width: 100%;
    }

    .team-photo {
        flex: 0 0 50%;
        order: 1;
        min-height: auto;
        position: relative;
        overflow: hidden;
    }

    .team-photo img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    .team-intro-text {
        flex: 0 0 50%;
        order: 2;
        text-align: left;
        padding: 60px 40px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        background-color: #fafafa;
    }

    .team-intro-text h2 {
        font-size: 2.5rem;
    }

    .intro-description {
        font-size: 1.1rem;
    }

    .intro-highlights {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .highlight-item {
        padding: 18px 22px;
    }

    .highlight-item span {
        font-size: 1rem;
    }

    .intro-buttons {
        flex-direction: row;
    }

    /* ACCESS CARDS */
    .quick-access-section {
        padding: 80px 0;
    }

    .section-title {
        font-size: 2.5rem;
        margin-bottom: 50px;
    }

    .access-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    /* SPOTLIGHT */
    .season-spotlight {
        padding: 80px 0;
    }

    .spotlight-content {
        flex-direction: row;
        align-items: center;
        gap: 60px;
    }

    .spotlight-text {
        flex: 1;
        order: 1;
    }

    .spotlight-text h2 {
        font-size: 2.5rem;
    }

    .spotlight-media {
        flex: 1;
        order: 2;
    }

    /* CTA */
    .cta-section {
        padding: 100px 0;
    }

    .cta-content h2 {
        font-size: 2.8rem;
    }

    .cta-buttons {
        flex-direction: row;
        justify-content: center;
        max-width: none;
    }
}

/* ==============================
   DESKTOP RESPONSIVE (1024px+)
============================== */
@media (min-width: 1024px) {
    /* HERO */
    .hero-logo-bg {
        max-width: 650px;
        width: 60%;
        opacity: 0.42;
    }
    
    .hero-logo-container {
        margin-bottom: -120px;
    }
    
    .hero-title {
        font-size: 4.5rem;
        letter-spacing: 3px;
    }

    .hero-subtitle {
        font-size: 1.5rem;
    }

    .stats-bar {
        max-width: 1000px;
    }

    .stat-number {
        font-size: 3rem;
    }

    .stat-label {
        font-size: 0.95rem;
    }

    /* TEAM INTRO */
    .team-intro-content {
        min-height: 700px;
    }

    .team-photo {
        flex: 0 0 50%;
    }

    .team-intro-text {
        flex: 0 0 50%;
        padding: 80px 60px;
    }

    .team-intro-text h2 {
        font-size: 3rem;
    }

    .team-badge {
        font-size: 1rem;
        padding: 10px 25px;
    }

    .intro-description {
        font-size: 1.15rem;
    }

    .highlight-item {
        padding: 18px 25px;
    }

    .highlight-item span {
        font-size: 1.05rem;
    }

    /* ACCESS CARDS */
    .quick-access-section {
        padding: 100px 0;
    }

    .section-title {
        font-size: 3rem;
    }

    .access-cards {
        grid-template-columns: repeat(3, 1fr);
        gap: 35px;
    }

    .access-card {
        padding: 35px;
    }

    .access-card h3 {
        font-size: 1.5rem;
    }

    .access-card p {
        font-size: 1rem;
    }

    /* SPOTLIGHT */
    .season-spotlight {
        padding: 100px 0;
    }

    .spotlight-text h2 {
        font-size: 3rem;
    }

    .spotlight-description {
        font-size: 1.1rem;
    }

    .robot-info {
        padding: 25px;
    }

    .robot-info h3 {
        font-size: 1.5rem;
    }

    .robot-info p {
        font-size: 1.05rem;
    }

    /* CTA */
    .cta-section {
        padding: 120px 0;
    }

    .cta-content h2 {
        font-size: 3.2rem;
    }

    .cta-content > p {
        font-size: 1.2rem;
        max-width: 700px;
    }
}

/* ==============================
   LARGE DESKTOP (1200px+)
============================== */
@media (min-width: 1200px) {
    .hero-logo-bg {
        max-width: 700px;
        width: 65%;
        opacity: 0.45;
    }
    
    .hero-logo-container {
        margin-bottom: -130px;
    }
    
    .hero-title {
        font-size: 5rem;
    }

    .team-intro-content {
        min-height: 800px;
    }

    .team-photo {
        flex: 0 0 50%;
    }

    .team-intro-text {
        flex: 0 0 50%;
        padding: 100px 80px;
    }

    .spotlight-content {
        gap: 80px;
    }
}

