/* ============================================
   PEAK HUNTER - Custom Styles
   Trail Running Club Landing Page
   ============================================ */

/* Custom Properties */
:root {
    --color-primary: #FFD700;
    --color-primary-dark: #E5C200;
    --color-secondary: #4A6741;
    --color-secondary-light: #5a7d50;
    --color-accent: #0F172A;
    --color-background: #F9FAFB;
    --color-white: #FFFFFF;
    --color-gray-100: #F3F4F6;
    --color-gray-200: #E5E7EB;
    --color-gray-300: #D1D5DB;
    --color-gray-400: #9CA3AF;
    --color-gray-500: #6B7280;
    --color-gray-600: #4B5563;
    --color-gray-700: #374151;
    --color-gray-800: #1F2937;
    --color-gray-900: #111827;

    --font-display: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;

    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

    --transition-fast: 150ms ease;
    --transition-normal: 300ms ease;
    --transition-slow: 500ms ease;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

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

/* Skip Link (Accessibility) */
.skip-link {
    position: absolute;
    top: -40px;
    left: 1rem;
    background: var(--color-primary);
    color: var(--color-accent);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    z-index: 2000;
    transition: top var(--transition-fast);
}

.skip-link:focus {
    top: 1rem;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--color-gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--color-secondary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-secondary-light);
}

/* Selection */
::selection {
    background: var(--color-primary);
    color: var(--color-accent);
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 2rem;
    transition: all var(--transition-normal);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-md);
    padding: 0.75rem 2rem;
}

.navbar-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-logo {
    height: 50px;
    transition: transform var(--transition-fast);
}

.navbar-logo:hover {
    transform: scale(1.02);
}

.navbar.scrolled .navbar-logo {
    height: 40px;
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--color-white);
    text-decoration: none;
    position: relative;
    padding: 0.5rem 0;
    transition: color var(--transition-fast);
}

.navbar.scrolled .nav-link {
    color: var(--color-accent);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width var(--transition-normal);
}

.nav-link:hover::after {
    width: 100%;
}

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

.lang-switch {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    color: var(--color-white);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.navbar.scrolled .lang-switch {
    background: var(--color-gray-100);
    border-color: var(--color-gray-200);
    color: var(--color-accent);
}

.lang-switch:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.05);
}

.navbar.scrolled .lang-switch:hover {
    background: var(--color-gray-200);
}

.nav-cta {
    padding: 0.75rem 1.5rem;
    background: var(--color-primary);
    color: var(--color-accent);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    border-radius: 50px;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-md);
}

.nav-cta:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Mobile Menu */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-toggle span {
    width: 25px;
    height: 2px;
    background: var(--color-white);
    transition: all var(--transition-fast);
}

.navbar.scrolled .mobile-toggle span {
    background: var(--color-accent);
}

.navbar.scrolled .mobile-toggle.active span {
    background: var(--color-white);
}

.mobile-toggle.active span {
    background: var(--color-white);
}

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

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

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

.mobile-toggle.active span {
    background: var(--color-white);
}

@media (max-width: 968px) {
    .mobile-toggle {
        display: flex;
    }

    .navbar-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: var(--color-accent);
        flex-direction: column;
        justify-content: center;
        gap: 2.5rem;
        padding: 2rem;
        transition: right var(--transition-normal);
        box-shadow: var(--shadow-xl);
    }

    .navbar-menu.active {
        right: 0;
    }

    .navbar-menu .nav-link {
        color: var(--color-white);
        font-size: 1.25rem;
    }

    .navbar-menu .lang-switch {
        background: rgba(255, 255, 255, 0.15);
        border-color: rgba(255, 255, 255, 0.3);
        color: var(--color-white);
    }

    .navbar.scrolled .navbar-menu .nav-link {
        color: var(--color-white);
    }

    .navbar.scrolled .navbar-menu .lang-switch {
        background: rgba(255, 255, 255, 0.15);
        border-color: rgba(255, 255, 255, 0.3);
        color: var(--color-white);
    }

    .navbar.scrolled .navbar-menu .lang-switch:hover {
        background: rgba(255, 255, 255, 0.25);
    }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(15, 23, 42, 0.85) 0%,
            rgba(74, 103, 65, 0.7) 50%,
            rgba(15, 23, 42, 0.9) 100%);
    z-index: -1;
}

