:root {
    --primary: #1a1a1a;
    --accent: #fbfbfb;
    --text: #f4f4f4;
}

body {
    font-family: 'Segoe UI', sans-serif;
    margin: 0;
    background: #0a0a0a;
    color: var(--text);
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* HERO SECTION */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(images/blanco.webp);
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

.hero h1 {
    font-family: 'Courier New', Courier, monospace;
    font-size: clamp(3rem, 10vw, 5rem);
    color: var(--accent);
    margin: 0;
    letter-spacing: 5px;
    line-height: 1;
}

.hero p {
    font-size: clamp(1rem, 4vw, 1.3rem);
    margin: 20px 0;
    font-family: 'Courier New', Courier, monospace;
    color: var(--text);
}

.btn-main {
    margin-top: 30px;
    padding: 10px 20px;
    background: var(--accent);
    color: black;
    text-decoration: none;
    font-weight: bold;
    border-radius: 20px;
    transition: 0.3s;
    font-size: 0.9rem;
    /* MEJORA MOBILE: Área táctil grande */
    min-height: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-main:hover {
    background: #b5952f;
    transform: scale(1.03);
}


.section-wrap {
    padding: 0 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* SECCIÓN EQUIPO */
.pelu-section {
    padding: 5rem 1.5rem 2rem;
    background: #111;
}

.team-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
    padding-top: 1rem;
}

.team-card {
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 2rem 1rem;
    text-align: center;
    width: calc(33.333% - 1rem);
    transition: all 0.3s;
    box-sizing: border-box;
    /* ESTA REGLA ES LA SOLUCIÓN */
}

.team-card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .4);
}

.team-img {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 2px solid var(--accent);
    padding: 3px;
    box-sizing: border-box;
}

.team-card h3 {
    font-family: 'Courier New', monospace;
    color: var(--accent);
    font-size: 1.4rem;
    margin-bottom: 0.3rem;
    margin-top: 0;
    line-height: 1.1;
}

.team-card p {
    font-size: 0.8rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

@media (max-width: 600px) {
    .team-grid {
        gap: 1rem;
        /* Achicamos la separación entre cartas en celular */
    }

    .team-card {
        width: calc(50% - 0.5rem);
        /* Ahora encajan perfecto de a dos */
        padding: 1.5rem 0.5rem;
    }

    .team-img {
        width: 85px;
        height: 85px;
    }

    .team-card h3 {
        font-size: 1.2rem;
    }

    .team-card p {
        font-size: 0.7rem;
    }
}


/* SECCIONES */
.section {
    padding: 60px 20px;
    text-align: center;
}

.section-title {
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: 'Courier New', monospace;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.section-title img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

/* GALERÍA */
.gallery,
.products {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding: 20px 0;
    -webkit-overflow-scrolling: touch;
}

.gallery {
    scrollbar-width: none;
}

.gallery::-webkit-scrollbar {
    display: none;
}

.products {
    scrollbar-width: thin;
    scrollbar-color: var(--accent) #333;
    padding-bottom: 30px;
}

.products::-webkit-scrollbar {
    height: 10px;
}

.products::-webkit-scrollbar-track {
    background: #222;
    border-radius: 10px;
    margin: 0 20px;
}

.products::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 10px;
    border: 2px solid #222;
}

.gallery img {
    min-width: 85vw;
    height: 500px;
    object-fit: cover;
    border-radius: 15px;
    border: 1px solid #333;
    flex-shrink: 0;
    transition: transform 0.3s;
    pointer-events: none;
}

@media (min-width: 768px) {
    .gallery img {
        min-width: 350px;
    }
}

/* TARJETAS TIENDA */
.card {
    min-width: 80vw;
    max-width: 320px;
    background: #1a1a1a;
    padding: 15px;
    border-radius: 15px;
    border: 1px solid #333;
    scroll-snap-align: center;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

@media (min-width: 768px) {
    .card {
        min-width: 300px;
    }
}

.card img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

.card h3 {
    font-size: 1.1rem;
    margin: 5px 0;
}

.card p {
    color: var(--accent);
    font-weight: bold;
    margin-bottom: 15px;
    margin-top: 5px;
}

.card a {
    /* MEJORA MOBILE: Botón de tienda más cómodo */
    display: block;
    text-align: center;
    padding: 12px 15px;
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    border: 1px solid #ffffff;
    border-radius: 5px;
    font-family: 'Los Angeles Classic', sans-serif;
    font-family: 'Segoe UI', sans-serif;
    background: transparent;
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-4px);
}

.card a:hover {
    background: #71706e;
    color: #000;
}

/* SECCIÓN NOSOTROS */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
    align-items: center;
    text-align: left;
}

