/* Variables de Color y Diseño Premium Urbano */
:root {
    --bg-black: #050505;
    --bg-darker: #0d0d0d;
    --text-white: #ffffff;
    --text-gray: #b0b0b0;
    --accent-violet: #b700ff;
    --accent-violet-dark: #6a00a3;
    --glass-bg: rgba(5, 5, 5, 0.85);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; } 
body { 
    font-family: 'Outfit', sans-serif; 
    background-color: var(--bg-black); 
    background-image: radial-gradient(rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 20px 20px;
    color: var(--text-white); 
    line-height: 1.6; 
    overflow-x: hidden; 
    width: 100vw;
}
h1, h2, h3 { font-family: 'Anton', sans-serif; text-transform: uppercase; letter-spacing: 2px; }

/* Tipografía Graffitti */
.graffiti-accent {
    font-family: 'Permanent Marker', cursive;
    color: var(--accent-violet);
    font-size: 3rem;
    display: block;
    transform: rotate(-5deg);
    margin-bottom: 0px; 
    text-shadow: 0 0 15px rgba(183, 0, 255, 0.6);
}

.hero-title-graffiti {
    font-family: 'Permanent Marker', cursive;
    font-size: 10vw;
    color: var(--text-white);
    text-shadow: 0 5px 20px rgba(183, 0, 255, 0.5);
    margin-bottom: 0px;
    letter-spacing: 4px;
    line-height: 1;
}

/* Nueva Fuente Street con texto violeta y stroke blanco */
.street-title, h2.street-title {
    font-family: 'Sedgwick Ave Display', cursive !important;
    font-size: 4rem;
    color: var(--accent-violet) !important;
    text-shadow: 
        -1.5px -1.5px 0 #fff,  
         1.5px -1.5px 0 #fff,
        -1.5px  1.5px 0 #fff,
         1.5px  1.5px 0 #fff,
         3px 3px 0px #fff !important;
    text-transform: uppercase;
    line-height: 1.1;
    letter-spacing: 2px;
}

.graffiti-sub {
    font-family: 'Permanent Marker', cursive;
    color: var(--text-gray);
    font-size: 1.4rem;
    margin-bottom: 20px;
}

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-black); }
::-webkit-scrollbar-thumb { background: #333; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-violet); }

/* --- HEADER Y LOGO --- */
header { display: block; padding: 15px 5%; position: fixed; width: 100%; top: 0; z-index: 1000; transition: all 0.4s ease; background: transparent; }
.header-inner { display: flex; flex-direction: column; align-items: center; justify-content: center; }
header.scrolled { background: var(--glass-bg); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); padding: 10px 5%; border-bottom: 1px solid rgba(183, 0, 255, 0.2); box-shadow: 0 10px 30px rgba(0,0,0,0.8); }

.logo { margin-bottom: 10px; }
.logo-img { height: 90px; width: auto; filter: invert(1) drop-shadow(0 0 5px rgba(255, 255, 255, 0.5)); transition: transform 0.3s, height 0.4s; }
header.scrolled .logo-img { height: 60px; }
.logo-img:hover { transform: scale(1.05); }

/* --- NAVEGACIÓN URBANA --- */
.urban-nav { display: flex; align-items: center; gap: 15px; justify-content: center; flex-wrap: wrap; width: 100%; }
.urban-btn {
    font-family: 'Anton', sans-serif;
    font-size: 1.05rem;
    letter-spacing: 2px;
    color: var(--text-white);
    text-decoration: none;
    padding: 8px 25px;
    border: 2px solid var(--accent-violet);
    background: rgba(0,0,0,0.5);
    clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
    transition: all 0.3s ease;
    text-transform: uppercase;
}
.urban-btn:hover, .urban-btn.active {
    background: var(--accent-violet);
    color: var(--text-white);
    box-shadow: 0 0 15px var(--accent-violet);
    transform: translateY(-2px);
}

/* Redes Link Nav FIX: STRICT flex basis prevents squishing on mobile */
.nav-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    transition: transform 0.3s;
    margin: 0 5px;
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
}
.nav-social-link svg {
    width: 24px !important;
    height: 24px !important;
    min-width: 24px;
    min-height: 24px;
    flex-shrink: 0;
    display: block;
}
.nav-social-link:hover {
    transform: scale(1.1);
}

