:root {
    /* Color Palette - Modern Green & Dark Theme */
    --bg-color: #0a192f;
    --bg-light: #112240;
    --bg-lighter: #233554;
    --text-main: #ccd6f6;
    --text-muted: #8892b0;
    --green-primary: #10b981; /* Modern vibrant emerald */
    --green-tint: rgba(16, 185, 129, 0.1);
    
    /* Typography */
    --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    
    /* Transitions */
    --transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1);
    
    /* Layout */
    --nav-height: 80px;
    --max-width: 1100px;
    --border-radius: 8px;
}

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

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--text-muted) var(--bg-color);
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-color);
    color: var(--text-muted);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-main);
    font-weight: 600;
    line-height: 1.2;
}

a {
    display: inline-block;
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 100px 0;
}

.section-title {
    display: flex;
    align-items: center;
    font-size: clamp(26px, 5vw, 32px);
    white-space: nowrap;
    margin-bottom: 40px;
}

.section-title span {
    color: var(--green-primary);
    font-size: clamp(16px, 3vw, 20px);
    margin-right: 10px;
    font-family: monospace;
    font-weight: 400;
}

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

/* Background Blobs (Kece effect) */
.blob-bg {
    position: absolute;
    top: -10%;
    right: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, rgba(10, 25, 47, 0) 70%);
    border-radius: 50%;
    z-index: -1;
    filter: blur(80px);
    animation: float 10s ease-in-out infinite;
}

.blob-2 {
    top: 40%;
    left: -20%;
    right: auto;
    animation-delay: -5s;
}

@keyframes float {
    0% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(30px) scale(1.05); }
    100% { transform: translateY(0px) scale(1); }
}

/* Buttons */
.btn {
    padding: 0.75rem 1.25rem;
    border-radius: var(--border-radius);
    font-size: 14px;
    font-family: monospace;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-outline {
    color: var(--green-primary);
    background-color: transparent;
    border: 1px solid var(--green-primary);
}

.btn-outline:hover {
    background-color: var(--green-tint);
    transform: translateY(-2px);
}

.btn-primary {
    color: var(--bg-color);
    background-color: var(--green-primary);
    border: 1px solid var(--green-primary);
    font-weight: 600;
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--green-primary);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 1.75rem;
    font-size: 16px;
}

/* Navigation - Glassmorphism */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: var(--nav-height);
    background-color: rgba(10, 25, 47, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 100;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    height: 70px;
    border-bottom: 1px solid rgba(16, 185, 129, 0.1);
    box-shadow: 0 10px 30px -10px rgba(2, 12, 27, 0.7);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -1px;
}

.logo span {
    color: var(--green-primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links li a {
    color: var(--text-main);
    font-size: 14px;
    font-weight: 500;
}

.nav-links li a:not(.btn):hover {
    color: var(--green-primary);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
    z-index: 101;
}

.bar {
    display: block;
    width: 25px;
    height: 2px;
    margin: 5px auto;
    transition: var(--transition);
    background-color: var(--green-primary);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--nav-height);
}

.hero-content {
    max-width: 800px;
}

.hero .subtitle {
    color: var(--green-primary);
    font-family: monospace;
    font-size: 16px;
    margin-bottom: 20px;
}

.hero .title {
    font-size: clamp(40px, 8vw, 70px);
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 10px;
}

.hero .title.secondary {
    color: var(--text-muted);
}

.hero .description {
    max-width: 540px;
    margin-top: 20px;
    font-size: 18px;
    margin-bottom: 50px;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 50px;
}

.about-text p {
    margin-bottom: 15px;
}

.skills-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(140px, 200px));
    gap: 10px;
    margin-top: 20px;
}

.skills-list li {
    position: relative;
    padding-left: 20px;
    font-family: monospace;
    font-size: 14px;
    color: var(--text-main);
}

.skills-list li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--green-primary);
}

.about-image-wrapper {
    position: relative;
    max-width: 300px;
    margin: 0 auto;
}

.profile-image {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    border: 2px solid var(--green-primary);
    position: relative;
    z-index: 2;
    transition: var(--transition);
}

.about-image-wrapper::after {
    content: '';
    position: absolute;
    top: 14px;
    left: 14px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--green-primary);
    border-radius: var(--border-radius);
    z-index: 1;
    transition: var(--transition);
}

.about-image-wrapper:hover .profile-image {
    transform: translate(-4px, -4px);
}

.about-image-wrapper:hover::after {
    transform: translate(4px, 4px);
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.project-card {
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px -15px rgba(2, 12, 27, 0.7);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 30px -15px rgba(2, 12, 27, 0.7);
}

.project-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: var(--transition);
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(16, 185, 129, 0.2);
    mix-blend-mode: multiply;
    transition: var(--transition);
}

.project-card:hover .project-overlay {
    background-color: transparent;
}

.project-info {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.project-overline {
    font-family: monospace;
    font-size: 12px;
    color: var(--green-primary);
    margin-bottom: 5px;
}

.project-title {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--text-main);
}

.project-description {
    font-size: 14px;
    color: var(--text-muted);
    flex-grow: 1;
    margin-bottom: 20px;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-family: monospace;
    font-size: 12px;
    color: var(--text-muted);
}

/* Resume Section */
.resume-container {
    max-width: 600px;
    text-align: center;
    background-color: var(--bg-light);
    padding: 60px 40px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px -15px rgba(2, 12, 27, 0.7);
    border: 1px solid rgba(16, 185, 129, 0.1);
}

.resume .section-title {
    justify-content: center;
}

.resume .section-title::after {
    display: none;
}

.resume-text {
    margin-bottom: 30px;
}

/* Contact Section */
.contact-container {
    max-width: 600px;
    text-align: center;
}

.contact .overline {
    color: var(--green-primary);
    font-family: monospace;
    margin-bottom: 15px;
}

.contact .title {
    font-size: clamp(30px, 5vw, 45px);
    margin-bottom: 20px;
}

.contact-desc {
    margin-bottom: 40px;
}

/* Footer */
footer {
    padding: 20px;
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
}

.social-links a {
    color: var(--text-muted);
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--green-primary);
    transform: translateY(-2px);
}

.social-links svg {
    width: 22px;
    height: 22px;
}

.copyright {
    font-family: monospace;
    font-size: 13px;
    color: var(--text-muted);
}

/* Animations & Transitions */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.appear {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up.appear {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* Responsive Design */
@media (max-width: 768px) {
    .section-title::after {
        width: 100%;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-image-wrapper {
        margin: 50px auto 0;
    }
    
    .hamburger {
        display: block;
    }
    
    .hamburger.active .bar:nth-child(2) { opacity: 0; }
    .hamburger.active .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .hamburger.active .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    
    .nav-links {
        position: fixed;
        left: -100%;
        top: var(--nav-height);
        flex-direction: column;
        background-color: var(--bg-light);
        width: 100%;
        height: calc(100vh - var(--nav-height));
        text-align: center;
        transition: 0.3s;
        padding-top: 40px;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    }
    
    .nav-links.active {
        left: 0;
    }
}
