﻿body {
    margin: 0;
    padding: 0;
    font-family: 'Exo', sans-serif;
    overflow-x: hidden;
}

/* Contenedor principal del slider */
.meta-slider-container {
    position: relative;
    width: 100%;
    height: 575px;
    overflow: hidden;
    background-color: #f0f0f0;
}

/* Estilos para flexslider */
.flexslider {
    border: none;
    margin: 0;
    height: 575px;
    background: transparent;
}

    .flexslider .slides,
    .flexslider .slides li {
        height: 100%;
    }

/* Slide individual */
.meta-slide {
    position: relative;
    width: 100%;
    height: 100%;
    background-color: #f0f0f0;
    overflow: hidden;
}

/* Fondo de slide */
.slide-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* Contenido del slide */
.slide-content {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 2;
}

/* Imagen de producto */
.product-image {
    position: absolute;
    top: 50%;
    left: 15%;
    transform: translateY(-50%);
    max-height: 450px;
    max-width: 450px;
    z-index: 10;
}

/* Estilos de textos */
.text-layer {
    position: absolute;
    font-style: italic;
    text-align: right;
    right: 10%;
    z-index: 10;
}

.small-text {
    top: 110px;
    right: 15%;
    width: 660px;
    font-size: 16px;
    line-height: 34px;
    font-weight: 700;
    color: #000000;
}

.headline-text {
    top: 150px;
    right: 15%;
    width: 540px;
    font-size: 34px;
    line-height: 1.2;
    font-weight: 700;
    color: #000000;
}

.subheadline-text {
    top: 200px;
    right: 15%;
    width: 464px;
    font-size: 42px;
    line-height: 1.2;
    font-weight: 900;
    color: #000000;
}

.product-text {
    top: 250px;
    right: 15%;
    padding: 5px 15px;
    font-size: 30px;
    line-height: 1.2;
    font-weight: 300;
    color: #ffffff;
    background-color: #000000;
}

.price-text {
    top: 320px;
    right: 15%;
    width: 199px;
    font-size: 59px;
    line-height: 1;
    font-weight: 700;
    color: #de4242;
}

.cta-button {
    position: absolute;
    top: 400px;
    right: 15%;
    padding: 12px 18px;
    background-color: #f00404;
    color: #ffffff;
    font-weight: 800;
    font-style: italic;
    text-decoration: none;
    font-size: 18px;
    letter-spacing: 1px;
    z-index: 10;
    transition: transform 0.3s ease;
}

    .cta-button:hover {
        transform: translateY(-5px);
        color: #ffffff;
    }

    .cta-button i {
        margin-left: 5px;
    }

/* Animaciones */
.animate-fade-in-right {
    animation: fadeInRight 1s ease forwards;
    opacity: 0;
}

.animate-fade-in-left {
    animation: fadeInLeft 1s ease forwards;
    opacity: 0;
}

.animate-fade-in-up {
    animation: fadeInUp 1s ease forwards;
    opacity: 0;
}

.animate-scale-in {
    animation: scaleIn 1s ease forwards;
    opacity: 0;
}

.delay-1 {
    animation-delay: 0.3s;
}

.delay-2 {
    animation-delay: 0.6s;
}

.delay-3 {
    animation-delay: 0.9s;
}

.delay-4 {
    animation-delay: 1.2s;
}

.delay-5 {
    animation-delay: 1.5s;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Controles de navegación */
.flex-direction-nav a {
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
}

.flex-control-nav {
    bottom: 20px;
    z-index: 10;
}

.flex-control-paging li a {
    background: rgba(255, 255, 255, 0.5);
    box-shadow: none;
}

    .flex-control-paging li a.flex-active {
        background: #000000;
    }

/* Responsive */
@media (max-width: 992px) {
    .product-image {
        left: 5%;
        max-height: 400px;
    }

    .text-layer {
        right: 5%;
    }

    .small-text, .headline-text, .subheadline-text {
        width: auto;
        max-width: 500px;
    }
}

@media (max-width: 768px) {
    .meta-slider-container, .flexslider {
        height: 800px;
    }

    .product-image {
        top: 70px;
        left: 50%;
        transform: translateX(-50%);
        max-height: 280px;
        max-width: 280px;
    }

    .text-layer {
        right: auto;
        left: 50%;
        transform: translateX(-50%);
        text-align: center;
        width: 90%;
    }

    .small-text {
        top: 360px;
        font-size: 13px;
        line-height: 1.5;
    }

    .headline-text {
        top: 400px;
        font-size: 28px;
    }

    .subheadline-text {
        top: 470px;
        font-size: 36px;
    }

    .product-text {
        top: 550px;
        font-size: 26px;
    }

    .price-text {
        top: 610px;
        font-size: 50px;
    }

    .cta-button {
        top: 690px;
        right: auto;
        left: 50%;
        transform: translateX(-50%);
        white-space: nowrap;
    }

        .cta-button:hover {
            transform: translateX(-50%) translateY(-5px);
        }
}

/* Ajustes adicionales para pantallas más pequeñas */
@media (max-width: 576px) {
    .product-image {
        max-height: 230px;
        max-width: 230px;
    }

    .small-text {
        font-size: 12px;
        top: 320px;
    }

    .headline-text {
        font-size: 24px;
        top: 360px;
    }

    .subheadline-text {
        font-size: 30px;
        top: 430px;
    }

    .product-text {
        font-size: 22px;
        top: 500px;
    }

    .price-text {
        font-size: 44px;
        top: 560px;
    }

    .cta-button {
        top: 640px;
        font-size: 16px;
    }
}
