/* ===========================
   LIKE GYM - STYLES
   =========================== */

/* --- RESET & BASE --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --yellow: #FFD200;
    --black: #000000;
    --gray-dark: #111111;
    --gray-medium: #1a1a1a;
    --gray-light: #2a2a2a;
    --white: #ffffff;
    --text-gray: #9ca3af;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: var(--black);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

::selection {
    background: var(--yellow);
    color: var(--black);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

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

/* --- TYPOGRAPHY --- */
h1,
h2,
h3,
h4 {
    font-family: 'Anton', sans-serif;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.text-yellow {
    color: var(--yellow);
}

.text-gradient {
    background: linear-gradient(135deg, var(--yellow) 0%, var(--white) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 15px rgba(255, 210, 0, 0.4);
}

/* --- NAVIGATION --- */
#navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 0.65rem 0;
    background: transparent;
    border-bottom: 1px solid transparent;
}

#navbar.scrolled {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(12px);
    padding: 0.4rem 0;
    border-bottom-color: var(--gray-light);
}

#navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    line-height: 0;
    flex-shrink: 0;
}

.logo-img {
    height: 72px;
    width: auto;
    max-width: none;
    display: block;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.logo:hover .logo-img {
    opacity: 0.9;
    transform: scale(1.02);
}

@media (max-width: 768px) {
    .logo-img {
        height: 56px;
    }
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link svg {
    width: 14px;
    height: 14px;
    stroke: var(--yellow);
}

.nav-link:hover {
    color: var(--yellow);
}

.btn-join {
    padding: 0.5rem 1.5rem;
    background: var(--yellow);
    color: var(--black);
    text-decoration: none;
    font-family: 'Anton', sans-serif;
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transform: skewX(-12deg);
    transition: all 0.3s;
    box-shadow: 0 0 15px rgba(255, 210, 0, 0.4);
}

.btn-join span {
    display: inline-block;
    transform: skewX(12deg);
}

.btn-join:hover {
    background: var(--white);
    transform: skewX(-12deg) scale(1.05);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    cursor: pointer;
}

.mobile-menu-btn svg {
    width: 28px;
    height: 28px;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--gray-dark);
    border-bottom: 2px solid var(--yellow);
    flex-direction: column;
    align-items: center;
    padding: 2.5rem 0;
    gap: 2rem;
}

.mobile-menu.active {
    display: flex;
}

.mobile-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: color 0.3s;
}

.mobile-link:hover,
.mobile-link.highlight {
    color: var(--yellow);
}

/* --- HERO --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
    padding-bottom: 5rem;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
    filter: grayscale(100%);
    mix-blend-mode: hard-light;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, var(--black), rgba(0, 0, 0, 0.8), transparent);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    padding-top: 5rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid var(--yellow);
    border-radius: 50px;
    padding: 0.25rem 1rem;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(12px);
    animation: pulse 2s ease-in-out infinite;
    margin-bottom: 1.5rem;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--yellow);
    border-radius: 50%;
}

.hero-badge span {
    color: var(--yellow);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.hero-title {
    font-size: clamp(3rem, 10vw, 7rem);
    line-height: 0.9;
    margin-bottom: 2rem;
    font-style: italic;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #e5e7eb;
    max-width: 600px;
    margin-bottom: 2.5rem;
    font-weight: 500;
    border-left: 4px solid var(--yellow);
    padding-left: 1.5rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--yellow);
    color: var(--black);
    padding: 1rem 2.5rem;
    text-decoration: none;
    font-family: 'Anton', sans-serif;
    font-size: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transform: skewX(-12deg);
    transition: all 0.3s;
    box-shadow: 0 0 20px rgba(255, 210, 0, 0.5);
}

.btn-primary span,
.btn-primary svg {
    transform: skewX(12deg);
}

.btn-primary svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s;
}

.btn-primary:hover {
    background: var(--white);
}

.btn-primary:hover svg {
    transform: skewX(12deg) translateX(4px);
}

/* --- ENERGIA SECTION --- */
.section-energia {
    padding: 6rem 0;
    background: var(--gray-dark);
    position: relative;
}

.energia-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.section-header svg {
    width: 32px;
    height: 32px;
    stroke: var(--yellow);
}

.section-header h2 {
    font-size: 3rem;
}

