/* ==== ESTILOS PARA LA SECCIÓN DE BIENVENIDA ==== */

/* Contenedor principal de bienvenida */
.welcome-container {
    display: flex;
    min-height: 100vh;
    width: 100%;
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 0;
    font-size: 0; /* Eliminar espacios entre elementos inline */
    box-sizing: border-box;
    gap: 0; /* Asegurar que no haya espacio entre los elementos flex */
    margin-top: 50px; /* Aumentado para la vista por defecto */
}

/* Corrección adicional para evitar superposición con secciones siguientes */
@media (max-width: 992px) {
    /* Asegurar que la sección siguiente no se sobreponga */
    .offerings-section {
        position: relative;
        z-index: 1;
        margin-top: 0; /* Sin espacio adicional */
        padding-top: 20px; /* Usar padding en lugar de margin si es necesario */
        background-color: var(--background-color, white); /* Fondo sólido */
    }
}

/* Panel izquierdo: texto de bienvenida con fondo mejorado usando variables */
.welcome-left {
    width: 50%;
    background: linear-gradient(135deg, 
                rgba(var(--brand-dark-rgb), 0.98) 0%, 
                rgba(25, 25, 50, 0.95) 50%,
                rgba(var(--brand-turquoise-rgb), 0.35) 150%);
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2.5rem;
    z-index: 2;
    overflow: hidden;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.7), inset 0 0 60px rgba(0, 0, 0, 0.3);
    margin: 0;
    font-size: 16px;
    transition: background 0.5s ease;
}

/* Efecto de luz sutil en las esquinas usando variables */
.welcome-left::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top left, rgba(var(--brand-turquoise-rgb), 0.15), transparent 60%),
                radial-gradient(circle at bottom right, rgba(var(--brand-purple-rgb), 0.15), transparent 60%);
    pointer-events: none;
    z-index: 1;
}

/* Ajustes para modo oscuro/festivo */
body.dark-mode .welcome-left {
    background: linear-gradient(135deg, 
                rgba(var(--brand-dark-rgb), 0.98) 0%, 
                rgba(25, 25, 50, 0.95) 50%,
                rgba(var(--theme-dark-accent-rgb), 0.35) 150%);
}

/* Patrón de fondo para el panel izquierdo */
.welcome-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.4;
    z-index: 0;
    animation: patternFloat 40s linear infinite;
    pointer-events: none;
    filter: blur(0.5px);
}
  
/* Contenedor del contenido de bienvenida */
.welcome-content {
    color: var(--brand-light);
    text-align: center;
    max-width: 85%;
    animation: fadeIn 1.8s ease-in-out;
    position: relative;
    z-index: 5; /* Aumentado para asegurar que esté por encima de los elementos decorativos */
    transform: translateZ(0);
    padding: 1.5rem;
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.2) 0%, transparent 70%);
    border-radius: 8px;
}
  
/* Título principal "BIENVENIDO A BEMARO" */
.welcome-content h1 {
    font-family: "Faculty Glyphic", sans-serif;
    font-size: 3.8rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8), 
                 0 0 30px rgba(var(--brand-turquoise-rgb), 0.5),
                 0 1px 1px rgba(255, 255, 255, 0.2);
    letter-spacing: 3px;
    color: var(--brand-light);
    position: relative;
    display: inline-block;
    transition: all 0.5s ease;
    transform: perspective(500px) translateZ(0);
    animation: textGlow 3s infinite alternate;
}
  
/* Divider con efecto de brillo usando variables */
.welcome-content .divider {
    width: 120px;
    height: 3px;
    background: linear-gradient(to right, 
                transparent 0%, 
                var(--brand-turquoise) 20%, 
                var(--brand-purple) 80%, 
                transparent 100%);
    margin: 1.2rem auto;
    border-radius: 3px;
    box-shadow: 0 2px 15px rgba(var(--brand-turquoise-rgb), 0.7), 
                0 0 5px rgba(var(--brand-purple-rgb), 0.5);
    position: relative;
    overflow: visible;
    transition: all 0.5s ease;
    animation: dividerPulse 4s infinite alternate;
}

