:root {
    --primary-color: #2d3e50;
    --primary-light: #3a4f66;
    --text-color: #333;
    --bg-color: #f8f9fa;
    --box-bg-color: #fff;
    --shadow-light: rgba(0,0,0,0.08);
    --shadow-medium: rgba(0,0,0,0.12);
    --shadow-dark: rgba(0,0,0,0.2);
    --accent-color: #55acee;
    --whatsapp-color: #25D366;
    --whatsapp-hover: #128C7E;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    background: var(--bg-color);
    color: var(--text-color);
    font-size: 16px;
    line-height: 1.6;
}

h1, h2, h3, h4 {
    color: var(--primary-color);
    font-weight: 700;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Header */
header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: var(--box-bg-color);
    padding: 1.2rem 2rem;
    box-shadow: 0 4px 12px var(--shadow-dark);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    height: 80px;
    width: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

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

.header-titles h1 {
    font-size: 2.2rem;
    margin: 0;
    line-height: 1.2;
    color: var(--box-bg-color);
    letter-spacing: 0.5px;
}

.header-titles h2 {
    font-size: 1.1rem;
    margin: 0;
    font-weight: 400;
    color: var(--box-bg-color);
    opacity: 0.9;
}

.contact-section {
    display: flex;
    align-items: center;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    background-color: var(--whatsapp-color);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    gap: 8px;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
}

.email-btn {
    display: inline-flex;
    align-items: center;
    background-color: var(--accent-color);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    gap: 8px;
    margin-left: 1rem;
    box-shadow: 0 4px 10px rgba(85, 172, 238, 0.3);
    transition: all 0.3s ease;
}

.email-btn:hover {
    background-color: #357ab8;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(85, 172, 238, 0.4);
}

.whatsapp-btn:hover {
    background-color: var(--whatsapp-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(37, 211, 102, 0.4);
}

/* Sección Principal */
.main-info-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    align-items: flex-start;
    margin: 3rem auto;
    max-width: 1200px;
    padding: 0 1.5rem;
}

.info-box {
    background: var(--box-bg-color);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 24px var(--shadow-light);
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.info-box h3 {
    margin-top: 0;
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.info-box h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
}

.airbnb-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.8rem;
    margin-top: 1.5rem;
}

.airbnb-embed-frame {
    width: 320px;
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 16px var(--shadow-medium);
    transition: all 0.3s ease;
}

.airbnb-embed-frame:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px var(--shadow-medium);
}

/* Descripción Moderna */
.modern-description {
    width: 320px;
    height: 385px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 16px var(--shadow-medium);
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%);
    padding: 1.2rem;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-left: 4px solid var(--primary-color);
}

.descripcion-lista {
    list-style: none;
    padding: 0;
    margin: 0;
}

.descripcion-lista li {
    margin-bottom: 0.3rem;
    padding-left: 0;
    display: flex;
    align-items: center;
    font-size: 0.85rem;
    gap: 8px;
    line-height: 1.2;
}

.modern-description:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px var(--shadow-medium);
}

.description {
    text-align: left;
    width: 100%;
}

.description h4 {
    margin-top: 0;
    font-size: 1rem;
    text-align: center;
    margin-bottom: 1.4rem;
    color: var(--primary-color);
    position: relative;
}

.descripcion-lista i {
    color: var(--primary-color);
    width: 20px;
    text-align: center;
}

/* Galería y Carrusel */
.galeria-instagram-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin: 3rem auto;
    max-width: 1200px;
    padding: 0 1.5rem;
}

.galeria-box {
    flex: 2;
    min-width: 300px;
    background: var(--box-bg-color);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 24px var(--shadow-light);
}

.galeria-box h2 {
    text-align: center;
    font-size: 1.8rem;
    margin-top: 0;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.scroll-galeria {
    display: flex;
    overflow-x: auto;
    gap: 1.5rem;
    padding: 1rem 0.5rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #ccc #f0f0f0;
}

.scroll-galeria::-webkit-scrollbar {
    height: 8px;
}

.scroll-galeria::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.scroll-galeria::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

.scroll-galeria img {
    height: 250px;
    border-radius: 10px;
    box-shadow: 0 4px 12px var(--shadow-medium);
    background: #eee;
    min-width: 350px;
    object-fit: cover;
    transition: all 0.3s ease;
    cursor: pointer;
}

.scroll-galeria img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px var(--shadow-dark);
}

