/*
 * OTO+ Index Page Styles
 */

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../assets/images/hero_bg.png');
    background-size: cover;
    background-position: center;
    z-index: -1;
}

/* Overlay */
.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.4);
    z-index: 0;
}

.hero-title {
    font-size: 5rem;
    margin-bottom: var(--spacing-sm);
    letter-spacing: -1px;
    opacity: 0;
    animation: fadeIn 1s ease forwards 0.5s;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-md);
    color: var(--color-text);
    opacity: 0;
    animation: fadeIn 1s ease forwards 0.8s;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.6;
}

.scroll-indicator span {
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
}

.scroll-indicator .line {
    width: 1px;
    height: 60px;
    background-color: var(--color-primary);
    animation: scrollLine 2s infinite;
}

@keyframes scrollLine {
    0% {
        height: 0;
        transform-origin: top;
    }

    50% {
        height: 60px;
        transform-origin: top;
    }

    51% {
        height: 60px;
        transform-origin: bottom;
    }

    100% {
        height: 0;
        transform-origin: bottom;
    }
}

@media (max-width: 900px) {
    .hero-title {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.8rem;
    }
}