/* ========================================
   STX POWERHOUSE - SHARED BASE + HEADER STYLES
   Shared across all pages
   ======================================== */

/* ========================================
   CSS VARIABLES
   ======================================== */
:root {
    /* Colors */
    --color-black: #000000;
    --color-gold: #d8a957;
    --color-white: #ffffff;
    --color-gray-900: #0a0a0a;
    --color-gray-800: #1a1a1a;
    --color-gray-700: #2a2a2a;
    --color-gray-600: #333333;
    --color-gray-500: #666666;
    --color-gray-400: #999999;
    --color-gray-300: #cccccc;
    --color-gray-200: #e5e5e5;
    --color-gray-100: #f5f5f5;

    /* Gold variants */
    --color-gold-light: #e5c27d;
    --color-gold-dark: #b88f42;

    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Font sizes */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    --text-6xl: 3.75rem;

    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;

    /* Transitions */
    --transition-fast: 150ms ease-in-out;
    --transition-base: 300ms ease-in-out;
    --transition-slow: 500ms ease-in-out;

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

    /* Border radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;

    /* Z-index */
    --z-base: 1;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal-backdrop: 400;
    --z-modal: 500;
}

/* ========================================
   RESET & BASE STYLES
   ======================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--color-gray-800);
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-base);
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul, ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.2;
    color: var(--color-black);
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

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

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    font-size: var(--text-base);
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    cursor: pointer;
    text-align: center;
    white-space: nowrap;
    text-decoration: none;
    border: none;
    font-family: var(--font-body);
}

.btn-primary {
    background-color: var(--color-gold);
    color: var(--color-black);
}

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

.btn-secondary {
    background-color: transparent;
    color: var(--color-white);
    border: 2px solid var(--color-white);
}

.btn-secondary:hover {
    background-color: var(--color-white);
    color: var(--color-black);
    transform: translateY(-2px);
}

.btn-lg {
    padding: var(--space-4) var(--space-8);
    font-size: var(--text-lg);
}

/* ========================================
   HEADER / NAVIGATION
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 300;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-image {
    height: 55px;
    width: auto;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: #ffffff;
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    transition: color 300ms ease-in-out;
    text-decoration: none;
}

.nav-link:hover,
.nav-link.active {
    color: #d8a957;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #d8a957;
    transform: scaleX(0);
    transition: transform 300ms ease-in-out;
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

.nav-cta {
    margin-left: 1rem;
}

.mobile-menu-toggle {
    display: none;
    color: #ffffff;
    font-size: 1.5rem;
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background-color: #000000;
    z-index: 301;
    transition: right 300ms ease-in-out;
    overflow-y: auto;
}

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

.mobile-menu-content {
    padding: 2rem;
}

.mobile-menu-close {
    color: #ffffff;
    font-size: 1.875rem;
    margin-bottom: 2rem;
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
    list-style: none;
    padding: 0;
}

.mobile-nav-link {
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 600;
    transition: color 300ms ease-in-out;
    text-decoration: none;
}

.mobile-nav-link:hover {
    color: #d8a957;
}

.mobile-menu-cta {
    width: 100%;
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background-color: #d8a957;
    width: 0%;
    z-index: 302;
    transition: width 0.1s ease-out;
}

/* ========================================
   RESPONSIVE - HEADER
   ======================================== */

/* Mobile */
@media (max-width: 767px) {
    .container {
        padding: 0 var(--space-4);
    }

    .header {
        padding: 0.75rem 0;
    }

    .logo {
        padding-left: 4px;
        padding-right: 4px;
    }

    .logo-image {
        height: 65px;
    }

    .nav {
        display: none;
    }

    .nav-cta {
        display: none;
    }

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

    .nav-wrapper {
        align-items: center;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .logo-image {
        height: 58px;
    }
}
