/* ============================================
   HECTOR LAYA — Artista Urbano
   Estilo: dark / street / gold accents
   ============================================ */

:root {
    --bg: #0a0a0a;
    --bg-soft: #141414;
    --bg-card: #161616;
    --text: #f2f2f2;
    --muted: #8a8a8a;
    --gold: #d4af37;
    --gold-dark: #8a6d1f;
    --red: #c0392b;
    --border: #262626;
    --radius: 10px;
    --nav-h: 72px;
    --font: 'Segoe UI', system-ui, -apple-system, Helvetica, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

.container {
    width: min(1140px, 92%);
    margin: 0 auto;
}

/* ---------- NAV ---------- */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--nav-h);
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
    z-index: 100;
    transition: border-color .3s;
}
.nav.scrolled { border-bottom-color: var(--border); }

.nav__inner {
    width: min(1140px, 92%);
    height: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav__logo {
    font-size: 1.35rem;
    font-weight: 900;
    letter-spacing: 2px;
}
.nav__logo span { color: var(--gold); }

.nav__links {
    display: flex;
    gap: 2rem;
}
.nav__links a {
    position: relative;
    font-size: 0.95rem;
    color: var(--muted);
    transition: color .25s;
}
.nav__links a::after {
    content: "";
    position: absolute;
    left: 0; bottom: -6px;
    width: 0; height: 2px;
    background: var(--gold);
    transition: width .25s;
}
.nav__links a:hover,
.nav__links a.active {
    color: var(--text);
}
.nav__links a:hover::after,
.nav__links a.active::after {
    width: 100%;
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 6px;
}
.nav__toggle span {
    width: 26px; height: 2px;
    background: var(--text);
    transition: transform .3s, opacity .3s;
}

/* ---------- HERO ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}
.hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.85;
    z-index: 0;
}
.hero__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10,10,10,.2) 0%, rgba(10,10,10,.55) 55%, var(--bg) 100%);
}
.hero__content {
    position: relative;
    z-index: 1;
    padding: 0 1rem;
    animation: fadeUp 1s ease both;
}
.hero__eyebrow {
    color: var(--gold);
    letter-spacing: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
}
.hero__title {
    font-size: clamp(3rem, 10vw, 7rem);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: 6px;
    text-transform: uppercase;
}
.hero__title span { color: var(--gold); }
.hero__subtitle {
    margin: 1.6rem auto 2.2rem;
    max-width: 540px;
    color: #cfcfcf;
    font-size: 1.1rem;
}
.hero__actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-block;
    padding: 0.9rem 2.2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    border: 2px solid transparent;
    transition: transform .2s, box-shadow .2s, background .2s;
}
.btn:hover { transform: translateY(-3px); }

.btn--gold {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: #0a0a0a;
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.3);
}
.btn--gold:hover { box-shadow: 0 12px 30px rgba(212, 175, 55, 0.45); }

.btn--ghost {
    border-color: var(--text);
    color: var(--text);
}
.btn--ghost:hover { background: rgba(255,255,255,0.08); }

.btn--block { width: 100%; }

/* ---------- HERO SCROLL ---------- */
.hero__scroll {
    position: absolute;
    bottom: 30px; left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    width: 26px; height: 42px;
    border: 2px solid var(--gold);
    border-radius: 16px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}
.hero__scroll span {
    width: 3px; height: 9px;
    background: var(--gold);
    border-radius: 2px;
    animation: scrollWheel 1.6s infinite;
}

/* ---------- SECTIONS ---------- */
.section {
    padding: 6rem 0;
}
.section--dark { background: var(--bg-soft); }

.section__title {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-align: center;
    position: relative;
    padding-bottom: 0.8rem;
}
.section__title::after {
    content: "";
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 70px; height: 3px;
    background: var(--gold);
}
.section__lead {
    text-align: center;
    color: var(--muted);
    margin: 1rem auto 3rem;
    max-width: 600px;
}

/* ---------- ABOUT ---------- */
.about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
.about__media {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
}
.about__text h3 {
    font-size: 1.9rem;
    font-weight: 900;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}
.about__text h3::first-letter { color: var(--gold); }
.about__text p {
    color: #c6c6c6;
    margin-bottom: 1rem;
}
.about__facts {
    margin-top: 1.5rem;
    border-top: 1px solid var(--border);
    padding-top: 1.2rem;
    display: grid;
    gap: 0.6rem;
}
.about__facts li {
    color: var(--muted);
    font-size: 0.95rem;
}
.about__facts strong { color: var(--text); }

/* ---------- MUSIC ---------- */
.music__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.mcard {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform .3s, border-color .3s;
}
.mcard:hover {
    transform: translateY(-6px);
    border-color: var(--gold);
}
.mcard__cover {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
}
.mcard__cover img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .5s;
}
.mcard:hover .mcard__cover img { transform: scale(1.05); }
.mcard__play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(10,10,10,0.55);
    opacity: 0;
    transition: opacity .3s;
}
.mcard:hover .mcard__play { opacity: 1; }
.mcard__play span {
    width: 64px; height: 64px;
    border-radius: 50%;
    background: var(--gold);
    color: #0a0a0a;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0,0,0,0.5);
}
.mcard__body {
    padding: 1.1rem 1.2rem 1.3rem;
}
.mcard__title {
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 0.2rem;
}
.mcard__meta {
    color: var(--muted);
    font-size: 0.85rem;
}
.mcard__bar {
    margin-top: 0.9rem;
    height: 6px;
    background: #242424;
    border-radius: 3px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}
