/* ----- ----- Sofitel Brand Fonts (ClanOT) ----- ----- */
@font-face {
    font-family: 'ClanOT-News';
    src: url('../fonts/ClanOT-News.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'ClanOT-Medium';
    src: url('../fonts/ClanOT-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'ClanOT-Bold';
    src: url('../fonts/ClanOT-Bold.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'ClanOT-ExtdNews';
    src: url('../fonts/ClanOT-ExtdNews.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'ClanOT-ExtdMedium';
    src: url('../fonts/ClanOT-ExtdMedium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

/* ----- ----- Custom Design Variables ----- ----- */
:root {
    --color-bg-primary: #faf9f5;
    --color-bg-secondary: #f5eee0;
    --color-text-dark: #291f1d;
    --color-text-muted: #6d6d6d;
    --color-accent-gold: #c5a880;
    --color-accent-gold-dark: #b6966c;
    --color-white: #ffffff;
    --color-charcoal: #222222;
    --font-serif: "ClanOT-ExtdNews", "Playfair Display", Georgia, serif;
    --font-sans: "ClanOT-News", "Montserrat", Arial, sans-serif;
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.05);
    --shadow-medium: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-lux: 0 20px 40px rgba(41, 31, 29, 0.12);
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease-in-out;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-bg-primary);
    color: var(--color-text-dark);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
}

.contenedor {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Section Margins to Offset Sticky Menu */
section[id] {
    scroll-margin-top: 80px; 
}

/* Custom Scrollbar for Luxury Vibe */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--color-bg-primary);
}
::-webkit-scrollbar-thumb {
    background: var(--color-accent-gold);
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-accent-gold-dark);
}

/* ----- ----- Header & Hero ----- ----- */
header {
    width: 100%;
    background-color: #111; /* Fallback dark background */
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden; /* Hide zoomed slides */
}

header .contenedor {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px 0;
    position: relative;
    z-index: 4; /* Sit on top of slider and overlay */
}

/* Hero Slider Container */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Individual Slides */
.hero-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out, transform 8s ease-out;
    z-index: 1;
}

/* Active Slide gets faded in and a subtle zoom effect */
.hero-slider .slide.active {
    opacity: 1;
    z-index: 2;
    transform: scale(1.05); /* Gentle luxury zoom animation */
}

/* Dark Overlay to make text legible */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35); /* Elegant darkness */
    z-index: 3;
}

/* Sticky, Glassmorphic Navigation Bar */
header .menu {
    width: 100%;
    text-align: right;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 15px 5%;
    background: rgba(250, 249, 245, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(197, 168, 128, 0.2);
    box-shadow: var(--shadow-soft);
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

header .menu a {
    font-family: "ClanOT-ExtdMedium", var(--font-sans);
    color: var(--color-text-dark);
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: inline-block;
    margin-left: 30px;
    text-decoration: none;
    position: relative;
    padding-bottom: 5px;
    transition: var(--transition-fast);
}

header .menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-accent-gold);
    transition: var(--transition-smooth);
}

header .menu a:hover {
    color: var(--color-accent-gold);
}

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

/* Hero Title Styles */
header .textos {
    width: 100%;
    color: var(--color-white);
    text-align: center;
    margin: auto 0;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

header .textos .nombre {
    font-family: "Cinzel", "Playfair Display", Georgia, serif;
    font-size: 70px;
    font-weight: 400;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

header .textos .nombre span {
    font-weight: 300;
    color: var(--color-accent-gold);
}

header .textos h3 {
    font-family: "Playfair Display", Georgia, serif;
    font-weight: 300;
    font-size: 28px;
    font-style: italic;
    letter-spacing: 1px;
    opacity: 0.9;
}

/* ----- ----- Section Base Layout ----- ----- */
.main {
    background-color: var(--color-bg-primary);
}

/* Title Helper */
.titulo {
    font-family: var(--font-serif);
    font-size: 38px;
    font-weight: 300;
    text-align: center;
    color: var(--color-text-dark);
    margin-bottom: 50px;
    position: relative;
    letter-spacing: 1px;
}

.titulo::after {
    content: '';
    display: block;
    width: 60px;
    height: 1.5px;
    background-color: var(--color-accent-gold);
    margin: 15px auto 0;
}

/* ----- ----- Acerca de (About Us) ----- ----- */
.acerca-de {
    padding: 100px 0;
}

.acerca-de .contenedor {
    display: flex;
    align-items: center;
    gap: 60px;
}

.acerca-de .foto {
    flex: 1;
    position: relative;
    box-shadow: var(--shadow-lux);
    border-radius: 2px;
    overflow: hidden;
    max-height: 500px;
}

.acerca-de .foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition-smooth);
}

.acerca-de .foto:hover img {
    transform: scale(1.03);
}