.hero-content {
    text-align: center;
    padding: 2rem;
    max-width: 900px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: rgba(255, 215, 0, 0.15);
    border: 1px solid rgba(255, 215, 0, 0.4);
    border-radius: 50px;
    color: var(--color-primary);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

.hero-title {
    font-size: clamp(3rem, 10vw, 7rem);
    color: var(--color-white);
    letter-spacing: -2px;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

.hero-logotype {
    max-width: 600px;
    width: 90%;
    height: auto;
    filter: brightness(0) invert(1);
    transition: transform var(--transition-normal);
}

.hero-logotype:hover {
    transform: scale(1.02);
}

.hero-subtitle {
    font-size: clamp(1.25rem, 3vw, 2rem);
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
    margin-bottom: 0.75rem;
    animation: fadeInUp 0.8s ease 0.4s forwards;
    opacity: 0;
}

.hero-tagline {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    animation: fadeInUp 0.8s ease 0.6s forwards;
    opacity: 0;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 2.5rem;
    background: var(--color-primary);
    color: var(--color-accent);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    border-radius: 60px;
    transition: all var(--transition-fast);
    box-shadow: 0 10px 40px rgba(255, 215, 0, 0.3);
    animation: fadeInUp 0.8s ease 0.8s forwards;
    opacity: 0;
}

.hero-cta:hover {
    background: var(--color-primary-dark);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 50px rgba(255, 215, 0, 0.4);
}

.hero-cta svg {
    width: 20px;
    height: 20px;
    transition: transform var(--transition-fast);
}

.hero-cta:hover svg {
    transform: translateX(4px);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    text-decoration: none;
    animation: bounce 2s infinite;
}

.scroll-indicator svg {
    width: 24px;
    height: 24px;
}

/* ============================================
   SECTIONS COMMON
   ============================================ */
.section {
    padding: 6rem 2rem;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-subtitle {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(74, 103, 65, 0.1);
    color: var(--color-secondary);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 50px;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--color-accent);
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.1rem;
    color: var(--color-gray-600);
    line-height: 1.8;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
    background: var(--color-white);
}

.about-container {
    max-width: 1400px;
    margin: 0 auto;
}

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

.about-image-wrapper {
    position: relative;
}

.about-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
}

.about-image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    background: var(--color-primary);
    border-radius: 20px;
    z-index: -1;
}

.about-content {
    padding: 2rem 0;
}

.about-content .section-subtitle {
    text-align: left;
}

.about-content .section-title {
    text-align: left;
    margin-bottom: 1.5rem;
}

.about-text {
    margin-bottom: 2rem;
}

.about-text p {
    font-size: 1.05rem;
    color: var(--color-gray-600);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.about-stats {
    display: flex;
    gap: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-gray-200);
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-secondary);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--color-gray-500);
    margin-top: 0.5rem;
}

@media (max-width: 968px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-image {
        height: 350px;
    }

    .about-image-accent {
        width: 150px;
        height: 150px;
        bottom: -15px;
        right: -15px;
    }

    .about-stats {
        justify-content: center;
    }
}

/* ============================================
   PLANNING SECTION
   ============================================ */
.planning {
    background: linear-gradient(180deg, var(--color-background) 0%, var(--color-white) 100%);
}

.planning-container {
    max-width: 1000px;
    margin: 0 auto;
}

