:root {
    --font-titulos: 'Anton', sans-serif;
    --font-texto: 'Montserrat', sans-serif;
}

h1, h2, h3 {
    font-family: var(--font-titulos);
    letter-spacing: 2px; /* Anton se ve mejor con espacio */
    text-transform: uppercase;
}

body, p, a {
    font-family: var(--font-texto);
}



:root {
    --rojo-alrojo: #A90303;
    --negro: #0D0D0D;
    --gris: #3D3D3D;
    --blanco: #F2F2F2;
    --font-titulos: 'Anton', sans-serif;
    --font-texto: 'Montserrat', sans-serif;
}

body {
    font-family: var(--font-texto);
    background-color: var(--negro);
    color: var(--blanco);
    line-height: 1.6;
}

h1, h2, h3 {
    font-family: var(--font-titulos);
    color: var(--rojo-alrojo);
    letter-spacing: 2px;
    text-transform: uppercase;
}

a {
    color: var(--blanco);
    text-decoration: none;
}


/* SECCIONES */
section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}/* HERO SECTION */
#inicio {
    background: linear-gradient(rgba(0,0,0,0.75), rgba(0,0,0,0.75)), 
                url('assets/img/hero-tatuando.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
}

.logo-hero {
    width: 340px;
    margin-bottom: 4rem;
    margin-top: -40px;
    filter: drop-shadow(0 0 25px rgba(169, 3, 3, 0.6));
}

#inicio h1 {
    font-size: 3.5rem;
    color: var(--rojo-alrojo);
    margin-bottom: 1rem;
}

#inicio p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--blanco);
}

.btn-agenda {
    background-color: var(--rojo-alrojo);
    color: var(--blanco);
    padding: 1rem 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 5px;
    transition: 0.3s;
}

.btn-agenda:hover {
    background-color: #8a0202;
    transform: scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
    .logo-hero { width: 200px; }
    #inicio h1 { font-size: 2.5rem; }
}/* GALERÍA */
#galeria {
    background-color: var(#1a1a1a);
    padding: 5rem 2rem;
}

#galeria h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 3rem;
}

.galeria-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.galeria-grid {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x
    mandatory;
    scroll-behavior: smooth;
    padding: 10px 40px 20px 40px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.galeria-grid::-webkit-scrollbar {
    display: none;
}

.galeria-grid a  {
    flex: 0 0 auto;
    scroll-snap-align: start;
}

.galeria-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(250, 0, 0, 0.8);
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 28px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.galeria-btn:hover {
    background: rgba(250, 0, 0, 1);
}

.galeria-prev {
    left: 0px;
}

.galeria-next {
    right: 0px;
}

@media (max-width: 768px) {
    .galeria-grid img {
        width: 75vw;
        height: 95vw;
    }
}

.galeria-grid img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
    transition: 0.3s ease;
    cursor: pointer;
}

.galeria-grid img:hover {
    transform: scale(1.03);
    box-shadow: 0 0 20px rgba(169, 3, 3, 0.5);
}

/* Responsive pa' celular */
@media (max-width: 768px) {
    .galeria-grid {
        grid-template-columns: 1fr;
    }
    
    .galeria-grid img {
        height: 300px;
    }
}/* LIGHTBOX */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
    box-shadow: 0 0 30px rgba(169, 3, 3, 0.7);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 50px;
    color: var(--blanco);
    cursor: pointer;
    font-weight: bold;
    z-index: 1001;
}

.lightbox-close:hover {
    color: var(--rojo-alrojo);
}
.artistas {
    padding: 80px 20px;
    background: var(--negro);
}

.artistas h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--rojo-alrojo);
}

.artistas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.artista-card {
    background: #1a1a1a;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.artista-card:hover {
    transform: translateY(-10px);
}

.artista-img {
    position: relative;
    display: block;
    width: 100%;
    height: 350px;
    overflow: hidden;
}

.artista-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.4s ease;
}

.artista-img .img-hover {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.artista-img:hover .img-hover {
    opacity: 1;
}

.artista-img:hover img:first-child {
    opacity: 0;
}

.artista-info {
    padding: 20px;
    text-align: center;
}

.artista-info h3 {
    font-size: 1.5rem;
    color: var(--rojo-alrojo);
    margin-bottom: 5px;
}

/* contacto */

.contacto {
    padding: 80px 20px;
    background: #111;

}

.contacto h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(-rojo-alrojo-)
}

#contacto {
    position: relative;
    padding: 80px 20px;
    text-align: center;
    color: #fff;
    overflow: clip;
    background-image: url(assets/logo/logo-circular-gris.svg);
    background-repeat: repeat;
    background-size: 120px;
    background-attachment: fixed;
    background-color: #0a0a0a;
}

#contacto::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 0;
    pointer-events: none;
}

#contacto > * {
    position: relative;
    z-index: 2;
}


