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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #e2e8f0;
    background: #0a0a0a;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(20px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid #333;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo .logo-text {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.8rem;
    font-weight: 700;
    color: #00d4aa;
    text-shadow: 0 0 20px rgba(0, 212, 170, 0.5);
}

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

.nav-link {
    text-decoration: none;
    color: #e2e8f0;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    font-size: 0.95rem;
}

.nav-link:hover {
    color: #00d4aa;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #00d4aa;
    transition: width 0.3s ease;
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #e2e8f0;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(0, 212, 170, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(147, 51, 234, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.greeting {
    margin-bottom: 1rem;
}

.greeting-text {
    font-size: 1.1rem;
    color: #00d4aa;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.1;
    font-family: 'JetBrains Mono', monospace;
}

.highlight {
    background: linear-gradient(135deg, #00d4aa, #9333ea);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(0, 212, 170, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #cbd5e1;
    font-weight: 600;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #94a3b8;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, #00d4aa, #00b894);
    color: #000;
    box-shadow: 0 4px 20px rgba(0, 212, 170, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 212, 170, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #e2e8f0;
    border: 2px solid #00d4aa;
}

.btn-secondary:hover {
    background: #00d4aa;
    color: #000;
    transform: translateY(-3px);
}

/* Code Window */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.code-window {
    background: #1a1a1a;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid #333;
    width: 100%;
    max-width: 500px;
}

.window-header {
    background: #2d2d2d;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid #333;
}

.window-buttons {
    display: flex;
    gap: 8px;
}

.btn-red, .btn-yellow, .btn-green {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.btn-red { background: #ff5f56; }
.btn-yellow { background: #ffbd2e; }
.btn-green { background: #27ca3f; }

.window-title {
    color: #999;
    font-size: 0.9rem;
    font-family: 'JetBrains Mono', monospace;
}

.window-content {
    padding: 20px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
}

.code-line {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.prompt {
    color: #00d4aa;
    margin-right: 8px;
    font-weight: 600;
}

.command {
    color: #e2e8f0;
    margin-right: 8px;
}

.output {
    color: #94a3b8;
}

.typing {
    border-right: 2px solid #00d4aa;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { border-color: transparent; }
    51%, 100% { border-color: #00d4aa; }
}

/* Section Styles */
section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 4rem;
    color: #e2e8f0;
    position: relative;
    font-family: 'JetBrains Mono', monospace;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #00d4aa, #9333ea);
    border-radius: 2px;
}

/* About Section */
.about {
    background: #111;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #cbd5e1;
    line-height: 1.8;
}

.tech-stack {
    margin-top: 3rem;
}

.tech-stack h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #e2e8f0;
    font-family: 'JetBrains Mono', monospace;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.tech-item {
    background: #1a1a1a;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #333;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.tech-item:hover {
    transform: translateY(-5px);
    border-color: #00d4aa;
    box-shadow: 0 10px 30px rgba(0, 212, 170, 0.2);
}

.tech-item i {
    font-size: 2rem;
    color: #00d4aa;
}

.tech-item span {
    font-weight: 600;
    color: #e2e8f0;
}

/* Projects Section */
.projects {
    background: #0a0a0a;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    background: #1a1a1a;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #333;
    transition: all 0.3s ease;
    position: relative;
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: #00d4aa;
    box-shadow: 0 20px 40px rgba(0, 212, 170, 0.2);
}

.project-header {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #333;
}

.project-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #00d4aa, #9333ea);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #000;
}

.project-links {
    display: flex;
    gap: 0.5rem;
}

.project-link {
    color: #666;
    font-size: 1.2rem;
    transition: color 0.3s ease;
    padding: 8px;
    border-radius: 8px;
}

.project-link:hover {
    color: #00d4aa;
    background: rgba(0, 212, 170, 0.1);
}

.project-content {
    padding: 1.5rem;
}

.project-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #e2e8f0;
    font-family: 'JetBrains Mono', monospace;
}

.project-content p {
    color: #94a3b8;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tag {
    background: rgba(0, 212, 170, 0.1);
    color: #00d4aa;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(0, 212, 170, 0.2);
}

.project-url {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #333;
}

.project-link-url {
    text-decoration: none;
    color: #00d4aa;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.project-link-url:hover {
    color: #00b894;
    transform: translateX(5px);
}

.project-link-url i {
    font-size: 1rem;
}

/* Contact Section */
.contact {
    background: #111;
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact-info h3 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #e2e8f0;
    font-family: 'JetBrains Mono', monospace;
}

.contact-info p {
    color: #94a3b8;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 600px;
    margin: 0 auto;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: #1a1a1a;
    border-radius: 12px;
    border: 1px solid #333;
    transition: all 0.3s ease;
    text-align: left;
}

.contact-method:hover {
    border-color: #00d4aa;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 212, 170, 0.2);
}

.contact-method i {
    font-size: 1.5rem;
    color: #00d4aa;
    width: 40px;
    text-align: center;
}

.contact-method h4 {
    font-weight: 600;
    color: #e2e8f0;
    margin-bottom: 0.5rem;
}

.contact-link {
    color: #00d4aa;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.contact-link:hover {
    color: #00b894;
    text-decoration: underline;
}

/* Footer */
.footer {
    background: #000;
    color: #666;
    padding: 2rem 0;
    border-top: 1px solid #333;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: #666;
    font-size: 1.25rem;
    transition: all 0.3s ease;
    padding: 8px;
    border-radius: 8px;
}

.social-link:hover {
    color: #00d4aa;
    background: rgba(0, 212, 170, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(0, 0, 0, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        backdrop-filter: blur(20px);
        padding: 2rem 0;
        border-top: 1px solid #333;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .code-window {
        max-width: 100%;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .tech-grid {
        grid-template-columns: 1fr;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    .code-window {
        font-size: 0.8rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* Smooth scrolling for anchor links */
html {
    scroll-padding-top: 70px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0a0a0a;
}

::-webkit-scrollbar-thumb {
    background: #00d4aa;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #00b894;
}