/* Efecto brillante del divider */
.divider::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 30px;
    height: 100%;
    background: rgba(255, 255, 255, 0.6);
    filter: blur(3px);
    animation: dividerGlow 2.5s infinite linear;
    opacity: 0.7;
}
  
/* Subtítulo usando variables de color */
.welcome-content h2 {
    font-family: "Raleway", sans-serif;
    font-size: 1.7rem;
    font-weight: 600;
    opacity: 0.95;
    letter-spacing: 1.8px;
    line-height: 1.6;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9), 
                0 0 15px rgba(var(--brand-turquoise-rgb), 0.3);
    margin-top: 1.5rem;
    color: var(--brand-light);
    transform: translateY(0);
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    animation: subTitleFloat 6s ease-in-out infinite;
}
  
/* Texto de descripción */
.welcome-subtitle {
    font-family: "Raleway", sans-serif;
    font-size: 1.15rem;
    margin-top: 1.8rem;
    opacity: 0.9;
    letter-spacing: 0.7px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9), 
                0 0 10px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 2.2s ease-out;
    color: var(--brand-light);
    font-weight: 300;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}
  
/* Contenedor para los botones de acción */
.cta-container {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: center;
    animation: fadeInUp 2.6s ease-out;
    position: relative;
    z-index: 5; /* Asegurar que los botones estén por encima de los elementos decorativos */
}
  
/* Botón principal de reserva usando variables globales */
.cta-button {
    display: flex;   
    align-items: center;   
    justify-content: center;   
    background-color: var(--brand-yellow);
    background-image: var(--gradient-button);
    color: var(--brand-light);   
    font-weight: 700;   
    border-radius: 50px;   
    padding: 16px 36px;
    text-transform: uppercase;   
    letter-spacing: 1.2px;   
    font-size: 17px;
    transition: all 0.4s var(--transition-bounce);
    box-shadow: var(--box-shadow-button);
    border: none;
    text-shadow: 0 2px 3px rgba(0, 0, 0, 0.3);   
    overflow: hidden;      
    position: relative;
    text-decoration: none;
    z-index: 1;
    animation: pulse 3s ease-in-out infinite;
}
  
/* Icono del botón de reserva */
.cta-button::before {   
    content: '\f274'; /* Código para ícono de calendario */   
    font-family: 'Font Awesome 6 Free';   
    font-weight: 900;   
    font-size: 20px;
    margin-right: 12px;
    display: inline-block;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    transition: transform 0.4s var(--transition-bounce);
    animation: pulse 2s infinite ease-in-out;
}
  
/* Hover del botón principal */
.cta-button:hover {   
    transform: translateY(-8px) scale(1.05);
    box-shadow: var(--box-shadow-button-hover);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);   
    background-image: var(--gradient-button-hover);
    letter-spacing: 1.8px;
}
  
/* Hover del icono del botón */
.cta-button:hover::before {
    animation: none;
    transform: rotate(15deg) scale(1.2);
}
  
/* Efecto de brillo para el botón */
.cta-button::after {   
    content: '';   
    position: absolute;   
    top: -10%;   
    left: -100%;   
    width: 80%;   
    height: 100%;   
    background: linear-gradient(     
        90deg,     
        rgba(255, 255, 255, 0) 0%,     
        rgba(255, 255, 255, 0.5) 50%,     
        rgba(255, 255, 255, 0) 100%   
    );   
    transform: skewX(-25deg);   
    transition: all 0.7s ease; 
    opacity: 0.6;
    z-index: 0;
}
  
/* Animación del brillo del botón */
.cta-button:hover::after {   
    left: 130%;   
    transition: all 0.9s ease; 
}
  
/* Enlace secundario para ver habitaciones */
.cta-secondary {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--brand-light);
    opacity: 0.9;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
    border-radius: 50px;
    padding: 12px 25px;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    display: inline-block;
    position: relative;
    overflow: hidden;
}

/* Hover del enlace secundario */
.cta-secondary:hover {
    opacity: 1;
    transform: translateY(-3px);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
    color: var(--brand-light);
    box-shadow: var(--shadow-light);
}
  
