/* ========================================
   SLIDER DE IMÁGENES PROFESIONAL
   ======================================== */

.hero-slider {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    margin-bottom: 60px;
}

.slider-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.slider-item.active {
    opacity: 1;
    z-index: 1;
}

.slider-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    width: 90%;
    max-width: 800px;
}

.slider-content h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-family: 'Cinzel', serif;
    animation: fadeInDown 1s ease-out;
}

.slider-content p {
    font-size: 1.3em;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.slider-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.slider-buttons .btn {
    padding: 15px 40px;
    font-size: 1.1em;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Cinzel', serif;
    text-decoration: none;
    display: inline-block;
}

.slider-buttons .btn-primary {
    background: #fdfdfd;
    color: #111;
    font-weight: 700;
}

.slider-buttons .btn-primary:hover {
    background: #ffffff;
    transform: translateY(-2px);
}

.slider-buttons .btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
    font-weight: 600;
}

.slider-buttons .btn-secondary:hover {
    background: white;
    color: #111;
}

/* Controles del slider (flechas) */
.slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 3;
    transform: translateY(-50%);
}

.slider-control {
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s;
}

.slider-control:hover {
    background: rgba(255, 255, 255, 0.9);
}

/* Animaciones */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   MODAL DE COOKIES
   ======================================== */

#cookie-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: fadeIn 0.3s ease-out;
}

.cookie-content {
    background: white;
    padding: 40px;
    border-radius: 10px;
    max-width: 600px;
    width: 90%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.4s ease-out;
}

.cookie-content h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.8em;
    margin-bottom: 20px;
    color: #111;
}

.cookie-content p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 0.95em;
}

.cookie-content a {
    color: #d4af37;
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.95em;
    font-weight: 600;
    transition: all 0.3s;
    font-family: 'Cinzel', serif;
}

.cookie-btn.btn-accept {
    background: #111;
    color: white;
}

.cookie-btn.btn-accept:hover {
    background: #333;
}

.cookie-btn.btn-reject {
    background: #666;
    color: white;
}

.cookie-btn.btn-reject:hover {
    background: #888;
}

.cookie-btn.btn-personalize {
    background: transparent;
    color: #111;
    border: 2px solid #111;
}

.cookie-btn.btn-personalize:hover {
    background: #111;
    color: white;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-slider {
        height: 400px;
    }
    
    .slider-content h1 {
        font-size: 2em;
    }
    
    .slider-content p {
        font-size: 1em;
    }
    
    .cookie-content {
        padding: 25px;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
    
    .cookie-btn {
        width: 100%;
    }
}