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

html {
    scroll-behavior: smooth;
}

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

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 255, 0, 0.1);
}

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

.nav-logo .logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #00ff00;
}

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

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

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

.nav-link.cta-button {
    background: linear-gradient(135deg, #00ff00, #00cc00);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    color: #000000;
    font-weight: 600;
}

.nav-link.cta-button:hover {
    background: linear-gradient(135deg, #00cc00, #009900);
    color: #000000;
}

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

.hamburger .bar {
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    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, 255, 0, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(0, 255, 0, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.name-highlight {
    background: linear-gradient(135deg, #00ff00, #00cc00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #cccccc;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

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

.hero-info {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #cccccc;
}

.info-item i {
    color: #00ff00;
}

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

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.hero-btn.primary {
    background: linear-gradient(135deg, #00ff00, #00cc00);
    color: #000000;
}

.hero-btn.primary:hover {
    background: linear-gradient(135deg, #00cc00, #009900);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 255, 0, 0.3);
}

.hero-btn.secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid #333333;
}

.hero-btn.secondary:hover {
    border-color: #00ff00;
    color: #00ff00;
    transform: translateY(-2px);
}

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

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

.window-header {
    background: #2d2d2d;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.window-controls {
    display: flex;
    gap: 0.5rem;
}

.control {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

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

.window-title {
    color: #cccccc;
    font-size: 0.9rem;
}

.code-content {
    padding: 1.5rem;
    background: #1e1e1e;
}

.code-content pre {
    margin: 0;
    font-family: 'Fira Code', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
}

.keyword { color: #569cd6; }
.class-name { color: #4ec9b0; }
.type { color: #4ec9b0; }
.method { color: #dcdcaa; }
.comment { color: #6a9955; }

/* Section Styles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, #ffffff, #cccccc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Skills Section */
.skills {
    padding: 80px 0;
    background: #111111;
}

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

.skill-category {
    background: #1a1a1a;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #333333;
    transition: all 0.3s ease;
}

.skill-category:hover {
    transform: translateY(-5px);
    border-color: #00ff00;
    box-shadow: 0 10px 30px rgba(0, 255, 0, 0.1);
}

.category-icon {
    font-size: 2.5rem;
    color: #00ff00;
    margin-bottom: 1rem;
}

.skill-category h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.skill-category ul {
    list-style: none;
}

.skill-category li {
    color: #cccccc;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

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

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

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

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: #00ff00;
}

.project-card.featured {
    border: 2px solid #00ff00;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.2);
}

.project-image {
    height: 200px;
    background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.project-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: #666666;
}

.project-placeholder i {
    font-size: 3rem;
    color: #00ff00;
}

.project-placeholder span {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
}

.project-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #00ff00, #00cc00);
    color: #000000;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.project-content {
    padding: 1.5rem;
}

.project-content h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

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

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

.tech-tag {
    background: #333333;
    color: #00ff00;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

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

.project-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    flex: 1;
    justify-content: center;
}

.project-btn.primary {
    background: linear-gradient(135deg, #00ff00, #00cc00);
    color: #000000;
}

.project-btn.primary:hover {
    background: linear-gradient(135deg, #00cc00, #009900);
    transform: translateY(-2px);
}

.project-btn.secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid #333333;
}

.project-btn.secondary:hover {
    border-color: #00ff00;
    color: #00ff00;
    transform: translateY(-2px);
}

/* Experience Section */
.experience {
    padding: 80px 0;
    background: #111111;
}

.experience-card {
    background: #1a1a1a;
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid #333333;
    max-width: 800px;
    margin: 0 auto;
}

.experience-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.experience-info h3 {
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.company {
    color: #00ff00;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.duration {
    color: #cccccc;
    font-size: 0.9rem;
}

.experience-icon {
    font-size: 2rem;
    color: #00ff00;
}

.experience-content h4 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.achievements-list {
    list-style: none;
}

.achievements-list li {
    color: #cccccc;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
}

.achievements-list li::before {
    content: '▶';
    color: #00ff00;
    position: absolute;
    left: 0;
    top: 0;
}

.achievements-list strong {
    color: #ffffff;
}

/* Education Section */
.education {
    padding: 80px 0;
    background: #0a0a0a;
}

.education-content {
    max-width: 900px;
    margin: 0 auto;
}

.education-card {
    background: #1a1a1a;
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid #333333;
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.education-icon {
    font-size: 2.5rem;
    color: #00ff00;
}

.education-info h3 {
    font-size: 1.4rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.institution {
    color: #00ff00;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.certifications h3 {
    font-size: 1.8rem;
    color: #ffffff;
    margin-bottom: 2rem;
    text-align: center;
}

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

.cert-card {
    background: #1a1a1a;
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid #333333;
    transition: all 0.3s ease;
}

.cert-card:hover {
    transform: translateY(-5px);
    border-color: #00ff00;
    box-shadow: 0 10px 25px rgba(0, 255, 0, 0.1);
}

.cert-card {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.cert-icon {
    font-size: 1.5rem;
    color: #00ff00;
    margin-top: 0.2rem;
}

.cert-info h4 {
    font-size: 1rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.cert-info p {
    color: #cccccc;
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
}

.cert-link {
    color: #00ff00;
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: color 0.3s ease;
}

.cert-link:hover {
    color: #00cc00;
}

/* Footer */
.footer {
    background: #111111;
    padding: 60px 0 30px;
    border-top: 1px solid #333333;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-info h3 {
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.footer-info p {
    color: #cccccc;
}

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

.footer-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.footer-btn.primary {
    background: linear-gradient(135deg, #00ff00, #00cc00);
    color: #000000;
}

.footer-btn.primary:hover {
    background: linear-gradient(135deg, #00cc00, #009900);
    transform: translateY(-2px);
}

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

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: #333333;
    color: #ffffff;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #00ff00;
    color: #000000;
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333333;
    color: #666666;
}

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

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(10, 10, 10, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

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

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

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

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

    .hero-info {
        justify-content: center;
        flex-wrap: wrap;
    }

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

    .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .experience-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .education-card {
        flex-direction: column;
        text-align: center;
    }

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

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

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }

    .project-links {
        flex-direction: column;
    }
}

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

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

    .hero-subtitle {
        font-size: 1.2rem;
    }

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

    .skill-category,
    .project-card,
    .experience-card,
    .education-card {
        padding: 1.5rem;
    }

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

    .code-content {
        padding: 1rem;
    }

    .code-content pre {
        font-size: 0.8rem;
    }
}

/* Smooth scrolling and animations */
@media (prefers-reduced-motion: no-preference) {
    .skill-category,
    .project-card,
    .cert-card {
        animation: fadeInUp 0.6s ease-out;
    }

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

/* Focus styles for accessibility */
.nav-link:focus,
.hero-btn:focus,
.project-btn:focus,
.footer-btn:focus,
.social-link:focus,
.cert-link:focus {
    outline: 2px solid #00ff00;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .hero-btn.secondary,
    .project-btn.secondary {
        border-width: 3px;
    }
    
    .skill-category,
    .project-card,
    .experience-card,
    .education-card,
    .cert-card {
        border-width: 2px;
    }
}