.hero-section {
    height: 2000px;
    background-image: url(./images/background.jpg);
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 180px;
    position: relative;
}

/* Overlay sutil para mejorar el contraste */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background: linear-gradient(to bottom, rgba(15, 15, 15, 0.2), rgba(15, 15, 15, 0.1)); */
    pointer-events: none;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.hero-section h1 {
    color: #ffffff;
    text-align: center;
    font-size: 4.5rem;
    line-height: 1.1em;
    text-transform: uppercase;
    font-family: "Oswald", sans-serif;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.4s;
}

.hero-section p {
    font-family: "Oswald", sans-serif;
    font-weight: 800;
    font-size: 14px;
    color: #B6E925;
    text-transform: uppercase;
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.2s;
}

.hero-button {
    border: 1px solid #fff;
    font-family: "Oswald", sans-serif;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    color: #ffffff;
    padding: 14px 38px; 
    margin-top: 50px;
    transition: all 0.3s;
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
    animation-delay: 0.8s;
}

.hero-button:hover {
    color: #B6E925;
    background-color: #ffffff;
}

/* Sección Sobre mí */
.about-section {
    background-color: #0f0f0f;
    padding: 100px 70px;
    position: relative;
}

.about-content {
    display: flex;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    color: #ffffff;
    font-family: "Oswald", sans-serif;
    font-size: 2.5rem;
    text-transform: uppercase;
    margin-bottom: 30px;
    position: relative;
}

.about-text h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: #B6E925;
}

.about-text p {
    color: #d8d8d8;
    font-family: "Outfit", sans-serif;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.about-image {
    flex: 1;
    position: relative;
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 4px solid #B6E925;
    z-index: 1;
}

.about-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    position: relative;
    z-index: 2;
    display: block;
}

/* Sección de Estadísticas */
.stats-section {
    background-color: #0f0f0f;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 30px;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stat-number {
    font-family: "Roboto", sans-serif;
    font-size: 4rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.stat-label {
    font-family: "Oswald", sans-serif;
    font-size: 1rem;
    color: #d8d8d8;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.stats-section::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 310px;
    background-color: #B6E925;
    left: -150px;
    top: 50%;
    transform: translateY(-50%) skewX(-30deg);
    opacity: 0.1;
}

.stats-section::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 310px;
    background-color: #B6E925;
    right: -150px;
    top: 50%;
    transform: translateY(-50%) skewX(-30deg);
    opacity: 0.1;
}

/* Estilos del Carrusel de Categorías */
.categories-carousel-section {
    background-color: #0f0f0f;
    padding: 80px 0;
    position: relative;
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
}

.categories-carousel-section::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background-color: #B6E925;
    left: -327px;
    top: 0;
    transform: skewX(-30deg);
    z-index: 1;
    opacity: 0.1;
}

.categories-carousel-section::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 490px;
    background-color: #B6E925;
    right: -120px;
    top: 0;
    transform: skewX(-30deg);
    z-index: 1;
    opacity: 0.1;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
}

.section-header h2 {
    color: #ffffff;
    font-family: "Oswald", sans-serif;
    font-size: 2.5rem;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.carousel-container {
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
    position: relative;
    z-index: 2;
    margin: 0 auto;
}

.carousel {
    width: 100%;
    padding: 20px 0;
    margin: 0 auto;
}

.carousel-track {
    display: flex;
    width: fit-content;
    animation: scroll 40s linear infinite;
}

.carousel-card {
    width: 300px;
    margin: 0 15px;
    background-color: #212121;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.carousel-card:hover {
    transform: translateY(-10px);
}

.carousel-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.carousel-card h3 {
    color: #ffffff;
    font-family: "Oswald", sans-serif;
    font-size: 1.5rem;
    text-align: center;
    padding: 20px;
    margin: 0;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-300px * 7 - 30px * 7));
    }
}

/* Para hacer el carrusel infinito, duplicamos las tarjetas */
.carousel-track {
    display: flex;
    animation: scroll 40s linear infinite;
}

.carousel-track:hover {
    animation-play-state: paused;
}

/* Sección de Servicios */
.services-section {
    background-color: #212121;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.services-section .section-header p {
    color: #d8d8d8;
    font-family: "Outfit", sans-serif;
    font-size: 1.1rem;
    margin-top: 10px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.service-card {
    background-color: #0f0f0f;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease;
    position: relative;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-image {
    height: 250px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    padding: 30px;
    position: relative;
}

.service-icon {
    width: 60px;
    height: 60px;
    background-color: #B6E925;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #0f0f0f;
    position: absolute;
    top: -30px;
    right: 30px;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: rotate(360deg);
}

.service-content h3 {
    font-family: "Oswald", sans-serif;
    font-size: 1.8rem;
    color: #ffffff;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.service-content p {
    font-family: "Outfit", sans-serif;
    color: #d8d8d8;
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.service-features li {
    font-family: "Outfit", sans-serif;
    color: #d8d8d8;
    margin: 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-features li i {
    color: #B6E925;
    font-size: 0.9rem;
}

.service-button {
    display: inline-block;
    padding: 12px 30px;
    background-color: transparent;
    border: 2px solid #B6E925;
    color: #B6E925;
    font-family: "Oswald", sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.service-button:hover {
    background-color: #B6E925;
    color: #0f0f0f;
}

.services-section::before,
.services-section::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background-color: #B6E925;
    opacity: 0.05;
}

.services-section::before {
    left: -200px;
    top: -200px;
    transform: rotate(45deg);
}

.services-section::after {
    right: -200px;
    bottom: -200px;
    transform: rotate(45deg);
}

/* Responsive */
@media (max-width: 768px) {
    .categories-carousel-section {
        padding: 40px 0;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .section-header p {
        font-size: 1rem;
        padding: 0 20px;
    }

    .carousel-card {
        width: 250px;
    }

    @keyframes scroll {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-250px * 7 - 30px * 7));
        }
    }

    .about-section {
        padding: 50px 20px;
    }

    .about-content {
        flex-direction: column;
        gap: 40px;
    }

    .about-text h2 {
        font-size: 2rem;
    }

    .about-text p {
        font-size: 1rem;
    }

    .about-image {
        margin: 0 auto;
        max-width: 90%;
    }

    .about-image::before {
        top: -10px;
        right: -10px;
    }

    .stats-container {
        flex-wrap: wrap;
        gap: 40px;
    }

    .stat-item {
        flex: 0 0 40%;
    }

    .stat-number {
        font-size: 3rem;
    }

    .stat-label {
        font-size: 0.9rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 15px;
    }

    .service-content {
        padding: 25px;
    }

    .service-content h3 {
        font-size: 1.5rem;
    }

    .service-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        top: -25px;
        right: 25px;
    }

    .service-image {
        height: 200px;
    }
}