/* Variables */
:root {
    --primary-color: #ff0000;
    --secondary-color: #000000;
    --white: #ffffff;
    --gray-light: #f5f5f5;
    --gray-dark: #333333;
    --transition: all 0.3s ease;
    --dorado-color:#363876;
    --azulclaro:#0000FF;
}

/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--white); 
    background-color: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* Color dorado para todos los íconos Font Awesome */
.fa, .fas, .far, .fal, .fab {
    color: var(--white) !important;
}

/* El ícono del botón de chat en el header debe ser blanco */
.message-icon i {
    color: #fff !important;
}

ul {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
/* .header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: var(--transition);
    background-color: rgba(0, 0, 0, 0.9);
}

.header.scrolled {
    padding: 15px 0;
    background-color: rgba(0, 0, 0, 0.95);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.header.scroll-down {
    transform: translateY(-100%);
}

.header.scroll-up {
    transform: translateY(0);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
}

.logo a {
    color: var(--white);
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: 30px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links li a {
    color: var(--white);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    position: relative;
    padding: 8px 0;
    transition: all 0.3s ease;
    opacity: 0.9;
}

.nav-links li a:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.nav-links li a:active {
    transform: translateY(0);
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
    width: 100%;
    box-shadow: 0 0 10px var(--primary-color);
} */

/* Menú móvil */
.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    cursor: pointer;
    z-index: 1001;
    background: transparent;
    border: none;
    padding: 0;
    position: relative;
    transition: all 0.3s ease;
    gap: 5px;
}

/* Estilos para las 3 líneas del menú */
.hamburger span:not(.menu-text) {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--white);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    order: 1;
}

/* Asegurarse de que solo hay 3 líneas */
.hamburger span:nth-child(n+4) {
    display: none;
}

.hamburger .menu-text {
    color: white;
    font-size: 10px;
    text-align: center;
    margin: 2px 0 0 0;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    line-height: 1;
    order: 2;
    display: block !important; /* Forzar que siempre se muestre */
}

.hamburger.active .menu-text {
    opacity: 0;
    transform: translateY(-5px);
}

.hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
    background-color: #fff;
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
    background-color: #fff;
} */

/* ------------------ Header Estilos Mejorados -------------- */
/* === Reset básico para consistencia === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Helvetica Neue', sans-serif;
  }
  
  /* === Header general === */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    /* Efecto de cristal mojado */
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(12px) saturate(180%) brightness(0.9);
    -webkit-backdrop-filter: blur(12px) saturate(180%) brightness(0.9);
    /* Borde sutil en la parte inferior */
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    /* Sombra sutil */
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    z-index: 1000;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 15px 0;
    transform: translateY(0);
    /* Asegurar que el fondo se extienda detrás del header */
    background-blend-mode: overlay;
    /* Efecto de borde interno */
    box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.05);
}

/* Opcional: efecto de gotas usando una textura SVG superpuesta */
.header::before {
    content: '';
    position: absolute;
    inset: 0;
    /* background-image: url('https://i.imgur.com/Nz5J3ar.png'); textura de gotas realistas */
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0.2;
    pointer-events: none;
    z-index: -1;
}
  
  .header.scrolled {
    background: rgba(0, 0, 0, 0.7);
    padding: 8px 0;
    backdrop-filter: blur(15px) saturate(200%) brightness(0.);
    -webkit-backdrop-filter: blur(15px) saturate(200%) brightness(0.8);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.25);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header.hidden {
    transform: translateY(-100%);
}
  
  /* Asegurar que el contenido del header tenga el z-index correcto */
