/* Base Styles */
:root {

    --primary-color: #18a9ac;
    --primary-light: #69edf0;
    --primary-dark: #0c3e3f;
    --secondary-color: #f8f5f0;
    --accent-color: #645233;
    --text-color: #333333;
    --light-text: #f8f9fa;
    --gray-light: #acb4bd;
    --gray-medium: #839bb3;
    --gray-dark: #404242;
    --white: #ffffff;
    --box-shadow: 0 15px 25px rgba(0, 0, 0, 0.1);
    --transition: all 0.4s ease;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 500;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utility Classes */
.section {
    padding: 5rem 0;
}

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

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
    color: var(--primary-dark);
}

.section-subtitle {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--gray-dark);
    font-size: 1.1rem;
}

.light-bg {
    background-color: var(--secondary-color);
}

.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 500;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-align: center;
    box-shadow: var(--box-shadow);
}

.cta-button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
}

/* Reusable Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

.delay-3 {
    transition-delay: 0.6s;
}

/* Header Styles */
.scroll-header {
    position: fixed;
    top: -100px;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: top 0.4s ease-out;
}

.scroll-header.visible {
    top: 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.scroll-header h1 {
    font-size: 1.5rem;
    color: var(--primary-dark);
}

.header-nav {
    display: flex;
    gap: 2rem;
}

.header-nav a {
    font-weight: 500;
    color: var(--text-color);
    transition: var(--transition);
    position: relative;
}

.header-nav a:hover {
    color: var(--primary-color);
}

.header-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: var(--transition);
}

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

/* Logo Styles */
.logo-link {
    display: inline-block;
    transition: var(--transition);
    text-decoration: none;
}

.logo-link:hover {
    transform: scale(1.03);
}

.scroll-header h1 {
    font-size: 1.5rem;
    color: var(--primary-dark);
    transition: var(--transition);
}

.logo-link:hover h1 {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    background: url('Imagenes/Cleaning-of-kitchen.jpeg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}



.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 0 1.5rem;
}

.hero-text h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-text p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.features-list {
    margin-top: 2rem;
}

.features-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.features-list i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.about-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background-color: var(--white);
    padding: 2rem;
    border-left: 4px solid rgb(85, 82, 82);
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
}

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

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.service-card p {
    margin-bottom: 1.5rem;
    color: var(--gray-dark);
}

.service-card ul {
    text-align: left;
    margin-top: 1.5rem;
}

.service-card ul li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.5rem;
}

.service-card ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Gallery Styles */
.full-page-section {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    z-index: 1001;
    overflow-y: auto;
    display: none;
    padding: 2rem 1rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s;
}

.full-page-section.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.full-page-section.active .close-gallery {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.gallery-page-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    padding: 3rem 0 2rem;
    display: grid;
    grid-template-areas: 
        "header header"
        "gallery gallery";
    grid-template-columns: 1fr auto;
    flex-direction: column;
    align-items: start;
    gap: 2rem;
    align-items: center;
}

.title-gallery {
    grid-area: header;
    text-align: center;
    margin-bottom: 2rem;
    padding: 0 1rem;
    position: relative;
}

.title-gallery h2 {
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    text-align: center;
}

.title-gallery .subtitle {
    color: var(--gray-dark);
    font-size: 1.1rem;
    text-align: center;
}

.close-gallery {
    grid-area: 1 / 2 / 2 / 3;
    position: relative;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-size: 1rem;
    cursor: pointer;
    z-index: 1002;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
    margin-top: 0.5rem;
}

.close-gallery:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 1rem;
    width: 100%;
    grid-area: gallery;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease;
    cursor: pointer;
}

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

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

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

.gallery-caption {
    padding: 1rem;
    background: var(--secondary-color);
    text-align: center;
    font-weight: 500;
    color: var(--primary-dark);
    transition: var(--transition);
}

.gallery-item:hover .gallery-caption {
    background: var(--primary-color);
    color: white;
}

/* Lightbox Styles */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-out;
}

.lightbox.show {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    max-width: 90%;
    max-height: 80vh;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.8);
}

.lightbox-caption {
    color: white;
    text-align: center;
    margin-top: 1.5rem;
    font-size: 1.2rem;
    max-width: 80%;
}