/* Botones Premium Generales */
.btn-primary { display: inline-block; background: var(--accent-violet); color: var(--text-white); padding: 16px 35px; text-decoration: none; font-family: 'Anton', sans-serif; font-size: 1.1rem; letter-spacing: 2px; transition: all 0.3s; box-shadow: 0 5px 20px rgba(183, 0, 255, 0.4); text-transform: uppercase; border-radius: 4px;}
.btn-primary:hover { background-color: var(--accent-violet-dark); transform: translateY(-3px); box-shadow: 0 10px 30px rgba(183, 0, 255, 0.8); color: white;}
.btn-secondary { display: inline-block; background: transparent; border: 2px solid var(--text-white); color: var(--text-white); padding: 14px 30px; text-decoration: none; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; transition: all 0.3s; border-radius: 4px;}
.btn-secondary:hover { background: var(--text-white); color: var(--bg-black); }

/* BOTÓN WHATSAPP FLOTANTE */
.floating-wa { position: fixed; bottom: 20px; right: 20px; background-color: #25D366; border-radius: 50%; width: 60px; height: 60px; display: flex; justify-content: center; align-items: center; box-shadow: 0 5px 20px rgba(37, 211, 102, 0.5); z-index: 9999; transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s; }
.floating-wa svg { width: 35px; height: 35px; display: block; margin: auto; }
.floating-wa:hover { transform: scale(1.15) rotate(-5deg); box-shadow: 0 8px 25px rgba(37, 211, 102, 0.8); }

/* --- ANIMACIONES GLOBALES --- */
.fade-in { opacity: 0; transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.slide-up { opacity: 0; transform: translateY(40px); transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.is-visible { opacity: 1; transform: translateY(0); }

/* --- EFECTO 1: BLUR REVEAL (PARA GALERÍA) --- */
.blur-reveal {
    opacity: 0;
    filter: blur(15px) contrast(1.2);
    transform: scale(1.05);
    transition: opacity 0.8s ease-out, filter 1s ease-out, transform 1s ease-out;
}
.blur-reveal.is-visible {
    opacity: 1;
    filter: blur(0) contrast(1);
    transform: scale(1);
}

/* --- EFECTO 2: GRAFFITI SPRAY REVEAL --- */
@keyframes sprayWipe {
    0%   { -webkit-mask-position: 100% 0%; mask-position: 100% 0%; }
    100% { -webkit-mask-position: 0% 100%; mask-position: 0% 100%; }
}
@keyframes sprayBartFade {
    0%   { opacity: 0; }
    5%   { opacity: 1; }
    95%  { opacity: 1; }
    100% { opacity: 0; }
}

.spray-reveal {
    position: relative;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.spray-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* La imagen TIENE LA MÁSCARA */
.spray-reveal img {
    display: block; width: 100%; border-radius: 4px; filter: grayscale(50%) contrast(1.2); transition: filter 0.4s; position: relative; z-index: 2;
    -webkit-mask-image: linear-gradient(to top right, black 40%, rgba(0,0,0,0.5) 50%, transparent 60%);
    mask-image: linear-gradient(to top right, black 40%, rgba(0,0,0,0.5) 50%, transparent 60%);
    -webkit-mask-size: 300% 300%;
    mask-size: 300% 300%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: 100% 0%;
    mask-position: 100% 0%;
}

.spray-reveal.is-visible img { 
    animation: sprayWipe 3s linear 0.5s forwards; 
}

/* Bart está fuera de la máscara */
.spray-reveal::after {
    content: '';
    position: absolute;
    width: 160px;  
    height: 160px;
    background: url('img/gif.gif') no-repeat center center;
    background-size: contain;
    z-index: 100;
    pointer-events: none; 
    opacity: 0;
    bottom: -5px;
    left: 5px; 
}
.spray-reveal.is-visible::after { 
    animation: sprayBartFade 3s linear 0.5s forwards; 
}

/* Hero */
.hero { min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; position: relative; background-image: url('img/local2.jpg'); background-color: #111; background-size: cover; background-position: center; background-attachment: fixed; padding: 120px 20px 60px; overflow: hidden; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to bottom, rgba(5,5,5,0.8), var(--bg-black)); }
.hero-content { position: relative; z-index: 10; max-width: 900px;} 

/* CORTES DIAGONALES */
.diagonal-box { position: relative; padding: 150px 5% 150px; background-color: var(--bg-darker); clip-path: polygon(0 5vw, 100% 0, 100% calc(100% - 5vw), 0 100%); margin-top: -5vw; z-index: 5; }

/* Sección Artista */
.artist-container { display: flex; align-items: center; gap: 50px; max-width: 1200px; margin: 0 auto; flex-wrap: wrap; }
@media (min-width: 769px) {
    .artist-container, .temple-content {
        flex-wrap: nowrap !important;
    }
}
.artist-text { flex: 1; min-width: 300px; }
.artist-text p { font-size: 1.1rem; color: var(--text-gray); margin-bottom: 20px; }
.artist-image { flex: 1; min-width: 300px; position: relative; }
.artist-image:hover img { filter: grayscale(0%) contrast(1.1); }
.neon-border { position: absolute; top: 15px; left: 15px; width: 100%; height: 100%; border: 3px solid var(--accent-violet); box-shadow: 0 0 15px rgba(183, 0, 255, 0.5); z-index: 1; pointer-events: none; transition: transform 0.4s; }
.artist-image:hover .neon-border { transform: translate(-10px, -10px); }

/* Pain Map Image style */
.pain-map-img {
    width: 100%;
    max-width: 400px;
    display: block;
    margin: 20px auto 0;
    border-radius: 8px;
    border: 2px solid var(--accent-violet);
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

/* Sección El Templo */
.temple-section { padding: 120px 5%; background-color: var(--bg-black); position: relative; z-index: 6; }
.temple-content { display: flex; align-items: center; gap: 50px; max-width: 1200px; margin: 0 auto; flex-wrap: wrap-reverse; }
.temple-images { flex: 1; min-width: 300px; }
.temple-images img { width: 100%; border-radius: 4px; box-shadow: 0 20px 50px rgba(183, 0, 255, 0.15); }
.temple-text { flex: 1; min-width: 300px; }
.temple-text p { font-size: 1.15rem; color: var(--text-gray); }

/* MAPA */
.map-section { width: 100%; background-color: var(--bg-black); border-top: 2px solid var(--accent-violet); }
.map-header { text-align: center; padding: 60px 20px 30px; }
.map-header h2 { font-size: 2.5rem; color: var(--accent-violet); margin-bottom: 10px; }
.map-header p { color: var(--text-gray); font-size: 1.1rem; }
.map-section iframe { width: 100%; height: 400px; filter: grayscale(80%) contrast(1.2); }

/* Secciones Generales Internas */
.inner-page { padding-top: 200px; } 
.page-header { text-align: center; padding: 0px 20px 40px; }
.page-header h1 { font-size: 4.5rem; margin-bottom: 15px; color: var(--text-white); }
.page-header p { font-size: 1.2rem; color: var(--text-gray); }
.section-title { font-size: 2.5rem; margin-bottom: 30px; text-align: center; }

/* Galería Polaroid Effect & Zoom */
.portfolio-page { padding: 0 5% 100px; position: relative;}
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-bottom: 60px; }
.gallery-item { position: relative; border-radius: 4px; aspect-ratio: 1/1; background-color: #ffffff; padding: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; border-radius: 2px; cursor: zoom-in; position: relative; z-index: 1;}

/* Efecto hover desactivado cuando hay zoom activo globalmente */
body:not(.zoom-active) .gallery-item:hover img { transform: scale(1.05); }

.item-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(5,5,5,0.8); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.4s ease; backdrop-filter: blur(3px); pointer-events: none;}
body:not(.zoom-active) .gallery-item:hover .item-overlay { opacity: 1; }
.item-overlay span { font-family: 'Anton', sans-serif; font-size: 1.5rem; letter-spacing: 2px; color: var(--accent-violet); transform: translateY(20px); transition: transform 0.4s ease; }
body:not(.zoom-active) .gallery-item:hover .item-overlay span { transform: translateY(0); }

/* ZOOM MODAL TRICK */
.zoom-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 99999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.zoom-overlay.active {
    opacity: 1;
    pointer-events: auto;
    cursor: zoom-out;
}

/* La imagen cloneada que hace el efecto pop */
.zoomed-image-clone {
    position: fixed;
    z-index: 100000;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.8);
    transition: all 0.3s cubic-bezier(0.2, 0, 0.2, 1);
    pointer-events: none; /* Let clicks pass through to the overlay */
}

/* Ocultar WhatsApp cuando hay zoom */
body.zoom-active .floating-wa { display: none !important; }
body.zoom-active header { display: none !important; }
body.zoom-active { overflow: hidden; } /* Prevenir scroll */

/* Steps y Cards */
.content-section { padding: 0 5% 100px; }
.content-container { max-width: 800px; margin: 0 auto; }
.content-container p { font-size: 1.1rem; color: var(--text-gray); margin-bottom: 20px; }

.step, .faq-card { background-color: var(--bg-darker); padding: 40px; margin-bottom: 25px; transition: transform 0.3s, box-shadow 0.3s; }
.diagonal-step { clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%); border-left: 3px solid var(--accent-violet); }
.diagonal-step:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(183, 0, 255, 0.15); }
.step h3, .faq-card h3 { font-size: 1.6rem; margin-bottom: 15px; color: var(--text-white); text-transform: uppercase; }
.step p, .faq-card p { margin-bottom: 0; }
.step ul { list-style-position: inside; color: var(--text-gray); font-size: 1.1rem; }

/* Reviews */
.reviews-section { padding: 100px 5% 150px; }
.reviews-section h2 { font-size: 3.5rem; text-align: center; margin-bottom: 70px; }
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 40px; max-width: 1000px; margin: 0 auto; }
.review-card { background-color: var(--bg-darker); padding: 50px; clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px); border-left: 4px solid var(--accent-violet); transition: transform 0.3s; }
.review-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.8); }
.stars { color: var(--accent-violet); font-size: 1.5rem; margin-bottom: 20px; text-shadow: 0 0 10px rgba(183, 0, 255, 0.5); }
.review-card p { font-size: 1.05rem; color: var(--text-gray); margin-bottom: 20px; font-style: italic; }
.reviewer-name { font-weight: 600; color: var(--text-white); text-transform: uppercase; font-size: 0.9rem; letter-spacing: 1px; }