.container {
    max-width: 1280px;
    position: relative;
    z-index: 1;
    margin: 0 auto;
    padding: 0 1rem;
  }
  
  /* === Navbar layout === */
  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    position: relative;
  }
  
  /* === Izquierda: Botón hamburguesa === */
  .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    position: relative;
    z-index: 1001;
    color: #fff;
  }
  
  .hamburger span {
    width: 25px;
    height: 3px;
    background: #fff;
    display: block;
    transition: all 0.3s ease;
  }
  
  .hamburger .menu-text {
    margin-left: 0.5rem;
    font-size: 0.8rem;
    font-weight: bold;
    letter-spacing: 1px;
  }
  
  /* === Transformación a "X" === */
  .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(5px, -5px);
  }
  
  /* === Centro: Logo === */
  .logo a {
    display: inline-block;
  }
  
  .logo img {
    margin-top: 10px;
    height: 60px;         /* o el tamaño que necesites */
    width: auto;
    display: block;
  }
  
  /* === Derecha: Icono de mensaje === */
  .message-icon {
    font-size: 1.5rem;
    color: #fff;
    text-decoration: none;
  }
  
  /* === Menú (ul) === */
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 100%;
    background: #000;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    list-style: none;
    gap: 2rem;
    display: none;
    transition: all 0.3s ease;
    z-index: 1000;
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .nav-links li a {
    color: #fff;
    font-size: 1.2rem;
    text-decoration: none;
    transition: color 0.2s ease;
  }
  
  .nav-links li a:hover {
    color: #f5c518;
  }
  
  /* === Scroll effects (scroll-up / scroll-down) opcional === */
  .header.scroll-down {
    top: -100%;
  }
  .header.scroll-up {
    top: 0;
  }
  
  /* === Responsive: NO ocultamos el menú hamburguesa nunca === */
  @media screen and (min-width: 768px) {
    .nav-links {
      flex-direction: column;
    }
  }
  



/* Hero Section */
/* .hero {
    height: 100vh;
    min-height: 700px;    
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    position: relative;
    padding: 0 20px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    transform: translateY(-50px);
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
}

.hero p.subtitle {
    font-size: 1.5rem;
    margin-bottom: 40px;
    font-weight: 300;
} */
.hero {
    height: 100vh;
    min-height: 700px;    
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    position: relative;
    padding: 0 20px;
}
/* controlador del video de arriba el principal del hero ----------------------------------------- */
.video-bg {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
    
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 200px;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 200;
    font-family: 'Helvetica';
}

/* Opcional: overlay oscuro sobre el video */
/* .hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
} */

/* Estilos del Chatbot */
.chatbot-container {
    position: fixed;
    top: 80px;
    right: 20px;
    width: 350px;
    height: 600px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.chatbot-container.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.chatbot-header {
    background: var(--gray-dark);
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

/* El ícono del asistente de barcos (chatbot) debe ser gris oscuro */
.chatbot-header i {
    color: var(--gray-dark) !important;
}


.chatbot-header h3 {
    margin: 0;
    font-size: 1.1rem;
}

.chatbot-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
}

.chatbot-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background: #f5f5f5;
}

.message {
    margin-bottom: 15px;
    max-width: 80%;
    padding: 10px 15px;
    border-radius: 15px;
    line-height: 1.4;
    font-size: 0.9rem;
}

.message.bot {
    background: white;
    border-top-left-radius: 5px;
    margin-right: auto;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.message.user {
    background: var(--primary-color);
    color: white;
    border-top-right-radius: 5px;
    margin-left: auto;
}

.chatbot-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px;
    background: white;
    border-top: 1px solid #eee;
}

.option-btn {
    background: #f0f0f0;
    border: none;
    padding: 10px 15px;
    border-radius: 20px;
    text-align: left;
    cursor: pointer;
    transition: background 0.2s;
    font-size: 0.9rem;
}

.option-btn:hover {
    background: #e0e0e0;
}

.chatbot-input {
    display: flex;
    padding: 15px;
    background: white;
    border-top: 1px solid #eee;
}

.chatbot-input input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 20px;
    outline: none;
    font-size: 0.9rem;
}

