/* BarberLash Luxury Web Styles Final 18.0 - Anti-Slide Blindaje */
:root {
    --bg-black: #0D060D;
    --card-dark: #1B0F1B;
    --neon-pink: #F72585;
    --gold: #D4AF37;
    --soft-pink: #F9A8D4;
    --text-white: #FFFFFF;
}

html, body {
    background-color: var(--bg-black);
    color: var(--text-white);
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden; /* BLOCK LATERAL SCROLLING */
    position: relative;
    -webkit-overflow-scrolling: touch;
}

h1, h2, h3, .brand {
    font-family: 'Playfair Display', serif;
    color: var(--gold);
    font-weight: 900;
}

/* NAVIGATION */
nav {
    background: rgba(13, 6, 13, 0.98);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    padding: 1rem 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    width: 100%;
    box-sizing: border-box;
    z-index: 1000;
}

.brand { font-size: 1.8rem; letter-spacing: 4px; }

.nav-links { display: flex; gap: 25px; }
.nav-links a {
    color: white; text-decoration: none; font-size: 0.8rem;
    text-transform: uppercase; font-weight: 800; cursor: pointer;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}
.nav-toggle span { width: 28px; height: 3px; background: var(--gold); border-radius: 2px; }

/* WINDOW SYSTEM */
section { display: none; padding: 60px 10%; box-sizing: border-box; width: 100%; }
section.active { display: block; animation: fadeIn 0.4s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* HERO */
.hero-container {
    display: flex; align-items: center; justify-content: space-between; gap: 40px;
    flex-wrap: wrap; min-height: 60vh;
}
.hero-content { flex: 1.2; min-width: 320px; }
.hero-title { font-size: 4rem; margin: 0; line-height: 1.1; }
.hero-subtitle { color: var(--neon-pink); font-size: 1rem; letter-spacing: 6px; margin: 20px 0; font-weight: bold; text-transform: uppercase; }

.floating-img {
    width: 100%; max-width: 380px; border-radius: 40px; border: 4px solid var(--gold);
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.3);
    animation: float 6s ease-in-out infinite;
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }

/* BUTTONS */
.cta-btn {
    background: var(--neon-pink); color: white; padding: 18px 40px; border-radius: 12px;
    font-weight: 900; text-decoration: none; display: inline-block;
    transition: 0.3s; box-shadow: 0 8px 15px rgba(247, 37, 133, 0.3);
    text-transform: uppercase; font-size: 0.85rem; border: none; cursor: pointer;
    text-align: center;
}
.cta-btn:hover { background: white; color: black; transform: translateY(-5px); }

/* FORMS */
.booking-form { max-width: 650px; margin: 0 auto; background: var(--card-dark); padding: 40px; border-radius: 30px; border: 1px solid #333; }
.form-row { display: flex; gap: 20px; margin-bottom: 20px; }
.form-group { flex: 1; margin-bottom: 20px; }
label { color: var(--soft-pink); font-size: 0.85rem; font-weight: 800; display: block; margin-bottom: 8px; }
input, select { width: 100%; padding: 15px; background: #000; border: 1px solid #333; color: white; border-radius: 8px; font-size: 1rem; box-sizing: border-box; }

/* PORTFOLIO */
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 25px; margin-top: 30px; justify-items: center; }
.portfolio-item-wrapper { width: 100%; max-width: 340px; border-radius: 30px; overflow: hidden; border: 1px solid #222; background: #000; position: relative; }
.video-clipping-mask { height: 420px; overflow: hidden; position: relative; }
.video-card { width: 100%; margin-top: -55px; }

/* MOBILE RESPONSIVE (Blindaje Total) */
@media (max-width: 768px) {
    nav { padding: 1rem 6%; }
    .nav-toggle { display: flex; }

    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background: var(--bg-black);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 10001;

        /* NEW BLOCKING LOGIC */
        display: none; /* TRUE REMOVAL FROM LAYOUT FLOW */
        opacity: 0;
        pointer-events: none;
    }

    .nav-links.active {
        display: flex;
        opacity: 1;
        pointer-events: auto;
        animation: slideIn 0.3s ease-out forwards;
    }

    @keyframes slideIn {
        from { transform: translateX(100%); opacity: 0; }
        to { transform: translateX(0); opacity: 1; }
    }

    .nav-links a { font-size: 1.4rem; padding: 25px; color: var(--gold); }

    section { padding: 40px 6%; width: 100%; }
    .hero-title { font-size: 2.5rem; text-align: center; }
    .hero-container { text-align: center; justify-content: center; }
    .hero-content { min-width: 100%; width: 100%; }

    .form-row { flex-direction: column; gap: 0; }
}
