:root {
    --gold-text: #d4af37;
    --dark-bg: #0f0f11;
}

body {
    background-color: var(--dark-bg);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #e0e0e0;
    margin: 0;
    padding: 0;
}

/* ==========================================
   HEADER - EFECTO CRISTAL (GLASSMORPHISM)
   ========================================== */
.site-header {
    /* Fondo translúcido (puedes bajar o subir el '0.2' para más o menos transparencia) */
    background: rgba(15, 15, 17, 0);
    
    /* Desenfoque tipo cristal esmerilado para que se vea difuminada la foto de atrás */
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    
    /* Borde inferior ultra fino simulando el brillo del filo de un cristal */
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    
    /* Sombra muy suave para separar el header del carrusel */
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
    
    z-index: 1000;
    transition: all 0.3s ease;
}


/* Logo */
.header-logo {
    max-height: 55px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

/* Menú de Navegación */
.navbar-nav .nav-link {
    color: #e0e0e0;
    font-weight: 400;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--gold-text);
}

/* Botón Cotizar de Cristal */
.btn-cotizar {
    border: 1px solid rgba(212, 175, 55, 0.075) !important;
    padding: 6px 20px !important;
    border-radius: 4px;
    background: rgba(212, 175, 55, 0.1);
    backdrop-filter: blur(4px);
    color: var(--gold-text) !important;
    transition: all 0.3s ease;
}

.btn-cotizar:hover {
    background: var(--gold-text);
    color: #000 !important;
}

/* ==========================================
   CARRUSEL AL RAS Y MÁS PEQUEÑO
   ========================================== */
.hero-slider-section {
    position: relative;
    width: 100%;
    margin-top: 0;
    padding-top: 0;
}

.hero-img {
    height: 45vh; 
    object-fit: cover;
    filter: brightness(0.85);
}

/* Ocultar por completo las flechas de navegación lateral del carrusel */
.carousel-control-prev,
.carousel-control-next {
    display: none !important;
}

/* Difuminado suave en la parte inferior del carrusel hacia el fondo oscuro */
.hero-slider-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(to bottom, rgba(15, 15, 17, 0) 0%, var(--dark-bg) 100%);
    pointer-events: none;
}

/* ==========================================
   ESTILOS GENERALES Y FOOTER
   ========================================== */
.text-gold {
    color: var(--gold-text);
}

.site-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background-color: #0a0a0c;
}

/* ==========================================
   SECCIÓN EVENTOS Y CARDS
   ========================================== */
.evento-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 12px;
    backdrop-filter: blur(6px);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.evento-card:hover {
    transform: translateY(-4px);
    border-color: rgba(212, 175, 55, 0.4);
}

/* Miniatura cuadrada / recortada a la izquierda */
.evento-thumb-container {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
}

.evento-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* BOTÓN: Rectangular a la izquierda y Ovalado a la derecha */
.btn-custom-oval {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(212, 175, 55, 0.3) 100%);
    color: var(--gold-text);
    border: 1px solid rgba(212, 175, 55, 0.4);
    /* Borde recto izquierda, totalmente ovalado derecha */
    border-radius: 4px 25px 25px 4px; 
    padding: 8px 22px;
    font-size: 0.88rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-custom-oval:hover {
    background: var(--gold-text);
    color: #000;
    border-color: var(--gold-text);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

/* ==========================================
   VENTANAS FLOTANTES (MODALES)
   ========================================== */


/* Carrusel Modal con fotos estrictamente en rectángulos */
.modal-rect-img {
    height: 320px;
    object-fit: cover;
    border-radius: 6px;
}

.custom-modal-content {
    background-color: #141418;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.8);
}

.custom-carousel-rect {
    margin: 0 auto;
    max-width: 80%;
    background-color: #141418;
    box-shadow: 0 10px 40px rgba(0,0,0,0.8);
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* ==========================================
   CARRUSEL 3D EN MODALES
   ========================================== */
.stage-3d-container {
    position: relative;
    width: 100%;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
    overflow: hidden;
}

.carousel-3d {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform-style: preserve-3d;
}

.card-3d {
    position: absolute;
    width: 200px;  
    height: 270px; 
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: transform 0.5s ease, opacity 0.5s ease, z-index 0.5s;
    cursor: pointer;
}

.card-3d img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-3d.active {
    transform: translate3d(0, 0, 0) scale(1);
    z-index: 10;
    opacity: 1;
    border-color: rgba(212, 175, 55, 0.6);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8), 0 0 15px rgba(212, 175, 55, 0.2);
}

.card-3d.next {
    transform: translate3d(140px, 0, -100px) rotateY(-20deg) scale(0.85);
    z-index: 5;
    opacity: 0.7;
    filter: brightness(0.7);
}

.card-3d.prev {
    transform: translate3d(-140px, 0, -100px) rotateY(20deg) scale(0.85);
    z-index: 5;
    opacity: 0.7;
    filter: brightness(0.7);
}

.card-3d.hidden {
    transform: translate3d(0, 0, -200px) scale(0.6);
    z-index: 1;
    opacity: 0;
    pointer-events: none;
}

/* Botón directo a WhatsApp */
.btn-whatsapp-cotizar {
    background-color: #17df6031;
    color: #fff;
    font-weight: 600;
    padding: 10px 28px;
    border-radius: 30px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp-cotizar:hover {
    background-color: #0bd65641;
    color: #fff;
    transform: scale(1.03);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}