/* ======== 1. ESTILOS GLOBALES Y DE FUENTE ======== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
  font-weight: normal;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: bold;
}


body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #fdf6e3, #d4bca2); 
    color: #f0f0f0; 
    position: relative;
    z-index: 0;
}

.header {
    position: relative;
    z-index: 1000; /* Asegura que el menú esté encima de todo */
}

h2 { font-size: 2.5rem; margin-bottom: 20px; color: #ebdae1; }
p {
    font-family: 'Poppins', sans-serif; 
    font-size: 1.1rem;
    line-height: 1.6;
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border-width: 0; }


.container { height: 100vh; display: flex; justify-content: center; align-items: center; position: relative; overflow: hidden; }
.mask-container { 
    position: absolute; 
    width: 100%; 
    height: 25vh; 
    background: linear-gradient(to bottom, #D8B2AE, #EBD0C2);
    z-index: 2; mix-blend-mode: screen; display: flex; justify-content: center; align-items: center; }
.logo-img {
    width: 90%; 
    max-width: 550px; 
    height: auto; 
    object-fit: contain;
    mix-blend-mode: multiply;
}

/* ======== 3. CONTENIDO PRINCIPAL ======== */
.main-content { position: relative; z-index: 3; background: linear-gradient(135deg, #fdf6e3, #d4bca2);  }
.content-section { padding: 80px 5%; border-bottom: 1px solid #333; }
/* Estilo específico para la sección "Sobre Nosotros" */
#sobre-nosotros {
    background: radial-gradient(circle, #e0c1a5 0%, #5a4b3a 100%); 
    color: #1a1a1a; 
}

/* Ajustamos el color del título dentro de esta sección */
#sobre-nosotros h2 {
    color: #1a1a1a; /* Título oscuro */
}
.section-content { max-width: 1200px; margin: 0 auto; display: flex; gap: 40px; align-items: center; }
.section-content.column-layout { flex-direction: column; text-align: center; }
.text-content, .image-content { flex: 1; }
.image-wrapper { -webkit-mask-image: linear-gradient(to top, transparent 0%, black 40%), linear-gradient(to left, transparent 0%, black 40%), linear-gradient(to right, transparent 0%, black 40%); mask-image: linear-gradient(to top, transparent 0%, black 40%), linear-gradient(to left, transparent 0%, black 40%), linear-gradient(to right, transparent 0%, black 40%); }
.image-wrapper img { width: 100%; height: auto; display: block; }

/* ======== 4. BARRA DE NAVEGACIÓN ======== */


.menu-icon {
    display: inline-block;
    margin-top: 30px;
    padding: 10px 30px;
    border: 2px solid #f7e3d7;
    background-color: #887b6b;
    color: #f7e3d7;
    font-weight: bold;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.4s ease;
    font-family: 'Poppins', sans-serif;
}
.menu-icon:hover {
    background-color: #d1a391;
    border-color: #d1a391;
    color: #fff;
    box-shadow: 0 0 15px rgba(209, 163, 145, 0.5);}


.navbar { display: flex; position: fixed; top: 0; left: 0; width: 100%; background-color: rgba(10, 10, 10, 0.9); padding: 20px 0; justify-content: center; align-items: center; opacity: 0; visibility: hidden; transform: translateY(-100%); transition: all 0.4s ease; }
.navbar.navbar--hidden {
    transform: translateY(-150%);
}
.navbar.active { opacity: 1; visibility: visible; transform: translateY(0); }
.navbar a { color: #f0f0f0; text-decoration: none; margin: 0 25px; font-size: 1.2rem; font-weight: bold; text-transform: uppercase; letter-spacing: 2px; transition: color 0.3s ease; }
.navbar a:hover { color: #ebdae1; }

/* ======== 5. BOTONES Y CTA ======== */
.cta-container { text-align: center; padding: 60px 20px; }
.cta-button { background-color: #ebdae1; color: #1a1a1a; padding: 15px 40px; text-decoration: none; font-weight: bold; font-size: 1.2rem; border-radius: 50px; text-transform: uppercase; transition: all 0.3s ease; }
.cta-button:hover { transform: scale(1.05); box-shadow: 0 0 15px rgba(235, 218, 225, 0.5); }

#joyeria-destacada .cta-button-secondary {
    display: inline-block;
    margin-top: 30px;
    padding: 10px 30px;
    border: 2px solid #f7e3d7;
    background-color: #000;
    color: #f7e3d7;
    font-weight: bold;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.4s ease;
    font-family: 'Poppins', sans-serif; 
}

#joyeria-destacada .cta-button-secondary:hover {
    background-color: #d1a391;
    border-color: #d1a391;
    color: #fff;
    box-shadow: 0 0 15px rgba(209, 163, 145, 0.5);
}

.section-subtitle {
    max-width: 600px;
    margin: 0 auto 40px;
    color: #aaa;
}

.care-guide-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 800px;
    width: 100%;
    text-align: left; 
}



.care-step {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    
    
    background: linear-gradient(to bottom, #D8B2AE, #EBD0C2);

    padding: 25px;
    border-radius: 10px;
    
    
    border-left: 4px solid #000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); 
}

.step-icon {
    font-size: 2.5rem;
    color: #000; 
    min-width: 50px;
    text-align: center;
}

.step-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #000; 
}

.step-content p {
    color: #5a4b3a; 
}




.contact-home-section {
    padding: 100px 5%;
    
    background: linear-gradient(to bottom, #D8B2AE, #EBD0C2); 

    text-align: center;
}



.contact-home-content h2 {
    color: #000; 
}

.contact-home-content p {
    color: #000; 
    font-size: 1.2rem;
    margin: 20px 0 40px;
}



.contact-home-content .cta-button {
    display: inline-block;
    margin-top: 30px;
    padding: 10px 30px;
    border: 2px solid #f7e3d7;
    background-color: #0c0c0c;
    color: #f7e3d7;
    font-weight: bold;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.4s ease;
    font-family: 'Poppins', sans-serif;
}


.contact-home-content .cta-button:hover {
    background-color: #d1a391;
    border-color: #d1a391;
    color: #fff;
    box-shadow: 0 0 15px rgba(209, 163, 145, 0.5);
}


.home-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    max-width: 1200px; 
    margin: 0 auto 30px auto; 
}

.home-service-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    background-color: #79694e;
    text-align: center;
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
}

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

.home-service-card h3 {
    color: #fff;
    font-size: 1.6rem;
    margin: 20px 0 10px;
}

.home-service-card .price {
    color: #ebdae1;
    font-weight: bold;
    font-size: 1.4rem;
    margin-bottom: 20px;
}

.schedule-service-btn {
    background-color: #ebdae1;
    color: #1a1a1a;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: bold;
    margin: auto 20px 0;
    transition: all 0.3s ease;
}

.schedule-service-btn:hover {
    background-color: #fff;
    transform: scale(1.05);
}




/* ======== 6. BOTONES FLOTANTES SOCIALES ======== */
.social-floaters { position: fixed; bottom: 30px; right: 30px; z-index: 1000; display: flex; flex-direction: column; gap: 15px; }
.social-icon { display: flex; justify-content: center; align-items: center; width: 60px; height: 60px; border-radius: 50%; color: #fff; font-size: 2rem; text-decoration: none; box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.4); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.social-icon:hover { transform: scale(1.1) translateY(-5px); box-shadow: 4px 4px 15px rgba(0, 0, 0, 0.5); }
.social-icon.whatsapp { background-color: #25D366; }
.social-icon.instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.social-icon.facebook { background-color: #1877F2; }

/* ======== 7. NUEVO CARRUSEL DE APILAMIENTO INFINITO ======== */
.section-content-full-width {
    width: 100%; display: flex; flex-direction: column; align-items: center;
}
.carousel-title {
  text-align: center;
  margin-bottom: 60px;
  font-family: 'Poppins', sans-serif;
}
.stacking-carousel-container {
    height: 450px; width: 100%; max-width: 100vw; position: relative; overflow: hidden;
}
.card-stack {
    display: flex;
    width: calc(300px * 12);
    animation: scroll-stack 12s linear infinite;
}

/* === ¡CÓDIGO AÑADIDO! PAUSA LA ANIMACIÓN AL PASAR EL RATÓN === */
.stacking-carousel-container:hover .card-stack {
    animation-play-state: paused;
}
/* ============================================================= */

.card {
    width: 250px; height: 350px; margin: 0 25px; background-size: cover;
    background-position: center; border-radius: 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    flex-shrink: 0; transform: scale(0.85); opacity: 0.5; transition: transform 0.5s, opacity 0.5s;
}
.card:hover {
    transform: scale(1) translateY(-10px); opacity: 1; z-index: 10;
}
.view-more-container {
    text-align: center; margin-top: 40px;
}

/* IMÁGENES DE FONDO PARA CADA TARJETA */
.card-1 { background-image: url('ombligo.png'); }
.card-2 { background-image: url('flat_1.jpg'); }
.card-3 { background-image: url('tra_1.JPG'); }
.card-4 { background-image: url('septum_piercing.JPG'); }
.card-5 { background-image: url('Labbret.jpg'); }
.card-6 { background-image: url('lobulo_segundo_ter.JPG'); }
.card-7 { background-image: url('ro_1.JPG'); }
.card-8 { background-image: url('nostril_argolla.jpg'); }
.card-9 { background-image: url('Nostril\ .jpg'); }
.card-10 { background-image: url('faciales.jpg'); }


#galeria-destacada {
    background-image: 
    linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url('presentacion/presentacion4.JPG');  
    background-size: cover; 
    background-position: center; 
    background-repeat: no-repeat; 
}

@keyframes scroll-stack {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-300px * 6)); }
}

.background-video-container {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    overflow: hidden;
    z-index: -1;
}

.background-video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    width: 100%;
    max-width: 1200px;
}

.category-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 350px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.category-card:hover {
    transform: scale(1.05);
}

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

.category-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    text-align: center;
}

