/* ========================================
   BLUEMAGICCAT - CSS MODULAR GRADUAL
   Mantiene el diseño V3-fullpage + arquitectura modular
   ======================================== */

/* 1. Importar variables primero */
@import url('./base/variables.css');

/* 2. CSS original que funciona */
@import url('./style-v4-fullpage.css');

/* 3. Mejoras modulares (sin romper) */
@import url('./components/buttons.css');
@import url('./components/cards.css');

/* 4. Utilidades adicionales */
@import url('./utils/animations.css');

/* 5. Los overrides se movieron a neon-effect.css para evitar conflictos */

/* ========================================
   AJUSTES FINALES DE HERO (Prioridad máxima)
   ======================================== */

/* Botón secundario equilibrado - Visible pero no invasivo */
#inicio .hero-content .hero-buttons .btn-secondary {
    opacity: 0.92 !important;
    transition: all 0.3s ease !important;
    filter: brightness(0.92) !important;
    border: 2px solid rgba(255, 255, 255, 0.4) !important;
}

#inicio .hero-content .hero-buttons .btn-secondary:hover {
    opacity: 1 !important;
    filter: brightness(1.05) !important;
    background: rgba(255, 255, 255, 0.2) !important;
    border: 2px solid rgba(255, 255, 255, 0.6) !important;
    transform: translateY(-2px) !important;
}

/* Efecto neón más suave para accesibilidad */
.hero-title {
    text-shadow: 
        0 0 5px #15BEAA !important,
        0 0 10px #15BEAA !important,
        0 0 15px rgba(21, 190, 170, 0.5) !important,
        3px 3px 6px rgba(0, 0, 0, 0.8) !important;
    animation: fadeInUp 1s ease, pulseGlowSoft 4s ease-in-out infinite !important;
}

@keyframes pulseGlowSoft {
    0%, 100% { 
        text-shadow: 
            0 0 5px #15BEAA,
            0 0 10px #15BEAA,
            0 0 15px rgba(21, 190, 170, 0.5),
            3px 3px 6px rgba(0, 0, 0, 0.8);
    }
    50% { 
        text-shadow: 
            0 0 8px #15BEAA,
            0 0 16px rgba(21, 190, 170, 0.7),
            0 0 24px rgba(21, 190, 170, 0.3),
            3px 3px 6px rgba(0, 0, 0, 0.8);
    }
}

/* Separadores más suaves */
.hero-info .separator {
    color: #12A594 !important;
    opacity: 0.8 !important;
    text-shadow: 0 0 6px rgba(18, 165, 148, 0.3) !important;
}

/* OPCIÓN 1: Solo logo más claro 
.logo-img {
    filter: brightness(2);
}
*/

/* OPCIÓN 2: Fondo blanco sutil 
.logo {
    background: rgba(255, 255, 255, 0.9);
    padding: 5px 10px;
    border-radius: 6px;
}
*/

/* Logo monocromático - reducir tamaño correctamente */
.logo-img {
    transition: all 0.3s ease;
    transform: scale(0.85);
    transform-origin: left center;
}

.logo-img:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* Navbar transparente REAL - Sin backdrop-filter que lo vuelve opaco */
body #header.header {
    background: transparent !important;
    backdrop-filter: none !important;
    transition: all 0.4s ease !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

body #header.header:hover {
    background: rgba(40, 84, 96, 0.75) !important;
    backdrop-filter: blur(10px) !important;
}

body #header.header.scrolled {
    background: transparent !important;
    backdrop-filter: none !important;
}

body #header.header.scrolled:hover {
    background: rgba(40, 84, 96, 0.75) !important;
    backdrop-filter: blur(10px) !important;
}

/* Subir el hero completo para alejar botones de los barcos */
.hero .hero-content {
    transform: translateY(-6vh);
}

/* Asegurar que el fullpage scroll sigue funcionando */
body.fullpage-scroll {
    height: 100vh;
    overflow-y: auto;
    scroll-snap-type: y mandatory;
}

