/* ============================================
   HYROX CLIFF - Hybrid Performance Community
   Dark Premium Fitness Aesthetic
   ============================================ */

:root {
    --black: #0a0a0a;
    --dark: #111111;
    --dark-2: #1a1a1a;
    --dark-3: #222222;
    --gold: #c8a96e;
    --gold-light: #d4bc8a;
    --white: #ffffff;
    --white-muted: #b0b0b0;
    --white-dim: #888888;
    --font-display: 'Bebas Neue', sans-serif;
    --font-body: 'Montserrat', sans-serif;
    --font-ui: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--black);
    color: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   NAVIGATION
   ============================================ */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: background 0.3s ease, backdrop-filter 0.3s ease;
    background: transparent;
}

.nav.scrolled {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(200, 169, 110, 0.1);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.nav-left, .nav-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    font-family: var(--font-ui);
    font-size: 13px;
    font-weight: 500;
    color: var(--white);
    text-decoration: none;
    padding: 8px 14px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: color 0.2s;
    background: none;
    border: none;
    cursor: pointer;
}

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

.nav-btn {
    font-family: var(--font-ui);
    font-size: 12px;
    font-weight: 600;
    color: var(--black);
    background: var(--gold);
    text-decoration: none;
    padding: 10px 24px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s;
}

.nav-btn:hover {
    background: var(--gold-light);
    transform: translateY(-1px);
}

.nav-logo {
    text-decoration: none;
}

.logo-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
}

.logo-hyrox {
    font-family: var(--font-ui);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 6px;
    color: var(--white);
}

.logo-cliff {
    font-family: var(--font-display);
    font-size: 32px;
    letter-spacing: 4px;
    color: var(--white);
    margin-top: -4px;
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 4px;
}

.arrow {
    font-size: 8px;
    transition: transform 0.2s;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--dark-2);
    border: 1px solid rgba(200, 169, 110, 0.15);
    min-width: 200px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.2s;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown:hover .arrow {
    transform: rotate(180deg);
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: var(--white-muted);
    text-decoration: none;
    font-family: var(--font-ui);
    font-size: 13px;
    font-weight: 400;
    transition: all 0.2s;
}

.dropdown-menu a:hover {
    color: var(--gold);
    background: rgba(200, 169, 110, 0.05);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
    display: none;
    flex-direction: column;
    background: var(--dark);
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s;
}

.mobile-menu.open {
    max-height: 400px;
    padding: 16px 24px 24px;
}

.mobile-link {
    font-family: var(--font-ui);
    font-size: 14px;
    font-weight: 500;
    color: var(--white);
    text-decoration: none;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-mobile {
    text-align: center;
    background: var(--gold);
    color: var(--black) !important;
    padding: 14px 0 !important;
    margin-top: 8px;
    border-bottom: none !important;
    font-weight: 700 !important;
}

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

.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.3) 0%,
        rgba(0,0,0,0.1) 40%,
        rgba(0,0,0,0.5) 70%,
        rgba(0,0,0,0.85) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px 80px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.hero-coords {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-family: var(--font-ui);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--white);
    opacity: 0.9;
}

.coords-dash {
    margin: 8px 0;
    color: var(--gold);
}

.coords-num {
    color: var(--gold);
    font-weight: 300;
}

.hero-title {
    text-align: right;
}

.hero-line-1, .hero-line-2 {
    display: block;
    font-family: var(--font-display);
    line-height: 0.9;
    letter-spacing: 3px;
}

.hero-line-1 {
    font-size: clamp(48px, 8vw, 100px);
    color: var(--white);
}

.hero-line-2 {
    font-size: clamp(64px, 12vw, 150px);
    color: var(--gold);
}

/* ============================================
   TAGLINE SECTION
   ============================================ */

.tagline-section {
    background: var(--dark);
    padding: 80px 0;
    text-align: center;
    border-top: 1px solid rgba(200, 169, 110, 0.1);
    border-bottom: 1px solid rgba(200, 169, 110, 0.1);
}

.tagline {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 48px);
    letter-spacing: 6px;
    margin-bottom: 40px;
}

.tagline-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-outline {
    font-family: var(--font-ui);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--white);
    text-decoration: none;
    padding: 14px 32px;
    border: 1px solid rgba(255,255,255,0.3);
    transition: all 0.3s;
}

.btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(200, 169, 110, 0.05);
}

/* ============================================
   COMMUNITY BANNER
   ============================================ */

.community-banner {
    position: relative;
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.community-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.community-bg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.community-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.55);
}

.community-text {
    position: relative;
    z-index: 2;
    text-align: center;
}

.community-title {
    font-family: var(--font-display);
    font-size: clamp(48px, 8vw, 96px);
    letter-spacing: 8px;
    line-height: 1;
    margin-bottom: 16px;
}

.community-subtitle {
    font-family: var(--font-body);
    font-size: clamp(16px, 2vw, 22px);
    font-weight: 300;
    letter-spacing: 2px;
    color: var(--white-muted);
}