.category-card[data-category="faciales"] img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: rotate(90deg);
    transform-origin: center;
    scale: 1.4;
}

.category-card[data-category="oreja"] img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: rotate(90deg);
    transform-origin: center;
    scale: 1.4;
}


.category-card-overlay h3 {
    color: #fff;
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

#service-detail-view {
    width: 100%;
    position: relative;
}

.back-button {
    display: inline-block;
    margin-top: 30px;
    padding: 20px 30px;
    border: 2px solid #f7e3d7;
    background-color: #887b6b;
    color: #f7e3d7;
    font-weight: bold;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.4s ease;
    font-family: 'Poppins', sans-serif;
}


.back-button:hover {
    background-color: #d1a391;
    border-color: #d1a391;
    color: #fff;
    box-shadow: 0 0 15px rgba(209, 163, 145, 0.5);
}


.hidden {
    display: none !important;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeOut {
    from { opacity: 1; transform: translateY(0); }
    to { opacity: 0; transform: translateY(-20px); }
}

.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

.fade-out {
    animation: fadeOut 0.5s ease forwards;
}

#service-detail-grid {
    width: 100%;
    max-width: 1200px;
    margin-top: 20px;
    justify-content: center;
    
}


#service-detail-grid .home-service-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between; 
}


.home-service-card .service-description-small {
    font-size: 0.9rem;
    color: #ccc;
    padding: 0 15px;
    margin-bottom: 15px;
    flex-grow: 1; 
}