/* Hover del enlace secundario */
.cta-secondary:hover {
    opacity: 1;
    transform: translateY(-2px);
    color: var(--brand-yellow) !important;
    border: none !important;
    background: none !important;
}

/* Efecto de línea bajo el enlace secundario */
.cta-secondary::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--brand-yellow);
    transform: translateX(-50%);
    transition: width 0.4s ease;
    opacity: 0.7;
    border-radius: 2px;
}

.cta-secondary:hover::after {
    width: 60%;
}
  
/* Panel derecho: carrusel de imágenes */
.welcome-right {
    width: 50%;
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 0;
    font-size: 16px;
    z-index: 1;
}
  
/* Contenedor del carrusel */
.carousel {
    max-width: 100vh !important;
    width: 100%;
    height: 100%;
    position: relative;
    margin: 0;
    padding: 0;
}
  
/* Contenedor interno del carrusel */
.carousel-inner {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}
  
/* Elementos del carrusel (diapositivas) */
.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out, transform 8s ease;
    transform: scale(1.1);
    will-change: opacity, transform;
    margin: 0;
    padding: 0;
}
  
/* Estado activo de las diapositivas */
.carousel-item.active {
    opacity: 1;
    transform: scale(1.2);
}
  
/* Imágenes del carrusel */
.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.8);
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    display: block;
    margin: 0;
}
  
/* Overlay para las imágenes */
.carousel-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-overlay);
    z-index: 2;
    pointer-events: none;
}
  
/* Textos superpuestos en el carrusel */
.carousel-caption {
    position: absolute;
    bottom: 120px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--brand-light);
    z-index: 5;
    width: 100%;
    opacity: 0;
    transition: all 0.7s cubic-bezier(0.19, 1, 0.22, 1) 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 30px;
    pointer-events: none;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8), 0 1px 2px rgba(0, 0, 0, 1);
}
  
/* Estado activo de los textos del carrusel */
.carousel-item.active .carousel-caption {
    opacity: 1;
    transform: translate(-50%, -15px);
}
  
/* Títulos de los textos del carrusel */
.carousel-caption h3 {
    font-family: "Faculty Glyphic", sans-serif;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
    text-align: center;
    width: 100%;
}
  
/* Párrafos de los textos del carrusel */
.carousel-caption p {
    font-family: "Raleway", sans-serif;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.9);
    font-weight: 300;
    text-align: center;
    width: 100%;
}
  
/* Etiqueta destacada bajo los textos */
.caption-badge {
    background-color: var(--brand-yellow);
    color: var(--brand-dark);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-top: 15px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease 0.6s;
    box-shadow: var(--shadow-medium);
    text-shadow: none;
}
  
/* Estado activo de la etiqueta */
.carousel-item.active .caption-badge {
    opacity: 1;
    transform: translateY(0);
}
  
/* Controles de navegación del carrusel */
.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--transparency-dark-medium);
    color: var(--brand-light);
    border: none;
    font-size: 1rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s var(--transition-bounce);
    opacity: 0.7;
    box-shadow: var(--shadow-light);
}
  
/* Hover de los controles */
.carousel-control:hover {
    background: rgba(var(--brand-yellow-rgb), 0.7);
    transform: translateY(-50%) scale(1.1);
    opacity: 1;
    box-shadow: var(--shadow-medium), 0 0 0 2px var(--transparency-light);
}
  
/* Estado activo de los controles */
.carousel-control:active {
    transform: translateY(-50%) scale(0.95);
    box-shadow: var(--shadow-light);
    transition: all 0.1s ease;
}
  
/* Posicionamiento de los botones de control */
.carousel-control.prev {
    left: 20px;
}
  
.carousel-control.next {
    right: 20px;
}
  
/* Indicadores del carrusel */
.carousel-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}
  
/* Puntos indicadores individuales */
.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--transparency-medium);
    border: 2px solid var(--transparency-light);
    cursor: pointer;
    transition: all 0.3s var(--transition-bounce);
    box-shadow: var(--shadow-light);
    padding: 0;
}
  
