/* Color Palette:
   - Dark: #222831
   - Medium Dark: #393E46
   - Cyan: #00ADB5
   - Light: #EEEEEE
*/

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: #222831;
    background-color: #EEEEEE;
}

/* Header Styles */
.site-header {
    background: #393E46;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 3px solid #00ADB5;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.5rem;
    color: #EEEEEE;
    font-weight: 700;
}

.logo a {
    text-decoration: none;
    color: inherit;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.user-info {
    color: #00ADB5;
    font-size: 0.9rem;
    font-weight: 500;
}

.sign-out-link, .sign-in-link {
    padding: 0.5rem 1.5rem;
    background: #00ADB5;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.2s;
}

.sign-out-link:hover, .sign-in-link:hover {
    background: #393E46;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 173, 181, 0.3);
}

/* Navigation Styles */
.site-nav {
    background: #222831;
}

.nav-list {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    list-style: none;
    display: flex;
    gap: 0;
}

.nav-item {
    margin: 0;
}

.nav-link {
    display: block;
    padding: 1rem 1.5rem;
    color: white;
    text-decoration: none;
    transition: all 0.2s;
    font-weight: 500;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.15);
}

.nav-link.active {
    background: #00ADB5;
    font-weight: 600;
}

/* Main Content */
.main-content {
    min-height: calc(100vh - 300px);
}

/* Footer Styles */
.site-footer {
    background: #222831;
    color: white;
    margin-top: 4rem;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-content p {
    margin-bottom: 0.5rem;
}

.footer-description {
    color: #00ADB5;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #00ADB5;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-list {
        flex-direction: column;
        padding: 0;
    }

    .footer-container {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

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