/* --- FOOTER FIXED --- */
footer { background-color: #000; padding: 80px 5% 30px; border-top: 1px solid #111; }
.footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 50px; max-width: 1200px; margin: 0 auto 50px; }

/* Logo y Texto LEYTTOO centrado en la columna del footer */
.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
    opacity: 0.6;
    transition: opacity 0.3s;
    text-decoration: none;
}
.footer-brand:hover { opacity: 1; }
.footer-logo { height: 60px; filter: invert(1); }
.footer-title { 
    font-family: 'Permanent Marker', cursive; 
    color: var(--text-white); 
    font-size: 2.5rem; 
    letter-spacing: 2px; 
    margin: 0; 
    line-height: 1; 
    text-shadow: 0 0 10px rgba(255,255,255,0.3);
}

.footer-col ul { list-style: none; padding-left: 0; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: var(--text-gray); text-decoration: none; transition: color 0.3s ease, text-shadow 0.3s ease; }
.footer-col ul li a:hover { color: var(--accent-violet); text-shadow: 0 0 10px rgba(183, 0, 255, 0.5); }

.corla-link { color: var(--accent-violet); text-decoration: none; font-weight: 800; letter-spacing: 1px; transition: color 0.3s ease; }
.corla-link:hover { color: var(--text-white); }