.acerca-de article {
    flex: 1;
    background: transparent;
    padding: 20px 0;
}

.acerca-de article h3 {
    font-family: var(--font-serif);
    font-size: 36px;
    font-weight: 300;
    margin-bottom: 25px;
    color: var(--color-text-dark);
}

.acerca-de article p {
    font-family: var(--font-sans);
    color: var(--color-text-muted);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* ----- ----- Parallax Banner ----- ----- */
.foto-parque-grande {
    width: 100%;
    height: 60vh;
    background: linear-gradient(rgba(0,0,0,0.25), rgba(0,0,0,0.25)), url('../imagenes/galeria/Imagenes/DB5C34D3-31C4-45DC-A683-70ED469B6C17_1_105_c.jpeg');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.foto-parque-grande .texto-parque h2 {
    font-family: var(--font-serif);
    font-size: 42px;
    font-weight: 300;
    font-style: italic;
    color: var(--color-white);
    text-shadow: 0 4px 15px rgba(0,0,0,0.4);
    letter-spacing: 2px;
}

/* ----- ----- Descripcion (Services) ----- ----- */
.seccion-descripcion {
    padding: 100px 0;
    background-color: var(--color-bg-secondary);
}

.seccion-descripcion .contenedor {
    display: flex;
    flex-direction: column;
    gap: 60px;
    max-width: 1400px;
}

.descripcion-fila {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: stretch; /* Stretch elements to equal height */
}

.descripcion-info {
    background-color: var(--color-white);
    padding: 40px;
    border-radius: 4px;
    box-shadow: var(--shadow-soft);
    border-top: 3px solid var(--color-accent-gold);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.descripcion-info:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.seccion-descripcion .categoria {
    font-family: var(--font-serif);
    font-size: 24px;
    font-weight: 400;
    color: var(--color-text-dark);
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(197, 168, 128, 0.2);
    padding-bottom: 15px;
}

.seccion-descripcion .platillo {
    margin-bottom: 20px;
    position: relative;
    padding-left: 20px;
}

.seccion-descripcion .platillo::before {
    content: '•';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--color-accent-gold);
    font-size: 20px;
    line-height: 1;
}

.seccion-descripcion .descripcion {
    font-family: var(--font-sans);
    font-size: 15px;
    color: var(--color-text-muted);
}

/* Slider container inside descriptions */
.descripcion-slider-container {
    position: relative;
    width: 100%;
    min-height: 480px;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow-lux);
    background-color: #000;
}

.descripcion-slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.descripcion-slider .slider-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out;
    z-index: 1;
    cursor: pointer;
}

.descripcion-slider .slider-item.active {
    opacity: 1;
    z-index: 2;
    transform: scale(1.0);
}

/* Navigation arrows for description sliders */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(250, 249, 245, 0.85);
    border: 1px solid rgba(197, 168, 128, 0.3);
    color: var(--color-text-dark);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    z-index: 10;
    transition: var(--transition-fast);
    backdrop-filter: blur(5px);
}

.slider-arrow:hover {
    background-color: var(--color-accent-gold);
    color: var(--color-white);
    border-color: var(--color-accent-gold);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.slider-prev {
    left: 20px;
}

.slider-next {
    right: 20px;
}

/* Responsive adjust for descriptions grid */
@media screen and (max-width: 900px) {
    .descripcion-fila {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .descripcion-slider-container {
        min-height: 300px;
        height: 300px;
    }
}

/* ----- ----- Resenas (Reviews) ----- ----- */
.resenas {
    padding: 100px 0;
}

.contenedor-resenas {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.resenas article {
    background-color: var(--color-white);
    padding: 40px 30px;
    border-radius: 4px;
    box-shadow: var(--shadow-soft);
    text-align: center;
    border: 1px solid rgba(197, 168, 128, 0.15);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 380px;
}

.resenas article:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: var(--color-accent-gold);
}

.resenas .airbnb { color: #FF5A5F; font-size: 20px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.resenas .booking { color: #003580; font-size: 20px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.resenas .google { color: #4285F4; font-size: 20px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }

.resenas .estrellas { 
    color: #f2b01e; 
    margin: 15px 0; 
    font-size: 16px;
}

.resenas .descripcion {
    font-family: var(--font-sans);
    font-size: 15px;
    color: var(--color-text-muted);
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 20px;
    flex-grow: 1;
}

.resenas .nombre-huesped {
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text-dark);
    margin-bottom: 20px;
}

.resenas .btn-plataforma {
    display: inline-block;
    padding: 10px 24px;
    border: 1px solid var(--color-accent-gold);
    color: var(--color-text-dark);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: var(--transition-fast);
    border-radius: 2px;
}

.resenas .btn-plataforma:hover {
    background-color: var(--color-accent-gold);
    color: var(--color-white);
}

/* ----- ----- Modern Filterable Gallery ----- ----- */
.galeria-seccion {
    padding: 100px 0;
    background-color: var(--color-bg-secondary);
}

.galeria-seccion .contenedor {
    max-width: 1400px;
}

/* Filter buttons container */
.galeria-filtros {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 50px;
}

.filtro-btn {
    background-color: var(--color-white);
    border: 1px solid rgba(197, 168, 128, 0.4);
    color: var(--color-text-dark);
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    border-radius: 30px;
    transition: var(--transition-fast);
}

.filtro-btn:hover,
.filtro-btn.active {
    background-color: var(--color-accent-gold);
    border-color: var(--color-accent-gold);
    color: var(--color-white);
    box-shadow: 0 4px 12px rgba(197, 168, 128, 0.3);
}

/* Responsive Grid layout for Gallery */
.galeria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

/* Individual Image Card */
.galeria-card {
    position: relative;
    border-radius: 3px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    box-shadow: var(--shadow-soft);
    cursor: pointer;
    background-color: var(--color-white);
}

.galeria-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition-smooth);
}

