/* Base Styles */
:root {
    --bg-color: #050505;
    --text-color: #f0f0f0;
    --accent-color: #00f0ff;
    --accent-glow: 0 0 10px rgba(0, 240, 255, 0.5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
}

/* Background Canvas */
#canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none; /* Let clicks pass through */
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    background: rgba(5, 5, 5, 0.5);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.menu-container {
    position: relative;
}

.menu-toggle {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--text-color);
    transition: color 0.3s ease;
}

.menu-toggle:hover {
    color: var(--accent-color);
    text-shadow: var(--accent-glow);
}

.hamburger {
    width: 30px;
    height: 2px;
    background: currentColor;
    position: relative;
}
.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 2px;
    background: currentColor;
    left: 0;
    transition: all 0.3s ease;
}
.hamburger::before { top: -8px; }
.hamburger::after { top: 8px; }

.nav-links {
    list-style: none;
    display: none; /* hidden by default */
    flex-direction: column;
    gap: 1.5rem;
    position: absolute;
    top: 250%;
    left: 0;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(15px);
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    min-width: 200px;
}

.nav-links.active {
    display: flex;
    animation: fadeIn 0.3s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 400;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    display: block;
    padding: 0.5rem 0;
}

.nav-links a:hover {
    color: var(--accent-color);
    text-shadow: var(--accent-glow);
    padding-left: 10px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--text-color);
}

.logo::after {
    content: '.';
    color: var(--accent-color);
    text-shadow: var(--accent-glow);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 5%;
    position: relative;
}

.hero-content {
    max-width: 800px;
}

.hero-content .logo {
    font-size: 2rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 4px;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(90deg, #ffffff, #888888);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    font-weight: 300;
    color: #a0a0a0;
    margin-bottom: 2.5rem;
    max-width: 600px;
    line-height: 1.6;
}

.cta-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    background: rgba(0, 240, 255, 0.05);
    backdrop-filter: blur(5px);
}

.cta-btn:hover {
    background: var(--accent-color);
    color: var(--bg-color);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
}

/* About Section */
.about {
    padding: 10rem 5%;
    background: linear-gradient(180deg, rgba(5,5,5,0) 0%, rgba(10,10,10,1) 100%);
    position: relative;
    z-index: 10;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
}

.about h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    font-weight: 600;
    border-left: 4px solid var(--accent-color);
    padding-left: 1rem;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #d0d0d0;
}

.about-content p {
    background: rgba(255, 255, 255, 0.02);
    padding: 2rem;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.about-content strong {
    color: var(--text-color);
    font-weight: 600;
}

/* Contact Section */
.contact {
    padding: 5rem 5% 10rem;
    background: #0a0a0a; /* Match the bottom gradient of about section */
    position: relative;
    z-index: 10;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.contact h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    font-weight: 600;
    color: var(--text-color);
}

.contact-content {
    background: rgba(255, 255, 255, 0.02);
    padding: 4rem 2rem;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    max-width: 800px;
    margin: 0 auto;
}

.contact-content p {
    font-size: 1.1rem;
    color: #d0d0d0;
    margin-bottom: 2rem;
}

.email-link {
    display: inline-block;
    font-size: 1.25rem;
    color: var(--accent-color);
    text-decoration: none;
    padding: 1rem 2rem;
    border: 1px solid var(--accent-color);
    border-radius: 4px;
    transition: all 0.3s ease;
    background: rgba(0, 240, 255, 0.05);
    font-weight: 600;
    letter-spacing: 1px;
}

.email-link:hover {
    background: var(--accent-color);
    color: var(--bg-color);
    box-shadow: var(--accent-glow);
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    background: #0a0a0a;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #666;
    font-size: 0.9rem;
    position: relative;
    z-index: 10;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content .logo {
        font-size: 1.5rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1rem;
    }

    .about {
        padding: 5rem 5%;
    }

    .about h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-content p {
        padding: 1.5rem;
    }

    .contact {
        padding: 4rem 5% 6rem;
    }

    .contact h2 {
        font-size: 2rem;
    }

    .contact-content {
        padding: 2rem 1rem;
    }

    .email-link {
        font-size: 1rem;
        padding: 0.8rem 1.5rem;
    }

    .nav-links {
        width: calc(100vw - 10%); /* Expand menu width on mobile */
    }
}