.chatbot-input button {
    background: var(--primary-color);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-left: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Estilos para el ícono de chat en el header */
.right-section .message-icon {
    color: white;
    font-size: 1.5rem;
    transition: transform 0.3s ease, color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    /* background: var(--primary-color); */
}

.right-section .message-icon:hover {
    transform: scale(1.1);
    color: #f0f0f0;
}



/* Eleva el contenido sobre el video */
.hero-content,
.scroll-indicator {
    z-index: 2;
    color: #ffffff; /* Texto blanco */

    /* Sombra para resaltar sin sobrecargar */
    text-shadow:
        0 2px 4px rgba(0, 0, 0, 0.9); /* Sombra sutil y suave */

    font-weight: 600;
    letter-spacing: 0.3px;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background-color: var(--transition);
    color: var(--white);
    border: 2px solid var(--dorado-color);
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.cta-button:hover {
    background-color: transparent;
    color: var(--white);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 1;
    transition: var(--transition);
}

.scroll-indicator span {
    display: block;
    width: 10px;
    height: 10px;
    border: 2px solid var(--white);
    border-radius: 50%;
    margin: 5px 0;
    animation: scrollIndicator 2s infinite;
}

.scroll-indicator span:nth-child(1) {
    animation-delay: 0s;
}

.scroll-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.scroll-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes scrollIndicator {
    0%, 100% {
        opacity: 0.3;
        transform: scale(0.7);
    }
    50% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Models Section */
.models-section {
    padding: 120px 0 80px;
    background-color: var(--white);
}

.models-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    padding-bottom: 15px;
}

.models-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

.models-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    padding: 0 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.model-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.model-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.model-image {
    height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.model-info {
    padding: 30px;
}

.model-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.model-info p {
    color: #666;
    margin-bottom: 20px;
}

.specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.spec-item {
    background-color: var(--gray-light);
    padding: 15px;
    border-radius: 5px;
    text-align: center;
}

.spec-value {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.spec-label {
    font-size: 0.8rem;
    color: #777;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Features Section */
.features-section {
    padding: 80px 0;
    /* background-color: var(--gray-light); */
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    text-align: center;
}

.feature {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    padding: 40px 20px;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    background-color: #030925;
}

.feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature i {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: gray;
}

/* ------------------video fondo global  filtros funcionales del video para cambiar los tonos y hacerlo mas integrado al primer video*/
#video-global-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    min-width: 100vw;
    min-height: 100vh;
    z-index: -1000;
    object-fit: cover;
    opacity: 1;
    pointer-events: none; /* Permite interactuar con el contenido encima */
    background: #222;
    filter:  hue-rotate(341deg)        /* Desplaza los tonos hacia el verde */
    saturate(1)            /* Colores más vivos */
    brightness(1.1)         /* Un toque más de luz */
    contrast(1.15);          /* Mejora la definición del video */
    transition: filter 0.3s ease-out;
}

/* ------------------video fondo superior */
.hero-vid.hero {
    position: relative;
}

.video-fade-bottom {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 120px;
    pointer-events: none;
    z-index: 2;
    /* background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.0) 60%, rgba(0,0,0,0.8) 100%); */
}

.hero-video {
    position: relative;
    width: 100%;
    height: 60vh; /* Ajusta la altura según tu diseño */
    min-height: 320px;
    max-height: 650px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    
}

#video-hero {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100vw;
    min-height: 100%;
    width: auto;
    height: 100%;
    z-index: 0;
    transform: translate(-50%, -50%);
    object-fit: cover;
    opacity: 1;
    background: #222;
    filter: saturate(100%)
     brightness(100%) 
     contrast(100%) 
     grayscale(0%)
     hue-rotate(0deg);
    transition: filter 0.3s ease-out;
}

/* ------------------seccion destacada */
.videofondo {
    position: relative;
    width: 100%;
    min-height: 60vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
}

#video-fondo {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100vw;
    min-height: 100vh;
    width: auto;
    height: auto;
    z-index: 0;
    transform: translate(-50%, -50%);
    object-fit: cover;
    opacity: 1;
    background: #222;
    filter: 
    saturate(100%)
    brightness(100%) 
    contrast(100%) 
    grayscale(0%) 
    hue-rotate(0deg);
    transition: filter 0.3s ease-out;
}

.videofondo > *:not(#video-fondo) {
    position: relative;
    z-index: 1;
}

.destacada {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    text-align: center;
    /* padding: 40px 0; */
    min-height: 600px; /* Aumenta la altura mínima para asegurar visibilidad */
    width: 100%;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    /* background-color: #333; */
}

/* Ajustes para asegurar que el video cubra toda la sección y siempre sea visible */
#video-fondo {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100vw;
    min-height: 100vh;
    width: auto;
    height: auto;
    z-index: 0;
    transform: translate(-50%, -50%);
    object-fit: cover;
   
    background: #222;
    /* --- Filtro de color para el video --- */
    filter: hue-rotate(195deg)        /* Desplaza los tonos hacia el verde */
    saturate(1.8)            /* Colores más vivos */
    sepia(0.15)              /* Tono cálido sutil para naturalidad */
    brightness(1.05)         /* Un toque más de luz */
    contrast(1.15);          /* Mejora la definición del video */

opacity: 0.75;               /* Ligera transparencia para integración suave */
    transition: filter 0.3s ease-out;
} 




/* Un envoltorio para tu contenido para asegurar que esté por encima del video */
.destacada .content-wrapper {
    position: relative; /* Asegura que el contenido esté por encima del video (z-index por defecto es 0 o mayor) */
    z-index: 1; /* Opcional, para asegurar el apilamiento */
    width: 100%; /* Para que el flexbox siga funcionando bien con el contenido */
    display: flex; /* Mantiene la organización de tus features */
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;   
    gap: 30px; /* Mantén el gap de tus features */
   
}

.destacada .feature {
    flex: 1 1 300px;
    min-width: 280px; 
    max-width: 630px;
    /* padding: 40px 20px; */
    /* Sin fondo, transparente para ver el video */
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    margin: 0px;
}

/* Responsive para tablets */
@media (max-width: 1024px) {
    .destacada {
        gap: 20px;
        padding: 30px 0;
    }
    .destacada .feature {
        min-width: 220px;
        max-width: 90vw;
        padding: 30px 10px;
    }
    .destacada .content-wrapper { /* Ajusta también el content-wrapper si es necesario */
        gap: 20px;
        
    }
}

/* Responsive para móviles */
@media (max-width: 768px) {
    .destacada {
        flex-direction: column;
        gap: 20px;
        padding: 20px 0;
    }
    .destacada .feature {
        min-width: 0;
        max-width: 100%;
        width: 100%;
        padding: 20px 5px;
    }
    .destacada .content-wrapper { /* Ajusta también el content-wrapper si es necesario */
        flex-direction: column;
        gap: 20px;
    }
}

/* .destacada {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    text-align: center;
    padding: 40px 0;
    min-height: 400px;
    width: 100%;
    box-sizing: border-box;
    background-image: url("../imagenes/aguas_cristalinas.png"); 
    background-size: cover; 
    background-position: center; 
    background-repeat: no-repeat; 
} */

/* .destacada .feature {
    flex: 1 1 300px;
    min-width: 280px;
    max-width: 630px;
    padding: 40px 20px;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    margin: 0 10px;
} */

/* Responsive para tablets */
/* @media (max-width: 1024px) {
    .destacada {
        gap: 20px;
        padding: 30px 0;
    }
    .destacada .feature {
        min-width: 220px;
        max-width: 90vw;
        padding: 30px 10px;
    }
}

/* Responsive para móviles */


/* @media (max-width: 768px) {
    .destacada {
        flex-direction: column;
        gap: 20px;
        padding: 20px 0;
    }
    .destacada .feature {
        min-width: 0;
        max-width: 100%;
        width: 100%;
        padding: 20px 5px;
    }
} */ 


/* Gallery Section */
.gallery-section {
    padding: 100px 0;
    background-color: var(--white);
}

.gallery-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    padding-bottom: 15px;
}