/* Estado activo de los indicadores */
.indicator.active {
    background: var(--brand-yellow);
    transform: scale(1.2);
    border-color: var(--transparency-strong);
    box-shadow: 0 0 0 2px rgba(var(--brand-yellow-rgb), 0.5), var(--shadow-medium);
}
  
/* Hover de los indicadores */
.indicator:hover {
    background: rgba(var(--brand-yellow-rgb), 0.7);
    transform: scale(1.1);
}

/* Estilo para elementos decorativos flotantes - Actualizado para Día de las Madres */
.festive-element {
    position: absolute;
    bottom: -50px;
    width: 40px;
    height: 40px;
    z-index: 1; /* Reducido para que aparezca por debajo del contenido */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    filter: blur(0.5px);
    opacity: 0;
    animation: floatUp 15s ease-in-out forwards;
    pointer-events: none; /* Asegura que los elementos no interfieran con clicks */
}

/* Colores específicos para cada tipo de elemento decorativo - Día de las Madres */
.element-rose {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cpath d='M20,5 C22,8 26,10 26,14 C26,16 25,18 22,19 C25,20 27,22 27,25 C27,29 24,32 20,32 C16,32 13,29 13,25 C13,22 15,20 18,19 C15,18 14,16 14,14 C14,10 18,8 20,5 Z' fill='%23E75A7C'/%3E%3Cpath d='M20,32 L20,38 M16,34 L24,34' stroke='%23568203' stroke-width='2'/%3E%3C/svg%3E");
}

.element-heart {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cpath d='M20,10 C18,-2 2,0 2,12 C2,22 20,32 20,32 C20,32 38,22 38,12 C38,0 22,-2 20,10 Z' fill='%23E75A7C' stroke='%23F2B5D4' stroke-width='1'/%3E%3C/svg%3E");
}

.element-flower {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cg transform='translate(20,20)'%3E%3Cpath d='M0,-12 C6,-12 12,-6 12,0 C12,6 6,12 0,12 C-6,12 -12,6 -12,0 C-12,-6 -6,-12 0,-12 Z' fill='%23D7B9D5' stroke='%23F2B5D4' stroke-width='1'/%3E%3Ccircle cx='0' cy='0' r='5' fill='%23E75A7C'/%3E%3C/g%3E%3C/svg%3E");
}

/* Para mantener compatibilidad con el código existente - Convertimos las clases de globos en elementos del Día de las Madres */
.festive-balloon, .balloon-purple, .balloon-blue, .balloon-orange {
    display: none; /* Ocultamos las clases antiguas */
}

body.dark-mode .balloon-purple {
    display: block;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cpath d='M20,5 C22,8 26,10 26,14 C26,16 25,18 22,19 C25,20 27,22 27,25 C27,29 24,32 20,32 C16,32 13,29 13,25 C13,22 15,20 18,19 C15,18 14,16 14,14 C14,10 18,8 20,5 Z' fill='%23E75A7C'/%3E%3Cpath d='M20,32 L20,38 M16,34 L24,34' stroke='%23568203' stroke-width='2'/%3E%3C/svg%3E");
    width: 40px;
    height: 40px;
    animation: floatUp 15s ease-in-out forwards;
    opacity: 0;
}

body.dark-mode .balloon-blue {
    display: block;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cpath d='M20,10 C18,-2 2,0 2,12 C2,22 20,32 20,32 C20,32 38,22 38,12 C38,0 22,-2 20,10 Z' fill='%23F2B5D4' stroke='%23E75A7C' stroke-width='1'/%3E%3C/svg%3E");
    width: 40px;
    height: 40px;
    animation: floatUp 15s ease-in-out forwards;
    opacity: 0;
}

body.dark-mode .balloon-orange {
    display: block;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cg transform='translate(20,20)'%3E%3Cpath d='M0,-12 C6,-12 12,-6 12,0 C12,6 6,12 0,12 C-6,12 -12,6 -12,0 C-12,-6 -6,-12 0,-12 Z' fill='%23D7B9D5' stroke='%23F2B5D4' stroke-width='1'/%3E%3Ccircle cx='0' cy='0' r='5' fill='%23E75A7C'/%3E%3C/g%3E%3C/svg%3E");
    width: 40px;
    height: 40px;
    animation: floatUp 15s ease-in-out forwards;
    opacity: 0;
}