.planning-table {
    background: var(--color-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.planning-header {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--color-secondary);
    padding: 1.25rem 2rem;
}

.planning-header span {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.planning-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 1.25rem 2rem;
    border-bottom: 1px solid var(--color-gray-100);
    transition: background var(--transition-fast);
}

.planning-row:last-child {
    border-bottom: none;
}

.planning-row:hover {
    background: var(--color-gray-50);
}

.planning-row span {
    font-size: 1rem;
    color: var(--color-gray-700);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.planning-row .day {
    font-weight: 600;
    color: var(--color-accent);
}

.planning-row .type {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.type-badge {
    padding: 0.25rem 0.75rem;
    background: var(--color-gray-100);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
}

.type-badge.trail {
    background: rgba(74, 103, 65, 0.15);
    color: var(--color-secondary);
}

.type-badge.road {
    background: rgba(15, 23, 42, 0.1);
    color: var(--color-accent);
}

.type-badge.hills {
    background: rgba(255, 215, 0, 0.2);
    color: var(--color-gray-700);
}

.type-badge.mixed {
    background: rgba(139, 69, 19, 0.15);
    color: #8B4513;
}

.planning-loading,
.planning-error,
.planning-empty {
    padding: 3rem;
    text-align: center;
    color: var(--color-gray-500);
}

.planning-error {
    color: #DC2626;
}

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

    .planning-row {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        padding: 1.5rem;
    }

    .planning-row span::before {
        content: attr(data-label);
        font-weight: 600;
        color: var(--color-gray-400);
        font-size: 0.75rem;
        text-transform: uppercase;
        display: block;
        margin-bottom: 0.25rem;
    }
}

/* ============================================
   GALLERY SECTION
   ============================================ */
.gallery {
    background: var(--color-white);
    overflow: hidden;
}

.gallery-container {
    max-width: 1400px;
    margin: 0 auto;
}

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

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    cursor: pointer;
    transition: transform var(--transition-normal);
}

.gallery-item:hover {
    transform: scale(1.02);
}

/* Masonry-like effect with varying heights */
.gallery-item:nth-child(1) {
    grid-row: span 2;
}

.gallery-item:nth-child(4) {
    grid-row: span 2;
}

.gallery-item:nth-child(6) {
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(15, 23, 42, 0.8) 0%,
            rgba(15, 23, 42, 0) 60%);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    color: var(--color-white);
    font-size: 0.95rem;
}

.gallery-loading,
.gallery-error {
    grid-column: 1 / -1;
    padding: 3rem;
    text-align: center;
    color: var(--color-gray-500);
}

@media (max-width: 968px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .gallery-item,
    .gallery-item:nth-child(1),
    .gallery-item:nth-child(4),
    .gallery-item:nth-child(6) {
        grid-row: span 1;
    }

    .gallery-item:nth-child(odd) {
        grid-row: span 2;
    }
}

@media (max-width: 576px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item,
    .gallery-item:nth-child(odd) {
        grid-row: span 1;
    }

    .gallery-item {
        height: 250px;
    }
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq {
    background: linear-gradient(180deg, var(--color-white) 0%, var(--color-background) 100%);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--color-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: box-shadow var(--transition-fast);
}

.faq-item:hover {
    box-shadow: var(--shadow-lg);
}

.faq-question {
    width: 100%;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--color-accent);
    transition: all var(--transition-fast);
}

.faq-question:hover {
    color: var(--color-secondary);
}

.faq-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    transition: transform var(--transition-normal);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal), padding var(--transition-normal);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-content {
    padding: 0 2rem 1.5rem;
    font-size: 1rem;
    color: var(--color-gray-600);
    line-height: 1.8;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--color-accent);
    color: var(--color-white);
    padding: 4rem 2rem 2rem;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

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

.footer-brand .footer-logo {
    height: 50px;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
}

.footer-tagline {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--color-white);
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    background: var(--color-primary);
    color: var(--color-accent);
    transform: translateY(-3px);
}

.footer-title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    color: var(--color-primary);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-primary);
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.footer-contact svg {
    width: 18px;
    height: 18px;
    color: var(--color-primary);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copyright {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-made {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.footer-made .heart {
    color: #EF4444;
}

.footer-made .mountain {
    color: var(--color-secondary);
}

@media (max-width: 968px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: 1 / -1;
        text-align: center;
    }

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

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Scroll Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   UTILITIES
   ============================================ */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Loading Spinner */
.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--color-gray-200);
    border-top-color: var(--color-secondary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 2rem auto;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ============================================
   COMPONENTS PAGE (REFERENCE)
   ============================================ */
.components-page {
    padding: 6rem 1.5rem 4rem;
    background: var(--color-background);
}

.components-header {
    max-width: 900px;
    margin: 0 auto 3rem;
    text-align: center;
}

.components-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    gap: 2rem;
}

.components-card {
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}

.components-card h3 {
    margin-bottom: 1rem;
}

.components-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.components-note {
    font-size: 0.9rem;
    color: var(--color-gray-600);
}