.gallery-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    padding: 0 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    aspect-ratio: 16/9;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), 
                url('https://images.unsplash.com/photo-1501785888041-af3ef285b470?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80') no-repeat center center/cover;
    color: var(--white);
    text-align: center;
}

.contact-content {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-section h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

#contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#contact-form input,
#contact-form textarea {
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    transition: var(--transition);
}

#contact-form input::placeholder,
#contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

#contact-form input:focus,
#contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.15);
}

#contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

/* Footer */
.footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 60px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding: 0 40px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--dorado-color);
}

.footer-section h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--white);
    position: relative;
    padding-bottom: 10px;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--dorado-color);
}

.footer-section p {
    margin-bottom: 15px;
    color: #bbb;
    line-height: 1.8;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #bbb;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--dorado-color);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(16, 12, 222, 0.658);
    color: var(--white);
    font-size: 18px;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--gray-light); 
    transform: translateY(-3px);
}

/* Boats Section */
.boats-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    padding-bottom: 15px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

.boats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    padding: 0 20px;
}

.boat-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.boat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.boat-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--azulclaro);
    color: white;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.boat-image {
    height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.boat-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.boat-card:hover .boat-overlay {
    opacity: 1;
}

.view-details {
    color: white;
    text-decoration: none;
    font-weight: 600;
    padding: 10px 20px;
    border: 2px solid white;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.view-details:hover {
    background: white;
    color: var(--primary-color);
}

.boat-info {
    padding: 20px;
}

.boat-title {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: #333;
}

.boat-price {
    margin-bottom: 15px;
}

.current-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dorado-color);
    margin-right: 10px;
}