/* Los estilos de confeti se manejan en festscreen.js */

/* Animaciones */
@keyframes textGlow {
    0% {
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8), 
                     0 0 20px rgba(var(--brand-turquoise-rgb), 0.3);
    }
    100% {
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8), 
                     0 0 30px rgba(var(--brand-turquoise-rgb), 0.6);
    }
}

@keyframes dividerPulse {
    0% {
        opacity: 0.8;
        box-shadow: 0 2px 10px rgba(var(--brand-turquoise-rgb), 0.5);
    }
    100% {
        opacity: 1;
        box-shadow: 0 2px 20px rgba(var(--brand-turquoise-rgb), 0.8);
    }
}

@keyframes dividerGlow {
    0% {
        left: -30px;
        opacity: 0;
    }
    50% {
        opacity: 0.7;
    }
    100% {
        left: 100%;
        opacity: 0;
    }
}

@keyframes subTitleFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

@keyframes floatingRealBalloons {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

@keyframes floatUpRealBalloons {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
    100% {
        transform: translateY(0);
    }
}

@keyframes floatUp {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.7; /* Reducida para que los elementos sean más sutiles */
    }
    90% {
        opacity: 0.7; /* Reducida para que los elementos sean más sutiles */
    }
    100% {
        transform: translateY(-600px) rotate(15deg);
        opacity: 0;
    }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-25px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(25px); }
    to { opacity: 0.9; transform: translateY(0); }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

@keyframes patternFloat {
    0% { background-position: 0 0; }
    100% { background-position: 120px 120px; }
}

/* Las animaciones de confeti se manejan en festscreen.js */

/* Media queries para asegurar que los elementos decorativos se ven bien en todos los dispositivos */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    /* Ajuste para pantallas de alta densidad - mejorar visibilidad de elementos */
}

/* ==== MEDIA QUERIES GENERALES Y ESPECÍFICAS PARA LA SECCIÓN DE BIENVENIDA ==== */
  
/* Pantallas grandes */
@media (max-height: 720px){
    .welcome-container{
        margin-top: 120px; /* Reducido un poco más */
    }
}

@media (min-width: 1400px) {
    .welcome-content h1 {
        font-size: 4rem;
        margin-bottom: 2rem; /* Aumentado de 1.5rem a 2rem */
    }
    
    .welcome-content h2 {
        font-size: 1.8rem;
        margin-top: 2rem; /* Aumentado de 1.5rem a 2rem */
    }
    
    .welcome-subtitle {
        font-size: 1.2rem;
        margin-top: 2.2rem; /* Aumentado de 1.8rem a 2.2rem */
    }
    
    .cta-button {
        padding: 18px 40px;
        font-size: 18px;
    }
    
    .cta-container {
        margin-top: 3.5rem; /* Aumentado de 3rem a 3.5rem */
    }
}
  
/* Pantallas medianas */
@media (max-width: 1200px) {
    .welcome-content h1 {
        font-size: 3rem;
        margin-bottom: 1.8rem; /* Aumentado de 1.5rem a 1.8rem */
    }
    
    .welcome-content h2 {
        font-size: 1.5rem;
        margin-top: 1.8rem; /* Aumentado de 1.5rem a 1.8rem */
    }
    
    .welcome-subtitle {
        font-size: 1rem;
        margin-top: 2rem; /* Aumentado de 1.8rem a 2rem */
    }
    
    .cta-container {
        margin-top: 3.2rem; /* Aumentado de 3rem a 3.2rem */
    }
}
  
