/**
 * Mazal House Slider Styles
 */

:root {
    --orange-bright: #ff4d00;
    --orange-dark: #b33600;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html {
    margin: 0 !important;
    padding: 0 !important;
    width: 100%;
    height: 100%;
}

body {
    background: #000;
    overflow-x: hidden;
    cursor: default;
    margin: 0 !important;
    padding: 0 !important;
    width: 100vw;
    min-height: 100vh;
}

/* Quitar admin bar de WordPress si está visible */
body.admin-bar {
    margin-top: 0 !important;
}

#wpadminbar {
    display: none !important;
}

/* Ocultar cursor solo dentro del slider */
.slider-wrapper {
    cursor: none;
}

/* Elementos interactivos con cursor normal y pointer-events habilitados */
.navbar,
.side-card,
.stats-container {
    pointer-events: auto !important;
    cursor: default !important;
}

.btn-contact,
.btn-book,
.nav-links a,
.arrow-btn {
    pointer-events: auto !important;
    cursor: pointer !important;
}

.navbar *,
.side-card *,
.stats-container * {
    pointer-events: auto !important;
}

/* El título es parte del fondo - no bloquea el cursor personalizado */
.main-title {
    pointer-events: none;
}

/* ==================
   SLIDER WRAPPER
   ================== */
.slider-wrapper {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

/* GRADIENTE INFERIOR DEL SLIDER */
.slider-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 250px;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(10, 5, 2, 0.5) 20%,
        rgba(10, 5, 2, 0.8) 40%,
        rgba(10, 5, 2, 0.95) 70%,
        rgba(10, 5, 2, 1) 100%
    );
    z-index: 2;
    pointer-events: none;
}

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

/* ==================
   SLIDES
   ================== */
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
    background-size: cover;
    background-position: center;
    padding: 40px;
    display: flex;
    flex-direction: column;
}

.slide.active {
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 1;
}

.slide:first-child {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.slide-content {
    flex: 1;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 60px;
}

/* ==================
   TÍTULO
   ================== */
.main-title {
    color: white;
    font-size: clamp(60px, 8vw, 120px);
    font-weight: 800;
    line-height: 0.9;
    letter-spacing: -2px;
    text-transform: uppercase;
    margin: 70px 0px 0px 0px;
    position: relative;
    z-index: 2;
    opacity: 1 !important;
    visibility: visible !important;
}

.hero-title-line3 {
    color: white;
    font-size: clamp(60px, 8vw, 120px);
    font-weight: 800;
    line-height: 0.9;
    letter-spacing: -2px;
    text-transform: uppercase;
    position: absolute;
    bottom: 180px;
    right: 40px;
    text-align: right;
    z-index: 3;
    pointer-events: none;
}

.hero-title-line2 {
    display: inline;
}

.indent {
    display: none;
}

/* ==================
   CARD FLOTANTE - MÁS DELGADA Y VERTICAL
   ================== */
.side-card {
    position: absolute;
    right: 40px;
    top: 45%;
    transform: translateY(-50%);
    width: 220px; /* Más delgada */
    background: white;
    border-radius: 30px;
    overflow: hidden;
    padding: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    z-index: 3;
    opacity: 1 !important;
    visibility: visible !important;
}

.card-img-placeholder {
    height: 140px; /* Más horizontal/panorámica */
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    opacity: 1 !important;
    margin-bottom: 20px;
}

.card-body {
    text-align: center;
    opacity: 1 !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px; /* Más espacio entre elementos */
}

/* FAVICON/ISOTIPO en la card - NARANJA */
.card-favicon {
    width: 50px; /* Más grande */
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1 !important;
}

.card-favicon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(42%) sepia(93%) saturate(2878%) hue-rotate(346deg) brightness(104%) contrast(101%);
    /* ↑ Convierte la imagen a naranja #ff4d00 */
}