/* ============================================
   APPROACH SECTION
   ============================================ */

.approach-section {
    background: var(--dark);
    padding: 100px 0;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 4vw, 48px);
    letter-spacing: 6px;
    text-align: center;
    margin-bottom: 60px;
}

.section-title.light {
    color: var(--white);
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.approach-card {
    background: var(--dark-2);
    border: 1px solid rgba(255,255,255,0.05);
    overflow: hidden;
    transition: all 0.4s;
    opacity: 0;
    transform: translateY(30px);
}

.approach-card.revealed {
    opacity: 1;
    transform: translateY(0);
}

.approach-card:hover {
    border-color: rgba(200, 169, 110, 0.2);
    transform: translateY(-4px);
}

.approach-image {
    height: 240px;
    overflow: hidden;
}

.approach-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

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

.approach-card h3 {
    font-family: var(--font-display);
    font-size: 22px;
    letter-spacing: 3px;
    padding: 24px 24px 12px;
    color: var(--gold);
}

.approach-card p {
    font-family: var(--font-ui);
    font-size: 14px;
    font-weight: 300;
    line-height: 1.7;
    color: var(--white-muted);
    padding: 0 24px 24px;
}

/* ============================================
   PROGRAMS SECTION
   ============================================ */

.programs-section {
    background: var(--black);
    padding: 100px 0;
}

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

.program-card {
    background: var(--dark-2);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 40px 28px;
    text-align: center;
    transition: all 0.4s;
    opacity: 0;
    transform: translateY(30px);
}

.program-card.revealed {
    opacity: 1;
    transform: translateY(0);
}

.program-card:hover {
    border-color: var(--gold);
    background: var(--dark-3);
}

.program-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 24px;
    color: var(--gold);
}

.program-icon svg {
    width: 100%;
    height: 100%;
}

.program-card h3 {
    font-family: var(--font-display);
    font-size: 20px;
    letter-spacing: 2px;
    margin-bottom: 16px;
    color: var(--white);
}

.program-card p {
    font-family: var(--font-ui);
    font-size: 13px;
    font-weight: 300;
    line-height: 1.7;
    color: var(--white-dim);
}

/* ============================================
   SHAKE BAR SECTION
   ============================================ */

.shakebar-section {
    background: var(--dark);
    border-top: 1px solid rgba(200, 169, 110, 0.1);
    border-bottom: 1px solid rgba(200, 169, 110, 0.1);
}

.shakebar-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 500px;
}

.shakebar-image {
    overflow: hidden;
}

.shakebar-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.shakebar-info {
    padding: 60px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.shakebar-info .section-title {
    text-align: left;
    margin-bottom: 16px;
    color: var(--gold);
}

.shakebar-desc {
    font-family: var(--font-ui);
    font-size: 15px;
    font-weight: 300;
    color: var(--white-muted);
    margin-bottom: 36px;
    line-height: 1.7;
}

.shakebar-menu {
    list-style: none;
}

.shakebar-menu li {
    display: flex;
    align-items: baseline;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.menu-item {
    font-family: var(--font-ui);
    font-size: 14px;
    font-weight: 500;
    color: var(--white);
    white-space: nowrap;
}

.menu-dots {
    flex: 1;
    border-bottom: 1px dotted rgba(255,255,255,0.2);
    margin: 0 12px;
    min-width: 20px;
}

.menu-price {
    font-family: var(--font-display);
    font-size: 20px;
    color: var(--gold);
    letter-spacing: 1px;
}

/* ============================================
   MEMBERSHIP SECTION
   ============================================ */

.membership-section {
    background: var(--black);
    padding: 100px 0;
}

.membership-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
}

.membership-card {
    background: var(--dark-2);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 48px 32px;
    text-align: center;
    transition: all 0.4s;
    opacity: 0;
    transform: translateY(30px);
}

.membership-card.revealed {
    opacity: 1;
    transform: translateY(0);
}

.membership-card.featured {
    border-color: var(--gold);
    position: relative;
    transform: scale(1.05);
}

.membership-card.featured.revealed {
    transform: scale(1.05);
}

.membership-badge {
    font-family: var(--font-display);
    font-size: 22px;
    letter-spacing: 4px;
    color: var(--gold);
    margin-bottom: 24px;
}

.membership-price {
    margin-bottom: 32px;
}

.price-amount {
    font-family: var(--font-display);
    font-size: 56px;
    letter-spacing: 2px;
    color: var(--white);
}

.price-currency {
    font-family: var(--font-ui);
    font-size: 16px;
    font-weight: 300;
    color: var(--white-dim);
    margin-left: 4px;
}

.membership-features {
    list-style: none;
    margin-bottom: 36px;
    text-align: left;
}

.membership-features li {
    font-family: var(--font-ui);
    font-size: 14px;
    font-weight: 300;
    color: var(--white-muted);
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    padding-left: 20px;
    position: relative;
}

.membership-features li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--gold);
}

