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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #fff;
    color: #333;
}

/* PORTADA */
.hero {
    min-height: 100vh;
    position: relative;
    background:
        linear-gradient(rgba(0,0,0,0.05), rgba(0,0,0,0.7)),
        url('fondo.jpg');
    background-size: cover;
    background-position: center;
}

/* NAVEGACIÓN */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 8%;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: 0.3s;
}

.logo {
    color: white;
    font-size: 32px;
    font-weight: bold;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #d71920;
}

/* PORTADA TEXTO */
.hero-content {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    text-align: center;
    color: white;
    padding: 120px 20px 100px;
    gap: 15px;
}

.hero-content h2 {
    font-size: 70px;
    max-width: 900px;
    margin-bottom: 25px;
}

.hero-content p {
    font-size: 22px;
    max-width: 700px;
    line-height: 1.7;
    margin-bottom: 40px;
}

/* BOTONES */
.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-primary {
    background: #00c26e;
    color: white;
    border: none;
    padding: 16px 35px;
    border-radius: 12px;
    font-size: 18px;
    cursor: pointer;
    transition: 0.3s;
}

.btn-primary:hover {
    background: #00a75e;
    transform: translateY(-3px);
}

.btn-secondary {
    background: transparent;
    border: 2px solid white;
    color: white;
    padding: 16px 35px;
    border-radius: 12px;
    font-size: 18px;
    cursor: pointer;
    transition: 0.3s;
}

.btn-secondary:hover {
    background: white;
    color: #003366;
}

/* SERVICIOS */
.services {
    padding: 100px 8%;
    background: #f5f7fa;
    text-align: center;
}

.services h2 {
    font-size: 50px;
    color: #003366;
    margin-bottom: 60px;
}

.services-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.card {
    background: white;
    width: 320px;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-10px);
}

.card h3 {
    margin-bottom: 20px;
    color: #003366;
}

/* NOSOTROS */
.about {
    padding: 100px 8%;
    text-align: center;
}

.about h2 {
    font-size: 50px;
    color: #003366;
    margin-bottom: 30px;
}

.about p {
    max-width: 800px;
    margin: auto;
    font-size: 22px;
    line-height: 1.7;
}

/* CONTACTO */
.contact {
    padding: 100px 8%;
    background: linear-gradient(90deg, #003366, #d71920);
    color: white;
    text-align: center;
}

.contact > h2 {
    font-size: 50px;
    margin-bottom: 20px;
}

.contact > p {
    font-size: 22px;
    margin-bottom: 40px;
}

/* FORMULARIO DE RESERVAS */
.booking {
    padding: 60px 20px;
    background: #fff;
    border-radius: 25px;
    max-width: 850px;
    margin: 0 auto;
    color: #333;
}

.booking h2 {
    font-size: 42px;
    color: #003366;
    margin-bottom: 15px;
}

.booking-intro {
    font-size: 16px;
    color: #666;
    margin-bottom: 35px;
    line-height: 1.6;
}

#booking-form {
    max-width: 650px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: left;
}

#booking-form label {
    font-weight: bold;
    color: #003366;
    margin-top: 8px;
}

#booking-form input,
#booking-form select,
#booking-form textarea {
    width: 100%;
    padding: 17px;
    border: 1px solid #e1e5ea;
    border-radius: 12px;
    background: #f3f5f7;
    font-size: 16px;
    font-family: inherit;
    outline: none;
    transition: 0.3s;
}

#booking-form input:focus,
#booking-form select:focus,
#booking-form textarea:focus {
    border-color: #d71920;
    background: white;
    box-shadow: 0 0 0 3px rgba(215,25,32,0.1);
}

#booking-form textarea {
    resize: vertical;
    min-height: 110px;
}

/* ENCABEZADO DE UBICACIÓN */
.location-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 25px;
    padding: 18px;
    background: #fff0f0;
    border-radius: 12px;
    color: #003366;
}

.location-heading span {
    font-size: 25px;
}

.location-heading h3 {
    font-size: 20px;
}

/* AYUDA PARA COMPARTIR UBICACIÓN */
.location-help {
    margin: 5px 0 15px;
    border: 1px solid #dce3eb;
    border-radius: 12px;
    overflow: hidden;
    background: #f5f7fa;
}

.location-help summary {
    padding: 16px;
    color: #003366;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    line-height: 1.5;
}

.location-help summary:hover {
    color: #d71920;
}

.location-help-content {
    padding: 18px;
    border-top: 1px solid #dce3eb;
    line-height: 1.7;
}

.location-help-content h4 {
    color: #003366;
    margin-bottom: 12px;
}

.location-help-content ol {
    padding-left: 22px;
    margin-bottom: 18px;
}

.location-alternative {
    background: #fff0f0;
    border-left: 4px solid #d71920;
    padding: 15px;
    border-radius: 8px;
}

.location-alternative strong {
    color: #003366;
}

.location-alternative p {
    margin-top: 6px;
    font-size: 14px;
}

/* PRIVACIDAD */
#booking-form .privacy-note {
    font-size: 13px;
    color: #777;
    line-height: 1.5;
    margin: 12px 0;
    text-align: center;
}

#booking-form button {
    width: 100%;
    margin-top: 10px;
}

/* REDES SOCIALES */
.social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 25px 0;
    background: #0b0b0b;
}

.social-icons a img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    padding: 6px;
    background: white;
    transition: 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.social-icons a img:hover {
    transform: scale(1.2);
}

/* FOOTER */
footer {
    background: #0b0b0b;
    color: #aaa;
    text-align: center;
    padding: 30px;
}

/* ASISTENTE FLOTANTE */
.assistant-float {
    position: fixed;
    left: 15px;
    bottom: 120px;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #d71920;
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
    animation: float 3s ease-in-out infinite;
    z-index: 9999;
    background: white;
}

.assistant-float img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

/* ADAPTACIÓN A MÓVILES */
@media (max-width: 768px) {

    .navbar {
        flex-direction: column;
        gap: 18px;
        padding: 18px 10px;
        background: rgba(0,0,0,0.75);
    }

    .logo {
        font-size: 27px;
    }

    .nav-links {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-links a {
        font-size: 14px;
    }

    .hero-content {
        padding-top: 150px;
        padding-bottom: 70px;
    }

    .hero-content h2 {
        font-size: 42px;
    }

    .hero-content p {
        font-size: 18px;
    }

    .services h2,
    .about h2,
    .contact > h2 {
        font-size: 38px;
    }

    .booking {
        padding: 35px 18px;
    }

    .booking h2 {
        font-size: 34px;
    }

    .card {
        width: 100%;
        max-width: 320px;
    }

    .assistant-float {
        width: 75px;
        height: 75px;
        left: 10px;
        bottom: 100px;
    }

    .whatsapp-float {
        width: 58px;
        height: 58px;
    }
}

@media (max-width: 380px) {

    .nav-links {
        gap: 10px;
    }

    .nav-links a {
        font-size: 12px;
    }

    .hero-content h2 {
        font-size: 35px;
    }
}
