/* assets/css/style_landing.css */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Montserrat:wght@300;400;500;600&display=swap');

:root {
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;

    --color-primary: #D4A373;
    /* Gold/Nude accent */
    --color-pink-light: #fdf2f7;
    /* Very light pink background */
    --color-pink-medium: #f8c8dc;
    /* Our standard pink */
    --color-pink-dark: #d48ba8;
    --color-text-dark: #333333;
    --color-text-gray: #666666;
    --color-white: #ffffff;
    --color-bg-cream: #f9f7f2;
}

body {
    font-family: var(--font-body);
    color: var(--color-text-dark);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    background-color: var(--color-white);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-text-dark);
    font-weight: 600;
    margin-top: 0;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

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

/* --- BUTTONS --- */
.btn-landing {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--color-pink-medium);
    color: var(--color-text-dark);
    border: 1px solid transparent;
    border-radius: 30px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9em;
    cursor: pointer;
}

.btn-landing:hover {
    background-color: var(--color-pink-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(248, 200, 220, 0.4);
}

.btn-landing.outline {
    background-color: transparent;
    border: 1px solid var(--color-text-dark);
    color: var(--color-text-dark);
}

.btn-landing.outline:hover {
    background-color: var(--color-text-dark);
    color: white;
}

.btn-landing.white {
    background-color: white;
    color: var(--color-text-dark);
}

/* --- NAV --- */
.landing-nav {
    position: sticky;
    /* Or fixed */
    top: 0;
    width: 100%;
    background-color: var(--color-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 100;
    padding: 15px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.landing-nav .logo a {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-text-dark);
    font-weight: 700;
    letter-spacing: -0.5px;
}

.landing-nav .menu {
    display: flex;
    gap: 30px;
}

.landing-nav .menu a {
    color: var(--color-text-gray);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

.landing-nav .menu a:hover {
    color: var(--color-pink-dark);
}

.landing-nav .menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--color-pink-medium);
    transition: width 0.3s;
}

.landing-nav .menu a:hover::after {
    width: 100%;
}

/* Button override for nav to match request "transparencia para que se note" */
/* Interpreting as: Elegant outline button that stands out */
.landing-nav .btn-landing.outline {
    border: 1px solid var(--color-pink-dark);
    color: var(--color-pink-dark);
    background-color: transparent;
}

.landing-nav .btn-landing.outline:hover {
    background-color: var(--color-pink-medium);
    color: white;
    border-color: var(--color-pink-medium);
}

/* --- 1. HERO SECTION --- */
.hero {
    height: 100vh;
    min-height: 600px;
    background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)), url('../img/landing/local.webp');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    /* Fallback */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    /* Light overlay requested */
    backdrop-filter: blur(1px);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.7);
    /* Boxed content for readability on light images */
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 10px;
    color: var(--color-text-dark);
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.2rem;
    color: var(--color-text-gray);
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* --- 2. INTRO / PRESENTATION --- */
.intro {
    padding: 80px 0;
    background-color: var(--color-white);
    text-align: center;
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    text-align: left;
}

.intro img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 20px 20px 0 var(--color-pink-light);
}

/* --- 3. SERVICES --- */
.services {
    padding: 100px 0;
    background-color: var(--color-bg-cream);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--color-text-dark);
}

.section-header p {
    color: var(--color-text-gray);
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    padding: 0;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    text-align: left;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.service-img {
    height: 200px;
    width: 100%;
    object-fit: cover;
}

.service-content {
    padding: 25px;
}

.service-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.service-btn {
    color: var(--color-pink-dark);
    font-weight: 600;
    font-size: 0.9em;
    text-transform: uppercase;
    margin-top: 15px;
    display: inline-block;
}

/* --- 4. BENEFITS --- */
.benefits {
    padding: 80px 0;
    background-color: white;
    text-align: center;
}

.benefits-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
}

.benefit-item {
    flex: 1;
    min-width: 200px;
    max-width: 300px;
}

.benefit-icon {
    font-size: 2.5rem;
    color: var(--color-pink-dark);
    margin-bottom: 20px;
}

/* --- 5. GALLERY / INSTAGRAM --- */
.gallery {
    padding: 100px 0;
    background-color: var(--color-pink-light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 15px;
}

.gallery-item {
    height: 300px;
    overflow: hidden;
    border-radius: 4px;
    position: relative;
}

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

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

/* --- 6. CTA FINAL --- */
.cta-final {
    padding: 100px 0;
    text-align: center;
    background-image: linear-gradient(rgba(248, 200, 220, 0.8), rgba(248, 200, 220, 0.9)), url('../img/landing/local.webp');
    background-size: cover;
    background-attachment: fixed;
    color: var(--color-text-dark);
}

.cta-final h2 {
    font-size: 2.8rem;
    margin-bottom: 30px;
}

/* --- FLOATING WHATSAPP --- */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: transform 0.3s;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
}

