:root {
    --primary-color: #1a1a1a;
    /* Dark Charcoal */
    --accent-color: #ffffff;
    /* Pure White */
    --bg-color: #121212;
    /* Near Black */
    --text-color: #ffffff;
    --header-height: 60px;
    --font-family: 'Helvetica Neue', Arial, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-family);
    background: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

.site-header {
    background: var(--primary-color);
    color: var(--accent-color);
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #333;
}

.site-header h1 {
    font-size: 1.5rem;
    white-space: nowrap;
    margin-right: 15px;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1100;
}

.menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: var(--accent-color);
    border-radius: 10px;
    transition: all 0.3s linear;
}

#site-nav {
    display: flex;
}

#site-nav a {
    color: var(--accent-color);
    margin-left: 1.5rem;
    text-decoration: none;
    transition: opacity 0.3s;
    font-weight: 500;
}

#user-welcome {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-right: 1.5rem;
}

#site-nav a:hover {
    opacity: 0.7;
}

.hero {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    background: var(--bg-color);
}

.hero-content {
    max-width: 500px;
    margin-right: 2rem;
}

.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.hero-content p {
    margin-bottom: 1.5rem;
    color: #ccc;
}

#cta-button,
.btn-primary,
.nav-button {
    background: var(--accent-color);
    color: var(--primary-color) !important;
    border: none;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.3s;
    text-decoration: none !important;
    display: inline-block;
}

#cta-button:hover,
.btn-primary:hover,
.nav-button:hover {
    background: #eeeeee;
    transform: translateY(-2px);
}

.hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    border: 1px solid #333;
}

.site-footer {
    text-align: center;
    padding: 2rem;
    background: var(--primary-color);
    color: var(--accent-color);
    border-top: 1px solid #333;
}

/* Login/Contact Containers */
.login-container,
.contact-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - var(--header-height) - 100px);
    padding: 2rem;
}

.login-card,
.contact-card {
    background: #1e1e1e;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    width: 100%;
    max-width: 450px;
    text-align: center;
    animation: fadeIn 0.5s ease-out;
    border: 1px solid #333;
}

.login-card h2,
.contact-card h2 {
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
}

.login-card p,
.contact-card p {
    color: #999;
    margin-bottom: 2rem;
}

.form-group {
    text-align: left;
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #eee;
}

.form-group input {
    width: 100%;
    padding: 0.75rem 1rem;
    background: #252525;
    border: 1px solid #444;
    border-radius: 6px;
    font-size: 1rem;
    color: #fff;
    transition: border-color 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent-color);
}

.form-footer {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: #888;
}

.form-footer a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
}

.info-item a {
    color: #eee;
    text-decoration: none;
    font-weight: 600;
}

.info-item a:hover {
    text-decoration: underline;
    color: var(--accent-color);
}

/* Contact Info */
.contact-info {
    text-align: left;
    display: grid;
    gap: 1.5rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.info-item .icon {
    font-size: 1.2rem;
    background: rgba(255, 255, 255, 0.1);
    color: var(--accent-color);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.info-item h3 {
    font-size: 1rem;
    color: #fff;
    margin-bottom: 0.2rem;
}

.info-item p {
    margin-bottom: 0;
    font-size: 0.95rem;
    color: #bbb;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    #site-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: var(--primary-color);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: right 0.4s ease;
        z-index: 1050;
    }

    #site-nav.active {
        right: 0;
    }

    #site-nav a {
        margin: 1.5rem 0;
        font-size: 1.25rem;
    }

    #user-welcome {
        margin-right: 0 !important;
        margin: 1.5rem 0;
        text-align: center;
    }

    .hero {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        margin-right: 0;
        margin-bottom: 2rem;
    }

    #auth-nav {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    #auth-nav a {
        margin-left: 0 !important;
        margin: 1.5rem 0;
    }

    .menu-toggle.open span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .menu-toggle.open span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.open span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -8px);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}