:root {
    /* Primary Colors */
    --primary: #FF6F3C;
    --primary-light: #FF8B61;
    --primary-dark: #E55B2B;
    
    /* Background Colors */
    --bg-dark: #121212;
    --bg-darker: #0A0A0A;
    --bg-lighter: #1E1E1E;
    
    /* Accent Colors */
    --accent-purple: #9D4EDD;
    --accent-blue: #3C8AFF;
    
    /* Text Colors */
    --text-primary: #FFFFFF;
    --text-secondary: rgba(255, 255, 255, 0.87);
    --text-tertiary: rgba(255, 255, 255, 0.6);
    
    /* Surface Colors */
    --surface-1: rgba(255, 255, 255, 0.05);
    --surface-2: rgba(255, 255, 255, 0.08);
    --surface-3: rgba(255, 255, 255, 0.11);
    
    /* Gradient */
    --gradient-primary: linear-gradient(45deg, var(--primary), var(--primary-light));
    --gradient-dark: linear-gradient(180deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
}
/* Header Styles */
header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 75%;
    max-width: 1200px;
    padding: 20px 30px;
    border-radius: 20px;
    background: var(--surface-1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
   
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 35px !important;
    width: auto;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

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

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.contact-btn {
    background: var(--gradient-primary);
    color: var(--text-primary) !important;
    padding: 10px 20px;
    border-radius: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 111, 60, 0.3);
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 111, 60, 0.4);
    color: var(--text-primary) !important;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 30px;
    height: 2px;
    background-color: var(--text-primary);
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    header {
        padding: 15px 20px;
    }

    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: -100vh;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--surface-1);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border: 1px solid var(--surface-2);
        border-radius:19px;
    }

    .nav-links.active {
        top: 57px;
        opacity: 1;
    }

    .nav-links a {
        font-size: 18px;
        padding: 15px 30px;
        width: 80%;
        max-width: 300px;
        text-align: center;
        border-radius: 12px;
        transition: all 0.3s ease;
        transform: translateY(20px);
        opacity: 0;
    }

    .nav-links.active a {
        transform: translateY(0);
        opacity: 1;
        transition-delay: 0.3s;
    }

    .nav-links a:not(.contact-btn):hover {
        background: rgba(255, 255, 255, 0.1);
        transform: translateY(-2px);
    }

    .contact-btn {
        margin-top: 20px;
        background: var(--gradient-primary);
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .logo img {
        height: 24px;
        width: auto;
        transition: transform 0.3s ease;
    }
}

/* Lazy Loading Styles */
img.lazy {
    opacity: 0;
    transition: opacity 0.3s ease-in;
}

img.lazy.loaded {
    opacity: 1;
}

/* Footer Styles */
.footer {
    background: var(--bg-dark);
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-social {
    margin-bottom: 20px;
}

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

.social-icons a {
    color: var(--text-secondary);
    font-size: 24px;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: var(--text-primary);
}

.footer-copyright {
    color: var(--text-secondary);
    font-size: 14px;
}

.footer-copyright a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
}

.footer-copyright a:hover {
    text-decoration: underline;
}

.portfolio-end-message {
    text-align: center;
    padding: 40px 0;
    color: var(--text-secondary);
    font-size: 16px;
    font-style: italic;
    opacity: 0.8;
}