/* Sections CSS - Estilos específicos para cada sección */

/* ===== SCENE BASE ===== */
.scene {
    width: 100%;
    height: var(--section-height, 100%);
    min-height: var(--section-height, 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background-color: var(--color-bg-secondary);
}

/* ===== HERO SECTION ===== */
.scene--hero {
    background: var(--color-bg-secondary);
    position: relative;
    overflow: hidden;
}

@keyframes snowfall {
    0% { transform: translateY(-100px); }
    100% { transform: translateY(100%); }
}

/* ===== PRICING SECTION ===== */
.scene--pricing {
    background: var(--color-bg-secondary);
    position: relative;
}

.scene--pricing::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(217, 83, 79, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(217, 83, 79, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.pricing__card--standard {
    position: relative;
}

.pricing__card--standard::after {
    content: '⭐ MÁS POPULAR';
    position: absolute;
    top: 1.0rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-primary);
    color: #fff;
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--border-radius-full);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.05em;
    box-shadow: var(--shadow-md);
}

/* ===== TESTIMONIALS SECTION ===== */
.scene--testimonials {
    background: var(--color-bg-secondary);
    position: relative;
}

.scene--testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="hearts" x="0" y="0" width="30" height="30" patternUnits="userSpaceOnUse"><text x="15" y="20" text-anchor="middle" font-size="12" fill="rgba(217,83,79,0.1)">❤️</text></pattern></defs><rect width="100" height="100" fill="url(%23hearts)"/></svg>');
    opacity: 0.3;
    animation: float 15s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.testimonial:nth-child(even) {
    transform: translateY(20px);
}

.testimonial__img {
    border: 3px solid var(--color-primary);
    transition: all var(--transition-normal);
}

.testimonial:hover .testimonial__img {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(217, 83, 79, 0.3);
}

/* ===== BOOKING SECTION ===== */
.scene--booking {
    background: var(--color-bg-secondary);
    position: relative;
}

.scene--booking::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="ice" x="0" y="0" width="25" height="25" patternUnits="userSpaceOnUse"><polygon points="12.5,5 20,15 12.5,20 5,15" fill="rgba(255,255,255,0.2)" stroke="rgba(217,83,79,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23ice)"/></svg>');
    opacity: 0.4;
}

.booking-form {
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.booking-form__steps {
    position: relative;
}

.booking-form__steps::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(to right, 
        var(--color-primary) 0%, 
        var(--color-primary) 25%, 
        var(--color-bg-secondary) 25%, 
        var(--color-bg-secondary) 100%);
    z-index: 0;
}

.step {
    position: relative;
    z-index: 1;
}

/* ===== GALLERY SECTION ===== */
.scene--gallery {
    background: var(--color-bg-light);
    position: relative;
}

.scene--gallery::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="camera" x="0" y="0" width="40" height="40" patternUnits="userSpaceOnUse"><text x="20" y="25" text-anchor="middle" font-size="16" fill="rgba(217,83,79,0.05)">📸</text></pattern></defs><rect width="100" height="100" fill="url(%23camera)"/></svg>');
    opacity: 0.6;
    animation: pulse 10s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 0.3; }
}

.gallery__grid {
    perspective: 1000px;
}

.gallery__item {
    transform-style: preserve-3d;
    transition: all var(--transition-slow);
}

.gallery__item:hover {
    transform: translateY(-4px) rotateY(5deg);
}

.gallery__item:nth-child(odd) {
    animation: floatLeft 6s ease-in-out infinite;
}

.gallery__item:nth-child(even) {
    animation: floatRight 6s ease-in-out infinite 3s;
}

@keyframes floatLeft {
    0%, 100% { transform: translateX(0px) translateY(0px); }
    50% { transform: translateX(-5px) translateY(-5px); }
}

@keyframes floatRight {
    0%, 100% { transform: translateX(0px) translateY(0px); }
    50% { transform: translateX(5px) translateY(-5px); }
}

/* ===== FOOTER SECTION ===== */
.scene--footer {
    background: var(--color-bg-secondary);
    position: relative;
}

.scene--footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="waves" x="0" y="0" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M0 20 Q10 10 20 20 T40 20" stroke="rgba(217,83,79,0.05)" stroke-width="2" fill="none"/></pattern></defs><rect width="100" height="100" fill="url(%23waves)"/></svg>');
    opacity: 0.6;
    animation: gentleWave 15s ease-in-out infinite;
}

@keyframes gentleWave {
    0%, 100% { transform: translateX(0px); }
    50% { transform: translateX(-20px); }
}

/* ===== EFECTOS ESPECIALES ===== */

/* Efecto de cristales de hielo */
.ice-crystal {
    position: absolute;
    width: 20px;
    height: 20px;
    background: linear-gradient(45deg, rgba(255,255,255,0.8), rgba(217,83,79,0.2));
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    animation: sparkle 3s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { 
        opacity: 0.3; 
        transform: scale(1) rotate(0deg); 
    }
    50% { 
        opacity: 1; 
        transform: scale(1.2) rotate(180deg); 
    }
}

/* Posicionamiento de cristales */
.scene--hero .ice-crystal:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.scene--hero .ice-crystal:nth-child(2) {
    top: 60%;
    right: 15%;
    animation-delay: 1s;
}

.scene--pricing .ice-crystal:nth-child(1) {
    top: 30%;
    left: 5%;
    animation-delay: 0.5s;
}

.scene--pricing .ice-crystal:nth-child(2) {
    bottom: 20%;
    right: 10%;
    animation-delay: 2s;
}

/* Efecto de brillo en las tarjetas */
.pricing__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.5s;
}

.pricing__card:hover::before {
    left: 100%;
}

/* Efecto de ondas en testimonials */
.testimonial::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(217,83,79,0.1) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all var(--transition-slow);
    z-index: -1;
}

.testimonial:hover::after {
    width: 120%;
    height: 120%;
}

/* Efecto de typing en el chatbot */
.chatbot__bubble {
    overflow: hidden;
    border-right: 2px solid var(--color-primary);
    /*white-space: nowrap;*/
    /*animation: typing 3s steps(40, end), blink-caret 0.75s step-end infinite;*/
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: var(--color-primary); }
}

/* Efectos de partículas */
.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--color-primary);
    border-radius: 50%;
    pointer-events: none;
    animation: particle-float 8s linear infinite;
}

@keyframes particle-float {
    0% {
        transform: translateY(100vh) translateX(0px);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) translateX(100px);
        opacity: 0;
    }
}

/* Efectos de hover mejorados */
.btn:hover {
    animation: buttonPulse 0.6s ease-in-out;
}

@keyframes buttonPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Efectos de carga */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(253, 250, 244, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    backdrop-filter: blur(5px);
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid var(--color-bg-secondary);
    border-top: 4px solid var(--color-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Efectos de transición entre secciones */
.scene-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    z-index: 9998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease-in-out;
}

.scene-transition.active {
    opacity: 1;
    pointer-events: all;
}

/* Efectos de parallax */
.parallax-element {
    transform: translateZ(0);
    will-change: transform;
}

/* Efectos de glassmorphism */
.glass-effect {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

/* Efectos de neón */
.neon-glow {
    text-shadow: 
        0 0 5px var(--color-primary),
        0 0 10px var(--color-primary),
        0 0 15px var(--color-primary),
        0 0 20px var(--color-primary);
    animation: neonFlicker 2s ease-in-out infinite alternate;
}

@keyframes neonFlicker {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
} 