/**
 * Hero Section Styles for Kursai.net
 *
 * @package Kursai
 * @since 1.0.0
 */

/* ==========================================================================
   Hero Variables
   ========================================================================== */
:root {
    --color-primary: #3671ff;
    --color-primary-dark: #2a5ce0;
    --color-kicker: #3671ff;
    --color-heading: #23262f;
    --color-text: #777e90;
    --hero-max-width: 1200px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    min-height: calc(100vh - 127px);
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(180deg, #f4f5f6 0%, #ffffff 100%);
}

.hero__container {
    max-width: var(--hero-max-width);
    margin: 0 auto;
    padding: 60px 32px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    width: 100%;
}

/* ==========================================================================
   Hero Content
   ========================================================================== */
.hero__content {
    max-width: 520px;
}

.hero__kicker {
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--color-kicker);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-bottom: 16px;
}

.hero__title {
    font-family: 'DM Sans', sans-serif;
    font-size: 48px;
    font-weight: 700;
    line-height: 1.15;
    color: var(--color-heading);
    margin: 0 0 24px 0;
}

.hero__text {
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--color-text);
    margin: 0 0 32px 0;
}

/* ==========================================================================
   Hero Button
   ========================================================================== */
.hero__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    background: linear-gradient(135deg, #3671ff 0%, #5b8cff 100%);
    color: #ffffff;
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(54, 113, 255, 0.3);
}

.hero__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(54, 113, 255, 0.4);
    color: #ffffff;
}

.hero__btn:active {
    transform: translateY(0);
}

/* ==========================================================================
   Hero Media
   ========================================================================== */
.hero__media {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero__img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   Scroll Indicator
   ========================================================================== */
.hero__scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    animation: bounce 2s infinite;
}

.hero__scroll-icon {
    width: 20px;
    height: 20px;
    color: var(--color-primary);
}

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

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 1024px) {
    .hero__container {
        gap: 40px;
        padding: 40px 32px;
    }

    .hero__title {
        font-size: 40px;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: auto;
    }

    .hero__container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px 19px 60px;
        text-align: center;
    }

    .hero__content {
        max-width: 100%;
        order: 1;
    }

    .hero__media {
        order: 2;
    }

    .hero__title {
        font-size: 32px;
    }

    .hero__title br {
        display: none;
    }

    .hero__text {
        font-size: 15px;
    }

    .hero__scroll {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero__container {
        padding: 30px 15px 50px;
    }

    .hero__title {
        font-size: 28px;
    }

    .hero__btn {
        padding: 14px 28px;
        font-size: 15px;
        width: 100%;
    }
}