@media (max-width: 680px) {
    .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.about-grid img {
    width: 90%;
    border-radius: 20px;
    border: 1px solid #333;
    object-fit: cover;
    height: 300px;
}

.about-text h3 {
    color: var(--accent);
    font-family: 'Courier New', monospace;
    font-size: 1.8rem;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.about-text p {
    color: #ccc;
    line-height: 1.8;
    font-size: 0.97rem;
    margin-bottom: 10px;
}

/* SECCIÓN PRECIOS */
.precios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 30px auto 0;
    padding: 0 10px;
}

.precio-card {
    background: #111;
    border: 1px solid #2a2a2a;
    border-radius: 15px;
    padding: 20px 15px;
    text-align: center;
    transition: border-color 0.3s, transform 0.3s;
}

.precio-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
}

.precio-card .icono {
    font-size: 2rem;
    margin-bottom: 10px;
}

.precio-card h3 {
    font-size: 0.70rem;
    color: #ddd;
    margin: 0 0 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.precio-card .precio {
    color: var(--accent);
    font-size: 1rem;
    font-weight: bold;
}

.precio-card .desc {
    color: #888;
    font-size: 0.8rem;
    margin-top: 5px;
}

.mapa-container iframe {
    width: 100%;
    height: 350px;
    display: block;
    border: none;
    filter: grayscale(1) invert(0.9) contrast(0.85);
}

/* FOOTER */
footer {
    background: #050505;
    color: #fff;
    padding: 60px 20px;
    text-align: center;
    border-top: 1px solid var(--accent);
    font-family: 'Segoe UI', sans-serif;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-section h4 {
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
    font-size: 1.2rem;
}

.footer-section p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #ccc;
    margin: 5px 0;
}

.footer-section a {
    text-decoration: none;
    color: #ffffff;
}

.footer-section a:hover {
    color: #9c9a9a;
}

.social-icons {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.social-icons a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    padding: 10px 20px;
    border: 1px solid #333;
    border-radius: 5px;
    transition: 0.3s;
    /* MEJORA MOBILE: Área táctil de los iconos sociales */
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}

.social-icons a:hover {
    background: var(--accent);
    color: #000;
    border-color: var(--accent);
}

.copyright a,
p {
    margin-top: 70px;
    padding-top: 20px;
    border-top: 1px solid #1a1a1a;
    color: #aaa;
}

.admin-link-footer {
    color: white;
    text-decoration: none;
    transition: 0.3s;
    user-select: none;
}

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    /*justify-content:center (por si no quiere el nombre de la peluqueria) */
    align-items: center;
    padding: 7px 14px;
    background: rgba(10, 10, 10, 0.0);
    transition: background 0.4s, box-shadow 0.4s;

}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.97);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.navbar-logo {
    font-family: 'Courier New', monospace;
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--accent);
    text-decoration: none;
    letter-spacing: 2px;
}

.navbar-links a {
    color: var(--cream);
    text-decoration: none;
    font-size: .82rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    opacity: .75;
    transition: opacity .2s, color .2s;
}



.navbar-links a:hover {
    opacity: 1;
    color: var(--gold);
}



.nav-hide {
    display: none;
}

.menuserv {
    background: rgba(255, 255, 255, 0.05);
    /* Fondo casi invisible */
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--gold);
    padding: 8px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menuserv:hover {
    background: var(--gold);
    /* Cambia al color principal al pasar el mouse */
    color: var(--dark);
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(245, 245, 245, 0.2);
}

/* Estilo para la lista desplegable del menú */
#menu {
    position: absolute;
    top: 60px;
    right: 25px;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.2);
    padding: 20px;
    border-radius: 12px;
    list-style: none;
    min-width: 180px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

#menu a {
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar-btn {
    background: var(--accent);
    color: #000 !important;
    font-weight: bold;
    padding: 5px 5px !important;
    border-radius: 10px;
    opacity: 1 !important;
    font-size: 0.8rem !important;
    transition: background 0.3s !important;
    /* MEJORA MOBILE: Alto mínimo para botón de reserva en navbar */
    min-height: 10px;
    display: flex;
    align-items: center;
}

.navbar-btn:hover {
    background: #b5952f !important;
}

/* BOTÓN FLOTANTE WHATSAPP */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 1000;
    background: #25D366;
    color: white;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: transform 0.3s, box-shadow 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
    width: 30px;
    height: 30px;
    fill: white;
}

@media (max-width: 480px) {

    .navbar {
        padding: 12px 15px;
    }

    .navbar-logo {
        font-size: 1.1rem;
        letter-spacing: 1px;
    }

    .gallery img {
        height: 350px !important;
        min-width: 50vw !important;
    }

    .hero h1 {
        font-size: clamp(2.5rem, 12vw, 4rem);
    }

    .card {
        min-width: 70vw !important;
        padding: 15px !important;
    }

}