/* Pantallas de tabletas */
@media (max-width: 992px) {
    .welcome-content h1 {
        font-size: 2.7rem;
        margin-bottom: 1.5rem;
    }
    
    .carousel-caption {
        bottom: 100px; /* Aumentado de 80px a 100px */
    }
    
    .carousel-caption h3 {
        font-size: 1.8rem;
        margin-bottom: 1.2rem; /* Aumentado de 1rem a 1.2rem */
    }
    
    .carousel-caption p {
        font-size: 1rem;
        margin-bottom: 1.8rem; /* Aumentado de 1.5rem a 1.8rem */
    }
    
    .cta-button {
        padding: 14px 28px;
        font-size: 16px;
    }
    
    .cta-button::before {
        font-size: 18px;
    }
    
    /* Mejora para contenedor de CTA */
    .cta-container {
        flex-direction: row;
        gap: 25px; /* Aumentado de 20px a 25px */
        flex-wrap: wrap;
        justify-content: center;
        margin-top: 2.5rem; /* Aumentado de 2rem a 2.5rem */
    }
    
    .cta-button, .cta-secondary {
        margin: 0;
    }
}
  
/* ==== PANTALLAS DE MÓVILES - CORRECCIONES PRINCIPALES ==== */
@media (max-width: 992px) {
    /* Estructura principal */
    .welcome-container {
        display: flex;
        flex-direction: column;
        min-height: auto;
        overflow: visible;
        position: relative;
        width: 100%;
        margin-top: 140px; /* Aumentado significativamente para móviles */
        margin-bottom: 10px; /* Reducido para menos espacio con What We Offer */
    }
    
    /* Panel de texto - Ahora ocupa todo el espacio */
    .welcome-left {
        width: 100%;
        min-height: auto;
        padding: 60px 5% 50px;
        clip-path: none;
        box-shadow: var(--shadow-medium);
        position: relative;
        display: block;
    }
    
    /* OCULTAR COMPLETAMENTE EL CARRUSEL EN MÓVILES */
    .welcome-right {
        display: none !important; /* Ocultar completamente */
    }
    
    /* Resetear elementos decorativos en móviles */
    .welcome-bg-pattern {
        display: none; /* Ocultar patrón que puede causar problemas */
    }
    
    .festive-element,
    .element-rose,
    .element-heart,
    .element-flower {
        display: none; /* Ocultar elementos decorativos flotantes */
    }
    
    /* Asegurar que el contenido principal tenga el z-index correcto */
    .welcome-content {
        max-width: 100%;
        padding: 2rem;
        position: relative;
        z-index: 2; /* Mayor que el fondo pero menor que controles */
        background: transparent; /* Quitar background que puede causar problemas */
    }
    
    /* Resetear z-index de elementos que puedan causar problemas */
    .cta-container {
        position: relative;
        z-index: 2; /* Mismo nivel que el contenido */
    }
    
    .welcome-content h1 {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
    }
    
    .welcome-content h2 {
        font-size: 1.3rem;
        margin-top: 1.5rem;
    }
    
    .welcome-subtitle {
        font-size: 0.95rem;
        margin-top: 1.5rem;
    }
    
    .cta-container {
        margin-top: 2.5rem;
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 350px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .cta-button, .cta-secondary {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    
    /* Ajustes carrusel - Mantener animaciones */
    .carousel {
        height: 100%; /* Usar toda la altura del contenedor */
        display: block;
        background-color: var(--brand-dark);
        position: relative;
        overflow: hidden;
    }
    
    .carousel-inner {
        position: relative;
        width: 100%;
        height: 100%;
    }
    
    .carousel-item {
        position: absolute;
        background-color: var(--brand-dark);
        height: 100%;
        width: 100%;
        opacity: 0;
        transition: opacity 0.8s ease-in-out, transform 8s ease;
        transform: scale(1.1);
        will-change: opacity, transform;
    }
    
    /* Preservar la animación en el estado activo */
    .carousel-item.active {
        opacity: 1 !important;
        transform: scale(1.2) !important;
        position: absolute;
        visibility: visible !important;
        display: block !important;
        z-index: auto; /* Sin z-index específico */
    }
    
    .carousel-item img {
        object-fit: cover;
        object-position: center;
        width: 100%;
        height: 100%;
        transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    }
    
    .carousel-control {
        width: 45px;
        height: 45px;
        font-size: 0.9rem;
        opacity: 0.9;
        background: var(--transparency-dark-medium);
        z-index: 10; /* Mantener para los controles internos del carrusel */
    }
    
    .carousel-caption {
        bottom: 90px;
        width: 90%;
        opacity: 0;
        transition: all 0.7s cubic-bezier(0.19, 1, 0.22, 1) 0.3s;
        z-index: 5; /* Solo relativo dentro del carrusel */
    }
    
    /* Mantener animación del caption */
    .carousel-item.active .carousel-caption {
        opacity: 1 !important;
        transform: translate(-50%, -15px) !important;
    }
    
    .carousel-caption h3 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .indicator {
        width: 12px;
        height: 12px;
        background: var(--transparency-strong);
    }
    
    .carousel-indicators {
        bottom: 20px;
        z-index: 10; /* Solo relativo dentro del carrusel */
        gap: 15px;
    }
    
    /* Mantener animación del badge */
    .carousel-item.active .caption-badge {
        opacity: 1 !important;
        transform: translateY(0) !important;
        margin-top: 20px;
    }
}
  
/* Pantallas muy pequeñas */
@media (max-width: 576px) {
    .welcome-container {
        margin-top: 130px; /* Aumentado significativamente */
        margin-bottom: 5px; /* Mínimo espacio con What We Offer */
    }
    
    .welcome-left {
        padding: 50px 5% 40px;
    }
    
    /* Carrusel permanece oculto */
    .welcome-right {
        display: none !important;
    }
    
    .welcome-content h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .welcome-content h2 {
        font-size: 1.2rem;
        letter-spacing: 1px;
        margin-top: 1.2rem;
    }
    
    .welcome-subtitle {
        font-size: 0.9rem;
        margin-top: 1rem;
    }
    
    .welcome-content .divider {
        margin: 1rem auto;
    }
    
    .cta-container {
        margin-top: 2rem;
        gap: 12px;
    }
    
    .cta-button {
        padding: 14px 24px;
        font-size: 15px;
    }
    
    .cta-button::before {
        font-size: 16px;
        margin-right: 10px;
    }
    
    .cta-secondary {
        font-size: 0.85rem;
        padding: 12px 24px;
    }
}
  
/* Móviles muy pequeños */
@media (max-width: 400px) {
    .welcome-container {
        margin-top: 120px; /* Aumentado significativamente */
        margin-bottom: 5px; /* Mínimo espacio con What We Offer */
    }
    
    .welcome-left {
        padding: 40px 5% 30px;
    }
    
    /* Carrusel permanece oculto */
    .welcome-right {
        display: none !important;
    }
    
    .welcome-content h1 {
        font-size: 1.7rem;
        letter-spacing: 2px;
        margin-bottom: 0.8rem;
    }
    
    .welcome-content h2 {
        font-size: 1rem;
        letter-spacing: 0.8px;
        margin-top: 1rem;
    }
    
    .welcome-subtitle {
        font-size: 0.8rem;
        margin-top: 0.8rem;
    }
    
    .welcome-content .divider {
        width: 80px;
        height: 2px;
        margin: 0.8rem auto;
    }
    
    .cta-container {
        margin-top: 1.6rem;
        gap: 15px;
    }
    
    .cta-button {
        padding: 12px 20px;
        font-size: 14px;
    }
}

/* Estilos para alternar entre eslóganes según el tema */
.default-slogan {
    display: block;
    transition: opacity 0.5s ease;
}

.festive-slogan {
    display: none;
    color: var(--brand-light);
    font-family: "Raleway", sans-serif;
    font-size: 1.7rem;
    font-weight: 600;
    opacity: 0.95;
    letter-spacing: 1.8px;
    line-height: 1.6;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9), 
                0 0 15px rgba(var(--theme-dark-accent-rgb), 0.3);
    margin-top: 1.5rem;
    transform: translateY(0);
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    animation: subTitleFloat 6s ease-in-out infinite;
}

/* Cambiar eslóganes en modo oscuro/festivo */
body.dark-mode .default-slogan {
    display: none;
}

body.dark-mode .festive-slogan {
    display: block;
}

/* No se necesita decoración adicional en el splash screen, se maneja en festscreen.js */