/* ================================================== */
/* FICHERO DE ESTILOS DE FLEET BOATS         */
/* ================================================== */


/* ---------------- Variables de Estilo ---------------- */
:root {
    --primary-color: #0A2240; /* Azul Marino */
    --accent-color: #FF6700;  /* Naranja Vibrante */
    --white-color: #FFFFFF;
    --light-gray-color: #F5F5F7;
    --dark-gray-color: #333333;
    --text-color: #555555;
    --font-family: 'Poppins', sans-serif;
}

/* ---------------- Reseteos Generales ---------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--text-color);
    line-height: 1.7;
}

/* ---------------- Estilos Generales ---------------- */
section {
    padding: 80px 5%;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}


/* ... (Resto de estilos generales, botones, cabecera sin cambios) ... */
h1, h2, h3, h4 { color: var(--primary-color); font-weight: 600; }
h1 { font-size: 3rem; line-height: 1.2; margin-bottom: 1rem; }
h2 { font-size: 2.5rem; text-align: center; margin-bottom: 4rem; }
h3 { font-size: 1.5rem; margin-bottom: 1rem; }
a { text-decoration: none; color: var(--accent-color); }
ul { list-style: none; }
.btn { padding: 12px 28px; border-radius: 50px; font-weight: 600; text-transform: uppercase; font-size: 0.9rem; transition: all 0.3s ease; display: inline-block; border: 2px solid transparent; cursor: pointer; }
.btn-primary { background-color: var(--accent-color); color: var(--white-color); }
.btn-primary:hover { background-color: #e65c00; transform: translateY(-3px); }
.main-header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; background-color: var(--white-color); box-shadow: 0 2px 10px rgba(0,0,0,0.1); padding: 1rem 5%; }
.main-nav { display: flex; justify-content: space-between; align-items: center; max-width: 1200px; margin: 0 auto; }
.logo { font-size: 1.8rem; font-weight: 700; color: var(--primary-color); display: flex; align-items: center; gap: 12px; z-index: 1001; }
.logo-img { height: 40px; }
.logo strong { color: var(--accent-color); }
.nav-menu { display: none; flex-direction: column; gap: 0; position: absolute; top: 100%; left: 0; width: 100%; background-color: var(--white-color); box-shadow: 0 10px 10px rgba(0,0,0,0.1); padding: 1rem 0; border-top: 1px solid #eee; }
.nav-menu.active { display: flex;  }
.nav-menu li { width: 100%; text-align: center; }
.nav-menu a { display: block; padding: 1rem; color: var(--primary-color); font-weight: 600; transition: background-color 0.3s ease; }
.nav-menu a:hover { background-color: var(--light-gray-color); }
.nav-menu a::after { display: none; }
.nav-menu .btn-primary { margin: 1rem auto; width: fit-content; }
.hamburger-btn { display: block;  background: none; border: none; color: var(--primary-color); font-size: 1.8rem; cursor: pointer; }
@media (min-width: 992px) {
    .main-nav { position: static; } /* Quitamos el relative en desktop */
    .hamburger-btn { display: none;  }
    .nav-menu { display: flex; flex-direction: row;  position: static;  width: auto; background-color: transparent; box-shadow: none; padding: 0; border-top: none; gap: 2rem; align-items: center; }
    .nav-menu li { width: auto; }
    .nav-menu a { padding: 0; padding-bottom: 5px;  }
    .nav-menu a:hover { background-color: transparent; }
    .nav-menu a::after { display: block;  content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background-color: var(--accent-color); transition: width 0.3s ease; }
    .nav-menu a:hover::after { width: 100%; }
    .nav-menu .btn-primary { margin: 0; }
}


/* ---------------- Sección Hero (Home) ---------------- */
.hero {
    padding: 0;
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
}
.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}
.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white-color);
    max-width: 800px;
}
.hero-content h1 {
    color: var(--white-color);
}
.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}


/* ---------------- Sección Features ---------------- */
.features-section { 
    background-color: var(--light-gray-color); 
}

/* ESTA ES LA REGLA CORREGIDA */
.features-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr; /* 1 columna por defecto (móviles) */
}
@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columnas para tablets */
    }
}
@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr); /* 3 columnas para ordenadores */
    }
}

.feature-card {
    background-color: var(--white-color);
    padding: 2.5rem 2rem;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 25px rgba(0,0,0,0.08);
}
.feature-card .icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

/* ---------------- Secciones con Fondo Full-Width ---------------- */
.full-width-bg {
    position: relative;
    padding: 80px 5%;
    z-index: 1;
}

.full-width-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.6; 
    z-index: -1;
}
.demo-section::before {
    background-image: url('velero-fondo.jpg');
}
.contact-section::before {
    background-image: url('contacto-nautico-fondo.jpg');
}

