/* =========================
   HORUS GYM – TEMA GLOBAL
   ========================= */

:root {
    /* Colores base */
    --black-abyss: #000000;
    --carbon-shadow: #1A1A1A;
    --steel-gray: #8A8A8A;
    --white-pure: #FFFFFF;

    /* Horus Brand */
    --power-red: #FF2B2B;
    --blood-red: #B0141E;
    --electric-orange: #FF8A00;

    /* Tipografías */
    --font-display: 'Raleway', sans-serif;
    --font-body: 'Raleway', sans-serif;

    /* Radios */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;

    /* Espaciado */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;

    /* Sombra */
    --shadow-soft: 0 2px 16px rgba(0, 0, 0, 0.45);
}

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

html,
body {
    width: 100%;
    height: 100%;
}

body {
    font-family: var(--font-body);
    background: radial-gradient(circle at top, #151515 0, #000000 55%);
    color: var(--white-pure);
    -webkit-font-smoothing: antialiased;
}

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

.hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: calc(70px + var(--space-md)) var(--space-md) var(--space-lg);
    overflow: hidden;
}

/* Fondo animado sutil */
.particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 43, 43, 0.18), transparent 70%);
    filter: blur(2px);
    animation: float 18s infinite alternate;
}

.particle:nth-child(1) { top: -40px; left: -60px; }
.particle:nth-child(2) { top: 10%; right: -80px; animation-delay: 2s; }
.particle:nth-child(3) { bottom: -80px; left: 20%; animation-delay: 4s; }
.particle:nth-child(4) { bottom: 10%; right: 10%; animation-delay: 6s; }
.particle:nth-child(5) { top: 40%; left: 50%; animation-delay: 8s; }

@keyframes float {
    from { transform: translate3d(0, 0, 0); opacity: 0.7; }
    to { transform: translate3d(20px, -30px, 0); opacity: 0.4; }
}

/* Contenido hero */
.hero {
    position: relative;
    min-height: 45vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: calc(70px + 0.5rem) 1rem 1.2rem;
    animation: fadeHero 0.6s ease forwards;
    opacity: 0;
}
@keyframes fadeHero {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hero-content {
    max-width: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
}

.hero-logo-clean {
    width: 95px;
    height: auto;
    filter: drop-shadow(0 0 15px rgba(255,255,255,0.25));
    margin-bottom: 0.4rem;
}

.hero-title {
    font-size: clamp(1.9rem, 4vw, 2.4rem);
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--steel-gray);
    max-width: 420px;
}
.hero-actions {
    margin-top: 1.6rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.9rem;
}

/* FIN HERO */


/* =========================
   SECCIONES
   ========================= */

section {
    padding: var(--space-xl) var(--space-md);
}

.features,
.gallery,
.contact {
    max-width: 1100px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.section-header h2 {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
}

.section-header p {
    font-family: var(--font-display);
    color: var(--steel-gray);
}

/* Features */

.features {
    margin-top: -40px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--space-md);
}

.feature-card {
    background: var(--carbon-shadow);
    border-radius: var(--radius-lg);
    padding: var(--space-lg) var(--space-md);
    box-shadow: var(--shadow-soft);
    text-align: center;
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 999px;
    background: rgba(255, 43, 43, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-sm);
    color: var(--power-red);
    font-size: 1.2rem;
}

.feature-title {
    font-size: 1.05rem;
    margin-bottom: 0.4rem;
}

.feature-description {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--steel-gray);
}

/* Gallery */

.gallery-title {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.gallery-subtitle {
    text-align: center;
    font-family: var(--font-display);
    color: var(--steel-gray);
    margin-bottom: var(--space-lg);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: var(--space-md);
}

.gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.gallery-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
    transition: transform 0.3s ease, filter 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.06);
    filter: brightness(1.1);
}

/* Contacto */

.contact-title {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 0.4rem;
}

.contact-subtitle {
    text-align: center;
    font-family: var(--font-display);
    color: var(--steel-gray);
    margin-bottom: var(--space-lg);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--space-md);
}

.contact-card {
    background: var(--carbon-shadow);
    border-radius: var(--radius-lg);
    padding: var(--space-lg) var(--space-md);
    box-shadow: var(--shadow-soft);
    text-align: center;
}

.contact-icon {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-sm);
    color: var(--white-pure);
}

.contact-label {
    font-size: 1rem;
    margin-bottom: 0.4rem;
}

.contact-info {
    font-family: var(--font-body);
    font-size: 0.9rem;
}

.contact-info-small {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: var(--steel-gray);
}

.contact-link,
.contact-map-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 0.4rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--power-red);
    text-decoration: none;
}

.contact-link:hover,
.contact-map-link:hover {
    color: var(--blood-red);
}

/* =========================
   Animaciones de scroll
   ========================= */

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================
   SIDEBAR
   ========================= */
.hg-topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.hg-topbar-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0.6rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.hg-topbar-left {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.topbar-logo {
    width: 34px;
    height: auto;
}

.topbar-name {
    font-size: 0.9rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hg-topbar-nav {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
}

.hg-topbar-nav a {
    color: var(--steel-gray);
    text-decoration: none;
    font-family: var(--font-body);
}

.hg-topbar-nav a:hover {
    color: var(--white-pure);
}

.hg-topbar-right {
    display: flex;
    align-items: center;
}

.topbar-login-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--white-pure);
    background: var(--power-red);
    text-decoration: none;
}