#back-to-categories-btn {
    align-self: flex-start; 
}


.location-container {
    width: 100%;
    max-width: 900px;
    margin-top: 40px;
}

.location-action .cta-button-secondary {
    display: inline-block;
    margin-top: 30px;
    padding: 20px 30px;
    border: 2px solid #f7e3d7;
    background-color: #000;
    color: #f7e3d7;
    font-weight: bold;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.4s ease;
    font-family: 'Poppins', sans-serif;
}

.location-action .cta-button-secondary:hover {
    background-color: #d1a391;
    border-color: #d1a391;
    color: #fff;
    box-shadow: 0 0 15px rgba(209, 163, 145, 0.5);
}

.map-wrapper {
    position: relative;
    padding-bottom: 56.25%; 
    height: 0;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.map-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.location-action {
    text-align: center;
    margin-top: 40px;
}

.location-action .cta-button-secondary {
    display: inline-flex; 
    align-items: center;
    gap: 10px; /* Espacio entre el icono y el texto */
}



.site-footer {
    
    background: linear-gradient(to bottom, #D8B2AE, #EBD0C2);

    
    color: #000; 
    padding: 40px 5%;
    border-top: 1px solid #c8b599;
    position: relative; 
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}


.footer-social {
    margin-bottom: 25px;
}

.footer-social a {
    color: #000; /* Iconos en café oscuro */
    text-decoration: none;
    font-size: 1.8rem;
    margin: 0 15px;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: #000;
}

/* --- TEXTO DEL COPYRIGHT --- */
.footer-copyright p {
    font-size: 0.9rem;
    line-height: 1.5;
}

#ubicacion {
    background: linear-gradient(to bottom, #D8B2AE, #EBD0C2); /* Ejemplo: Gradiente "Transición Durazno" */
}

.footer-secret-icons {
    position: absolute;
    bottom: 20px;
    left: 30px;
    display: flex;
    gap: 15px;
}

.secret-icon {
    width: 40px;
    height: 40px;
    background-color: #000; /* Fondo café oscuro */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fdf6e3;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.secret-icon:hover {
    color: #fff;
    background-color: #5a4b3a;
    transform: scale(1.1);
}

#joyeria-destacada {
    background: linear-gradient(120deg, #C49994, #F5ECDF);
    }

#joyeria-destacada h2 {
    font-family: 'Poppins', sans-serif;
    color: #0a0a0a; 
}


#joyeria-destacada .section-subtitle {
    font-family: 'Poppins', sans-serif;
    color: #0c0c0c;
}