.demo-section .section-container,
.contact-section .section-container {
    display: grid;
    align-items: stretch;
    grid-template-columns: 1fr;
    gap: 2rem;
    border-radius: 15px; /* Redondeamos las esquinas del contenido */
    overflow: hidden; /* Evita que los fondos de las cajas se salgan */
}
@media (min-width: 992px) {
    .demo-section .section-container,
    .contact-section .section-container {
        grid-template-columns: 1fr 1fr;
        gap: 0;
    }
}

.demo-text, .contact-info {
    padding: 3rem;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
}
.demo-form-container, .contact-form-container {
    padding: 3rem;
    background-color: var(--light-gray-color);
}
@media (min-width: 992px) {
    .demo-text, .contact-info {
        border-radius: 10px 0 0 10px;
    }
    .demo-form-container, .contact-form-container {
        border-radius: 0 10px 10px 0;
    }
}

.demo-form-container h3, .contact-form-container h3 { text-align: center; }

/* ---------------- Formularios ---------------- */
form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
input[type="text"], input[type="email"], input[type="tel"], textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: var(--font-family);
    font-size: 1rem;
}
textarea {
    resize: vertical;
    min-height: 120px;
}

/* ---------------- Sección Precios ---------------- */
.pricing-section { 
    text-align: center; 
    background-color: var(--light-gray-color); 
}
.pricing-section .section-container {
    max-width: 600px;
}
.pricing-card-container {
    background-color: var(--white-color);
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-top: 5px solid var(--accent-color);
    max-width: 450px;
    margin: 0 auto;
}
.price {
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary-color);
}
.price-period {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-color);
}
.pricing-features {
    margin: 2rem 0;
    text-align: left;
}
.pricing-features li {
    margin-bottom: 0.5rem;
}
.training-info {
    margin-top: 4rem;
}

/* ---------------- Sección Contacto (detalles) ---------------- */
.contact-details ul { margin-top: 2rem; }
.contact-details li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}
.contact-details a { color: var(--text-color); }
.contact-details a:hover { color: var(--accent-color); }

/* ---------------- Footer ---------------- */
.main-footer {
    background-color: var(--primary-color);
    color: var(--white-color);
}
.main-footer .footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}
.footer-col .logo {
    color: var(--white-color);
    margin-bottom: 1rem;
    display: inline-flex;
    font-size: 1.5rem;
}
.main-footer .logo-img {
    height: 30px;
}
.footer-col h4 {
    color: var(--white-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}
.footer-col a {
    color: #ccc;
    transition: color 0.3s ease;
}
.footer-col a:hover {
    color: var(--accent-color);
}
.footer-col li {
    margin-bottom: 0.5rem;
}

/* ---------------- WhatsApp Flotante y Banner de Cookies ---------------- */
/* (Sin cambios en estas secciones finales) */
.whatsapp-flotante { position: fixed; bottom: 25px; right: 25px; background-color: #25D366; color: white; width: 60px; height: 60px; display: flex; align-items: center; justify-content: center; border-radius: 50%; box-shadow: 0 4px 8px rgba(0,0,0,0.3); z-index: 100; transition: transform 0.3s ease; }
.whatsapp-flotante:hover { transform: scale(1.1); }
.whatsapp-flotante svg { width: 32px; height: 32px; fill: white; }
.cookie-banner, .cookie-config { position: fixed; bottom: 0; left: 0; width: 100%; background-color: var(--primary-color); color: #f1f1f1; z-index: 2000; padding: 25px; box-shadow: 0 -2px 10px rgba(0,0,0,0.2); display: none; }
.cookie-config { z-index: 2001;  }
.cookie-content { max-width: 1200px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.cookie-content p { flex-basis: 100%; margin-bottom: 1rem; text-align: left; }
@media (min-width: 992px) { .cookie-content p { flex: 1; margin-bottom: 0; } }
.cookie-content h4 { color: var(--white-color); flex-basis: 100%; }
.cookie-content a { color: var(--accent-color); text-decoration: underline; }
.cookie-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }
.cookie-btn { padding: 10px 20px; border: 2px solid var(--white-color); background-color: transparent; color: var(--white-color); border-radius: 5px; cursor: pointer; font-weight: 600; transition: all 0.3s ease; }
.cookie-btn.btn-accept { background-color: var(--accent-color); border-color: var(--accent-color); }
.cookie-btn:hover { opacity: 0.8; }
.cookie-option { margin-bottom: 1rem; padding: 10px; border-radius: 5px; background: rgba(255,255,255,0.05); }
.cookie-option label { display: flex; align-items: center; gap: 10px; font-size: 1.1rem; }
.cookie-option p { font-size: 0.9rem; margin-left: 28px; opacity: 0.8; }