.mcard__bar-progress {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--gold), var(--gold-dark));
    border-radius: 3px;
}
.mcard__time {
    margin-top: 0.4rem;
    font-size: 0.75rem;
    color: var(--muted);
    display: flex;
    justify-content: space-between;
}

.mcard__letra {
    margin-top: 1rem;
    width: 100%;
    padding: 0.55rem;
    background: #1c1c1c;
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--gold);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: background .25s, border-color .25s;
}
.mcard__letra:hover {
    background: #242424;
    border-color: var(--gold);
}
.mcard__letra-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height .5s ease;
}
.mcard__letra-content pre {
    margin-top: 1rem;
    padding: 1rem;
    background: #111;
    border: 1px solid var(--border);
    border-left: 3px solid var(--gold);
    border-radius: 6px;
    color: #cfcfcf;
    font-family: var(--font);
    font-size: 0.9rem;
    line-height: 1.7;
    white-space: pre-wrap;
}

/* ---------- VIDEOS ---------- */
.videos__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}
.vcard {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform .3s, border-color .3s;
}
.vcard:hover {
    transform: translateY(-6px);
    border-color: var(--gold);
}
.vcard video {
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
    object-fit: cover;
}
.vcard__body { padding: 1rem 1.2rem; }
.vcard__title { font-weight: 700; margin-bottom: 0.2rem; }
.vcard__meta { color: var(--muted); font-size: 0.85rem; }

/* ---------- GALLERY ---------- */
.gallery__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.2rem;
}
.gcard {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 1;
}
.gcard img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .5s;
}
.gcard:hover img { transform: scale(1.07); }
.gcard::after {
    content: "＋";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.4rem;
    color: #fff;
    background: rgba(10,10,10,0.4);
    opacity: 0;
    transition: opacity .3s;
}
.gcard:hover::after { opacity: 1; }

/* ---------- CONTACT ---------- */
.contact { background: var(--bg-soft); }
.contact__grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 3rem;
}
.contact__form {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.contact__form label {
    font-size: 0.9rem;
    color: var(--muted);
    margin-top: 0.6rem;
}
.contact__form input,
.contact__form textarea {
    background: #1a1a1a;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    padding: 0.85rem 1rem;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color .3s;
}
.contact__form input:focus,
.contact__form textarea:focus {
    outline: none;
    border-color: var(--gold);
}
.contact__form .btn { margin-top: 1.2rem; }
.contact__note {
    margin-top: 0.8rem;
    font-size: 0.85rem;
    color: var(--gold);
    min-height: 1.2em;
}
.contact__socials {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    align-self: start;
}
.contact__socials h3 {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
    letter-spacing: 1px;
}
.contact__socials ul {
    display: grid;
    gap: 0.7rem;
}
.contact__socials a {
    color: var(--muted);
    transition: color .25s, padding-left .25s;
}
.contact__socials a:hover {
    color: var(--gold);
    padding-left: 6px;
}
.contact__mail {
    margin-top: 1.5rem;
    padding-top: 1.2rem;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 0.9rem;
}
.contact__mail a { color: var(--gold); }

/* ---------- FOOTER ---------- */
.footer {
    border-top: 1px solid var(--border);
    padding: 2.5rem 0;
    text-align: center;
}
.footer__brand {
    font-weight: 900;
    letter-spacing: 3px;
    font-size: 1.2rem;
}
.footer__brand span { color: var(--gold); }
.footer__copy {
    color: var(--muted);
    font-size: 0.85rem;
    margin-top: 0.6rem;
}

/* ---------- LIGHTBOX ---------- */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 200;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s, visibility .3s;
}
.lightbox.open {
    opacity: 1;
    visibility: visible;
}
.lightbox img {
    max-width: 90%;
    max-height: 80vh;
    border-radius: 6px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.7);
}
.lightbox__caption {
    margin-top: 1rem;
    color: var(--text);
    font-size: 1rem;
}
.lightbox__close {
    position: absolute;
    top: 20px; right: 26px;
    background: none;
    border: none;
    color: #fff;
    font-size: 3rem;
    line-height: 1;
}
.lightbox__close:hover { color: var(--gold); }

/* ---------- ANIMATIONS ---------- */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes scrollWheel {
    0% { transform: translateY(0); opacity: 1; }
    70% { transform: translateY(14px); opacity: 0; }
    100% { transform: translateY(0); opacity: 0; }
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 860px) {
    .about__grid { grid-template-columns: 1fr; }
    .contact__grid { grid-template-columns: 1fr; }

    .nav__toggle { display: flex; }
    .nav__links {
        position: fixed;
        top: var(--nav-h);
        right: 0;
        width: min(280px, 80vw);
        height: calc(100vh - var(--nav-h));
        flex-direction: column;
        background: #0e0e0e;
        border-left: 1px solid var(--border);
        padding: 2rem;
        gap: 1.5rem;
        transform: translateX(100%);
        transition: transform .35s ease;
    }
    .nav__links.open { transform: translateX(0); }
}
