/* HERO SECTION */
.hero-section {
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    padding: 150px 0;
    height: 70vh;
    color: white;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: -20px;
    background: url('/static/images/hero-section-background.png');
    background-size: cover;
    background-position: 0% 20%;
    background-repeat: no-repeat;
    filter: blur(1px);
}

.hero-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.subtitle {
    font-size: 1.3rem;
    font-weight: 300;
}

.disclaimer {
    font-size: 1.3rem;
    opacity: 0.8;
}

/* SERVICES SECTION */
.services-section {
    text-align: center;
}

.services-section h2 {
    font-size: 2.2rem;
    color: var(--color-dark);
    margin: 2vh 0;
}

.service-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.service-card {
    text-align: center;
    flex-basis: 20vw;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s;
    overflow: hidden;
    position: relative;
    min-height: 300px;
    background-image: var(--card-image);
    background-size: cover;
    background-position: center;
    display: block;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    cursor: pointer;
}

.service-card-overlay {
    position: absolute;
    inset: 0;
    color: white;
    font-size: 1.5rem;
    margin: 0;
    padding: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: brightness(0.4);
    box-sizing: border-box;
}

/* SLIDER */
.slider {
    overflow: hidden;
    width: 100%;
    min-height: 15vh;
    display: flex;
    align-items: center;
}

.track {
    display: flex;
    width: max-content;
    animation: slide 20s linear infinite;
}

.track img {
    height: 5rem;;
    object-fit: cover;
    margin: 0 5vw;
}

@keyframes slide {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* RESPONSIVENESS */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content .subtitle {
        font-size: 1rem;
    }

    .hero-content .disclaimer {
        font-size: 0.8rem;
    }

    .service-grid, .process-content, .about-grid {
        flex-direction: column;
        gap: 25px;
    }
}