.lightbox-close {
    position: fixed;
    top: 30px;
    right: 30px;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.2s ease;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0,0,0,0.3);
}

.lightbox-close:hover {
    opacity: 1;
    background: rgba(0,0,0,0.5);
}

/* Testimonials Section */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background-color: var(--white);
    padding: 2rem;
    border-left: 4px solid rgb(116, 110, 110);
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.testimonial-content {
    position: relative;
    margin-bottom: 1.5rem;
}

.testimonial-content i {
    position: absolute;
    top: -10px;
    left: -10px;
    font-size: 2rem;
    color: var(--gray-light);
    z-index: -1;
}

.testimonial-content p {
    font-style: italic;
    line-height: 1.8;
}

.testimonial-author {
    font-weight: 500;
    color: var(--primary-color);
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.contact-info h3 {
    margin-bottom: 2rem;
    color: var(--primary-dark);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-item i {
    font-size: 1.2rem;
    color: var(--primary-color);
}

.business-hours {
    margin-top: 3rem;
}

.business-hours h4 {
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.business-hours p {
    margin-bottom: 0.5rem;
}

.contact-form {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--gray-medium);
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(74, 139, 140, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer Styles */
.main-footer {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 4rem 0 0;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-logo h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.footer-logo p {
    opacity: 0.8;
}

.footer-links h4,
.footer-contact h4,
.footer-social h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-links h4::after,
.footer-contact h4::after,
.footer-social h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: var(--accent-color);
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links ul li a {
    opacity: 0.8;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    opacity: 1;
    color: var(--accent-color);
}

.footer-contact p {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    opacity: 0.8;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--accent-color);
    color: var(--primary-dark);
}

.footer-bottom {
    text-align: center;
    padding: 2rem 0;
    margin-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.footer-bottom a {
    opacity: 0.8;
    transition: var(--transition);
}

.footer-bottom a:hover {
    opacity: 1;
    color: var(--accent-color);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .about-content,
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
    }
    
    .hero-text h2 {
        font-size: 2.5rem;
    }
    
    .hero-text p {
        font-size: 1.2rem;
    }

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

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        padding: 1rem;
    }
    
    .header-nav {
        margin-top: 1rem;
        gap: 1rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-text h2 {
        font-size: 2rem;
    }
    
    .hero-text p {
        font-size: 1rem;
    }

    .close-gallery {
        padding: 0.8rem;
        width: 50px;
        height: 50px;
        border-radius: 50%;
    }
    
    .close-gallery .close-text {
        display: none;
    }
    
    .close-gallery i {
        font-size: 1.5rem;
        margin: 0;
    }
}

@media (max-width: 576px) {
    .header-nav {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .section-container {
        width: 90%;
    }
    
    .hero-text h2 {
        font-size: 1.8rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 768px) {
    .title-gallery {
        padding: 0 1rem;
        margin-top: 2rem;
    }
    
    .title-gallery h2 {
        font-size: 2rem;
        padding-right: 60px; /* Espacio para el botón de cerrar */
    }
    
    .close-gallery {
        top: 1rem;
        right: 1rem;
        padding: 0.8rem;
        width: 50px;
        height: 50px;
    }
    
    .close-gallery .close-text {
        display: none;
    }
}

/* Para pantallas muy pequeñas */
@media (max-width: 480px) {
    .title-gallery h2 {
        font-size: 1.8rem;
        padding-right: 50px;
    }
    
    .title-gallery .subtitle {
        font-size: 1rem;
    }
}
/* Gallery Styles - Corrección mejorada */
.full-page-section {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    z-index: 1001;
    overflow-y: auto;
    display: none;
    padding: 2rem 1rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s;
}

.full-page-section.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.gallery-page-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    padding: 3rem 0 2rem;
    display: grid;
    grid-template-areas: 
        "header header"
        "gallery gallery";
    grid-template-columns: 1fr auto;
    align-items: start;
    gap: 2rem;
}

.title-gallery {
    grid-area: header;
    text-align: center;
    margin-bottom: 2rem;
    padding: 0 1rem;
}

.title-gallery h2 {
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    text-align: center;
}

.title-gallery .subtitle {
    color: var(--gray-dark);
    font-size: 1.1rem;
    text-align: center;
}

.close-gallery {
    grid-area: 1 / 2 / 2 / 3;
    position: relative;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-size: 1rem;
    cursor: pointer;
    z-index: 1002;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
    margin-top: 0.5rem;
}

.close-gallery:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.gallery-grid {
    grid-area: gallery;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
    width: 100%;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease;
    cursor: pointer;
}

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

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

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

.gallery-caption {
    padding: 1rem;
    background: var(--secondary-color);
    text-align: center;
    font-weight: 500;
    color: var(--primary-dark);
    transition: var(--transition);
}

.gallery-item:hover .gallery-caption {
    background: var(--primary-color);
    color: white;
}

/* Hamburguer Menu Styles */
/* Hamburguer Menu Styles */
.hamburger-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    position: absolute;
    right: 20px;
    top: 20px;
}

.hamburger-icon {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary-dark);
    position: relative;
    transition: var(--transition);
}

.hamburger-icon::before,
.hamburger-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--primary-dark);
    left: 0;
    transition: var(--transition);
}

.hamburger-icon::before {
    top: -8px;
}

.hamburger-icon::after {
    bottom: -8px;
}

/* Mobile Menu Styles */
@media (max-width: 768px) {
    .hamburger-btn {
        display: block;
    }
    
    .header-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        transition: right 0.4s ease-in-out;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        padding: 2rem 0;
    }
    
    .header-nav.active {
        right: 0;
    }
    
    .header-nav a {
        font-size: 1.2rem;
        padding: 0.5rem 1rem;
        width: 100%;
        text-align: center;
    }
    
    /* Animation for hamburger to X */
    .hamburger-btn.active .hamburger-icon {
        background-color: transparent;
    }
    
    .hamburger-btn.active .hamburger-icon::before {
        transform: rotate(45deg);
        top: 0;
    }
    
    .hamburger-btn.active .hamburger-icon::after {
        transform: rotate(-45deg);
        bottom: 0;
    }
    
    /* Overlay when menu is open */
    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }
    
    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }
    
    /* Prevent scrolling when menu is open */
    body.no-scroll {
        overflow: hidden;
    }
}