.cta-button-secondary {
    display: inline-block;
    margin-top: 30px;
    border: 2px solid #3d2c1c;   
    color: #3d2c1c;              
    padding: 10px 30px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.cta-button-secondary:hover {
    background-color: #3d2c1c; 
    color: #e0c1a5;              
}

#servicios {
    background: linear-gradient(120deg, #C49994, #F5ECDF);
}

#servicios h2,
#cuidados h2 {
    font-family: 'Poppins', sans-serif;
    color: #000; 
}


#servicios .section-subtitle,
#cuidados .section-subtitle {
    color: #000; 
}


#ubicacion h2,
#ubicacion .section-subtitle {
    color: #000; 
}

#sobre-nosotros .text-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;  
}

#sobre-nosotros .cta-button {
    margin-top: 80px;
}

#sobre-nosotros,
#joyeria-destacada,
#servicios,
#cuidados,
#contacto-home,
#ubicacion {
    opacity: 0;
    visibility: hidden;
}

#cuidados {
    background: linear-gradient(120deg, #C49994, #F5ECDF);
}

#cuidados p,
#cuidados h4 {
    font-family: 'Poppins', sans-serif;
}

.full-background-card {
    position: relative; 
    display: flex; 
    align-items: flex-end; 
    min-height: 400px; 
    border-radius: 12px; 
    background-size: cover; 
    background-position: center; 
    overflow: hidden; 
    color: #fff; 
    padding: 0;
}


.card-content-overlay {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 1.5rem;
    box-sizing: border-box;
    text-align: center; 
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 10px;
}


.full-background-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.6) 50%, rgba(0, 0, 0, 0) 100%);
    z-index: 1; 
    border-radius: 12px; 
}


.card-content-overlay h3 {
    margin-bottom: 0rem;
    font-size: 1.5rem;
    color: #fff;
}

.card-content-overlay .service-description-small {
  margin-bottom: 1rem;
  color: #f0f0f0; 
}

.card-content-overlay .price-section {
  margin-bottom: 1.5rem;
}

.card-content-overlay .price {
  font-size: 1.2rem;
  font-weight: bold;
  margin: 0;
}

.card-content-overlay .price-note {
  font-size: 0.7rem;
  font-style: italic;
  margin: 0;
}


.card-content-overlay .schedule-service-btn {
  width: 80%; 
  max-width: 250px;
}


.page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 5% 80px; 
}


.page-header {
    text-align: center;
    margin-bottom: 60px;
}
.page-header h1 {
    font-size: 3rem;
    color: #3d2c1c;
    font-family: 'Poppins', sans-serif;
}
.page-header p {
    font-size: 1.1rem;
    color: #5a4b3a;
    max-width: 600px;
    margin: 10px auto 0;
}