body.fullpage-scroll > section,
body.fullpage-scroll .hero,
body.fullpage-scroll > footer {
    min-height: 100vh;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

/* NAVBAR - Indicador sección activa más sutil */
.nav-link.active {
    background: none !important;
    backdrop-filter: none !important;
    border: none !important;
    box-shadow: none !important;
    color: var(--bmc-secondary) !important;
}

.nav-link.active::before {
    width: 100% !important;
    background: var(--bmc-secondary) !important;
    height: 2px !important;
    opacity: 0.9 !important;
}

/* NAVBAR - Hover solo con línea animada */
.nav-link:hover {
    background: none !important;
    backdrop-filter: none !important;
    border: none !important;
    box-shadow: none !important;
    color: var(--bmc-text-primary) !important;
}

.nav-link:hover::before {
    width: 60% !important;
    background: var(--bmc-secondary) !important;
    height: 2px !important;
    opacity: 0.7 !important;
    transition: width 0.3s ease !important;
}

/* MEJORAS SECCIÓN FLOTA - Tamaño equilibrado */
.flota {
    padding: 110px 0 70px 0; /* Padding equilibrado */
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100vh;
}

.flota .section-header {
    margin-bottom: 35px; /* Espaciado equilibrado */
}

.flota .section-title {
    font-size: clamp(2rem, 4vw, 2.5rem); /* Título normal */
    margin-bottom: 15px;
}

.flota .section-subtitle {
    font-size: clamp(0.9rem, 2vw, 1.1rem); /* Subtítulo normal */
}

/* Boats grid 3 columnas - LAYOUT MEJORADO */
.flota .boats-grid-three {
    display: grid !important;
    grid-template-columns: 1fr 1fr 1fr !important; /* Tres columnas iguales */
    gap: 25px !important;
    max-width: 1200px !important; 
    margin: 0 auto !important;
}

/* Mantener compatibilidad con boats-grid normal */
.flota .boats-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 30px !important;
    max-width: 1000px !important; 
    margin: 0 auto !important;
}

/* Boat cards más anchas para diseño horizontal */
.flota .boat-card {
    max-width: none !important; /* Sin límite para aprovechar el ancho */
    margin: 0 !important;
}

/* Fotos más grandes y contenido compacto */
.boat-image {
    height: 240px !important; /* Fotos más grandes */
    overflow: hidden;
    position: relative;
}

.boat-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center; /* Posición por defecto */
}

/* Ajuste específico para CAT35 - sin zoom adicional */
.boat-card[data-boat="cat35"] .boat-image img {
    object-position: center 85% !important; /* Solo ajuste de posición para ver el barco completo */
}

/* Ajuste específico para CAT30 - más zoom para equilibrar */
.boat-card[data-boat="cat30"] .boat-image img {
    transform: scale(1.9) translateY(-15%) !important; /* Zoom y subir más para alejar del borde */
    object-position: center center !important;
}

.boat-content {
    padding: 15px !important; /* Padding reducido */
}

.boat-title {
    font-size: 1.3rem;
    margin-bottom: 5px !important;
    color: white !important;
}

/* Capacity badge - Modern pill style */
.capacity-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 4px 12px;
    margin-left: 8px;
    background: linear-gradient(135deg, var(--bmc-secondary) 0%, rgba(21, 190, 170, 0.8) 100%);
    color: white;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(21, 190, 170, 0.3);
    text-transform: lowercase;
    letter-spacing: 0.2px;
    vertical-align: middle;
    transition: all 0.3s ease;
}

.capacity-badge:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(21, 190, 170, 0.4);
}

