/* styles.css - Versión Final Dark Theme con menú hamburguesa */

/* Reset y base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    color: #fff;
    line-height: 1.6;
    background-color: #000;
}

/* Navegación */
header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: rgba(0,0,0,0.9);
    position: fixed;
    width: 100%;
    z-index: 1000;
}

header nav .logo img {
    height: 50px;
}

/* Menú principal */
header nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

/* Links */
header nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: color 0.3s ease;
}

header nav ul li a:hover {
    color: #F57EB6;
}

/* Botón hamburguesa - oculto por defecto */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

/* Líneas hamburguesa */
.hamburger,
.hamburger::before,
.hamburger::after {
    content: "";
    display: block;
    width: 25px;
    height: 3px;
    background-color: #fff;
    border-radius: 2px;
    position: relative;
    transition: all 0.3s ease;
}

.hamburger::before,
.hamburger::after {
    position: absolute;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    top: 8px;
}

/* Responsive: en pantallas <= 768px */
@media (max-width: 768px) {
    /* Mostrar botón hamburguesa */
    .nav-toggle {
        display: block;
    }

    /* Ocultar menú por defecto */
    header nav ul {
        display: none;
        flex-direction: column;
        background-color: rgba(0,0,0,0.95);
        position: absolute;
        top: 60px; /* altura del nav */
        right: 0;
        width: 220px;
        border-radius: 5px;
        padding: 1rem;
        z-index: 1000;
    }

    /* Mostrar menú cuando activo */
    header nav ul.active {
        display: flex;
    }

    /* Espaciado vertical para links */
    header nav ul li {
        margin-bottom: 1rem;
    }

    header nav ul li:last-child {
        margin-bottom: 0;
    }
}

/* Animación botón hamburguesa activo */
.nav-toggle.active .hamburger {
    background-color: transparent;
}

.nav-toggle.active .hamburger::before {
    transform: rotate(45deg);
    top: 0;
}

.nav-toggle.active .hamburger::after {
    transform: rotate(-45deg);
    top: 0;
}

/* Hero */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    color: white;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1rem;
    font-family: 'Lost in South', cursive;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    text-shadow: 1px 1px 6px rgba(0,0,0,0.7);
    display: flex;
    flex-direction: column;
    justify-content: center;*/
    padding-bottom: 80px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 4rem;
    font-weight: 900;
    font-family: 'Lost in South', cursive;
    word-spacing: 1.5rem;
    letter-spacing: 4px;
    padding-top: 20px;
    padding-bottom: 80px;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 400;
}

#bookNowBtn {
    background-color: #F57EB6;
    border: none;
    padding: 1.5rem 2rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    box-shadow: 1px 1px 5px rgba(0,0,0,0.5);
    margin-top: auto; /* Empuja el botón hacia abajo */
    align-self: center; /* Centrado horizontal */
    width: max-content;
}

#bookNowBtn:hover {
    background-color: #d46a9e;
}

/* Secciones */
.about,
.styles,
.gallery,
.testimonials,
.booking {
    background-color: #000;
    padding: 4rem 2rem;
}

.about h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    font-family: 'Lost in South', cursive;
    font-weight: 900;
    word-spacing: 6px;
    letter-spacing: 4px;
}

.about-content {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.about-content.reverse {
    flex-direction: row-reverse;
}

.about-text {
    flex: 1 1 400px;
    font-size: 1.1rem;
    color: #fff;
}

.about-text p {
    margin-bottom: 1rem;
}

.about-image {
    flex: 1 1 400px;
    text-align: center;
}

.about-image img {
    max-width: 100%;
    border-radius: 10px;
}

/* Galería y Estilos */
.styles h2, .gallery h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    font-family: 'Lost in South', cursive;
    font-weight: 900;
    word-spacing: 6px;
    letter-spacing: 4px;
}
.styles-grid,
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    padding: 0 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.style-card,
.gallery-item {
    position: relative;
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    background-image: var(--style-image);
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
    border: 1px solid #333;
}

.style-card:hover,
.gallery-item:hover {
    transform: scale(1.05);
}

.style-overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(0,0,0,0.7);
    color: #fff;
    padding: 1rem;
    text-align: center;
    font-weight: 700;
    font-size: 1.2rem;
}

