:root {
    --primary-color: #0a192f; /* Lacivert / Dark Blue */
    --secondary-color: #112240; /* Slightly lighter blue */
    --accent-color: #64ffda; /* Teal/Cyan accent */
    --text-color: #ccd6f6;
    --text-muted: #8892b0;
    --white: #e6f1ff;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--primary-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navbar */
header {
    background-color: rgba(10, 25, 47, 0.95);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 10px 30px -10px rgba(2, 12, 27, 0.7);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 10%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
    padding: 5px 10px;
}

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

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--accent-color);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 10%;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.highlight {
    color: var(--accent-color);
}

.hero-content p {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    min-height: 1.6em;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    text-decoration: none;
    border-radius: 4px;
    transition: var(--transition);
    background: transparent;
    cursor: pointer;
    font-size: 1rem;
}

.btn:hover {
    background-color: rgba(100, 255, 218, 0.1);
}

/* Sections */
.section {
    padding: 100px 10%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--white);
    display: flex;
    align-items: center;
}

.section-title::after {
    content: "";
    display: block;
    width: 300px;
    height: 1px;
    background-color: var(--secondary-color);
    margin-left: 20px;
}

/* About */
.about-container {
    max-width: 800px;
}

/* Projects */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.project-card {
    background-color: var(--secondary-color);
    padding: 2rem;
    border-radius: 4px;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.project-card:hover {
    transform: translateY(-10px);
}

.project-card h3 {
    color: var(--white);
    margin-bottom: 1rem;
}

.project-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.project-link {
    color: var(--accent-color);
    text-decoration: none;
    font-size: 0.8rem;
}

/* Skills */
.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 30px;
    text-align: center;
}

.skill-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: var(--transition);
}

.skill-item i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.skill-item:hover {
    transform: scale(1.1);
}

/* Contact */
.contact-container {
    max-width: 600px;
    margin: 0 auto;
}

#contact-form {
    display: flex;
    flex-direction: column;
}

#contact-form input, #contact-form textarea {
    background-color: var(--secondary-color);
    border: 1px solid transparent;
    padding: 1rem;
    margin-bottom: 1rem;
    color: var(--text-color);
    border-radius: 4px;
    outline: none;
    transition: var(--transition);
}

#contact-form input:focus, #contact-form textarea:focus {
    border-color: var(--accent-color);
}

/* Footer */
footer {
    padding: 50px 10%;
    text-align: center;
    background-color: var(--primary-color);
    border-top: 1px solid var(--secondary-color);
}

footer p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.social-links a {
    color: var(--text-color);
    font-size: 1.5rem;
    margin: 0 10px;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--accent-color);
}

/* Reveal Animations */
.reveal-hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Menu Styles */
.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--accent-color);
    margin: 5px;
    transition: var(--transition);
}

@media (max-width: 768px) {
    body {
        overflow-x: hidden;
    }
    
    .nav-links {
        position: absolute;
        right: 0px;
        height: 92vh;
        top: 8vh;
        background-color: var(--secondary-color);
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 50%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
        padding-top: 50px;
    }
    
    .nav-links li {
        opacity: 0;
        margin: 20px 0;
    }
    
    .burger {
        display: block;
    }
}

.nav-active {
    transform: translateX(0%);
}

@keyframes navLinkFade {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0px);
    }
}

.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
}
.toggle .line2 {
    opacity: 0;
}
.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .section-title::after {
        width: 100px;
    }
}