/* Texto de la card - MAYÚSCULAS LIGHT */
.card-body p {
    font-size: 12px;
    font-weight: 300; /* Light */
    line-height: 1.6;
    margin: 0;
    color: #0a0a0a;
    opacity: 1 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-body strong {
    color: var(--orange-dark);
    font-weight: 600;
}

.btn-book {
    width: 100%;
    background: var(--orange-dark);
    color: white;
    border: none;
    padding: 14px;
    border-radius: 15px;
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s;
    text-decoration: none;
    display: block;
    text-align: center;
    opacity: 1 !important;
    letter-spacing: 1px;
}

.btn-book:hover {
    background: var(--orange-bright);
}

/* ==================
   ESTADÍSTICAS
   ================== */
.stats-container {
    position: absolute;
    bottom: 180px;
    left: 0;
    display: flex;
    gap: 20px;
    z-index: 3;
    opacity: 1 !important;
    visibility: visible !important;
}

.stat-box {
    border-radius: 30px;
    padding: 30px;
    position: relative;
    min-height: 220px;
    opacity: 1 !important;
    visibility: visible !important;
}

.stat-box h2 {
    font-size: 60px;
    font-weight: 900;
    margin: 0 0 10px;
    opacity: 1 !important;
}

.stat-box p {
    font-size: 14px;
    margin: 0;
    line-height: 1.4;
    opacity: 0.8;
}

.white-box {
    background: white;
    width: 280px;
}

.white-box h2 {
    color: var(--orange-dark);
}

.white-box p {
    color: #0a0a0a;
}

.glass-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 380px;
}

.glass-box h2,
.glass-box p {
    color: white;
}

.arrow-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--orange-dark);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    opacity: 1 !important;
}

/* ==================
   CURSOR PERSONALIZADO
   ================== */
.custom-cursor {
    position: fixed;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.custom-cursor.active {
    display: flex;
}

.cursor-arrow {
    font-size: 32px;
    color: white;
    font-weight: bold;
    transition: transform 0.2s ease;
}

.custom-cursor.direction-prev .cursor-arrow {
    transform: rotate(180deg);
}

/* ==================
   ZONAS DE NAVEGACIÓN
   ================== */
.nav-zone {
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    z-index: 1;
    cursor: none;
    pointer-events: none;
}

.nav-zone-left {
    left: 0;
}

.nav-zone-right {
    right: 0;
}

/* ==================
   RESPONSIVE
   ================== */
@media (max-width: 1200px) {
    .indent {
        margin-left: 300px;
    }
    
    .stats-container {
        bottom: 240px;
    }
    
    .hero-title-line3 {
        bottom: 280px;
    }
    
    .side-card {
        top: 42%;
        width: 200px;
    }
    
    .card-img-placeholder {
        height: 120px;
    }
    
    .card-favicon {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 968px) {
    .slide {
        padding: 20px;
    }
    
    .slide-content {
        padding-top: 20px;
    }
    
    .navbar {
        flex-direction: column;
        gap: 15px;
        margin-bottom: 20px;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    
    .nav-links li {
        font-size: 11px;
        padding: 6px 12px;
    }
    
    .main-title {
        font-size: clamp(40px, 6vw, 80px);
    }
    
    .hero-title-line3 {
        position: relative;
        bottom: auto;
        right: auto;
        display: block;
        margin-top: 20px;
    }
    
    .indent {
        display: none;
    }
    
    .side-card {
        position: relative;
        transform: none;
        margin: 30px auto;
        right: auto;
        top: auto;
        width: 100%;
        max-width: 280px;
    }
    
    .stats-container {
        position: relative;
        flex-direction: column;
        bottom: auto;
        margin-top: 30px;
    }
    
    .stat-box,
    .white-box,
    .glass-box {
        width: 100%;
    }
    
    .custom-cursor {
        display: none !important;
    }
    
    body {
        cursor: default;
    }
    
    .slider-wrapper::after {
        height: 120px;
    }
}

@media (max-width: 1200px) and (min-width: 969px) {
    .hero-title-line3 {
        right: 40px;
        font-size: clamp(50px, 7vw, 100px);
    }
}