.jewelry-category {
    margin-bottom: 80px;
}
.jewelry-category h2 {
    font-size: 2.2rem;
    color: #3d2c1c;
    text-align: center;
    margin-bottom: 40px;
    border-bottom: 2px solid #d4bca2;
    padding-bottom: 10px;
    display: inline-block;
}


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


.gallery-card {
    position: relative; 
    border-radius: 15px;
    overflow: hidden; 
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    aspect-ratio: 1 / 1;
    cursor: pointer;
}

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


.gallery-card .card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px 20px 20px; 
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent); 
    color: #fff;
    opacity: 0; 
    transform: translateY(20px); 
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.card-overlay h3 {
    margin: 0 0 5px 0;
    font-size: 1.5rem;
}

.card-overlay p {
    margin: 0;
    font-size: 1rem;
    color: #ddd;
}


.gallery-card:hover img {
    transform: scale(1.1); 
}

.gallery-card:hover .card-overlay {
    opacity: 1; 
    transform: translateY(0);
}




.care-columns-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    width: 100%;
    max-width: 1100px; 
    margin-top: 40px;
}


.care-column {
    display: flex;
    flex-direction: column;
    gap: 20px; 
}


.column-header {
    text-align: left;
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 2px solid #d4bca2;
    padding-bottom: 15px;
    margin-bottom: 10px;
}

.column-header i {
    font-size: 2rem;
    color: #000;
}

.column-header h3 {
    font-size: 1.8rem;
    margin: 0;
    color: #000;
}

.column-intro {
    text-align: left;
    color: #000; /* <-- CAMBIA ESTE COLOR */
    font-style: italic;
    margin-bottom: 10px;
}

.step-content p {
    color: #000; /* <-- CAMBIA ESTE COLOR */
}


.care-step .step-content h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: #000;
}

.background-video-container video {
    display: none;
}

/* Y en su lugar, ponemos una imagen de fondo en el contenedor */
.background-video-container {
    background-image: url('marypaz5.jpg');
    background-size: cover;
    background-position: center;
}

/* Cuando la pantalla sea grande (una computadora), hacemos lo contrario */
@media (min-width: 992px) {
    
    /* Mostramos el video de nuevo */
    .background-video-container video {
        display: block;
    }

    /* Y quitamos la imagen de fondo para que no interfiera */
    .background-video-container {
        background-image: none;
    }
}

@media (max-width: 900px) {
    .care-columns-container {
        grid-template-columns: 1fr;
        gap: 60px; 
    }
}

#galeria-destacada .cta-button-secondary {
    
    background-color: transparent; 
    border-color: #f7e3d7;     
    color: #f7e3d7;             
    transition: all 0.4s ease;  
}


#galeria-destacada .cta-button-secondary:hover {
    
    
    background-color: #d1a391;  /* Fondo color Dusty Pink */
    border-color: #d1a391;      /* Borde del mismo color para un look sólido */
    color: #fff;                /* Texto blanco para un buen contraste */
    
    /* Efecto extra: una sombra sutil del mismo color */
    box-shadow: 0 0 15px rgba(209, 163, 145, 0.5); 
}

/* ====== RESPONSIVE DESIGN ====== */

/* Para tablets (pantallas hasta 1024px) */
@media (max-width: 1024px) {
    .header .navbar {
        gap: 15px;
    }

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

    .hero p {
        font-size: 1rem;
    }

    .cta-button {
        font-size: 1rem;
        padding: 12px 25px;
    }
}

/* Para móviles (pantallas hasta 768px) */
@media (max-width: 768px) {
    .header .navbar {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .hero {
        padding: 80px 20px;
    }

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

    .hero p {
        font-size: 1rem;
    }

    .cta-button {
        font-size: 0.95rem;
        padding: 10px 20px;
    }
}

/* Extra móviles pequeños (hasta 480px) */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.5rem;
    }

    .hero p {
        font-size: 0.95rem;
    }

    .cta-button {
        font-size: 0.9rem;
        padding: 8px 18px;
    }
}