.topbar-login-btn:hover {
    background: var(--blood-red);
}

/* =========================
   CARROUSEL
   ========================= */
.installations-strip {
    max-width: 1100px;
    margin: 0 auto;
    padding: 3rem 0;
    /* padding-top: var(--space-sm);
    padding-bottom: var(--space-xl); */
}

.strip-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255,255,255,0.06);
    background: #050505;
    margin-top: var(--space-md);
}

.strip-track {
    display: flex;
    width: max-content;
    animation: strip-scroll 35s linear infinite;
}

.strip-item {
    min-width: 260px;
    max-width: 320px;
    height: 190px;
    overflow: hidden;
}

.strip-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(1.08);
}

@keyframes strip-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); } /* se ajusta al duplicar imágenes */
}


/* BOTÓN HORUS — base */
.btn-horus {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;

    padding: 0.85rem 1.8rem;
    border-radius: 999px;
    border: none;

    background: var(--power-red);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;          /* importante para <a> */
    cursor: pointer;

    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.85);
    transition: all 0.22s ease;
    isolation: isolate;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

/* brillo/shimmer */
.btn-horus::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(
        120deg,
        rgba(255, 255, 255, 0.0) 0%,
        rgba(255, 255, 255, 0.15) 45%,
        rgba(255, 255, 255, 0.0) 80%
    );
    transform: translateX(-120%);
    transition: transform 0.6s ease;
    mix-blend-mode: soft-light;
    pointer-events: none;
    z-index: 0;
}

.btn-horus:hover::before {
    transform: translateX(0%);
}

.btn-horus:hover {
    background: var(--power-red-dark);
    transform: translateY(-2px) scale(1.015);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.9);
}

.btn-horus:active {
    transform: translateY(1px) scale(0.98);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.8);
}

.btn-horus:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.7);
    outline-offset: 3px;
}

.btn-horus > * {
    position: relative;
    z-index: 1;
}

/* Variante oscura (secundaria) */
.btn-horus-dark {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.8);
}

.btn-horus-dark:hover {
    background: rgba(255, 255, 255, 0.11);
    border-color: rgba(255, 255, 255, 0.2);
}


/* =========================
   TOPBAR
   ========================= */
.login-topbar {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.9);
    position: relative;
}

/* brillo inferior */
.login-topbar::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
    opacity: 0.6;
}


/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 768px) {
    .hg-topbar-nav {
        display: none;
    }
    .hero {
        min-height: 75vh; /* un poco más alto en celus */
        padding-top: calc(64px + var(--space-md));
        padding-bottom: var(--space-lg);
    }
}
/* =========================
   HERO
   ========================= */

/* Tablets / pantallas medianas */
@media (max-width: 480px) {
    .hero-content {
        margin-top: 1.4rem;
        margin-bottom: 1.2rem;
    }

    .hero-logo {
        margin-bottom: 0.8rem;
        transform: scale(0.9);
    }

    .hero-title {
        font-size: 1.9rem;
        letter-spacing: 0.14em;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.4rem;
    }
}

@media (max-width: 992px) {
    .hero {
        min-height: 50vh;
        padding: calc(70px + 0.5rem) 1.2rem 1.8rem;
    }

    .hero-content {
        max-width: 520px;
        gap: 0.8rem;
    }

    .hero-logo-clean {
        width: 72px;
    }

    .hero-title {
        font-size: 1.9rem;  /* Raleway se ve prolijo en este tamaño */
        letter-spacing: 0.18em;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }
}

/* Celulares */
@media (max-width: 768px) {
    .hero {
        min-height: 55vh;
        padding: calc(64px + 0.5rem) 1rem 1.5rem;
    }

    .hero-content {
        max-width: 100%;
        gap: 0.7rem;
    }

    .hero-title {
        font-size: 1.7rem;
        letter-spacing: 0.16em;
    }

    .hero-subtitle {
        max-width: 90%;
        margin-inline: auto;
        font-size: 0.9rem;
    }
}
/* BOTONES HERO EN MOBILE */
@media (max-width: 600px) {
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 0.6rem;
    }
    .btn-horus {
        width: 100%;
        justify-content: center;
    }
}
/* =========================
   SIDEBAR
   ========================= */
   @media (max-width: 768px) {
    .hg-topbar-inner {
        padding: 0.5rem 0.9rem;
    }

    .topbar-logo {
        width: 32px;
    }

    .topbar-name {
        font-size: 0.8rem;
        letter-spacing: 0.14em;
    }

    /* ocultar nav central en celus (si no lo tenés ya) */
    .hg-topbar-nav {
        display: none;
    }
}
/* PADDING UNIFORME ENTRE SECCIONES */
.installations-strip,
.features,
.contact {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

/* Cards en 1 columna en celulares */
@media (max-width: 768px) {
    .features-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .feature-card,
    .contact-card {
        max-width: 100%;
    }
}
