/* =====================================================
   VARIABLES
===================================================== */

:root {
    --bg: #0b0b0d;
    --text: #f2f2f2;
    --accent: #c9a96e;
    --muted: #8a8a8a;
}

/* =====================================================
   RESET BASE
===================================================== */

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

html {
    scroll-behavior: smooth;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

section,
header {
    scroll-margin-top: 100px;
}

/* =====================================================
   NAVBAR
===================================================== */

.navbar {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: 0.4s ease;
}

.navbar.scrolled {
    background: rgba(11, 11, 13, 0.95);
    backdrop-filter: blur(8px);
}

.nav-container {
    width: 92%;
    max-width: 1300px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    letter-spacing: 2px;
    color: var(--accent);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 35px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent);
}

/* =====================================================
   HERO
===================================================== */

.hero {
    position: relative;
    height: 95vh;
    background: url("../img/manegracian.png") center center / cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.4) 0%,
        rgba(0,0,0,0.6) 40%,
        rgba(0,0,0,0.85) 75%,
        rgba(11,11,13,1) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    letter-spacing: 6px;
    margin-bottom: 15px;
}

.hero-content p {
    font-size: 1.4rem;
    color: var(--accent);
    letter-spacing: 2px;
    margin-bottom: 25px;
}

/* =====================================================
   BOTONES
===================================================== */

.btn {
    display: inline-block;
    padding: 12px 30px;
    border: 1px solid var(--accent);
    color: var(--accent);
    text-decoration: none;
    transition: 0.3s ease;
}

.btn:hover {
    background: var(--accent);
    color: #000;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.whatsapp-btn svg {
    width: 22px;
    height: 22px;
    color: var(--accent);
    transition: 0.3s ease;
}

.whatsapp-btn:hover svg {
    transform: scale(1.1);
}

/* =====================================================
   SECTIONS
===================================================== */

.section {
    padding: 60px 0;
}

.container {
    width: 92%;
    max-width: 1300px;
    margin: auto;
}

.section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    margin-bottom: 30px;
    color: var(--accent);
    text-align: center;
}

/* =====================================================
   FILOSOFÍA
===================================================== */

.manifesto .container {
    max-width: 1100px;
}

.manifesto p {
    font-size: 1.25rem;
    line-height: 1.9;
    color: var(--muted);
    text-align: justify;
    text-align-last: center;
}

/* =====================================================
   DESARROLLO MUSICAL
===================================================== */

.grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 35px;
}

.card {
    display: flex;
    flex-direction: column;
}

.card-image {
    overflow: hidden;
    border-radius: 6px;
    margin-bottom: 18px;
}

.card-image img {
    transition: transform 0.6s ease;
}

.card-image:hover img {
    transform: scale(1.05);
}

.card h3 {
    margin-bottom: 12px;
    font-weight: 500;
    text-align: center;
}

.card p {
    color: var(--muted);
    font-size: 1.05rem;
    text-align: justify;
    line-height: 1.7;
}

/* =====================================================
   PROYECTOS
===================================================== */

.work-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 35px;
}

.work-card {
    text-align: center;
}

.work-image {
    overflow: hidden;
    border-radius: 8px;
}

.work-image img {
    aspect-ratio: 1/1;
    object-fit: cover;
    transition: 0.6s ease;
}

.work-image:hover img {
    transform: scale(1.08);
}

.play-btn {
    margin-top: 15px;
    padding: 10px 24px;
    border: 1px solid var(--accent);
    background: transparent;
    color: var(--accent);
    cursor: pointer;
    transition: 0.3s ease;
}

.play-btn:hover {
    background: var(--accent);
    color: #000;
}

.spotify-link {
    display: block;
    margin-top: 10px;
    font-size: 0.9rem;
    color: var(--muted);
    text-decoration: none;
}

.spotify-link:hover {
    color: var(--accent);
}

/* =====================================================
   CONTACTO
===================================================== */

.contact {
    text-align: center;
}

.contact p {
    max-width: 800px;
    margin: 0 auto 25px auto;
}

/* =====================================================
   FOOTER
===================================================== */

.footer {
    padding: 40px 0;
    border-top: 1px solid #1a1a1a;
    text-align: center;
    color: var(--muted);
}

/* =====================================================
   DIVISOR DE SECCIÓN
===================================================== */

.section-divider {
    width: 100%;
    height: 1px;
    margin: 50px 0;
    position: relative;
}

.section-divider::before {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(
        to right,
        rgba(201,169,110,0) 0%,
        rgba(201,169,110,0.3) 25%,
        rgba(201,169,110,0.8) 50%,
        rgba(201,169,110,0.3) 75%,
        rgba(201,169,110,0) 100%
    );
}

/* =====================================================
   EL ESTUDIO
===================================================== */

.studio {
    text-align: center;
}

.studio-sub {
    max-width: 800px;
    margin: 0 auto 60px auto;
    font-size: 1.1rem;
    color: var(--muted);
}

.studio-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 50px;
}

@media (max-width: 1400px) {
    .studio-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.studio-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.studio-card h3::after {
    content: "";
    display: block;
    width: 60px;
    height: 1px;
    background: var(--accent);
    margin: 12px auto 0 auto;
}

.studio-card ul {
    list-style: none;
    padding: 0;
}

.studio-card ul li {
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 0.95rem;
}

/* =====================================================
   ICONOS ESTUDIO
===================================================== */

.studio-icon {
    width: 60px;
    height: 60px;
    color: var(--accent);
    margin: 0 auto 30px auto;
    display: block;
}

/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 1100px) {

    .grid,
    .work-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1400px) {

    .studio-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {

    .studio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {

    .grid,
    .work-grid {
        grid-template-columns: 1fr;
    }

    .studio-grid {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 2.6rem;
        letter-spacing: 3px;
    }
}

/* =====================================================
   LINEA DORADA PARA TITULOS DE SECCION
===================================================== */

.section h2 {
    position: relative;
    padding-bottom: 20px;
}

.section h2::after {
    content: "";
    display: block;
    width: 120px;
    height: 1px;
    margin: 15px auto 0 auto;
    background: linear-gradient(
        to right,
        transparent,
        var(--accent),
        transparent
    );
}

/* =====================================================
   MOBILE MENU
===================================================== */

.menu-toggle {
    display: none;
    font-size: 1.8rem;
    color: var(--text);
    cursor: pointer;
}

/* Mobile */
@media (max-width: 900px) {

    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        right: 0;
        background: rgba(11,11,13,0.98);
        flex-direction: column;
        width: 100%;
        text-align: center;
        gap: 25px;
        padding: 30px 0;
        display: none;
    }

    .nav-links.active {
        display: flex;
    }
}
