/* =====================================================
   BILLION DELIVERIES CHALLENGE - MAIN STYLES
   ===================================================== */

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', sans-serif;
    background-color: #ffffff;
    overflow-x: hidden;
    line-height: 1.5;
    color: #000000;
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    background-color: #000000;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero__background {
    position: absolute;
    top: -1353px;
    left: 50%;
    transform: translateX(-50%);
    width: 1961px;
    height: 2615px;
    background-image: url('../assets/images/background-texture.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    pointer-events: none;
}

.hero__content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    width: 100%;
    padding: 0 20px;
}

.hero__title {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0;
    padding-left: 100px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.hero__title-text {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    width: 100%;
}

.hero__title-line {
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    line-height: 0.9;
    display: block;
    letter-spacing: 4px;
}

.hero__title-line--billion {
    font-size: 160px;
    color: #3e9c35;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
}

.hero__title-line--deliveries {
    font-size: 160px;
    color: #ffffff;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
}

.hero__title-line--challenge {
    font-size: 160px;
    color: #ffffff;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
}

/* Video Section */
.video-section {
    position: relative;
    width: 100%;
    height: 850px;
    background-color: #ffffff;
    padding: 20px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-section__background {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    background-color: #000000;
    background-image: url('../assets/images/video-background.jpg');
    background-size: cover;
    background-position: center;
}

.video-section__background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    pointer-events: none;
}

.video-section__content {
    position: relative;
    z-index: 2;
}

.video-section__play-button {
    background: transparent;
    border: none;
    width: 241px;
    height: 162px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.video-section__play-button img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.video-section__play-button:hover {
    transform: scale(1.05);
}

.video-section__play-button:active {
    transform: scale(0.95);
}

/* Stats Section */
.stats {
    position: relative;
    width: 100%;
    background-color: #ffffff;
    padding: 150px 20px;
    text-align: center;
}

.stats__content {
    max-width: 1200px;
    margin: 0 auto;
}

.stats__label {
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    font-size: 40px;
    line-height: 1.3;
    letter-spacing: 2px;
    color: #000000;
    margin-bottom: 40px;
}

.stats__number {
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    font-size: 240px;
    line-height: 1;
    letter-spacing: 16px;
    color: #000000;
    margin: 0;
    transition: opacity 0.3s ease;
}

.stats__number.loading {
    opacity: 0.5;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 0.8;
    }
}

/* Mission Section */
.mission {
    position: relative;
    width: 100%;
    background-color: #3e9c35;
    padding: 110px 20px;
    text-align: center;
}

.mission__content {
    max-width: 1200px;
    margin: 0 auto;
}

.mission__title {
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    font-size: 100px;
    line-height: 1.1;
    letter-spacing: 2px;
    color: #ffffff;
    max-width: 1000px;
    margin: 0 auto 60px;
}

.mission__description {
    color: #ffffff;
    font-family: 'Lato', sans-serif;
    font-size: 32px;
    line-height: 46px;
    font-weight: 500;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.mission__description p {
    margin: 0;
}

.mission__description a {
    color: #ffffff;
    text-decoration: underline;
    text-decoration-skip-ink: none;
    text-underline-position: from-font;
    transition: opacity 0.3s ease;
}

.mission__description a:hover {
    opacity: 0.8;
}

/* Connect Section */
.connect {
    position: relative;
    width: 100%;
    background-color: #000000;
    padding: 66px 20px 80px;
    text-align: center;
}

.connect__content {
    max-width: 1200px;
    margin: 0 auto;
}

.connect__title {
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    font-size: 100px;
    line-height: 1.1;
    letter-spacing: 2px;
    color: #ffffff;
    margin: 0 0 40px;
}

.connect__description {
    color: #ffffff;
    font-family: 'Lato', sans-serif;
    font-size: 32px;
    line-height: 46px;
    font-weight: 500;
    margin: 0 auto 60px;
    max-width: 1000px;
    text-align: center;
}

.connect__social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.connect__social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
    padding: 15px;
    box-sizing: border-box;
}

.connect__social-link img {
    width: 100%;
    height: 100%;
    display: block;
    filter: brightness(1);
    transition: filter 0.3s ease;
}

.connect__social-link:hover {
    transform: scale(1.1);
    background-color: rgba(255, 255, 255, 0.2);
}

.connect__social-link:hover img {
    filter: brightness(1.2);
}

.connect__social-link:active {
    transform: scale(0.95);
}

/* Footer */
.footer {
    position: relative;
    width: 100%;
    background-color: #000000;
    padding: 20px;
    text-align: center;
}

.footer__nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.footer__link {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    letter-spacing: 0.96px;
    text-transform: uppercase;
    transition: opacity 0.3s ease;
    font-family: 'Lato', sans-serif;
    line-height: 29px;
}

.footer__link:hover {
    opacity: 0.7;
}

.footer__separator {
    color: #ffffff;
    font-size: 16px;
}

/* Responsive Styles - Tablet */
@media (max-width: 1024px) {
    .hero {
        height: 100vh;
        min-height: 600px;
    }
    
    .hero__title {
        max-width: 90%;
        padding-left: 60px;
    }
    
    .hero__title-line {
        letter-spacing: 3px;
    }
    
    .hero__title-line--billion {
        font-size: 100px;
    }
    
    .hero__title-line--deliveries {
        font-size: 100px;
    }
    
    .hero__title-line--challenge {
        font-size: 100px;
    }
    
    .video-section {
        height: 500px;
        padding: 20px;
    }
    
    .video-section__background {
        top: 20px;
        left: 20px;
        right: 20px;
        bottom: 20px;
    }
    
    .stats {
        padding: 100px 20px;
    }
    
    .stats__label {
        font-size: 28px;
        line-height: 1.3;
        letter-spacing: 1.5px;
    }
    
    .stats__number {
        font-size: 144px;
        letter-spacing: 10px;
    }
    
    .mission {
        padding: 80px 20px;
    }
    
    .mission__title {
        font-size: 60px;
        line-height: 1.1;
        letter-spacing: 1.5px;
        margin-bottom: 40px;
    }
    
    .mission__description {
        font-size: 22px;
        line-height: 32px;
    }
    
    .connect {
        padding: 50px 20px 60px;
    }
    
    .connect__title {
        font-size: 60px;
        line-height: 1.1;
        letter-spacing: 1.5px;
        margin-bottom: 30px;
    }
    
    .connect__description {
        font-size: 22px;
        line-height: 32px;
        margin-bottom: 40px;
    }
    
    .connect__social-link {
        width: 50px;
        height: 50px;
        padding: 10px;
    }
}

/* Responsive Styles - Mobile */
@media (max-width: 768px) {
    .hero {
        height: 100vh;
        min-height: 400px;
    }
    
    .hero__title {
        max-width: 100%;
        padding-left: 20px;
    }
    
    .hero__title-text {
        gap: 2px;
    }
    
    .hero__title-line {
        letter-spacing: 2px;
    }
    
    .hero__title-line--billion {
        font-size: 54px;
    }
    
    .hero__title-line--deliveries {
        font-size: 54px;
    }
    
    .hero__title-line--challenge {
        font-size: 54px;
    }
    
    .video-section {
        height: 350px;
        padding: 20px;
    }
    
    .video-section__background {
        top: 20px;
        left: 20px;
        right: 20px;
        bottom: 20px;
    }
    
    .video-section__play-button {
        width: 180px;
        height: 120px;
    }
    
    .video-section__play-button img {
        width: 90px;
        height: 90px;
    }
    
    .stats {
        padding: 60px 20px;
    }
    
    .stats__label {
        font-size: 20px;
        line-height: 1.3;
        letter-spacing: 1px;
    }
    
    .stats__number {
        font-size: 64px;
        letter-spacing: 4px;
    }
    
    .mission {
        padding: 50px 20px;
    }
    
    .mission__title {
        font-size: 36px;
        line-height: 1.1;
        letter-spacing: 1px;
        margin-bottom: 30px;
    }
    
    .mission__description {
        font-size: 14px;
        line-height: 22px;
    }
    
    .connect {
        padding: 40px 20px 50px;
    }
    
    .connect__title {
        font-size: 36px;
        line-height: 1.1;
        letter-spacing: 1px;
        margin-bottom: 20px;
    }
    
    .connect__description {
        font-size: 14px;
        line-height: 22px;
        margin-bottom: 30px;
    }
    
    .connect__social {
        gap: 30px;
    }
    
    .connect__social-link {
        width: 40px;
        height: 40px;
        padding: 8px;
    }
    
    .footer {
        padding: 20px 10px;
    }
    
    .footer__nav {
        gap: 10px;
    }
    
    .footer__link {
        font-size: 12px;
        letter-spacing: 0.7px;
    }
    
    .footer__separator {
        font-size: 12px;
    }
}

/* Utility Classes */
.container {
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Print Styles */
@media print {
    .video-section__play-button,
    .connect__social,
    .footer__nav {
        display: none;
    }
}