/* LABELS PREMIUM/LUXURY EN FOTOS */
.boat-image {
    position: relative !important;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.boat-label {
    position: absolute;
    top: 20px;
    right: 0;
    padding: 8px 20px 8px 30px;
    border-radius: 0;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    z-index: 10;
    border: none;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: visible;
    backface-visibility: visible;
    pointer-events: none;
}

.premium-label {
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(7, 66, 87, 0.4) 20%,
        rgba(7, 66, 87, 0.7) 40%,
        rgba(7, 66, 87, 0.9) 60%,
        rgba(7, 66, 87, 1) 80%,
        rgba(7, 66, 87, 1) 100%);
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.luxury-label {
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(21, 190, 170, 0.3) 20%,
        rgba(21, 190, 170, 0.5) 40%,
        rgba(21, 190, 170, 0.7) 60%,
        rgba(21, 190, 170, 0.9) 80%,
        rgba(21, 190, 170, 1) 100%);
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.boat-subtitle {
    color: var(--bmc-secondary) !important;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px !important;
}

/* Estilo para diferencias clave */
.boat-key-diff {
    background: rgba(21, 190, 170, 0.15) !important;
    border-radius: 10px !important;
    padding: 15px !important;
    font-size: 0.9rem !important;
    color: #E8F4F8 !important;
    margin-bottom: 15px !important;
    text-align: center;
}

.boat-key-diff strong {
    color: var(--bmc-secondary) !important;
    font-size: 1rem;
}

/* Eliminar efecto featured para balance horizontal */
.flota .boat-card.featured {
    transform: none !important; /* Sin escalado para balance perfecto */
}

/* Tarjeta de información como tercera columna */
.info-card {
    display: flex !important;
    flex-direction: column !important;
}

.info-header {
    background: linear-gradient(135deg, var(--bmc-secondary), var(--bmc-primary)) !important;
    padding: 20px !important;
    text-align: center !important;
    border-radius: 15px 15px 0 0 !important;
}

.info-header i {
    font-size: 2rem !important;
    color: white !important;
    margin-bottom: 10px !important;
}

.info-title {
    color: white !important;
    font-size: 1.3rem !important;
    margin: 0 !important;
    font-weight: 600 !important;
}

.included-features {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    margin-bottom: 20px !important;
}

.included-feature {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    font-size: 0.9rem !important;
    color: #E8F4F8 !important;
}

.included-feature i {
    color: var(--bmc-secondary) !important;
    width: 18px !important;
    text-align: center;
}

.price-card {
    background: rgba(21, 190, 170, 0.15) !important;
    border-radius: 10px !important;
    padding: 15px !important;
    text-align: center !important;
    margin-top: auto !important;
}

.price-card .price-from {
    font-size: 0.9rem !important;
    color: #8FB3C1 !important;
}

.price-card .price-amount {
    display: block !important;
    font-size: 2rem !important;
    font-weight: 700 !important;
    color: var(--bmc-secondary) !important;
    margin: 5px 0 !important;
}

.price-card .price-per {
    font-size: 0.85rem !important;
    color: #8FB3C1 !important;
}

/* Mantener las experiencias cards */
.experiences-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.experience-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all var(--transition-normal);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.experience-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-lg);
}

/* ========================================
   MOBILE FIRST - HERO SECTION
   ======================================== */
