/* === Sydney Su - Shared Dark Theme Styles === */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

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

:root {
    --site-max-width: 1200px;
    --site-gutter: 2rem;
}

/* Body Styling */
body {
    font-family: 'Inter', sans-serif;
    background-color: #111827; /* Dark Gray Background */
    color: #d1d5db; /* Gray-300 text */
    min-height: 100vh;
    padding-top: 76px;
}

/* Navigation Styles */
nav {
    background-color: rgba(17, 24, 39, 0.75);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(55, 65, 81, 0.5);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

nav.scrolled {
    background-color: rgba(17, 24, 39, 0.92);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.nav-container {
    width: min(var(--site-max-width), calc(100% - (2 * var(--site-gutter))));
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    letter-spacing: -0.01em;
    transition: color 0.2s ease;
}

.nav-brand:hover {
    color: #10b981;
}

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

.nav-links a {
    color: #9ca3af;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0;
    height: 2px;
    background-color: #10b981;
    transition: width 0.2s ease;
}

.nav-links a:hover {
    color: #ffffff;
}

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

.nav-links a.active {
    color: #10b981;
    font-weight: 600;
}

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

/* Container */
.site-container {
    width: min(var(--site-max-width), calc(100% - (2 * var(--site-gutter))));
    margin: 0 auto;
}

/* Page Content */
.page-content {
    padding: 2rem 0;
}

/* Headings */
h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #10b981; /* Emerald-500 */
    padding-bottom: 0.5rem;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1rem;
}

h4 {
    font-size: 1.125rem;
    font-weight: 500;
    color: #d1d5db;
    margin-bottom: 1rem;
    line-height: 1.7;
}

/* Paragraphs */
p {
    line-height: 1.6;
    margin-bottom: 1rem;
    color: #d1d5db;
}

/* Cards */
.card {
    background-color: #1f2937; /* Gray-800 */
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    margin: 0.5rem;
    background-color: #10b981; /* Emerald-500 */
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.btn:hover {
    background-color: #059669; /* Emerald-600 */
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: #374151; /* Gray-700 */
    color: #d1d5db;
}

.btn-secondary:hover {
    background-color: #4b5563; /* Gray-600 */
}

/* Grid Layout */
.grid {
    display: grid;
    gap: 1.5rem;
}

.grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

/* Buttons Container */
.buttons-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin: 2rem 0;
}

/* Content Sections */
.content-section {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 2rem 0;
}

/* Links */
a {
    color: #10b981; /* Emerald-500 */
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #059669; /* Emerald-600 */
}

/* Responsive Design */
@media (max-width: 768px) {
    :root {
        --site-gutter: 1rem;
    }

    .nav-container {
        flex-direction: column;
        gap: 0.75rem;
        padding: 0.25rem 0 0.5rem;
    }
    
    .nav-links {
        gap: 1.25rem;
    }
    
    .site-container {
        width: min(var(--site-max-width), calc(100% - (2 * var(--site-gutter))));
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .grid-cols-2,
    .grid-cols-3 {
        grid-template-columns: 1fr;
    }
    
    .buttons-container {
        flex-direction: column;
        align-items: center;
    }
} 