.energia-text {
    color: #d1d5db;
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.energia-text strong {
    color: var(--white);
}

.mision-vision {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mv-card {
    padding: 1.5rem;
    background: var(--gray-medium);
    border-left: 4px solid var(--yellow);
    border-radius: 0 8px 8px 0;
}

.mv-card h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.mv-card h4 svg {
    width: 18px;
    height: 18px;
    stroke: var(--yellow);
}

.mv-card p {
    font-size: 0.875rem;
    color: var(--text-gray);
}

.energia-image {
    position: relative;
}

.image-frame {
    position: relative;
    z-index: 10;
}

.image-frame::before {
    content: '';
    position: absolute;
    inset: -1rem;
    background: var(--yellow);
    z-index: -1;
}

.image-frame img {
    width: 100%;
    height: auto;
    filter: grayscale(100%) contrast(1.25);
}

.image-badge {
    position: absolute;
    bottom: -1.25rem;
    left: -1.25rem;
    background: var(--black);
    color: var(--yellow);
    padding: 0.75rem 1.5rem;
    border: 1px solid var(--yellow);
    font-family: 'Anton', sans-serif;
    font-size: 1.5rem;
    letter-spacing: 0.1em;
    z-index: 20;
}

/* --- INFRAESTRUCTURA SECTION --- */
.section-infra {
    padding: 5rem 0;
    background: var(--black);
    border-top: 1px solid var(--gray-light);
    border-bottom: 1px solid var(--gray-light);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.infra-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.infra-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 1.5rem;
    background: var(--gray-dark);
    border-radius: 4px;
    transition: background 0.3s;
}

.infra-card:hover {
    background: var(--gray-medium);
}

.infra-icon {
    width: 64px;
    height: 64px;
    background: var(--gray-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: all 0.3s;
}

.infra-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--yellow);
    transition: stroke 0.3s;
}

.infra-card:hover .infra-icon {
    background: var(--yellow);
}

.infra-card:hover .infra-icon svg {
    stroke: var(--black);
}

.infra-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.infra-card p {
    color: var(--text-gray);
    font-size: 0.875rem;
    text-align: center;
}

/* --- PROGRAMAS SECTION --- */
.section-programas {
    padding: 6rem 0;
    background: #0a0a0a;
}

.programas-header {
    margin-bottom: 4rem;
}

.programas-header h2 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin-bottom: 1rem;
}

.programas-header p {
    color: var(--text-gray);
    font-size: 1.125rem;
    max-width: 600px;
}

.programas-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.programa-card {
    position: relative;
    height: 320px;
    overflow: hidden;
    border: 1px solid var(--gray-light);
    transition: border-color 0.3s;
}

.programa-card:hover {
    border-color: var(--yellow);
}

.programa-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    opacity: 0.4;
    transition: all 0.7s;
}

.programa-card:hover img {
    transform: scale(1.1);
    opacity: 0.6;
}

.programa-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--black), rgba(0, 0, 0, 0.8), transparent);
}

.programa-content {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 2rem;
    width: 100%;
    z-index: 20;
}

.programa-icon {
    display: inline-flex;
    padding: 0.5rem;
    background: var(--yellow);
    color: var(--black);
    border-radius: 4px;
    margin-bottom: 0.75rem;
    transition: transform 0.3s;
}

.programa-card:hover .programa-icon {
    transform: scale(1.1);
}

.programa-icon svg {
    width: 32px;
    height: 32px;
}

.programa-content h3 {
    font-size: 1.875rem;
    font-style: italic;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
    transition: color 0.3s;
}

.programa-card:hover h3 {
    color: var(--yellow);
}

.programa-desc {
    color: var(--yellow);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 0.75rem;
}

.programa-full {
    color: #d1d5db;
    font-size: 0.875rem;
    max-width: 500px;
    opacity: 0;
    transform: translateY(1rem);
    transition: all 0.5s;
}

.programa-card:hover .programa-full {
    opacity: 1;
    transform: translateY(0);
}

.programa-number {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-family: 'Anton', sans-serif;
    font-size: 4rem;
    color: var(--gray-medium);
    pointer-events: none;
    user-select: none;
    transition: color 0.3s;
}

.programa-card:hover .programa-number {
    color: rgba(255, 210, 0, 0.2);
}

/* --- HISTORIA SECTION --- */
.section-historia {
    padding: 6rem 0;
    background: var(--black);
    text-align: center;
    border-top: 1px solid var(--gray-light);
}

.historia-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1.5rem;
    stroke: var(--yellow);
    fill: var(--yellow);
    animation: pulse 2s ease-in-out infinite;
}

.section-historia h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.historia-content {
    max-width: 800px;
    margin: 0 auto;
    color: #d1d5db;
    font-size: 1.125rem;
}

.historia-content p {
    margin-bottom: 1.5rem;
}

.historia-quote {
    font-style: italic;
    border-left: 2px solid var(--yellow);
    padding-left: 1rem;
    display: inline-block;
    color: var(--white);
}

/* --- FOOTER --- */
.footer {
    background: var(--gray-dark);
    padding: 5rem 0 2.5rem;
    border-top: 4px solid var(--yellow);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.footer-logo-img {
    height: 88px;
    width: auto;
    max-width: none;
    display: block;
}

.footer-about p {
    color: var(--text-gray);
}

.footer-location h4 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.footer-location ul {
    list-style: none;
}

.footer-location li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--text-gray);
    margin-bottom: 1rem;
}

.footer-location svg {
    width: 20px;
    height: 20px;
    stroke: var(--yellow);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.btn-cta {
    width: 100%;
    padding: 1rem 1.5rem;
    background: var(--yellow);
    color: var(--black);
    border: none;
    font-family: 'Anton', sans-serif;
    font-size: 1.125rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
}

.btn-cta:hover {
    background: var(--white);
}

.btn-cta svg {
    width: 20px;
    height: 20px;
}

.footer-copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-light);
    color: #6b7280;
    font-size: 0.875rem;
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {

    .energia-grid,
    .infra-grid,
    .programas-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-title {
        font-size: 3rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .programas-header h2 {
        font-size: 2rem;
    }

    .programa-card {
        height: 400px;
    }
}