@import url('https://fonts.googleapis.com/css2?family=Caprasimo&display=swap');

/* === HERO SECTION === */
.hero-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    font-family: 'Lexend', sans-serif;
    border-radius: 15px;
    padding: 0 1rem;
}

/* === BACKGROUND VIDEO === */
.hero-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    z-index: 0;
    filter: brightness(0.45) contrast(1.1);
}

/* === CONTENT === */
.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    padding: 2rem 1rem;
}

/* === TITLE === */
.hero-title {
    font-family: "Caprasimo", serif;
    font-weight: 400;
    font-size: 3.5rem;
    color: #FFFFFF;
    text-shadow: 0 0 10px rgba(0, 255, 153, 0.3);
    margin: 0;
}

/* === SUBTITLE === */
.hero-subtitle {
    font-family: "Caprasimo", serif;
    font-weight: 400;
    font-size: 1.5rem;
    color: #DDFFEB;
    text-shadow: 0 0 8px rgba(0, 255, 153, 0.2);
    margin: 0;
}

/* === INTRO PARAGRAPH === */
.hero-subintro {
    font-size: 1.05rem;
    color: #F0F0F0;
    font-weight: 400;
    line-height: 1.6;
    margin: 0;
    padding: 0 1rem;
    max-width: 800px;
}

/* === BUTTON === */
.hero-button {
    background-color: #00FF99;
    color: #003344;
    padding: 14px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.15rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(0, 255, 153, 0.3);
    margin-top: 1rem;
}

    .hero-button:hover {
        transform: scale(1.05);
        background-color: #00e68a;
    }

/* === SCROLL ARROW === */
.scroll-down-arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-top: 2rem;
    cursor: pointer;
}

    .scroll-down-arrow span {
        width: 15px;
        height: 15px;
        border-left: 2px solid #00FF99;
        border-bottom: 2px solid #00FF99;
        transform: rotate(-45deg);
        opacity: 0;
        animation: scrollFade 1.8s infinite;
        animation-delay: calc(var(--i) * 0.3s);
    }

/* === ANIMATIONS === */
@keyframes scrollFade {
    0% {
        transform: translateY(0) rotate(-45deg);
        opacity: 0;
    }

    30% {
        transform: translateY(6px) rotate(-45deg);
        opacity: 1;
    }

    60% {
        transform: translateY(12px) rotate(-45deg);
        opacity: 0;
    }

    100% {
        transform: translateY(12px) rotate(-45deg);
        opacity: 0;
    }
}

/* === RESPONSIVE STYLES === */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.8rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .hero-subintro {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding-top: 4rem;
        padding-bottom: 2rem;
    }

    .hero-title {
        font-size: 2.2rem;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 1.15rem;
    }

    .hero-subintro {
        font-size: 0.98rem;
        padding: 0 1rem;
    }

    .hero-button {
        font-size: 1rem;
        padding: 12px 24px;
    }

    .scroll-down-arrow {
        margin-top: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 1.05rem;
    }

    .hero-subintro {
        font-size: 0.95rem;
    }

    .hero-button {
        font-size: 0.95rem;
        padding: 10px 20px;
    }
}

/* === LANDSCAPE FIX FOR MOBILE === */
@media screen and (max-width: 850px) and (orientation: landscape) {
    .hero-section {
        height: auto;
        min-height: 100vh;
        padding: 2rem 1rem;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-subintro {
        font-size: 0.95rem;
    }

    .hero-button {
        font-size: 0.95rem;
    }
}