/* Estilos para pantallas pequeñas (como celulares) */
@media (max-width: 768px) {

  /* Títulos grandes */
  .hero h1,
  .page-header h1 {
    font-size: 2rem;
    text-align: center;
    padding: 0 1rem;
  }

  /* Subtítulo */
  .hero p,
  .page-header p {
    font-size: 1rem;
    padding: 0 1.5rem;
    text-align: center;
  }

  /* Botones */
  .primary-button,
  .secondary-button {
    font-size: 1rem;
    padding: 0.8rem 1.5rem;
    margin: 1rem auto;
    display: block;
  }

  /* Galería o secciones con imágenes */
  .gallery-grid {
    grid-template-columns: 1fr;
    padding: 1rem;
  }

  .gallery-item img {
    width: 100%;
    height: auto;
  }
}


@media (max-width: 768px) {
  /* Ajustar tamaños del header principal */
  .hero-content h1 {
    font-size: 1.8rem; /* reduce el título */
    text-align: center;
  }

  .hero-content p {
    font-size: 1.1rem;
    text-align: center;
    padding: 0 10px;
  }

  .primary-button {
    font-size: 1rem;
    padding: 10px 20px;
    margin-top: 20px;
  }

  .hero-content {
    padding: 40px 0;
  }

  .page-container {
    padding: 20px 15px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .gallery-item img {
    width: 100%;
    height: auto;
  }
}



@media (max-width: 767px) {

    
    h2, .carousel-title {
        font-size: 2rem;
    }
    .content-section {
        padding: 60px 15px;
    }
    .section-content {
        flex-direction: column;
        gap: 30px;
    }
    .section-subtitle {
        max-width: 100%;
        padding: 0 10px;
    }

    /* --- BARRA DE NAVEGACIÓN --- */
    .header {
        top: 10px;
        left: 10px;
    }
    .menu-icon {
        margin-top: 0;
        padding: 8px 15px;
        font-size: 1.2rem;
    }
    .navbar {
        flex-direction: column;
        justify-content: center;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        top: 0;
        left: -100%;
        transform: none;
        transition: left 0.4s ease;
        padding: 20px;
        gap: 25px;
    }
    .navbar.active {
        left: 0;
        transform: none;
    }
    .navbar a {
        font-size: 1.1rem;
        margin: 0;
    }

    .mask-container {
        height: 30vh;
    }
    .logo-img {
        width: 85%;
        max-width: 400px;
    }

    .category-grid, .home-services-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }
    
    #joyeria-destacada .gallery-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        justify-items: center;
    }

    #joyeria-destacada .gallery-grid .gallery-card {
        aspect-ratio: auto;
        width: 80%;       
        max-width: 400px; 
        height: 200px;    
    }

    
    .gallery-card {
        aspect-ratio: auto;
    }
    .category-card-overlay h3 {
        font-size: 1.1rem;
    }
    .category-card img {
        transform: none;
        scale: 1;
    }
    #servicios .category-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        justify-items: center;
    }

    
    #servicios .category-card {
        width: 80%;      
        max-width: 400px;
        height: 280px; 
    }

     #service-detail-grid {
        display: grid;
        grid-template-columns: 1fr 1fr; 
        gap: 15px; 
    }

    
    #service-detail-grid .full-background-card {
        min-height: 220px; 
    }

    
    #service-detail-grid .card-content-overlay h3 {
        font-size: 1.1rem; 
        margin-bottom: 5px;
    }
    #service-detail-grid .card-content-overlay .service-description-small {
        font-size: 0.75rem;
        line-height: 1.4;
        margin-bottom: 8px;
    }
    #service-detail-grid .card-content-overlay .price {
        font-size: 0.9rem; 
    }
    #service-detail-grid .card-content-overlay .price-note {
        font-size: 0.7rem; 
        
    }
    #service-detail-grid .card-content-overlay .schedule-service-btn {
        font-size: 0.8rem; 
        padding: 8px 12px;
        width: 90%;
    }

    
    #service-detail-title {
        font-size: 1.8rem;
    }
    
    .card-stack {
        animation: scroll-stack 15s linear infinite;
    }
    @keyframes scroll-stack {
        0% { transform: translateX(0); }
        100% { transform: translateX(calc(-300px * 10)); }
    }
    
    #galeria-destacada {
        background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('fondo-galeria.png');
    }


    /* --- SECCIÓN CUIDADOS --- */
    .care-columns-container {
        grid-template-columns: 1fr; /* Mantenemos una sola columna aquí */
        gap: 50px;
    }

    /* --- FOOTER --- */
    .footer-content {
        padding-bottom: 60px;
    }
    .footer-secret-icons {
        position: relative;
        left: auto;
        bottom: auto;
        justify-content: center;
        margin-top: 25px;
    }

    /* --- BOTONES FLOTANTES --- */
    .social-floaters {
        bottom: 15px;
        right: 15px;
        gap: 10px;
    }
    .social-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}


