:root {
    --bg-color: #FDFBF9;
    --text-color: #222;
    --gold: #C5A059;
    --sand: #E8E4DF;
    --gray-light: #F4F4F4;
    --font-title: 'Cinzel', serif;
    --font-body: 'Lato', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background-color: var(--bg-color); color: var(--text-color); font-family: var(--font-body); overflow-x: hidden; }

/* HEADER */
header {
    position: fixed; top: 0; width: 100%; z-index: 100; padding: 15px 5%;
    background: rgba(253, 251, 249, 0.98); border-bottom: 1px solid rgba(0,0,0,0.05);
    display: flex; justify-content: center;
}
.nav-container { width: 100%; max-width: 1400px; display: flex; justify-content: space-between; align-items: center; }
.logo { font-family: var(--font-title); font-size: 1.5rem; font-weight: 600; letter-spacing: 2px; color: #111; }

.desktop-nav ul { display: flex; list-style: none; gap: 30px; }
.desktop-nav a { text-decoration: none; color: #444; text-transform: uppercase; font-size: 0.75rem; letter-spacing: 1px; transition: 0.3s; }
.desktop-nav a:hover { color: var(--gold); }

.header-cta {
    text-decoration: none; background: #111; color: white; padding: 10px 25px;
    font-size: 0.7rem; text-transform: uppercase; letter-spacing: 2px; transition: 0.3s;
}
.header-cta:hover { background: var(--gold); }

/* HERO */
/* HERO PREMIUM - VERSIÓN CORRECTA CON TU IMAGEN ORIGINAL */
.hero {
    height: 95vh; /* Altura imponente */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    /* ACÁ ESTÁ TU IMAGEN ORIGINAL EN BLANCO Y NEGRO */
    /* (Si usabas otra URL, ponela acá, pero esta es la del salón B&W) */
    background: url('/Fondo\ de\ Pantalla\ Free.jpg') center/cover no-repeat;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Usamos un degradado NEGRO profundo (no marrón) para que la imagen B&W se vea elegante y el texto resalte */
    background: linear-gradient(to bottom, rgba(0,0,0,0.6), rgba(0,0,0,0.85));
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #FFFFFF; /* Blanco puro para el texto principal */
    padding: 20px;
}

.pre-title {
    display: block;
    font-family: 'Lato', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 4px;
    font-weight: 700;
    color: #C5A059; /* DORADO PREMIUM para la ubicación */
    margin-bottom: 25px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.hero h1 {
    font-family: 'Cinzel', serif;
    font-size: clamp(3rem, 7vw, 5.5rem); /* Título grande */
    line-height: 1.1;
    margin-bottom: 30px;
    /* Sombra fuerte para que se despegue del fondo oscuro */
    text-shadow: 2px 2px 10px rgba(0,0,0,0.7);
}

.italic {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-weight: 400;
    color: #C5A059; /* DORADO PREMIUM para "& belleza real" */
}

.separator {
    width: 100px;
    height: 2px;
    /* Línea dorada elegante */
    background: linear-gradient(to right, transparent, #C5A059, transparent);
    margin: 0 auto 40px;
    border: none;
}

/* SERVICIOS */
.menu-section { padding: 80px 5%; background: white; }
.menu-header { text-align: center; margin-bottom: 50px; }
.section-tag { color: var(--gold); text-transform: uppercase; font-size: 0.7rem; letter-spacing: 3px; font-weight: 700; display: block; margin-bottom: 10px; }
.menu-header h2 { font-family: var(--font-title); font-size: 2.2rem; margin-bottom: 10px; }

.menu-grid {
    display: grid; gap: 20px; max-width: 1400px; margin: 0 auto; grid-template-columns: 1fr;
}
@media (min-width: 768px) { .menu-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .menu-grid { grid-template-columns: repeat(4, 1fr); } }

.menu-item { padding: 30px 20px; border: 1px solid #eee; text-align: center; transition: 0.3s; background: #fff; }
.menu-item:hover { border-color: var(--gold); transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.icon-box { font-size: 2rem; color: var(--gold); margin-bottom: 20px; }
.menu-item h3 { font-family: var(--font-title); margin-bottom: 15px; font-size: 1.1rem; min-height: 40px; display: flex; align-items: center; justify-content: center; }
.service-desc { font-size: 0.9rem; color: #666; line-height: 1.6; }

/* GALERÍA */
.gallery-section { padding: 80px 5%; background: var(--sand); }
.section-subtitle { font-size: 0.9rem; margin-top: 10px; color: #666; font-style: italic; }

.album-grid {
    display: grid; gap: 20px; max-width: 1400px; margin: 0 auto; grid-template-columns: 1fr;
}
@media (min-width: 768px) { .album-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .album-grid { grid-template-columns: repeat(4, 1fr); } }

.album-card { position: relative; height: 350px; cursor: pointer; overflow: hidden; }
.album-card img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    /* AUMENTAMOS A 2.5s PARA QUE EL FUNDIDO SEA ETERNO Y ELEGANTE */
    transition: transform 0.8s ease-in-out, opacity 2.5s ease-in-out; 
    opacity: 1; 
}
.album-card:hover img { transform: scale(1.1); filter: brightness(0.6); }
.album-overlay { position: absolute; bottom: 20px; left: 20px; color: white; z-index: 2; }
.album-overlay h3 { font-family: var(--font-title); font-size: 1.5rem; margin-bottom: 5px; text-shadow: 0 2px 5px rgba(0,0,0,0.5); }
.album-overlay span { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; color: #ddd; }

/* TESTIMONIOS & GOOGLE */
.testimonials-section { padding: 80px 5%; background: white; text-align: center; }
.slider-container { width: 100%; max-width: 1200px; margin: 0 auto; overflow: hidden; margin-bottom: 60px; }
.slider-track { display: flex; width: 100%; }

.slide { width: 100%; flex-shrink: 0; padding: 15px; }
@media (min-width: 768px) { .slide { width: 50%; } }
@media (min-width: 1024px) { .slide { width: 33.333%; } }

.testimonial-box { padding: 40px 30px; background: #fafafa; border: 1px solid #eee; height: 100%; display: flex; flex-direction: column; justify-content: space-between; }
.stars { color: var(--gold); margin-bottom: 20px; font-size: 0.9rem; }
.testimonial-box p { font-style: italic; color: #555; margin-bottom: 20px; font-family: 'Cormorant Garamond', serif; font-size: 1.15rem; line-height: 1.5; }
.author { font-weight: 700; font-size: 0.8rem; text-transform: uppercase; color: #111; }

/* ESTILO NUEVO: BOTÓN GOOGLE */
.google-review-container { margin-top: 40px; }
.google-text { font-size: 0.9rem; color: #777; margin-bottom: 20px; font-style: italic; font-family: 'Cormorant Garamond', serif; }
.btn-google {
    display: inline-block; text-decoration: none; 
    border: 1px solid #ddd; background: white; color: #444;
    padding: 15px 30px; font-size: 0.8rem; text-transform: uppercase; 
    letter-spacing: 1px; transition: 0.3s; border-radius: 5px; font-weight: 700;
}
.btn-google i { color: #DB4437; /* Color Google */ margin-right: 10px; font-size: 1.1rem; }
.btn-google:hover { border-color: #DB4437; color: #DB4437; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }


/* DIPLOMA */
.cert-section { padding: 60px 5%; background: #1a1a1a; color: white; display: flex; justify-content: center; }
.cert-content { display: flex; align-items: center; gap: 40px; max-width: 900px; }
.diploma-wrapper { padding: 5px; border: 1px solid #444; }
.mini-diploma { width: 100px; height: auto; display: block; opacity: 0.9; }
.cert-text h4 { font-family: var(--font-title); color: var(--gold); margin-bottom: 10px; font-size: 1.2rem; }
.cert-text p { font-size: 1rem; color: #ccc; line-height: 1.5; }

/* FOOTER */
/* FOOTER ACTUALIZADO */
footer { 
    padding: 50px 20px; 
    text-align: center; 
    background: #111; /* Fondo oscuro para dar cierre */
    color: #888; 
    border-top: 4px solid var(--gold); /* Detalle de lujo */
}

.footer-data h3 { 
    font-family: var(--font-title); 
    color: white; 
    letter-spacing: 4px; 
    margin-bottom: 15px; 
    font-size: 1.5rem;
}

.footer-data p { 
    font-size: 0.9rem; 
    margin-bottom: 5px; 
    font-family: var(--font-body);
}

.copyright-section {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #333; /* Línea separadora sutil */
}

.legal {
    font-size: 0.75rem; 
    text-transform: uppercase; 
    letter-spacing: 1px;
    color: #666;
}

.developer {
    font-size: 0.7rem;
    margin-top: 10px;
    color: #444; /* Un poco más oscuro para que no robe protagonismo */
    font-family: var(--font-body);
}

.developer strong {
    color: var(--gold); /* Tu nombre resaltado en dorado */
    font-weight: 400;
}
/* MODAL */
.modal { display: none; position: fixed; z-index: 2000; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.95); overflow: auto; animation: fadeIn 0.3s; }
.modal-content { margin: 50px auto; width: 90%; max-width: 1200px; text-align: center; padding-bottom: 50px; }
.modal-content h2 { color: white; font-family: var(--font-title); margin-bottom: 40px; letter-spacing: 3px; font-size: 2rem; margin-top: 20px; }
.close-modal { color: var(--gold); position: fixed; top: 20px; right: 30px; font-size: 50px; font-weight: bold; cursor: pointer; z-index: 2001; transition: 0.3s; }
.close-modal:hover { color: white; }
.modal-grid {
    display: flex;
    flex-wrap: wrap; 
    /* Alineamos las fotos al centro verticalmente para que se vea prolijo */
    align-items: center; 
    justify-content: center;
    gap: 20px; 
    padding: 20px;
    width: 100%;
}
.modal-grid img { width: 100%; height: 300px; object-fit: cover; border: 1px solid #333; transition: 0.3s; }
.modal-grid img:hover { transform: scale(1.02); border-color: var(--gold); z-index: 2; }
@keyframes fadeIn { from {opacity: 0} to {opacity: 1} }

/* WHATSAPP */
.whatsapp-float { position: fixed; bottom: 30px; right: 30px; width: 60px; height: 60px; background: #25d366; color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 30px; z-index: 100; text-decoration: none; box-shadow: 0 10px 20px rgba(0,0,0,0.3); transition: 0.3s; }
.whatsapp-float:hover { transform: scale(1.1); }

/* MÓVIL */
@media (max-width: 768px) {
    .desktop-nav { display: none; }
    .hero h1 { font-size: 2.8rem; }
    .cert-content { flex-direction: column; text-align: center; gap: 20px; }
    .modal-grid { grid-template-columns: 1fr; }
    .modal-grid img { height: auto; }
}

/* Ajuste para el Logo de Imagen */
.logo img {
    /* Antes estaba en 120px, lo subimos fuerte para que se lea el texto */
    height: 180px; 
    width: auto;
    transition: transform 0.3s ease; 
}

.logo img:hover {
    transform: scale(1.05); /* Efecto sutil de zoom al pasar el mouse */
}


/* Estilos para el Menú de Navegación */
/* FORZAR EL TAMAÑO DEL MENÚ */
/* OPCIÓN "A TODO O NADA" PARA EL MENÚ */
header ul li a, 
nav ul li a { 
    font-size: 15px !important;   /* Empecemos con 18px que es grande pero real */
    font-weight: 700 !important;  
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    color: #333 !important; /* Fuerzo color oscuro por si están blancos */
}

@media (max-width: 768px) {

    /* 1. Achicamos el Logo para que no ocupe todo */
    .logo img {
        height: 80px !important; /* En celu, volvemos a un tamaño normal */
        margin-bottom: 10px; /* Un poco de aire abajo */
    }

    /* 2. Achicamos la letra del menú */
    header ul li a, 
    nav ul li a { 
        font-size: 14px !important; /* Letra más chica para que entren las palabras */
        letter-spacing: 1px !important; /* Menos espacio entre letras */
        padding: 5px 10px !important; /* Menos "colchón" a los costados */
        display: block; /* Opcional: hace que los botones ocupen el ancho disponible */
    }

    /* 3. (Opcional) Si el menú está en fila, lo ponemos en columna */
    /* Buscá el contenedor de tu lista, usualmente 'nav ul' o '.nav-links' */
    nav ul, .nav-links {
        flex-direction: column !important; /* Pone los items uno abajo del otro */
        gap: 5px; /* Espacio entre renglones */
    }
}

/* --- Animación para la pantalla de carga --- */
.loading-logo {
    /* Hace que la animación dure 2 segundos y se repita por siempre */
    animation: pulse-elegante 2s infinite ease-in-out;
}

/* Definimos cómo es el movimiento */
@keyframes pulse-elegante {
    0% {
        transform: scale(1); /* Tamaño normal */
        opacity: 0.7;         /* Un poco transparente */
    }
    50% {
        transform: scale(1.05); /* Crece un 5% */
        opacity: 1;             /* Totalmente visible */
    }
    100% {
        transform: scale(1); /* Vuelve al tamaño normal */
        opacity: 0.7;
    }
}

/* --- REGLAS ESPECIALES PARA EL CERTIFICADO GRANDE --- */

/* Cuando el contenedor tiene esta clase, deja de ser una grilla */
.modal-grid.modo-certificado {
    display: block !important; /* Desactiva la grilla de fotos */
    text-align: center;
}

/* La imagen del certificado dentro de este modo */
.modal-grid.modo-certificado img {
    width: auto !important;       /* Ancho natural */
    max-width: 100% !important;   /* Que no se salga de la pantalla si es muy ancho */
    height: auto !important;      /* Altura automática para no deformarse */
    object-fit: contain !important; /* Muestra la imagen entera sin recortar */
    aspect-ratio: auto !important; /* Anula cualquier relación de aspecto forzada */
    border-radius: 4px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2); /* Sombrita para que resalte */
}

/* ============================================== */
/* MARCA DE AGUA SUTIL + ZOOM CONTROLADO          */
/* ============================================== */

/* El contenedor clickeable */
.watermark-wrapper {
    position: relative;
    display: block;
    flex-grow: 0; 
    flex-shrink: 0;
    
    /* CAMBIO FUNDAMENTAL: Altura automática */
    height: auto !important; 
    min-height: 100px; /* Seguridad */
    
    border-radius: 6px;
    cursor: zoom-in;
    
    /* Sombra suave */
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, z-index 0s 0.3s;
    z-index: 1;
    -webkit-tap-highlight-color: transparent;
    
    /* Fondo sutil por si la imagen tarda en cargar */
    background: rgba(0,0,0,0.02);
}

/* --- ESTADO ZOOM ACTIVADO --- */
.watermark-wrapper.is-zoomed {
    cursor: zoom-out;
    z-index: 100;
    transform: scale(1.5); 
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    transition: transform 0.3s ease, z-index 0s 0s;
}

/* LA IMAGEN */
.watermark-wrapper img.main-photo {
    display: block;
    width: 100%;
    /* Altura automática: Muestra la foto entera siempre */
    height: auto !important; 
    object-fit: contain; 
}

/* La lámina transparente */
.watermark-overlay {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    background: transparent !important;
    z-index: 50;
}

/* Estilo del Texto "LUNA SERENA" (Sutil) */
.watermark-overlay span.wm-text {
    /* CAMBIO CLAVE DE TRANSPARENCIA: */
    /* Blanco al 35% de opacidad. Muy sutil. */
    color: rgba(255, 255, 255, 0.35); 
    
    font-family: 'Cinzel', serif;
    font-size: 1.3rem; 
    letter-spacing: 5px; 
    font-weight: 600; 
    text-transform: uppercase;
    
    /* Sombras mucho más suaves y difuminadas */
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
    
    white-space: nowrap; 
}

.watermark-wrapper.is-vertical {
    /* Fijamos solo el ancho, la altura será la que pida la foto */
    width: 280px; 
}

.watermark-wrapper.is-horizontal {
    /* Un poco más anchas */
    width: 360px; 
}

@media (max-width: 600px) {
    .watermark-wrapper.is-vertical,
    .watermark-wrapper.is-horizontal {
        width: 100% !important; 
        max-width: 400px;
    }
}