.original-price {
    text-decoration: line-through;
    color: #999;
    font-size: 1.1rem;
    margin-right: 10px;
}

.vat {
    display: block;
    color: #666;
    font-size: 0.85rem;
    margin-top: 5px;
}

.boat-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 20px 0;
    padding: 15px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.spec-item {
    display: flex;
    flex-direction: column;
}

.spec-label {
    font-size: 0.75rem;
    color: #777;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 3px;
}

.spec-value {
    font-size: 0.95rem;
    font-weight: 500;
    color: #333;
}

.btn-enquire {
    display: block;
    width: 100%;
    padding: 12px;
    background-color: var(--dorado-color);
    color: white;
    text-align: center;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.3s ease;
    text-decoration: none;
}

.btn-enquire:hover {
    background-color: #d40000;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .boats-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .boats-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }
}

@media (max-width: 480px) {
    .boat-specs {
        grid-template-columns: 1fr;
    }
    
    .boat-badge {
        font-size: 0.7rem;
        padding: 3px 8px;
    }
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 20px 0;
    text-align: center;
    font-size: 14px;
    color: #999;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate {
    animation: fadeInUp 1s ease forwards;
}

/* Responsive */
@media (max-width: 992px) {
    .hamburger {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: rgba(0, 0, 0, 0.95);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        padding: 80px 20px;
        transition: right 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.5);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        opacity: 0;
        transform: translateX(20px);
        transition: all 0.3s ease;
    }
    
    .nav-links.active li {
        opacity: 1;
        transform: translateX(0);
        transition-delay: calc(0.1s * var(--i));
    }
    
    .nav-links li a {
        font-size: 1.2rem;
        padding: 10px 20px;
    }
    
    .nav-links li a::after {
        bottom: 5px;
        height: 2px;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -300px;
        width: 300px;
        height: 100vh;
        background-color: var(--secondary-color);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: var(--transition);
        z-index: 1000;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        margin: 15px 0;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .models-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .models-grid {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }
    
    .feature {
        min-width: 100%;
        max-width: 100%;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p.subtitle {
        font-size: 1.2rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-section h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .social-links {
        justify-content: center;
    }
}

/* Clases de utilidad */
.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mt-40 {
    margin-top: 40px;
}

.mb-40 {
    margin-bottom: 40px;
}

/* Botón flotante de WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-float i {
    color: white !important;
    font-size: 28px;
}

/* Animación de pulso para el botón de WhatsApp */
@keyframes pulse {
    0% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.7), 0 0 0 10px rgba(37, 211, 102, 0.1);
    }
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
}

/* Responsive para móviles */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 15px;
        right: 15px;
    }
    
    .whatsapp-float i {
        font-size: 24px;
    }
}