/* --- 2. SECCIÓN "SOBRE NOSOTROS" (DIRECCIÓN DE ARTE) --- */
/* Estilos para MÓVIL (por defecto) */
#sobre-nosotros {
    background-image: url('Portada\ .png'); /* Ruta a tu imagen VERTICAL */
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    min-height: 90vh;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding-bottom: 10%;
    position: relative;
    z-index: 1;
}
#sobre-nosotros::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: -1;
}

/* --- 3. ESTILOS PARA TABLET Y ESCRITORIO (Desde 768px en adelante) --- */
@media (min-width: 768px) {
    
    /* --- SECCIÓN "SOBRE NOSOTROS" para ESCRITORIO --- */
    #sobre-nosotros {
        background-image: url('marypaz.PNG'); /* Ruta a tu imagen ANCHA */
        min-height: 85vh;
        align-items: center;
        padding-bottom: 0;
    }

    /* --- BARRA DE NAVEGACIÓN para TABLET --- */
    .navbar {
        flex-direction: row;
        width: 100%;
        max-width: none;
        height: auto;
        left: 0;
        transform: translateY(-100%);
        transition: all 0.4s ease;
    }
    .navbar.active {
        transform: translateY(0);
        left: 0;
    }

    /* --- IMAGEN DE FONDO GALERÍA para ESCRITORIO --- */
    #galeria-destacada {
        background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('marypaz5.jpg');
    }
}

/* --- ESTILOS SOLO PARA ESCRITORIO GRANDE (Desde 1024px) --- */
@media (min-width: 1024px) {
    .menu-icon {
        display: none; /* Ocultamos el icono de hamburguesa */
    }
    .navbar {
        position: fixed;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

@media (min-width: 768px) and (max-width: 1024px) {

  /* -- Ajuste general de secciones -- */
  .content-section {
    padding: 60px 40px;
  }

  .section-content {
    flex-direction: column;
    gap: 40px;
    text-align: center;
  }

  .logo-img {
    max-width: 400px;
  }

  /* -- Menú de navegación -- */
  .navbar {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }

  .navbar a {
    font-size: 1.1rem;
    margin: 0 10px;
  }

  /* -- Títulos y textos -- */
  h1 {
    font-size: 2.8rem;
  }

  h2 {
    font-size: 2rem;
  }

  p, .section-subtitle {
    font-size: 1.1rem;
  }

  /* -- Galería y tarjetas de servicios -- */
  .home-services-grid,
  .gallery-grid,
  .category-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 columnas en tablet */
    gap: 20px;
  }

  .home-service-card img,
  .category-card img {
    height: 180px;
  }

  .gallery-card {
    aspect-ratio: auto;
    height: 250px;
  }

  /* -- Formulario de contacto -- */
  .contact-form {
    padding: 30px;
  }

  .form-group input,
  .form-group textarea,
  .form-group select {
    font-size: 1rem;
  }

  /* -- Botones -- */
  .cta-button,
  .cta-button-secondary {
    font-size: 1rem;
    padding: 12px 25px;
  }

  /* -- Footer -- */
  .footer-content {
    padding: 40px 20px;
  }

  .footer-social a {
    font-size: 1.5rem;
    margin: 0 10px;
  }
}

.footer-logo img {
    max-width: 180px; /* Ajusta el tamaño */
    height: auto;
    display: block;
    margin: 0 auto; /* Centrar */
}


