/* Estilos generales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.content {
    width: 90%;
    max-width: 1200px;
    text-align: center;
}

.title {
    margin-bottom: 30px;
    font-weight: 800;
    letter-spacing: 1px;
}

/* Estilos para el slide de tipos de café */
.slide-tipos-cafe {
    background-color: #d5c7a9;
    color: #000;
}

.slide-tipos-cafe .title {
    font-size: 3rem;
    position: relative;
    display: inline-block;
    margin-bottom: 60px;
}

.slide-tipos-cafe .title::before,
.slide-tipos-cafe .title::after {
    content: "✦";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #8a634e;
}

.slide-tipos-cafe .title::before {
    left: -50px;
}

.slide-tipos-cafe .title::after {
    right: -50px;
}

.coffee-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 40px 20px;
    max-width: 1000px;
    margin: 0 auto;
}

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

.coffee-image {
    width: 150px;
    height: 150px;
    margin-bottom: 10px;
    transition: transform 0.3s ease;
}

.coffee-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.coffee-name {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1px;
}

/* Estilos para el slide de café frío */
.slide-cafe-frio {
    background-color: #efe8d8;
    color: #000;
}

.cafe-frio-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.text-container {
    flex: 1;
    text-align: left;
    padding-left: 5%;
}

.slide-cafe-frio .title {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.1;
    text-align: left;
    margin-bottom: 0;
}

.image-container {
    flex: 1;
    text-align: right;
}

.image-container img {
    max-width: 100%;
    max-height: 500px;
}

.website {
    position: absolute;
    bottom: 30px;
    right: 30px;
    font-size: 0.9rem;
    color: #333;
}

/* Estilos para el slide de nuevos sabores */
.slide-nuevos-sabores {
    background-color: #f5f0e6;
    color: #6c4a37;
}

.slide-nuevos-sabores .title {
    font-size: 3.5rem;
    color: #6c4a37;
}

.sabores-grid {
    display: flex;
    justify-content: center;
    gap: 80px;
}

.sabor-item {
    width: 300px;
}

.sabor-image {
    width: 200px;
    height: 200px;
    margin: 0 auto 20px;
}

.sabor-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.sabor-name {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.sabor-desc {
    font-size: 1rem;
    color: #6c4a37;
}

/* Animaciones de entrada para los elementos */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.slide.active .title,
.slide.active .coffee-item,
.slide.active .sabor-item,
.slide.active .text-container,
.slide.active .image-container {
    animation: fadeInUp 0.8s ease forwards;
}

.slide.active .coffee-item:nth-child(1) { animation-delay: 0.2s; }
.slide.active .coffee-item:nth-child(2) { animation-delay: 0.3s; }
.slide.active .coffee-item:nth-child(3) { animation-delay: 0.4s; }
.slide.active .coffee-item:nth-child(4) { animation-delay: 0.5s; }
.slide.active .coffee-item:nth-child(5) { animation-delay: 0.6s; }
.slide.active .coffee-item:nth-child(6) { animation-delay: 0.7s; }
.slide.active .coffee-item:nth-child(7) { animation-delay: 0.8s; }
.slide.active .coffee-item:nth-child(8) { animation-delay: 0.9s; }

.slide.active .sabor-item:nth-child(1) { animation-delay: 0.3s; }
.slide.active .sabor-item:nth-child(2) { animation-delay: 0.5s; }

.slide.active .text-container { animation-delay: 0.3s; }
.slide.active .image-container { animation-delay: 0.5s; }

/* Media queries para responsividad */
@media (max-width: 1024px) {
    .coffee-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(4, auto);
    }
    
    .slide-cafe-frio .title {
        font-size: 3.5rem;
    }
    
    .sabores-grid {
        flex-direction: column;
        gap: 40px;
    }
    
    .sabor-item {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .slide-tipos-cafe .title {
        font-size: 2.5rem;
    }
    
    .slide-tipos-cafe .title::before,
    .slide-tipos-cafe .title::after {
        display: none;
    }
    
    .cafe-frio-container {
        flex-direction: column;
    }
    
    .text-container {
        text-align: center;
        padding-left: 0;
        margin-bottom: 30px;
    }
    
    .slide-cafe-frio .title {
        text-align: center;
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    .coffee-grid {
        grid-template-columns: 1fr;
    }
    
    .slide-cafe-frio .title {
        font-size: 2.5rem;
    }
} 