/* RESPONSIVE MOBILE FIXES */
@media (max-width: 768px) {
    header { padding: 10px 5%; background: var(--bg-black); border-bottom: 1px solid #222; }
    .header-inner { flex-direction: column; justify-content: center; width: 100%;}
    
    .logo-img { height: 50px; margin-bottom: 10px; }
    header.scrolled .logo-img { height: 45px; margin-bottom: 8px;}
    
    .urban-nav { 
        display: flex;
        flex-wrap: wrap; 
        justify-content: center;
        width: 100%;
        gap: 8px;
    }
    .urban-btn { 
        flex: 1 1 auto;
        font-size: 0.75rem; 
        padding: 8px 12px; 
        text-align: center;
        clip-path: polygon(5px 0, 100% 0, calc(100% - 5px) 100%, 0 100%);
        border-width: 1px;
        letter-spacing: 1px;
    } 
    
    .hero-actions { display: block; margin-top: 40px; }
    .hero-buttons { flex-direction: column; gap: 12px; width: 100%; max-width: 280px; margin: 0 auto; }
    .hero-buttons a { width: 100%; text-align: center; padding: 14px 20px; font-size: 1rem; }
    
    .hero-content { padding-top: 150px; }
    .hero-title-graffiti { font-size: 18vw; }
    .street-title { font-size: 2.5rem; }
    
    .diagonal-box { clip-path: none; margin-top: 0; padding: 80px 5%; }
    .diagonal-step, .review-card { clip-path: none; }
    .inner-page { padding-top: 180px; } 

    /* MOBILE IG STYLE GALLERY - FIXED WHITE BACKGROUND ISSUES */
    .portfolio-page {
        padding: 0 0 100px 0; /* full width */
    }
    
    /* Adjust page header padding to match full width layout */
    .page-header {
        padding-left: 5%;
        padding-right: 5%;
    }
    
    .section-title {
        padding: 0 5%;
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2px;
        margin-bottom: 40px;
        padding: 0;
    }
    .gallery-item {
        padding: 0;
        border-radius: 0;
        box-shadow: none;
        background-color: transparent; /* Fix for white gaps */
        aspect-ratio: 1/1; /* Ensure perfect squares */
        overflow: hidden; /* Hide any overflowing image parts */
    }
    .gallery-item img {
        border-radius: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .gallery-item:hover img {
        transform: none; /* remove scale on hover for mobile */
    }
    .item-overlay {
        display: none; /* hide overlay text on tiny IG grid */
    }
}