.galeria-card .card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.6));
    opacity: 0;
    transition: var(--transition-smooth);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 20px;
}

.galeria-card .card-caption {
    color: var(--color-white);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transform: translateY(10px);
    transition: var(--transition-smooth);
}

/* Hover effects for cards */
.galeria-card:hover img {
    transform: scale(1.06);
}

.galeria-card:hover .card-overlay {
    opacity: 1;
}

.galeria-card:hover .card-caption {
    transform: translateY(0);
}

/* Load More Button Container */
.galeria-cargar-mas {
    text-align: center;
    margin-top: 30px;
}

.btn-cargar-mas {
    background-color: transparent;
    border: 1px solid var(--color-accent-gold);
    color: var(--color-text-dark);
    padding: 12px 35px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    border-radius: 2px;
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-cargar-mas:hover {
    background-color: var(--color-accent-gold);
    color: var(--color-white);
    box-shadow: 0 4px 15px rgba(197, 168, 128, 0.25);
}

.btn-cargar-mas i {
    font-size: 12px;
    transition: var(--transition-fast);
}

.btn-cargar-mas:hover i {
    transform: translateY(3px);
}

/* ----- ----- Glassmorphic Lightbox Modal ----- ----- */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(41, 31, 29, 0.95);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

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

/* Close button */
.lightbox-close {
    position: absolute;
    top: 25px;
    right: 35px;
    color: var(--color-white);
    font-size: 40px;
    font-weight: 200;
    cursor: pointer;
    transition: var(--transition-fast);
    z-index: 2100;
}

.lightbox-close:hover {
    color: var(--color-accent-gold);
    transform: scale(1.1);
}

/* Navigation buttons */
.lightbox-nav {
    position: absolute;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--color-white);
    font-size: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    z-index: 2100;
}

