/* =================================================================
   HOME.CSS — Hero section · Services section · Contact section
   ================================================================= */

/* -----------------------------------------------------------------
   Hero
   ----------------------------------------------------------------- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, #B8EAF8 0%, #69B8E8 35%, #96D8F0 70%, #C2ECF9 100%);
    overflow: hidden;
    padding: calc(5rem + var(--space-3xl)) 0 var(--space-3xl);
}

[data-theme="dark"] .hero {
    background: linear-gradient(135deg, #0f172a 0%, rgba(58, 134, 144, 0.25) 50%, #0f172a 100%);
}

.hero-background {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-shapes {
    position: relative;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.18;
    animation: float 20s ease-in-out infinite;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    top: 10%;
    right: -200px;
    animation-delay: 0s;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    bottom: 20%;
    left: -150px;
    animation-delay: 7s;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--accent), var(--primary));
    top: 60%;
    right: 20%;
    animation-delay: 14s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    25% {
        transform: translateY(-20px) rotate(90deg);
    }

    50% {
        transform: translateY(0) rotate(180deg);
    }

    75% {
        transform: translateY(20px) rotate(270deg);
    }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    max-width: 100%;
}

.hero-title {
    margin-bottom: var(--space-lg);
    line-height: 1.1;
}

.highlight {
    background: linear-gradient(135deg, var(--gray-600), var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
    vertical-align: middle;
    line-height: 1.05;
}

.typing-text {
    display: inline-block;
    vertical-align: middle;
    line-height: 1.05;
    border-right: 2px solid var(--primary);
    white-space: nowrap;
    overflow: visible;
    min-height: 1.2em;
}

@keyframes blink {

    from,
    to {
        border-color: transparent;
    }

    50% {
        border-color: var(--primary);
    }
}

.hero-description {
    font-size: var(--fs-2xl);
    line-height: 1.7;
    margin-bottom: var(--space-2xl);
    color: var(--text-muted);
}

.hero-buttons {
    display: flex;
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
    flex-wrap: wrap;
}



/* Mobile hero */
@media (max-width: 576px) {
    .hero {
        padding: calc(3rem + var(--space-xl)) 0 var(--space-xl);
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
        padding-top: var(--space-lg);
    }

    .hero-title {
        font-size: clamp(1.8rem, 8vw, 2.6rem);
        line-height: 1.05;
        margin-bottom: var(--space-md);
        text-align: center;
    }

    .hero-title .highlight,
    .hero-title .typing-text {
        display: inline-block;
        vertical-align: middle;
        font-size: inherit;
        line-height: 1.05;
    }

    .hero-description {
        font-size: clamp(1rem, 3.8vw, 1.125rem);
        line-height: 1.6;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .scroll-indicator {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        width: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .scroll-indicator:hover {
        transform: translateX(-50%) scale(1.05);
    }

    /* Center hero buttons on mobile */
    .hero-buttons {
        justify-content: center;
        width: 100%;
    }

    @keyframes bounce {

        0%,
        20%,
        50%,
        80%,
        100% {
            transform: translateX(-50%) translateY(0);
        }

        40% {
            transform: translateX(-50%) translateY(-10px);
        }

        60% {
            transform: translateX(-50%) translateY(-5px);
        }
    }
}

@media (max-width: 1300px) {
    .hero h1 {
        font-size: clamp(1.8rem, 4.5vw + 0.5rem, 3.5rem);
    }
}

/* -----------------------------------------------------------------
   Light-theme section color enhancements
   ----------------------------------------------------------------- */
:root .section.pricinglist {
    background: linear-gradient(180deg, rgba(59, 159, 219, 0.06) 0%, var(--surface) 100%);
}

:root .section.contact {
    background: linear-gradient(180deg, rgba(58, 134, 144, 0.05) 0%, var(--surface) 100%);
}

:root .service-card {
    border-top: 3px solid var(--primary);
    background: linear-gradient(180deg, rgba(59, 159, 219, 0.03) 0%, white 40%);
}

:root .service-icon-header {
    background: linear-gradient(135deg, #3B9FDB, #3A8690);
}

[data-theme="dark"] .section.pricinglist,
[data-theme="dark"] .section.contact {
    background: var(--surface);
}

[data-theme="dark"] .service-card {
    border-top: 3px solid var(--primary);
    background: var(--surface);
}