/* ========================================
   BLUEMAGICCAT - CSS RESPONSIVE 
   ======================================== */

/* ========================================
   MÓVIL LANDSCAPE - JEFE RARO
   Específico para móviles en horizontal (altura baja)
   ======================================== */

@media (max-width: 768px) and (orientation: landscape) and (max-height: 500px) {
    /* Hero centrado verticalmente en landscape */
    .hero .hero-content {
        transform: translateY(-6vh) !important; /* Bajar ligeramente desde arriba */
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        min-height: calc(100vh - 80px) !important; /* Restar altura del navbar */
        padding: 80px 20px 20px 20px !important; /* Padding superior para navbar */
    }
    
    /* Título más pequeño en landscape */
    body .hero .hero-content .hero-title,
    #inicio .hero-content .hero-title {
        font-size: 1.4rem !important;
        line-height: 1.2 !important;
        margin-bottom: 8px !important;
        text-align: center !important;
    }
    
    /* Subtítulo compacto */
    .hero-subtitle {
        font-size: 0.85rem !important;
        margin-bottom: 12px !important;
        line-height: 1.3 !important;
    }
    
    /* Info más compacta horizontalmente */
    .hero-info {
        font-size: 0.65rem !important;
        margin-bottom: 15px !important;
        display: flex !important;
        flex-direction: row !important; /* En fila en landscape */
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        flex-wrap: wrap !important;
    }
    
    .hero-info .separator {
        display: inline-block !important;
        color: var(--bmc-secondary) !important;
        margin: 0 5px !important;
    }
    
    /* Botones más pequeños y en fila */
    .hero-buttons {
        flex-direction: row !important;
        gap: 12px !important;
        justify-content: center !important;
        width: auto !important;
        max-width: 100% !important;
    }
    
    .hero-buttons .btn {
        width: auto !important;
        padding: 10px 16px !important;
        font-size: 0.85rem !important;
        white-space: nowrap !important;
    }
    
    /* Navbar fijo y compacto en landscape */
    #header {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        height: 60px !important;
        z-index: 1000 !important;
        background: rgba(7, 66, 87, 0.95) !important;
        backdrop-filter: blur(10px) !important;
    }
    
    .nav-wrapper {
        height: 60px !important;
        padding: 0 20px !important;
    }
    
    .logo-img {
        transform: scale(0.6) !important;
    }
}

/* ========================================
   TABLET - 1024px y menos
   ======================================== */

@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    /* Hero info responsive para tablet */
    .hero-info {
        font-size: 0.95rem;
    }
    
    .hero-info .separator {
        margin: 0 0.75rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .boats-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        order: 2;
        margin-top: var(--spacing-lg);
    }
    
    .contact-map {
        order: 1;
    }
}

/* ========================================
   MÓVIL GRANDE - 768px y menos
   ======================================== */

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    /* Header móvil */
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: rgba(10, 14, 39, 0.95);
        backdrop-filter: blur(20px);
        border: 1px solid rgba(0, 172, 193, 0.2);
        border-radius: 0 0 20px 20px;
        padding: var(--spacing-lg);
        flex-direction: column;
        gap: var(--spacing-sm);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-normal);
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .hamburger {
        display: flex;
        z-index: 1001;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .hamburger span {
        background: var(--bmc-white);
    }
    
    .cta-button {
        display: none;
    }
    
    /* Hero móvil */
    .hero {
        min-height: 100vh;
        padding-top: 80px;
    }
    
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.1;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
        margin-bottom: var(--spacing-lg);
    }
    
    /* Hero info para móvil - split en líneas */
    .hero-info {
        font-size: 0.9rem;
        line-height: 1.8;
    }
    
    .hero-info .separator {
        display: block;
        margin: 0.25rem 0;
        color: transparent;
        height: 0;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: var(--spacing-sm);
    }
    
    .btn {
        min-width: 200px;
        justify-content: center;
    }
    
    /* Secciones móvil */
    .section-padding {
        padding: var(--spacing-xl) 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
    }
    
    /* Flota móvil */
    .boats-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .boat-card.featured {
        transform: none;
    }
    
    .boat-features {
        grid-template-columns: 1fr;
        gap: var(--spacing-xs);
    }
    
    .boat-price {
        flex-direction: column;
        text-align: center;
        gap: 0;
    }
    
    .price-amount {
        font-size: 1.8rem;
    }
    
    /* Experiencias móvil */
    .experiences-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .experience-icon {
        width: 60px;
        height: 60px;
    }
    
    .experience-icon i {
        font-size: 1.5rem;
    }
    
    /* Footer móvil */
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

/* ========================================
   MÓVIL PEQUEÑO - 480px y menos
   ======================================== */

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .boats-grid {
        grid-template-columns: 1fr;
    }
    
    .boat-card {
        margin: 0 10px;
    }
    
    .experiences-grid {
        grid-template-columns: 1fr;
    }
    
    .experience-card {
        padding: var(--spacing-lg);
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-xs);
    }
    
    .contact-item i {
        font-size: 2rem;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-float i {
        font-size: 1.5rem;
    }
}

/* ========================================
   LANDSCAPE MÓVIL
   ======================================== */

@media (max-height: 600px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
    }
    
    .hero-content {
        padding: var(--spacing-lg) 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
        margin-bottom: var(--spacing-sm);
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: var(--spacing-md);
    }
    
    /* Hero info móvil pequeño */
    .hero-info {
        font-size: 0.85rem;
    }
    
    .scroll-indicator {
        display: none;
    }
}

/* ========================================
   ALTA RESOLUCIÓN - 1440px y más
   ======================================== */

@media (min-width: 1440px) {
    .container {
        max-width: 1400px;
    }
    
    .hero-title {
        font-size: 5rem;
    }
    
    .hero-subtitle {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 3.5rem;
    }
    
    .boats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .experiences-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ========================================
   PREFERENCIAS DE USUARIO
   ======================================== */

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    body::before {
        animation: none;
    }
}

/* High Contrast */
@media (prefers-contrast: high) {
    :root {
        --bmc-primary: #00E5FF;
        --bmc-secondary: #40E0D0;
        --shadow-sm: 0 2px 4px rgba(0,0,0,0.8);
        --shadow-md: 0 4px 12px rgba(0,0,0,0.8);
        --shadow-lg: 0 8px 24px rgba(0,0,0,0.8);
        --shadow-xl: 0 12px 48px rgba(0,0,0,0.8);
    }
    
    .boat-card,
    .experience-card,
    .header {
        border: 2px solid var(--bmc-primary);
    }
}

/* Dark Mode (si el usuario lo tiene activado) */
@media (prefers-color-scheme: dark) {
    /* Ya está en modo oscuro por defecto, pero por si acaso */
    body {
        color: var(--bmc-white);
    }
}

/* Print Styles */
@media print {
    .header,
    .whatsapp-float,
    .hero-video,
    .hero-overlay {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .hero {
        background: none;
        color: black;
        min-height: auto;
        padding: var(--spacing-lg) 0;
    }
    
    .boat-card,
    .experience-card {
        break-inside: avoid;
        border: 1px solid #ccc;
    }
}

/* 💀 ASESINO FINAL DEL CÍRCULO - MÁXIMA ESPECIFICIDAD */
.fp-nav li.active span::after,
.fp-nav li span::after,
li.active span::after,
span::after {
    display: none !important;
    content: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
}