#contacto h2 {
    font-size: 2.5rem;
    color: var(--rojo-alrojo);
    margin-bottom: 40px;
}

.contacto-lista a {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.4rem;
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
    width: 100%;
}

.contacto-lista a:hover {
    color: #ff1a1a;
    transform: scale(1.05);
}

.contacto-lista i {
    font-size: 1.8rem;
    width: 28px;
    text-align: center;
}

#contacto iframe {
    width: 90%;
    max-width: 700px;
    height: 350px;
    border-radius: 12px;
    border: 2px solid #ff1a1a;
    margin: 0 auto;
    display: block;
}


@media (max-width:768px) {
    .contacto-grid {grid-template-columns: 1fr;
    }
}

.contacto-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}


.contacto-item:hover {
    color: var(--rojo-alrojo);
}

.contacto-item i {
    font-size: 1.5rem;
    color: var(--rojo-alrojo);
    width: 25px;
    text-align: center;
}

/* EL ESTUDIO */

.seccion-estudio {
    padding: 80px 20px;
    background: linear-gradient(to bottom, #0a0a0a, #1a1a1a);
    text-align: center;

}

.contenedor-estudio {
    max-width: 800px;
    margin: 0 auto;
}

.titulo-seccion {
    font-size: 2.5rem;
    color: var(--rojo-alrojo);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.linea-roja {
    width: 80px;
    height: 3px;
    background: var(--rojo-alrojo);
    margin: 0 auto 30px;
}

.texto-estudio {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #ccc;
    font-weight: 300;
}

.seccion-estudio {
    background-color: #1a1a1a;
    background-image: linear-gradient(135deg,#1a1a1a 0%, #252525 100%),
    url(assets/logo/logo-circular-blanco.svg);
    background-repeat: repeat;
    background-size: auto,120px 120px;
    background-blend-mode: overlay;
    padding: 80px 20px;
    color: #fff;
}

.seccion-estudio {
    background-attachment: fixed;
}



.btn-agenda {
    display: inline-block;
    background-color: #d62828;
    color: #fff;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-agenda:hover {
    background-color: #a11f1f;
    transform: translate(-2px);
}

/* FIX HERO MÓVIL */
@media (max-width: 768px) {
    #inicio {
        background-attachment: fixed; /* iOS no aguanta fixed */
        min-height: 100dvh; /* usa dvh para que no se corte con la barra del navegador */
        padding: 3rem 1.5rem;
    }

    #inicio h1 {
        font-size: clamp(1.8rem, 8vw, 2.5rem); /* se adapta al ancho */
        word-break: break-word; /* evita que se corte la palabra */
        line-height: 1.2;
    }
    
    #inicio p {
        font-size: 1rem;
        padding: 0 1rem;
    }
}

/* FIX TIPOGRAFÍA - FUERZA LA CARGA DE ANTON */
@import url('https://fonts.googleapis.com/css2?family=Anton&family=Montserrat:wght@400;600;700&display=swap');

h1, h2, h3, .logo-hero + h1 {
    font-family: 'Anton', sans-serif !important;
    font-display: swap;
}
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--gris);
    backdrop-filter: blur(10px);
}
/* FIX CARDS ARTISTAS PARA TOUCH */
@media (hover: none) and (pointer: coarse) {
    .artista-img:active .img-hover {
        opacity: 1;
    }
    
    .artista-img:active img:first-child {
        opacity: 0;
    }
 
}

/*navbar*/

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--negro);
    backdrop-filter: blur(10px);
    padding: max(1rem, env(safe-area-inset-top))
    1.5rem 1rem 1.5rem;
}

.navbar ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.navbar a {
    font-weight: 600;
    color: var(--blanco);
    transition: color 0.3s;
}

.navbar a:hover {
    color: var(--rojo-alrojo);
}

/*responsive navbar*/
@media (max-width: 768px) {
    .navbar {
        padding: max(1rem, env(safe-area-inset-top))
        1.5rem 1rem 2.5rem;
    }
}

@media (max-width: 375px) {
    .navbar {
        padding: max(8px, env(safe-area-inset-top)) 12px
        8px 12px;
    }
    .navbar a {
        font-size: 14px;
    }
}

/* Ocultar menú y mostrar hamburguesa en móvil */
.hamburger {
    display: none;
}

@media (max-width: 768px) {
    .navbar ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--negro);
        padding: 1rem 0;
    }

    .navbar ul.active {
        display: flex;
    }

    .hamburger {
        display: block;
        background: none;
        border: none;
        color: var(--blanco);
        font-size: 28px;
        position: absolute;
        right: 1.5rem;
        top: 1rem;
    }

    .navbar {
        position: sticky;
        top: 0;
    }
}

.nav-links li {
    text-align: center;
}

@media (max-width: 768px) {
    #inicio {
        background-attachment:scroll;
    }
}