.btn-membership {
    display: inline-block;
    font-family: var(--font-ui);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--black);
    background: var(--gold);
    padding: 14px 48px;
    transition: all 0.3s;
}

.btn-membership:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
}

/* ============================================
   QUOTE SECTION
   ============================================ */

.quote-section {
    background: var(--dark);
    padding: 120px 0;
    text-align: center;
    border-top: 1px solid rgba(200, 169, 110, 0.1);
}

.quote-text {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 52px);
    line-height: 1.3;
    letter-spacing: 4px;
    color: var(--white);
    max-width: 900px;
    margin: 0 auto;
}

/* ============================================
   SCHEDULE SECTION
   ============================================ */

.schedule-section {
    background: var(--black);
    padding: 100px 0;
}

.schedule-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.schedule-table {
    width: 100%;
    border-collapse: collapse;
    font-family: var(--font-ui);
    font-size: 13px;
    min-width: 600px;
}

.schedule-table th {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 11px;
    color: var(--gold);
    padding: 16px 12px;
    border-bottom: 2px solid var(--gold);
    text-align: center;
}

.schedule-table td {
    padding: 14px 12px;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    font-weight: 400;
    color: var(--white-muted);
}

.time-cell {
    font-weight: 600 !important;
    color: var(--white) !important;
    font-family: var(--font-display);
    font-size: 18px !important;
    letter-spacing: 1px;
}

.class-hyrox {
    color: var(--gold) !important;
    font-weight: 600 !important;
}

.class-func {
    color: #6ec8c8 !important;
    font-weight: 500 !important;
}

.class-team {
    color: #c86e6e !important;
    font-weight: 500 !important;
}

.class-open {
    color: var(--white-dim) !important;
    font-style: italic;
}

/* ============================================
   INSTAGRAM SECTION
   ============================================ */

.instagram-section {
    background: var(--dark-2);
    padding: 60px 0;
    border-top: 1px solid rgba(200, 169, 110, 0.1);
    border-bottom: 1px solid rgba(200, 169, 110, 0.1);
}

.instagram-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.instagram-title {
    font-family: var(--font-display);
    font-size: 32px;
    letter-spacing: 4px;
}

.instagram-handle {
    font-family: var(--font-ui);
    font-size: 14px;
    font-weight: 600;
    color: var(--black);
    background: var(--gold);
    text-decoration: none;
    padding: 12px 32px;
    letter-spacing: 1px;
    transition: all 0.3s;
}

.instagram-handle:hover {
    background: var(--gold-light);
    transform: translateY(-1px);
}

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

.footer {
    background: var(--black);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
}

.footer-logo .logo-hyrox {
    font-size: 10px;
    letter-spacing: 5px;
}

.footer-logo .logo-cliff {
    font-size: 28px;
    margin-top: -2px;
}

.footer-tagline {
    font-family: var(--font-ui);
    font-size: 11px;
    letter-spacing: 3px;
    color: var(--white-dim);
}

.footer-copy {
    font-family: var(--font-ui);
    font-size: 12px;
    color: var(--white-dim);
    margin-top: 16px;
}

.footer h3 {
    font-family: var(--font-display);
    font-size: 18px;
    letter-spacing: 3px;
    color: var(--gold);
    margin-bottom: 16px;
}

.footer-location a {
    font-family: var(--font-ui);
    font-size: 14px;
    font-weight: 300;
    color: var(--white-muted);
    text-decoration: none;
    line-height: 1.7;
    transition: color 0.2s;
}

.footer-location a:hover {
    color: var(--gold);
}

.footer-hours p {
    font-family: var(--font-ui);
    font-size: 14px;
    font-weight: 300;
    color: var(--white-muted);
    line-height: 1.7;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255,255,255,0.15);
    color: var(--white);
    transition: all 0.3s;
}

.social-links a:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(200, 169, 110, 0.05);
}

.social-links svg {
    width: 18px;
    height: 18px;
}

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

@media (max-width: 1024px) {
    .programs-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

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

    .hamburger {
        display: flex;
    }

    .mobile-menu {
        display: flex;
    }

    .hero-content {
        flex-direction: column;
        gap: 32px;
        padding-bottom: 60px;
        align-items: flex-start;
    }

    .hero-title {
        text-align: left;
    }

    .approach-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

    .shakebar-content {
        grid-template-columns: 1fr;
    }

    .shakebar-image {
        height: 300px;
    }

    .shakebar-info {
        padding: 40px 24px;
    }

    .membership-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .membership-card.featured {
        transform: none;
    }

    .membership-card.featured.revealed {
        transform: none;
    }

    .tagline-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-outline {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

    .instagram-row {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .schedule-table {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .hero-line-1 {
        font-size: 40px;
    }

    .hero-line-2 {
        font-size: 56px;
    }

    .quote-text {
        font-size: 24px;
        letter-spacing: 2px;
    }
}
