:root {
    --primary: #ccff00;
    --dark: #0f0f0f;
    --light: #ffffff;
    --gray: #1a1a1a;
    --text-muted: #888;
}

* { 
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth; 
}


body { 
    background-color: var(--dark);
    color: var(--light); 
    line-height: 1.6;
    overflow-x: hidden; 
}


.container {
    max-width: 1200px;
    margin: 0 auto; 
    padding: 0 10px 20px; 
}

.highlight {
    color: var(--primary); 
}

/* Navigation */
nav {
    display: flex;
    align-items: center;
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(15, 15, 15, 0.9);
    backdrop-filter: blur(10px);
    transition: 0.3s; 
}

.nav-container { 
    display: flex; 
    justify-content: space-between; 
    width: 100%; 
    align-items: center; 
}


.logo { 
    font-weight: 700; 
    font-size: 1.5rem; 
    letter-spacing: 2px; 
}
.logo span { 
    color: var(--primary); 
}
.nav-links { 
    display: flex; 
    list-style: none; 
}
.nav-links li { 
    margin-left: 30px; 
}

.nav-links a { 
    text-decoration: none; 
    color: white; 
    transition: 0.3s; 
    font-weight: 500; 
}

.nav-links a:hover { 
    color: var(--primary); 
}

/* Hero */
.hero { 
    height: 100vh; 
    display: flex; 
    text-align: center; 
    align-items: center; 
    background: radial-gradient(circle at center, #1a1a1a 0%, #0f0f0f 100%); 
}

.hero h1 { 
    font-size: clamp(2.5rem, 8vw, 5rem); 
    line-height: 1.1; 
    margin-bottom: 20px; 
}

/* Buttons */
.btn {
     padding: 15px 35px; 
     text-decoration: none; 
     font-weight: bold; 
     border-radius: 5px; 
     display: inline-block; 
     transition: 0.3s; 
     border: none; 
     cursor: pointer; 
    }
.btn.primary {
     background: var(--primary); 
     color: black; 
    }

.btn.secondary {
    border: 2px solid var(--primary);
    color: var(--primary);
    margin-left: 15px; 
    }

.btn:hover {
    transform: translateY(-3px); 
    box-shadow: 0 5px 15px rgba(204, 255, 0, 0.3); 
    }

.full-width {
    width: 100%; 
}

/* Featured Section */
.featured-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 100%);
    border-bottom: 1px solid #222; 
    }

.featured-badge {
    background: rgba(204, 255, 0, 0.1); 
    color: var(--primary); 
    padding: 5px 15px;
    border-radius: 20px; 
    display: inline-block; 
    font-size: 0.8rem; 
    font-weight: bold; 
    margin-bottom: 20px; 
    text-transform: uppercase; 
    }

.featured-wrapper {
     display: flex; 
     flex-direction: column; 
     gap: 40px; 
    }

.tech-stack {
    margin: 20px 0; 
    display: flex;
    gap: 10px;
    flex-wrap: wrap; 
}

.tech-stack span {
    font-size: 0.75rem;
    color: var(--text-muted); 
    border: 1px solid #333; 
    padding: 4px 10px; 
    border-radius: 3px; 
    }
.featured-preview { 
    flex: 1.2;
    overflow: hidden; 
    border-radius: 10px; 
    box-shadow: 0 20px 40px rgba(0,0,0,0.5); 
    border: 1px solid #333; 
}

.featured-preview img {
    width: 100%; 
    height: auto; 
    display: block; }

/* About Section & RESPONSIVE IMAGE FIX */
.about-wrapper {
    display: flex; 
    flex-direction: column; 
    gap: 50px; }

.about-image {
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
    overflow: hidden; 
    border-radius: 10px; 
}

.responsive-img {
    width: 100%; 
    height: auto; 
    display: block; 
    object-fit: cover; 
    border: 1px solid var(--primary); 
    border-radius: 10px; 
}

.image-placeholder {
    background: #333; 
    height: 350px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    border-radius: 10px; 
    border: 1px dashed var(--primary); 
}

/* Skills Section */

.skills-wrapper {
    display: flex; 
    flex-direction: column; 
    gap: 40px; 
}

.skills-column h3 {
    border-left: 4px solid var(--primary); 
    padding-left: 15px; 
    margin-bottom: 20px; 
}

.skills-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 10px; 
}

.skill-item {
    background: var(--gray); 
    padding: 10px; 
    border-radius: 4px; 
    text-align: center; 
    border: 1px solid #333; 
    transition: 0.3s; 
    font-size: 0.85rem; 
}

.skill-item:hover {
    border-color: var(--primary); 
    color: var(--primary);
    transform: translateY(-3px); 
}

/* Portfolio Gallery */
.projects-grid {
    display: grid; 
    grid-template-columns: 1fr;
    gap: 30px; 
}

.project-card {
    background: var(--gray); 
    border-radius: 10px; 
    overflow: hidden; 
    border: 1px solid #222; 
    transition: 0.3s; 
}

.project-card:hover {
    transform: translateY(-10px); 
    border-color: var(--primary); 
}

.project-img-file {
    width: 100%; 
    height: 200px; 
    object-fit: cover; 
    border-bottom: 1px solid #222; 
}
.project-info {
    padding: 20px; 
}

/* Contact Section */

.contact-container {
    display: flex; 
    flex-direction: column;
    gap: 50px; 
}

.contact-form input, .contact-form textarea {
    width: 100%; 
    padding: 15px;
    background: #222;
    border: 1px solid #333;
    color: white;
    margin-bottom: 15px; 
    border-radius: 5px; 
    font-size: 1rem; }

/* Desktop Media Queries */
@media (min-width: 768px) {
    .about-wrapper, .contact-container, .skills-wrapper, .featured-wrapper { flex-direction: row; align-items: center; }
    .about-image, .about-text, .contact-info, .contact-form, .skills-column, .featured-content { flex: 1; }
    .projects-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .projects-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer; }

.bar { 
    height: 3px; 
    width: 25px; 
    background: var(--primary); 
    margin: 4px 0; 
    border-radius: 10px; 
}

@media (max-width: 767px) {
    .menu-toggle { display: flex; }
    .nav-links { display: none; position: absolute; top: 70px; left: 0; width: 100%; background: #0f0f0f; flex-direction: column; padding: 20px; text-align: center; border-bottom: 2px solid var(--primary); }
    .nav-links.active { display: flex; }
    .nav-links li { margin: 15px 0; margin-left: 0; }
    .btn.secondary { margin: 15px 0 0 0; width: 100%; }
}