/* --- RESPONSIVE --- */
/* --- RESPONSIVE HEADER --- */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 101;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--color-text-dark);
    transition: all 0.3s;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .landing-nav .menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: white;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        z-index: 99;
    }

    .landing-nav .menu.active {
        transform: translateX(0);
    }

    .landing-nav .menu a {
        font-size: 1.5rem;
    }

    .auth-buttons {
        display: none;
        /* Opcional: mover adentro del menu si se desea */
    }

    /* Si queremos que el botón ingresar aparezca en el menú móvil, habría que duplicarlo o moverlo con JS. 
       Por simplicidad, lo dejaremos oculto o lo integramos en el HTML duplicado para mobile */

    .hero h1 {
        font-size: 2.2rem;
    }

    .intro-grid {
        grid-template-columns: 1fr;
    }

    .intro img {
        margin-bottom: 30px;
    }
}

/* --- 6. CONTACTO (NEW) --- */
.contact-section {
    padding: 80px 0;
    background-color: var(--color-bg-cream);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.contact-form-container {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.contact-form-container h2 {
    margin-bottom: 10px;
    color: var(--color-pink-dark);
}

.contact-form-container p {
    color: var(--color-text-gray);
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--color-text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
    box-sizing: border-box;
    /* Fix width issues */
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-pink-dark);
}

.map-image-container {
    width: 100%;
    height: 350px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    background-color: #eee;
}

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

.contact-details p {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: var(--color-text-gray);
}

.contact-details i {
    color: var(--color-pink-dark);
    font-size: 1.2rem;
    width: 25px;
    text-align: center;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-form-container {
        padding: 30px 20px;
    }
}

/* --- MODAL STYLES (Unified) --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    transform: translateY(20px);
    transition: transform 0.3s ease;
    border-top: 5px solid var(--color-pink-medium);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-icon-success {
    width: 70px;
    height: 70px;
    background-color: #d4edda;
    color: #155724;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    font-size: 35px;
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--color-text-dark);
    margin-bottom: 10px;
}

.modal-text {
    color: var(--color-text-gray);
    margin-bottom: 30px;
    font-size: 1rem;
}

.btn-modal {
    background-color: var(--color-pink-medium);
    color: var(--color-text-dark);
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    text-transform: uppercase;
}

.btn-modal:hover {
    background-color: var(--color-pink-dark);
    color: white;
}

/* assets/css/reserva.css */

/* Reaffirm variables */
:root {
    --color-primary: #D4A373;
    /* Gold */
    --color-pink-light: #fdf2f7;
    --color-pink-medium: #f8c8dc;
    /* The standard pink background */
    --color-pink-dark: #d48ba8;
    /* Darker pink text/icons */
    --color-text-dark: #333333;
    --color-text-gray: #666666;
    --color-bg-cream: #f9f7f2;
    --font-heading: 'Playfair Display', serif;
    --font-family: 'Montserrat', sans-serif;
}

body {
    background-color: var(--color-bg-cream);
    font-family: var(--font-family);
}

.reserva-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

/* --- SIDEBAR --- */
.reserva-sidebar {
    width: 260px;
    flex-shrink: 0;
    position: sticky;
    top: 100px;
}

/* Search Box: Align width exactly with list items */
.search-box {
    position: relative;
    margin-bottom: 20px;
    width: 100%;
}

.search-box input {
    width: 100%;
    padding: 12px 15px 12px 40px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    /* Match filter item border radius */
    outline: none;
    font-size: 0.95rem;
    transition: all 0.3s;
    background: white;
    color: var(--color-text-gray);
    box-sizing: border-box;
    /* Ensure padding doesn't increase width */
}

.search-box input:focus {
    border-color: var(--color-pink-dark);
    box-shadow: 0 0 0 2px var(--color-pink-light);
}

.search-box i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-pink-dark);
}

.cat-filter-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cat-filter-item {
    padding: 15px;
    cursor: pointer;
    border-radius: 8px;
    /* Consistent rounded corners */
    margin-bottom: 10px;
    color: var(--color-text-gray);
    font-weight: 500;
    transition: all 0.2s;
    background: white;
    /* Default bg */
    border: 1px solid transparent;
}