.instagram-box {
    flex: 1;
    min-width: 300px;
    background: var(--box-bg-color);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 24px var(--shadow-light);
    display: flex;
    justify-content: center;
    align-items: center;
}

.instagram-embed {
    width: 100%;
    max-width: 400px;
    height: 400px;
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px var(--shadow-medium);
}

/* Botones de Filtro */
.galeria-botones {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    margin: 2rem 0 1.5rem 0;
}

.galeria-btn {
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 0.7rem 1.6rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 2px 8px var(--shadow-light);
    transition: background 0.2s, transform 0.2s;
}

.galeria-btn.active, .galeria-btn:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

/* Carrusel Modal */
.carrusel-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.carrusel-container {
    position: relative;
    width: 90%;
    max-width: 900px;
    height: 80vh;
}

.carrusel-track {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease;
}

.carrusel-slide {
    min-width: 100%;
    height: 100%;
}

.carrusel-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.carrusel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(45, 62, 80, 0.7);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.carrusel-control.prev {
    left: 15px;
}

.carrusel-control.next {
    right: 15px;
}

.carrusel-control:hover {
    background: rgba(45, 62, 80, 1);
    transform: translateY(-50%) scale(1.1);
}

.carrusel-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(45, 62, 80, 0.7);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.carrusel-close:hover {
    background: rgba(45, 62, 80, 1);
    transform: scale(1.1);
}

.carrusel-caption {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    text-align: center;
    color: white;
    font-size: 1.2rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    padding: 10px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 5px;
    margin: 0 50px;
}

/* Mapa Section */
.map-section {
    padding: 1rem 1.5rem;
    background: var(--bg-color);
}

.map-container {
    max-width: 1200px;
    margin: 0 auto;
    background: var(--box-bg-color);
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 8px 24px var(--shadow-light);
}

.map-container h2 {
    text-align: center;
    margin-top: 0;
    margin-bottom: 0.8rem;
    font-size: 1.8rem;
    color: var(--primary-color);
}

.map-container p {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    color: var(--text-color);
}

.map-embed {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 16px var(--shadow-medium);
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    background: var(--primary-color);
    color: var(--bg-color);
    margin-top: 2rem;
    font-size: 0.9rem;
}

.footer-flex {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Responsive */
@media (max-width: 992px) {
  .header-container, .main-info-flex, .galeria-instagram-container {
    flex-direction: column;
    align-items: stretch;
  }
  .info-box, .galeria-box, .instagram-box {
    width: 100%;
    min-width: unset;
  }
  .logo-img {
    height: 60px;
  }
}

@media (max-width: 768px) {
    .galeria-instagram-container, .main-info-flex {
        flex-direction: column;
        align-items: stretch;
    }
    
    .info-box, .galeria-box, .instagram-box {
        min-width: unset;
        width: 100%;
    }
    
    .modern-description {
        width: 100%;
        height: auto;
        margin-top: 1.5rem;
    }
    
    .scroll-galeria img {
        min-width: 280px;
    }
    
    .header-titles h1 {
        font-size: 1.6rem;
    }
    
    .header-titles h2 {
        font-size: 1rem;
    }
    
    .whatsapp-btn, .email-btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .galeria-botones {
        flex-wrap: wrap;
    }
    
    .carrusel-container {
        width: 95%;
        height: 70vh;
    }
    
    .carrusel-caption {
        font-size: 1rem;
        margin: 0 20px;
    }
}

@media (max-width: 600px) {
  header {
    padding: 0.5rem 0.5rem;
  }
  .logo-img {
    height: 40px;
  }
  .header-titles h1 {
    font-size: 1.1rem;
  }
  .header-titles h2 {
    font-size: 0.8rem;
  }
  .contact-section {
    flex-direction: column;
    gap: 0.5rem;
  }
}

@media (max-width: 480px) {
    header {
        padding: 1rem;
    }
    
    .logo-section {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .main-info-flex, .galeria-instagram-container {
        padding: 0 1rem;
    }
    
    .info-box, .galeria-box, .instagram-box, .map-container {
        padding: 1rem;
    }
    
    .info-box h3 {
        font-size: 1.4rem;
    }
    
    .galeria-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}