/* Responsive para la galería */
@media (min-width: 640px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .gallery-page-container {
        grid-template-areas: 
            "header close"
            "gallery gallery";
        grid-template-columns: 1fr auto;
        padding: 2rem 0 1rem;
        gap: 1rem;
    }
    
    .title-gallery {
        text-align: left;
        margin-bottom: 0;
        padding: 0;
    }
    
    .title-gallery h2 {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
        text-align: left;
    }
    
    .title-gallery .subtitle {
        font-size: 1rem;
        text-align: left;
    }
    
    .close-gallery {
        padding: 0.6rem;
        width: 40px;
        height: 40px;
        margin-top: 0;
        align-self: center;
    }
    
    .close-gallery .close-text {
        display: none;
    }
    
    .close-gallery i {
        font-size: 1.2rem;
        margin: 0;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .full-page-section {
        padding: 1rem 0.5rem;
    }
    
    .gallery-page-container {
        padding: 1rem 0;
    }
    
    .title-gallery h2 {
        font-size: 1.5rem;
    }
    
    .title-gallery .subtitle {
        font-size: 0.9rem;
    }
    
    .gallery-item img {
        height: 180px;
    }
}

/* Asegurar que el botón sea visible cuando la galería está activa */
.full-page-section.active .close-gallery {
    opacity: 1;
    transform: translateY(0);
}


/* Nuevos estilos para el mapa */
        .map-container {
            margin-top: 3rem;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: var(--box-shadow);
            height: 400px;
        }
        
        .map-iframe {
            width: 100%;
            height: 100%;
            border: 0;
        }
        
        .map-overlay {
            position: absolute;
            bottom: 20px;
            left: 20px;
            background: var(--white);
            padding: 1rem;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            z-index: 10;
            max-width: 250px;
        }
        
        .map-overlay h4 {
            margin-bottom: 0.5rem;
            color: var(--primary-dark);
        }
        
        .map-overlay p {
            margin-bottom: 0.3rem;
            font-size: 0.9rem;
        }
        
        @media (max-width: 768px) {
            .map-container {
                height: 300px;
            }
            
            .map-overlay {
                bottom: 10px;
                left: 10px;
                right: 10px;
                max-width: none;
            }
        }