/* Testimonios */
.testimonials h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    font-family: 'Lost in South', cursive;
    font-weight: 900;
    word-spacing: 6px;
    letter-spacing: 4px;
}
.testimonials {
    padding: 5rem 10%;
    background-color: #1111115d;
    position: relative;
    overflow: hidden;
}

.testimonial-carousel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    padding: 2rem 0;
    position: relative;
    height: 300px;
    overflow: hidden;
}

.testimonial-slide {
    position: absolute;
    width: 350px;
    transition: all 0.8s ease-out;
    opacity: 0.5;
    transform: scale(0.8);
}

.testimonial-slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
    left: 50%;
    transform: translateX(-50%) scale(1);
}

.testimonial-slide.prev {
    left: 20%;
    transform: scale(0.8) translateX(-100%);
    opacity: 0.5;
}

.testimonial-slide.next {
    right: 20%;
    transform: scale(0.8) translateX(100%);
    opacity: 0.5;
}

.testimonial-slide.left {
    left: 20%;
    transform: scale(0.8) translateX(-100%);
    opacity: 0.5;
}

.testimonial-slide.right {
    right: 20%;
    transform: scale(0.8) translateX(100%);
    opacity: 0.5;
}

.testimonial-card {
    background-color: #222;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    height: 175px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    max-width: 100%;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.5;
    color: #ddd;
    margin-bottom: 1rem;
    font-style: italic;
    flex-grow: 1;
    display: flex;
    align-items: center;
    padding: 0 1rem;
}

.testimonial-author {
    font-size: 0.9rem;
    color: #F57EB6;
    font-weight: bold;
    margin-top: auto;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.prev-btn, .next-btn {
    background: none;
    border: 2px solid #F57EB6;
    color: #F57EB6;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.prev-btn:hover, .next-btn:hover {
    background-color: #F57EB6;
    color: #fff;
}


/* Formulario */
.booking {
    background-color: #000 !important;
    padding: 4rem 2rem;
}
.booking h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    font-family: 'Lost in South', cursive;
    font-weight: 900;
    word-spacing: 6px;
    letter-spacing: 4px;
}

.booking form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.booking input,
.booking select,
.booking textarea {
    padding: 0.75rem;
    font-size: 1rem;
    border: 1px solid #333;
    border-radius: 5px;
    resize: vertical;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.booking input::placeholder,
.booking textarea::placeholder {
    color: #fff;
}

.booking select {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid #333;
    border-radius: 5px;
    padding: 0.75rem 2.5rem 0.75rem 0.75rem;
    font-size: 1rem;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2210%22%20height%3D%227%22%20viewBox%3D%220%200%2010%207%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%3Cpath%20d%3D%22M0%200l5%207%205-7z%22%20fill%3D%22%23F57EB6%22/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 10px 7px;
}

.booking select option {
    background-color: #000;
    color: #fff;
}

.booking select option:hover,
.booking select option:focus {
    background-color: #F57EB6;
    color: #000;
}

.booking button {
    padding: 1rem;
    background-color: #F57EB6;
    color: #000;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.booking button:hover {
    background-color: #d46a9e;
}

/* Footer */
footer {
    background-color: #000;
    color: #fff;
    padding: 2rem 1rem;
    font-family: Arial, sans-serif;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.footer-logo img {
    height: 50px;
}

.contact-info p,
.contact-info a {
    color: #fff;
    margin-bottom: 0.5rem;
    text-decoration: none;
    font-size: 1rem;
}

.contact-info a:hover {
    text-decoration: underline;
    color: #F57EB6;
}

.social-links a {
    color: #fff;
    font-size: 1.5rem;
    margin-right: 1rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #F57EB6;
}

/* Responsive */
@media (max-width: 1200px) {
    .styles-grid,
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    /* Navegación */
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
        display: none;
    }
    
    nav ul.active {
        display: flex;
    }
    
    /* Hero */
    .hero {
        height: 80vh;
    }

    .hero-content {
        padding-bottom: 40px;
    }
    #bookNowBtn {
        padding: 1rem 2rem;
        font-size: 1rem;
        width: 90%; /* Ancho completo en móviles */
        max-width: 300px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    /* Secciones */
    section {
        padding: 3rem 5%;
    }
    
    .about-content,
    .about-content.reverse {
        flex-direction: column;
    }
    
    /* Cards */
    .style-card,
    .gallery-item {
        height: 250px;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 14px;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .styles-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .style-card,
    .gallery-item {
        height: 200px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}