.cat-filter-item:hover {
    color: var(--color-pink-dark);
    background: var(--color-pink-light);
}

.cat-filter-item.active {
    background-color: var(--color-pink-medium);
    color: var(--color-text-dark);
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(248, 200, 220, 0.4);
}


/* --- MAIN CONTENT & ACCORDION --- */
.reserva-main {
    flex-grow: 1;
    width: 100%;
}

.accordion-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
    border: 1px solid transparent;
    transition: all 0.3s;
}

.accordion-item.active {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* Accordion Header: "Finer" when closed */
.accordion-header {
    padding: 12px 20px;
    /* Slimmer padding */
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    transition: background 0.2s;
    min-height: 50px;
}

.accordion-item.active .accordion-header {
    padding: 20px;
    /* Expand when active */
    background: #fff;
}

.accordion-header:hover {
    background: var(--color-pink-light);
}

.accordion-header-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Category Image in Header */
.cat-header-img {
    width: 40px;
    /* Smaller when closed */
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--color-pink-medium);
    transition: all 0.3s;
}

.accordion-item.active .cat-header-img {
    width: 60px;
    /* Larger when open */
    height: 60px;
}

.cat-header-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    /* Smaller default */
    color: var(--color-text-dark);
    margin: 0;
    transition: all 0.3s;
}

.accordion-item.active .cat-header-title {
    font-size: 1.5rem;
    /* Larger when open */
    color: var(--color-pink-dark);
}

/* --- CLOSE BUTTON (X) --- */
/* User requested: "Professional, round, X in middle, clickable" */
.accordion-icon {
    font-size: 1.5rem;
    color: var(--color-pink-dark);
    background: transparent;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    line-height: normal;
    padding: 0;
}

/* When active, it turns into an X */
.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
    /* + becomes x */
    background: transparent;
    color: var(--color-pink-dark);
    width: 35px;
    height: 35px;
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background: white;
}

.accordion-item.active .accordion-body {
    max-height: 5000px;
    padding: 30px;
    border-top: 1px solid #f0f0f0;
}


/* --- SERVICE CARDS (Rectangle Images) --- */
.services-grid-reserva {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.service-card-reserva {
    border: 1px solid #eee;
    border-radius: 12px;
    background: white;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    /* For image clipping */
}

.service-card-reserva:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

/* Image Container */
.service-img-container {
    width: 100%;
    height: 200px;
    /* Fixed height rectangle */
    overflow: hidden;
    position: relative;
    background: #f9f9f9;
}

.service-img-large {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.service-card-reserva:hover .service-img-large {
    transform: scale(1.05);
}

.service-content-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--color-text-dark);
    margin: 0 0 10px 0;
    line-height: 1.3;
}

.service-price {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--color-primary);
    /* Gold */
    margin-bottom: 12px;
    display: block;
}

.service-desc {
    font-size: 0.95rem;
    color: var(--color-text-gray);
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Button centered at bottom */
.btn-agendar {
    background: linear-gradient(135deg, var(--color-pink-medium) 0%, var(--color-pink-dark) 100%);
    color: white;
    border: none;
    padding: 12px 0;
    border-radius: 8px;
    /* Consistent with card */
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    display: block;
    width: 100%;
    transition: all 0.3s;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-agendar:hover {
    opacity: 0.95;
    box-shadow: 0 5px 15px rgba(212, 139, 168, 0.4);
    transform: translateY(-2px);
}

/* Mobile Toggle Button (Hidden on Desktop) */
.mobile-filter-toggle {
    display: none;
}

/* Mobile */
@media (max-width: 768px) {
    .reserva-container {
        flex-direction: column;
        padding: 0 15px;
        margin-top: 20px;
    }

    .reserva-sidebar {
        width: 100%;
        position: static;
        margin-bottom: 20px;
        padding: 0;
    }

    /* Show Toggle Button */
    .mobile-filter-toggle {
        display: block;
        width: 100%;
        padding: 12px;
        background: white;
        border: 1px solid #e0e0e0;
        border-radius: 8px;
        color: var(--color-primary);
        font-weight: 600;
        text-align: left;
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 10px;
    }

    /* Hide Filter List by default */
    .filter-section {
        display: none;
        animation: fadeIn 0.3s;
    }

    .filter-section.active {
        display: block;
    }

    .cat-filter-list {
        display: flex;
        flex-direction: column;
        /* Stack items vertically */
        gap: 5px;
    }

    .cat-filter-item {
        width: 100%;
        border: 1px solid #eee;
        text-align: left;
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}