body {
    background-color: #000;
    color: #fff;
    font-family: 'Playfair Display', 'Cinzel', serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    overflow-y: auto;
}

html,
body {
    overscroll-behavior-y: none;
    touch-action: manipulation;
    scroll-behavior: smooth;
    height: 100%;
}

/* Tamaño normal - desktop */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #111;
    height: 80px;
    position: relative;
    width: 100%;
    box-sizing: border-box;
    border-bottom: 4px solid #f5f5f5;
}

/* Iconos sociales a la izquierda */
header .social-icons {
    flex: 0 0 60px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
}

header .social-icons a img {
    width: 30px;
    height: 30px;
    transition: transform 0.3s ease;
}

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

/* Logo centrado */
header .logo {
    flex: 1 1 auto;
    max-height: 120px;
    width: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

/* Menú hamburguesa a la derecha */
.menu-toggle {
    flex: 0 0 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    position: relative;
    z-index: 1000;
}

.menu-toggle span {
    height: 3px;
    width: 25px;
    background: #f5f5f5;
    margin: 4px 0;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.menu-toggle.open span:nth-child(1) {
    transform: rotate(45deg);
    position: absolute;
    top: 10px;
}

.menu-toggle.open span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
    transform: rotate(-45deg);
    position: absolute;
    top: 10px;
}

/* Mobile */
@media (max-width: 767px) {
    header {
        height: 70px;
        padding: 10px 15px;
    }

    header .logo {
        max-height: 50px;
    }

    header .social-icons {
        flex: 0 0 40px;
        gap: 6px;
    }

    header .social-icons a img {
        width: 24px;
        height: 24px;
    }

    .menu-toggle {
        flex: 0 0 40px;
    }

    .menu-toggle span {
        width: 20px;
        height: 2px;
    }
}


nav {
    display: flex;
    gap: 20px;
    overflow-x: hidden;
}

nav a {
    color: #f5f5f5;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #fff;
}

nav a.login-btn {
    background-color: #f5f5f5;
    color: #000;
    padding: 6px 12px;
    border-radius: 4px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

nav a.login-btn:hover {
    background-color: #f5f5f5;
    color: #fff;
    background-color: #000000;
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 4px;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-decoration: none;
}

nav a:hover {
    background-color: #ffffff;
    color: #000000;
}

nav a.login-btn {
    background-color: #000000;
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 4px;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-decoration: none;
}

nav a.login-btn:hover {
    background-color: #ffffff;
    color: #000000;
}

.portada-slider {
    position: relative;
    width: 100vw;
    height: 75vh;
    overflow: hidden;
    background-color: #000;
    margin: 0;
    padding: 0;
}

.slider {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
}

.slider-item {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    height: 100vh;
    width: 100%;
    height: 100vh;
    position: relative;
    /* MUY IMPORTANTE */
    overflow: hidden;
}

.slider-item img {
    filter: brightness(0.95) contrast(1.1);
    object-fit: cover;
    width: 100%;
    height: 100%;
    object-position: center;
    pointer-events: none;
    user-select: none;
    display: block;
    animation: slideZoomFade 10s ease-in-out infinite;
}

@keyframes slideZoomFade {
    0% {
        transform: scale(1) translateX(0);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.05) translateX(10px);
        opacity: 1;
    }

    100% {
        transform: scale(1) translateX(0);
        opacity: 0.8;
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.slider-content {
    position: absolute;
    top: 42%;
    top: 30%;
    /* ajusta según la altura deseada */
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
    z-index: 10;
    padding: 0 10px;
    opacity: 0;
    animation: fadeInUp 1.2s ease-in-out forwards;
}

.slick-current .slider-content {
    animation: fadeInUp 1.2s ease-in-out forwards;
    animation-delay: 0.3s;
}

.slick-current .slider-content h1 {
    animation: fadeInUp 1.2s ease-in-out forwards;
    animation-delay: 0.6s;
}

.slick-current .slider-content button {
    animation: fadeInUp 1.2s ease-in-out forwards;
    animation-delay: 0.9s;
}

.slider-content h1 {
    font-size: 3rem;
    text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.7);
    margin-bottom: 20px;
    opacity: 0;
}



.slider-content button {
    font-size: 1.2rem;
    padding: 14px 30px;
    border-radius: 8px;
    background-color: #f5f5f5;
    color: #000;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    opacity: 0;
}

.slider-content button:hover {
    background-color: #f5f5f5;
}

.btn-reservar {
    display: inline-block;
    margin-top: 20px;
    padding: 14px 30px;
    background-color: #f5f5f5;
    color: #000;
    text-transform: uppercase;
    font-weight: bold;
    border-radius: 30px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.btn-reservar:hover {
    background-color: #f5f5f5;
}

.btn-reservar.grande {
    font-size: 1.2rem;
    padding: 16px 35px;
}

section {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-in-out;
    padding: 50px 20px;
    text-align: center;
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

#quienes-somos {
    padding-top: 20px;
    margin-top: 0;
}

button {
    background-color: #f5f5f5;
    color: #000;
    padding: 15px 25px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    border-radius: 5px;
}

button:hover {
    background-color: #f5f5f5;
}

form input,
form textarea {
    width: 80%;
    margin: 10px 0;
    padding: 10px;
    border-radius: 5px;
    border: none;
}

.cinzel-decorative {
    font-family: 'Cinzel Decorative', serif;
    font-size: 2rem;
    color: #f5f5f5;
    margin-bottom: 20px;
}

.slick-dots {
    display: none;
}

@media (max-width: 768px) {
    body {
        overflow-x: hidden;
    }

    header .social-icons a img {
        width: 25px;
        height: 25px;
    }

    header .logo {
        position: static;
        transform: none;
        max-height: 105px;
        margin: 0 auto;
    }

    nav {
        display: none;
        flex-direction: column;
        width: 100%;
        height: 100vh;
        position: fixed;
        top: 0;
        left: 0;
        background-color: #000;
        z-index: 999;
        justify-content: center;
        align-items: center;
        overflow-x: hidden;
    }

    nav.active {
        display: flex;
    }

    nav a {
        font-size: 1.5rem;
        margin: 15px 0;
    }

    .portada-slider {
        height: auto;
        margin-top: 0;
    }

    .slider-item {
        height: 70vh;
    }

    .slider-item img {
        object-fit: cover;
        height: 100%;
    }

    .slider-content {
        top: 45%;
    }

    .slider-content h1 {
        font-size: 1.8rem;
    }

    .slider-content button {
        padding: 10px 20px;
        font-size: 1rem;
    }

    #quienes-somos {
        margin-top: 0;
    }

    section {
        padding: 30px 20px;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .slider-content {
        top: 42%;
    }

    .portada-slider {
        height: 80vh;
    }
}

@media (min-width: 1024px) {
    header {
        padding: 10px 50px;
    }

    nav {
        display: none;
        position: fixed;
        top: 80px;
        right: 20px;
        background-color: #111;
        padding: 20px 30px;
        border-radius: 5px;
        box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.5);
        z-index: 1000;
        overflow-x: hidden;
    }

    nav.active {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    nav a {
        font-weight: bold;
        font-size: 1.2rem;
    }
}

/* SECCIÃ“N QUIÃ‰NES SOMOS */
.quienes-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 30px;
    animation: fadeInUp 1s ease;
}

.quienes-img img {
    max-width: 250px;
    border-radius: 50%;
    border: 3px solid #f5f5f5;
    box-shadow: 0 0 15px rgba(218, 165, 32, 0.3);
}

.quienes-texto {
    max-width: 600px;
    text-align: left;
    line-height: 1.7;
}

.quienes-texto p {
    margin-bottom: 15px;
    color: #e0e0e0;
    line-height: 1.7;
    font-size: 1rem;
}

.quienes-texto .slogan {
    font-style: italic;
    color: #f5f5f5;
}

/* SECCIÃ“N SERVICIOS CON ICONOS */
.servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.servicio-item {
    background-color: #111;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(218, 165, 32, 0.2);
    transition: transform 0.3s ease;
    text-align: center;
}

.servicio-item:hover {
    transform: translateY(-5px);
}

.servicio-item img {
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: brightness(1.1) contrast(1.15);
    width: 70px;
    height: 70px;
    margin-bottom: 15px;
}

.servicio-item:hover img {
    transform: scale(1.1);
    filter: brightness(1.25) contrast(1.25);
}

.servicio-item h3 {
    color: #f5f5f5;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.servicio-item p {
    font-size: 0.95rem;
    color: #ccc;
    line-height: 1.6;
}

.contacto-container {
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    /* Centra los elementos horizontalmente */
    align-items: center;
    /* Centra los elementos verticalmente */
    gap: 40px;
    margin-top: 30px;
}

.formulario-contacto {
    flex: 1 1 350px;
    max-width: 400px;
    text-align: center;
    /* Cambiado de 'left' a 'center' */
    margin: 0 auto;
    /* Asegura que el formulario estÃ© centrado */
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    margin: 50px auto;
    max-width: 1200px;
    padding: 0 20px;
}

.formulario-contacto {
    flex: 1 1 50%;
    max-width: 550px;
    padding: 20px;
    text-align: center;
}

.formulario-contacto form {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Centra los campos horizontalmente */
    gap: 15px;
    /* Espacio entre campos */
}

.formulario-contacto form input,
.formulario-contacto form textarea {
    width: 100%;
    margin-bottom: 15px;
    padding: 10px;
    border-radius: 5px;
    border: none;
    background-color: #222;
    color: #fff;
    border: 1px solid #555;
    text-align: center;
    /* Centra el texto dentro de los campos */
}

.formulario-contacto form input::placeholder,
.formulario-contacto form textarea::placeholder {
    color: #aaa;
    text-align: center;
    /* Centra el texto del placeholder */
}

.formulario-contacto form input:focus,
.formulario-contacto form textarea:focus {
    border-color: #f5f5f5;
    outline: none;
}

.formulario-contacto button {
    width: 100%;
}

.ubicacion-contacto {
    flex: 1 1 350px;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    /* Centra el contenido del mapa */
    width: 80%;
    /* Ancho de los campos */
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #555;
    background-color: #222;
    color: #fff;
    font-size: 16px;
    text-align: center;
    /* Centra el texto dentro del campo */
    resize: vertical;
}

.formulario-contacto form button {
    padding: 10px 30px;
    font-size: 18px;
    border-radius: 5px;
    border: none;
    background-color: #444;
    color: #fff;
    cursor: pointer;
}

.formulario-contacto form button:hover {
    background-color: #666;
}

.ubicacion-contacto {
    flex: 1 1 40%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.info-ubicacion {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
}

.info-ubicacion img {
    width: 24px;
    height: 24px;
    filter: brightness(1.2);
}

.mapa iframe {
    border-radius: 8px;
    width: 100%;
    height: 200px;
    width: 100%;
    height: 250px;
    border-radius: 8px;
}

/* AdaptaciÃ³n para pantallas chicas */
@media (max-width: 768px) {
    .contacto-container {
        flex-direction: column;
        align-items: center;
    }

    .formulario-contacto,
    .ubicacion-contacto {
        max-width: 100%;
    }

    .info-ubicacion {
        justify-content: center;
    }
}

/* CENTRADO CONTACTO */
.centrado {
    max-width: 1000px;
    margin: 0 auto;
}

/* FOOTER */
footer {
    background-color: #111;
    color: #fff;
    padding: 20px 15px;
    /* Reducido el padding */
    font-size: 0.85rem;
    /* TamaÃ±o de fuente mÃ¡s pequeÃ±o */
    border-top: 1px solid #333;
    margin-top: 30px;
    /* Reducido el margen superior */
}

.footer-content {
    font-size: 0.9rem;
    /* Ajustado el tamaÃ±o de fuente */
    color: #ccc;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 15px;
    /* Reducido el espacio entre elementos */
    text-align: center;
}

.footer-left,
.footer-center,
.footer-right {
    flex: 1 1 200px;
    /* Ajustado el tamaÃ±o mÃ­nimo */
}

.footer-right a {
    color: #f5f5f5;
    text-decoration: none;
    margin: 0 3px;
    /* Reducido el margen entre enlaces */
}

.footer-right a:hover {
    text-decoration: underline;
}

.footer-content a:hover {
    color: #fff;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        /* Reducido el espacio en pantallas pequeÃ±as */
    }
}

/* ===========================================
   CTA DOBLE SOBRE PORTADA (ajustes de color y mÃ³vil)
=========================================== */
.cta-container {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    overflow: hidden;
    /* para redondeo conjunto */
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 10;
    background: transparent;
}

/* BotÃ³n izquierdo: fondo granate (usa tu paleta) */
.cta-container .btn-filled {
    background: #1c1c1c;
    color: #f5f5f5;
    /* dorado */
    padding: 12px 32px;
    font-family: 'Cinzel', serif;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    border: 2px solid #f5f5f5;
    border-radius: 30px 0 0 30px;
    /* redondeo solo a la izquierda */
    transition: background 0.2s ease;
}

.cta-container .btn-filled:hover {
    background: #000;
    /* negro puro */
    color: #f5f5f5;
    /* dorado mÃ¡s brillante */
}

/* BotÃ³n derecho: fondo dorado / texto negro invertido */
.cta-container .btn-outline {
    background: #f5f5f5;
    /* dorado */
    color: #1c1c1c;
    /* negro */
    padding: 12px 32px;
    font-family: 'Cinzel', serif;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    border: 2px solid #f5f5f5;
    border-radius: 0 30px 30px 0;
    /* redondeo solo a la derecha */
    transition: background 0.2s ease, color 0.2s ease;
}

.cta-container .btn-outline:hover {
    background: #f5f5f5;
    /* dorado medio */
    color: #000;
}

/* Ajustes para mÃ³vil */
@media (max-width: 600px) {
    .cta-container {
        flex-direction: column;
        width: 100%;
        background: transparent;
    }

    .cta-container .btn-filled,
    .cta-container .btn-outline {
        border-radius: 30px !important;
        /* redondeo completo */
        width: 100%;
        padding: 14px 0;
        text-align: center;
    }

    .cta-container .btn-filled {
        margin-bottom: 8px;
    }
}

.cta-container a {
    width: 100%;
    margin: 6px 0;
    border-radius: 30px !important;
    text-align: center;
}


.contacto-container {
    display: flex;
    justify-content: center;
    align-items: center;
    /* cambio aquí */
    gap: 40px;
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
    box-sizing: border-box;
    flex-wrap: nowrap;
}

.formulario-contacto {
    flex: 1 1 500px;
    /* puede crecer, mínimo 500px */
    max-width: 600px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: left;
    /* inputs alineados a la izquierda */
}

.formulario-contacto input,
.formulario-contacto textarea,
.formulario-contacto button {
    width: 100%;
    /* inputs y botón ocupan todo el ancho */
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.formulario-contacto button {
    background-color: #333;
    color: white;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.formulario-contacto button:hover {
    background-color: #555;
}

.ubicacion-contacto {
    flex: 0 0 320px;
    max-width: 320px;
    height: 280px;
    margin-top: -10px;
    /* opcional: ajusta para alinear finamente */
}

.ubicacion-contacto iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
}

/* Responsivo: en pantallas pequeñas, apilar verticalmente */
@media (max-width: 768px) {
    .contacto-container {
        flex-direction: column;
        max-width: 90vw;
        gap: 30px;
        align-items: center;
        /* centrar contenido en vertical */
    }

    .formulario-contacto,
    .ubicacion-contacto {
        max-width: 100%;
        flex: none;
    }

    .formulario-contacto input,
    .formulario-contacto textarea,
    .formulario-contacto button {
        width: 100%;
    }
}

.slider-content {
    position: absolute;
    top: -15%;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    color: #fff;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
    z-index: 10;
    padding: 0 20px;
    opacity: 0;
    animation: fadeInUp 1.2s ease-in-out forwards;

}

.footer {
    background-color: #000000;
    padding: 20px 10px;
    font-size: 14px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    /* alinea verticalmente el contenido */
    text-align: center;
    gap: 20px;
}

.footer-right,
.footer-center,
.footer-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 10px;
}

.social-icons img {
    width: 28px;
    height: 28px;
}

@media (min-width: 768px) {
    .footer-content {
        flex-wrap: nowrap;
        text-align: left;
    }

    .footer-right,
    .footer-center,
    .footer-left {
        align-items: flex-start;
    }

    .footer-left {
        align-items: flex-end;
    }
}

.social-icons {
    display: flex;
    justify-content: center;
    /* centrado por defecto */
    align-items: center;
    gap: 15px;
    padding-top: 10px;
}

/* En pantallas grandes, los íconos se desplazan un poco a la derecha */
@media (min-width: 768px) {
    .social-icons {
        justify-content: start;
        margin-left: 20px;
    }
}




