/* Global Variables */
:root {
    --bg-primary: #f8fafc;
    --bg-secondary: #ffffff;
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --accent-primary: #3b82f6;
    --accent-secondary: #2563eb;
    --accent-gradient: linear-gradient(135deg, #3b82f6, #2563eb);
    --success: #22c55e;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
}

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

/* Add smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Section spacing */
.section {
    padding: 4rem 0;
}

/* Header & Navigation */
header {
    background: var(--bg-secondary);
    box-shadow: var(--shadow-sm);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 4rem;
}

#branding h1 {
    font-size: 1.5rem;
    font-weight: 700;
}

#branding .highlight {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Toggle button for mobile */
.toggle-nav {
    display: none;
}

@media (max-width: 768px) {
    nav ul {
        display: none; /* Hide default nav on mobile */
    }

    .toggle-nav {
        display: block;
        cursor: pointer;
    }

    .nav-active nav ul {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
}

nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
}

nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    padding: 0.5rem 0;
    position: relative;
}

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

nav a:hover::after,
.current a::after {
    width: 100%;
}

/* Footer */
footer {
    background: var(--bg-secondary);
    padding: 4rem 0;
    margin-top: 4rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-section h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

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

.social-link {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

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

.copyright {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Header/Footer Mobile Responsiveness */
@media (max-width: 768px) {
    nav ul {
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    header .container {
        flex-direction: column;
        height: auto;
        padding: 1rem;
    }

    nav ul {
        margin-top: 1rem;
    }
}