.lightbox-nav:hover {
    background-color: var(--color-accent-gold);
    border-color: var(--color-accent-gold);
    color: var(--color-white);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.lightbox-prev {
    left: 5%;
}

.lightbox-next {
    right: 5%;
}

/* Lightbox main contents */
.lightbox-content {
    max-width: 95%;
    max-height: 93vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 86vh;
    object-fit: contain;
    border-radius: 2px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    opacity: 1;
    transition: opacity 0.2s ease-in-out;
}

/* Caption and count */
.lightbox-caption {
    color: var(--color-white);
    margin-top: 15px;
    font-size: 14px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-align: center;
    opacity: 0.9;
}

/* ----- ----- Ubicación ----- ----- */
.ubicacion {
    background-color: var(--color-white);
    padding: 100px 0;
}

.ubicacion .contenedor {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.ubicacion .direccion,
.ubicacion .horarios {
    flex: 1;
}

.ubicacion .direccion .calle {
    font-family: var(--font-serif);
    font-size: 22px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.ubicacion .direccion .telefono,
.ubicacion .direccion .correo {
    font-size: 16px;
    color: var(--color-text-muted);
    margin-bottom: 10px;
}

.ubicacion .horarios h4 {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 400;
    margin-bottom: 25px;
}

.ubicacion .horarios .entre-semana, 
.ubicacion .horarios .fin-semana {
    margin-bottom: 20px;
}

.ubicacion .horarios p {
    color: var(--color-text-muted);
}

.main .mapa {
    width: 100%;
    line-height: 0;
    border-top: 1px solid rgba(197, 168, 128, 0.2);
}

.main .mapa iframe {
    filter: contrast(92%) brightness(96%) grayscale(10%);
}

/* ----- ----- Footer ----- ----- */
footer {
    background-color: var(--color-charcoal);
    padding: 40px 0;
    border-top: 2px solid var(--color-accent-gold);
}

footer .copyright {
    text-align: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 1px;
}

/* ----- ----- WhatsApp Button ----- ----- */
.whatsapp-btn {
    position: fixed;
    width: 60px;
    height: 60px;
    line-height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: var(--color-white);
    border-radius: 50px;
    text-align: center;
    font-size: 32px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    z-index: 1000;
    transition: var(--transition-smooth);
    animation: pulse 2s infinite;
}

.whatsapp-btn:hover {
    background-color: #128c7e;
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* ----- ----- Responsive Media Queries ----- ----- */
@media screen and (max-width: 1024px) {
    header .textos .nombre {
        font-size: 55px;
    }
    
    .contenedor-resenas {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 800px) {
    header .menu {
        justify-content: center;
        padding: 15px 2%;
        flex-wrap: wrap;
    }

    header .menu a {
        margin: 5px 12px;
        font-size: 12px;
        letter-spacing: 1px;
    }

    header .textos {
        margin-top: 120px;
    }

    header .textos .nombre {
        font-size: 45px;
    }

    header .textos h3 {
        font-size: 22px;
    }

    .acerca-de {
        padding: 60px 0;
    }

    .acerca-de .contenedor {
        flex-direction: column;
        gap: 30px;
    }

    .acerca-de .foto,
    .acerca-de article {
        width: 100%;
        flex: none;
    }

    .foto-parque-grande {
        height: 40vh;
    }

    .foto-parque-grande .texto-parque h2 {
        font-size: 28px;
        text-align: center;
    }

    .seccion-descripcion .contenedor-menu {
        grid-template-columns: 1fr;
    }

    .contenedor-resenas {
        grid-template-columns: 1fr;
    }

    .resenas article {
        min-height: auto;
    }

    .ubicacion .contenedor {
        flex-direction: column;
        gap: 40px;
    }
    
    .lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .lightbox-prev {
        left: 2%;
    }
    
    .lightbox-next {
        right: 2%;
    }
    
    .lightbox-content {
        max-width: 95%;
    }
}

@media screen and (max-width: 480px) {
    header .menu {
        padding: 10px 0;
    }
    
    header .menu a {
        font-size: 11px;
        margin: 5px 8px;
        letter-spacing: 0.5px;
    }

    header .textos .nombre {
        font-size: 36px;
    }

    .titulo {
        font-size: 30px;
    }

    .acerca-de article h3 {
        font-size: 28px;
    }

    .galeria-grid {
        grid-template-columns: 1fr;
    }
    
    .whatsapp-btn {
        width: 50px;
        height: 50px;
        line-height: 50px;
        font-size: 26px;
        bottom: 20px;
    }
}

/* ----- ----- Floating Music Controller ----- ----- */
.music-btn {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 9999;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background-color: var(--color-white);
    border: 1px solid rgba(197, 168, 128, 0.4);
    box-shadow: var(--shadow-medium);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    color: var(--color-text-dark);
}

.music-btn:hover {
    transform: scale(1.08);
    border-color: var(--color-accent-gold);
    box-shadow: 0 8px 25px rgba(197, 168, 128, 0.25);
    color: var(--color-accent-gold);
}

/* Music Waves Animation when playing */
.music-waves {
    display: flex;
    align-items: flex-end;
    gap: 2.5px;
    height: 14px;
    position: absolute;
    top: 13px; /* Positioned slightly above the music icon */
}

.music-waves span {
    width: 2.5px;
    height: 3px;
    background-color: var(--color-accent-gold);
    border-radius: 1px;
    transition: height 0.2s ease;
}

/* Equalizer Bars Animation */
.music-btn.playing .music-waves span:nth-child(1) { animation: equalise 0.8s ease-in-out infinite alternate; }
.music-btn.playing .music-waves span:nth-child(2) { animation: equalise 0.4s ease-in-out infinite alternate 0.2s; }
.music-btn.playing .music-waves span:nth-child(3) { animation: equalise 0.9s ease-in-out infinite alternate 0.1s; }
.music-btn.playing .music-waves span:nth-child(4) { animation: equalise 0.6s ease-in-out infinite alternate 0.3s; }

.music-btn:not(.playing) .music-waves span {
    height: 3px !important;
}

.music-btn .fa-music {
    font-size: 16px;
    margin-top: 8px; /* Offset because of the waves above */
    transition: var(--transition-fast);
}

.music-btn.playing .fa-music {
    color: var(--color-accent-gold);
}

@keyframes equalise {
    0% { height: 3px; }
    100% { height: 14px; }
}

@media screen and (max-width: 480px) {
    .music-btn {
        width: 50px;
        height: 50px;
        bottom: 20px;
        left: 20px;
    }
}