@media (max-width: 768px) {
    /* Navbar móvil */
    #header {
        padding: 10px 0 !important;
        background: rgba(7, 66, 87, 0.95) !important;
        backdrop-filter: blur(10px) !important;
    }
    
    .nav-wrapper {
        padding: 0 15px !important;
    }
    
    .logo-img {
        transform: scale(0.7) !important;
        transform-origin: left center !important;
    }
    
    .nav-menu {
        position: fixed !important;
        top: 60px !important;
        right: -100% !important;
        width: 100% !important;
        height: calc(100vh - 60px) !important;
        background: rgba(7, 66, 87, 0.98) !important;
        flex-direction: column !important;
        padding: 30px 20px !important;
        transition: right 0.3s ease !important;
    }
    
    .nav-menu.active {
        right: 0 !important;
    }
    
    .nav-link {
        padding: 15px !important;
        width: 100% !important;
        text-align: center !important;
        font-size: 1.1rem !important;
    }
    
    .cta-button {
        display: none !important; /* Ocultar en móvil */
    }
    
    /* Hamburguesa visible en móvil */
    .hamburger {
        display: flex !important;
        flex-direction: column !important;
        gap: 4px !important;
        cursor: pointer !important;
        z-index: 1001 !important;
    }
    
    .hamburger span {
        width: 25px !important;
        height: 3px !important;
        background: var(--bmc-secondary) !important;
        border-radius: 2px !important;
        transition: all 0.3s ease !important;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px) !important;
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0 !important;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px) !important;
    }
    
    /* Hero adaptado para móvil */
    .hero {
        min-height: 100vh !important;
        padding: 20px !important;
    }
    
    .hero .hero-content {
        transform: translateY(0) !important; /* Sin desplazamiento en móvil */
        padding: 0 15px !important;
    }
    
    /* Título FORZAR tamaño pequeño - Override agresivo */
    body .hero .hero-content .hero-title,
    #inicio .hero-content .hero-title,
    .hero-title {
        font-size: 1.25rem !important; /* MUCHO más pequeño que 4rem */
        line-height: 1.3 !important;
        margin-bottom: 10px !important;
        padding: 0 20px !important;
        text-align: center !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        text-shadow: 
            0 0 2px #15BEAA !important,
            2px 2px 3px rgba(0, 0, 0, 0.6) !important;
        animation: none !important; /* Quitar animaciones */
    }
    
    body .hero .hero-content .hero-title .brand-word,
    .hero-title .brand-word {
        display: inline-block !important;
        font-size: 1em !important;
        margin: 0 !important;
        background: none !important;
        -webkit-text-fill-color: #15BEAA !important;
        color: #15BEAA !important;
    }
    
    /* Subtítulo ajustado */
    .hero-subtitle {
        font-size: clamp(0.9rem, 3vw, 1.1rem) !important;
        margin-bottom: 15px !important;
    }
    
    /* Info más compacta - cada item en su línea */
    .hero-info {
        font-size: 0.7rem !important; /* Más pequeño */
        margin-bottom: 20px !important;
        display: flex !important;
        flex-direction: column !important; /* En columna */
        align-items: center !important;
        gap: 3px !important;
        padding: 0 20px !important;
    }
    
    .hero-info .separator {
        display: none !important; /* Ocultar separadores */
    }
    
    .hero-info .info-item {
        display: block !important;
        text-align: center !important;
        width: 100% !important;
        padding: 2px 0 !important;
    }
    
    /* Botones en columna */
    .hero-buttons {
        flex-direction: column !important;
        gap: 15px !important;
        width: 100% !important;
        max-width: 280px !important;
        margin: 0 auto !important;
    }
    
    .hero-buttons .btn {
        width: 100% !important;
        padding: 14px 20px !important;
        font-size: 1rem !important;
    }
    
    /* Overlay más oscuro para mejor legibilidad */
    .hero-overlay {
        background: linear-gradient(
            to bottom,
            rgba(7, 66, 87, 0.7) 0%,
            rgba(7, 66, 87, 0.5) 50%,
            rgba(7, 66, 87, 0.7) 100%
        ) !important;
    }
}

@media (max-width: 480px) {
    /* Ajustes extra para móviles pequeños - ULTRA ESPECÍFICO */
    body .hero .hero-content .hero-title,
    #inicio .hero-content .hero-title,
    section#inicio .hero .hero-content h1.hero-title {
        font-size: 1.1rem !important; /* Muy pequeño */
        padding: 0 15px !important;
        line-height: 1.35 !important;
    }
    
    body .hero .hero-content .hero-title .brand-word {
        font-size: 1em !important;
        display: inline-block !important;
    }
    
    .hero-subtitle {
        font-size: 0.8rem !important; /* Más pequeño */
        padding: 0 15px !important;
    }
    
    .hero-info {
        font-size: 0.7rem !important; /* Más pequeño */
    }
    
    .hero-buttons .btn {
        padding: 12px 18px !important;
        font-size: 0.95rem !important;
    }
}

/* RESPONSIVE PARA FLOTA - LAYOUT 3 COLUMNAS */
@media (max-width: 1024px) {
    .flota .boats-grid-three {
        grid-template-columns: 1fr 1fr !important; /* 2 columnas en tablet */
        gap: 20px !important;
    }
    
    .flota .boats-grid-three .info-card {
        grid-column: 1 / -1 !important; /* Info card ocupa todo el ancho */
    }
    
    .flota .boat-image {
        height: 200px !important;
    }
}

@media (max-width: 768px) {
    .flota {
        padding: 100px 0 60px 0;
    }
    
    .flota .boats-grid-three {
        grid-template-columns: 1fr !important; /* Una columna en móvil */
        gap: 25px !important;
        max-width: 100% !important;
    }
    
    .flota .boat-card {
        max-width: 100% !important;
    }
    
    .flota .boat-image {
        height: 220px !important;
    }
    
    .included-features {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }
}

@media (max-width: 480px) {
    .flota {
        padding: 90px 0 50px 0;
    }
    
    .flota .section-header {
        margin-bottom: 30px;
    }
}