@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    /* Updated Color Palette - Premium Dark */
    --color-bg: #000000;
    --color-surface: #0F172A;
    --color-primary: #0072FF; /* Vibrant Blue from Logo */
    --color-primary-dark: #00C6FF; 
    --color-accent: #94A3B8;  /* Slate for text accents */
    --color-text: #FFFFFF;    /* Pure white for readability */
    --color-text-muted: #94A3B8;
    --color-border: rgba(255, 255, 255, 0.1);
    
    /* Gradients */
    --grad-primary: linear-gradient(135deg, #0072FF 0%, #00C6FF 100%);
    --grad-dark: linear-gradient(180deg, #000000 0%, #0F172A 100%);
    --grad-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    
    /* Spacing */
    --section-padding: 100px 5%;
    --section-padding-mobile: 60px 5%;
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: 'Inter', sans-serif;
    line-height: 1.8;
    overflow-x: hidden;
}

h1, h2, h3, h4, .font-heading {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- Layout Utilities --- */
.container {
    max-width: 1300px;
    margin: 0 auto;
    width: 100%;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

.section {
    padding: var(--section-padding);
}

.section:nth-of-type(even) {
    background-color: #050505;
}

@media (max-width: 768px) {
    .section {
        padding: var(--section-padding-mobile);
    }
}

.section-divider {
    display: none;
}

.grid {
    display: grid;
    gap: 2rem;
}

.flex {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* --- Components --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--grad-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 102, 255, 0.5);
}

.btn-accent {
    background: var(--color-accent);
    color: #000;
}

.btn-accent:hover {
    transform: translateY(-3px);
    filter: brightness(1.1);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
}

.btn-outline:hover {
    background: rgba(0, 114, 255, 0.05);
    border-color: var(--color-primary-dark);
}

.glass {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    transition: var(--transition);
}

.glass:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 114, 255, 0.15);
}

.text-gradient {
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-accent {
    color: var(--color-primary);
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(0, 114, 255, 0.1);
    color: var(--color-primary);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border: 1px solid rgba(0, 114, 255, 0.2);
}

/* --- Navigation --- */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 5%;
    transition: var(--transition);
}

nav.scrolled {
    padding: 1rem 5%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--color-border);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Outfit', sans-serif;
    transition: var(--transition);
}

.logo img {
    filter: brightness(1.2); /* Ensure logo pop */
}

.logo span {
    color: var(--color-primary);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

@media (max-width: 992px) {
    .nav-links {
        display: none;
    }
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    color: #FFFFFF;
    transition: var(--transition);
}

.nav-links a:hover {
    color: white;
}

/* --- Hero Section --- */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 140px 5% 100px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.9) 30%, rgba(0, 0, 0, 0.4) 100%);
}

.hero-content {
    max-width: 900px;
}

.hero h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
    max-width: 550px;
}

.hero-indicators {
    display: flex;
    gap: 1.5rem 2rem;
    margin-top: 3rem;
    flex-wrap: wrap;
    padding-bottom: 2rem;
}

.indicator {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
    font-size: 0.9rem;
}

.indicator svg {
    color: var(--color-accent);
}

/* --- WhatsApp Floating Button --- */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: #25D366;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(5deg);
}

/* --- Mobile Refinements --- */
@media (max-width: 768px) {
    #bookingForm {
        grid-template-columns: 1fr !important;
    }

    /* Formulario: todos los campos a ancho completo */
    #bookingForm .form-group[style*="span 2"],
    #bookingForm .form-group {
        grid-column: span 1 !important;
    }

    #bookingForm button[type="submit"] {
        grid-column: span 1 !important;
    }
    
    .nav-container {
        padding: 0 1rem;
    }
    
    .hero {
        padding: 130px 1.25rem 80px;
    }

    .hero h1 {
        font-size: 2.4rem;
    }
    
    .hero p {
        font-size: 1.1rem;
        max-width: 100%;
    }

    .hero-indicators {
        gap: 1.5rem;
        flex-wrap: wrap;
        margin-top: 2.5rem;
    }
    
    .section {
        padding: 60px 1.25rem;
    }

    .container {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
    
    .grid {
        gap: 1.5rem;
    }

    /* Evitar que grids con minmax desborden en móvil */
    .grid[style*="minmax(400px"],
    .grid[style*="minmax(350px"] {
        grid-template-columns: 1fr !important;
    }

    /* Modal padding reducido en móvil */
    .modal-content {
        padding: 1.5rem;
        margin: 1rem;
        max-height: 90vh;
    }

    /* Botones del hero a ancho completo */
    .hero-content .flex {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-content .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Animations */
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

[data-aos] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Decorative Blobs */
.blob {
    position: absolute;
    width: 400px;
    height: 400px;
    background: var(--grad-primary);
    filter: blur(100px);
    opacity: 0.2;
    z-index: -1;
    border-radius: 50%;
}

.blob-1 { 
    top: 10%; left: -100px; 
    animation: float 20s infinite alternate;
}
.blob-2 { 
    bottom: 10%; right: -100px; 
    animation: float 25s infinite alternate-reverse;
}

/* --- Modal Styles --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    transition: var(--transition);
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: #0F172A;
    width: 100%;
    max-width: 800px;
    max-height: 85vh;
    border-radius: 24px;
    border: 1px solid var(--color-border);
    position: relative;
    padding: 3rem;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255,255,255,0.1);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--color-primary);
    transform: rotate(90deg);
}

.modal-body {
    line-height: 1.8;
}

.modal-body h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

/* --- Modern Form Styles --- */
.form-label {
    display: block;
    margin-bottom: 0.6rem;
    font-weight: 600;
    color: #E2E8F0;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.input-icon {
    position: absolute;
    left: 1.2rem;
    color: var(--color-text-muted);
    pointer-events: none;
    transition: var(--transition);
}

.form-control {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.1rem 1.1rem 1.1rem 3.2rem;
    border-radius: 12px;
    color: var(--color-text);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.2);
    -webkit-appearance: none;
    appearance: none;
}

select.form-control {
    padding-right: 2.5rem;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394A3B8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.2rem center;
    background-size: 16px;
}

select.form-control option {
    background-color: var(--color-surface);
    color: var(--color-text);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.form-control:hover {
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-primary);
    background: rgba(0, 114, 255, 0.03);
    box-shadow: 0 0 0 4px rgba(0, 114, 255, 0.15);
}

.input-wrapper:focus-within .input-icon {
    color: var(--color-primary);
}

.submit-btn {
    background: linear-gradient(135deg, #0072FF 0%, #00C6FF 100%);
    box-shadow: 0 10px 25px -5px rgba(0, 114, 255, 0.5);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    border: none;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.submit-btn:hover::before {
    left: 100%;
}

/* Colorize native date picker icon */
input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(36%) sepia(87%) saturate(2250%) hue-rotate(206deg) brightness(105%) contrast(105%);
    cursor: pointer;
}

