/* STAR GYM - Global Styles & Design System */

/* --- Variables --- */
:root {
    --bg-dark: #121212;
    --bg-light: #1E1E1E;
    --accent-primary: #FF5722;
    --accent-secondary: #FFD700;
    --text-light: #FFFFFF;
    --text-muted: #CCCCCC;
    
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Poppins', sans-serif;
    
    --transition: all 0.3s ease;
}

/* --- CSS Reset --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-body);
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-weight: 700;
}

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

ul {
    list-style: none;
}

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

/* --- Layout utility classes --- */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section {
    padding: 80px 0;
}

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

/* --- Typography utilities --- */
.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.section-title span {
    color: var(--accent-primary);
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 3rem auto;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    text-transform: uppercase;
    font-family: var(--font-heading);
    letter-spacing: 1px;
}

.btn-primary {
    background-color: var(--accent-primary);
    color: #fff;
    border: 2px solid var(--accent-primary);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--accent-primary);
}

.btn-outline {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-outline:hover {
    background-color: #fff;
    color: var(--bg-dark);
}

/* --- Navbar (Glassmorphism & Sticky) --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: var(--transition);
    background: transparent;
}

.navbar.sticky {
    background: rgba(18, 18, 18, 0.9);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-light);
    letter-spacing: 1px;
}

.logo span {
    color: var(--accent-primary);
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links a {
    font-weight: 500;
    font-size: 1rem;
    position: relative;
}

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

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--accent-primary);
}

.menu-toggle {
    display: none;
    font-size: 2rem;
    cursor: pointer;
}

/* Mobile Navbar Styles */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100vh;
        background-color: var(--bg-light);
        flex-direction: column;
        padding-top: 80px;
        padding-left: 30px;
        transition: right 0.4s ease;
        box-shadow: -5px 0 15px rgba(0,0,0,0.5);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .menu-toggle {
        display: block;
        z-index: 1001;
    }
    
    .nav-cta {
        display: none;
    }
}
