:root {
    /* Default Theme - Modern Blue */
    --primary-color: #1e3a8a;
    --secondary-color: #3b82f6;
    --accent-color: #c2410c;
    --text-color: #1f2937;
    --text-light: #64748b;
    --background-color: #f8fafc;
    --card-background: #ffffff;
    --card-hover: #f1f5f9;
    --border-color: #e2e8f0;
    --gradient-start: #1e3a8a;
    --gradient-end: #3b82f6;
    --button-hover: #2563eb;
    --footer-bg: #0f172a;
    --footer-text: #e2e8f0;
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

/* Dark Theme */
[data-theme="dark"] {
    --primary-color: #60a5fa;
    --secondary-color: #3b82f6;
    --accent-color: #f97316;
    --text-color: #f3f4f6;
    --text-light: #9ca3af;
    --background-color: #111827;
    --card-background: #1f2937;
    --card-hover: #374151;
    --border-color: #374151;
    --gradient-start: #1e40af;
    --gradient-end: #3b82f6;
    --button-hover: #2563eb;
    --footer-bg: #030712;
    --footer-text: #9ca3af;
}

/* Nature Theme */
[data-theme="nature"] {
    --primary-color: #166534;
    --secondary-color: #22c55e;
    --accent-color: #ca8a04;
    --text-color: #1f2937;
    --text-light: #4b5563;
    --background-color: #f0fdf4;
    --card-background: #ffffff;
    --card-hover: #dcfce7;
    --border-color: #bbf7d0;
    --gradient-start: #166534;
    --gradient-end: #22c55e;
    --button-hover: #15803d;
    --footer-bg: #14532d;
    --footer-text: #dcfce7;
}

/* Royal Purple Theme */
[data-theme="royal"] {
    --primary-color: #7e22ce;
    --secondary-color: #a855f7;
    --accent-color: #f59e0b;
    --text-color: #1f2937;
    --text-light: #6b7280;
    --background-color: #faf5ff;
    --card-background: #ffffff;
    --card-hover: #f3e8ff;
    --border-color: #e9d5ff;
    --gradient-start: #7e22ce;
    --gradient-end: #a855f7;
    --button-hover: #9333ea;
    --footer-bg: #581c87;
    --footer-text: #f3e8ff;
}

/* Sunset Theme */
[data-theme="sunset"] {
    --primary-color: #e11d48;
    --secondary-color: #f43f5e;
    --accent-color: #facc15;
    --text-color: #1f2937;
    --text-light: #64748b;
    --background-color: #fff1f2;
    --card-background: #ffffff;
    --card-hover: #ffe4e6;
    --border-color: #fecdd3;
    --gradient-start: #be123c;
    --gradient-end: #e11d48;
    --button-hover: #be123c;
    --footer-bg: #881337;
    --footer-text: #ffe4e6;
}

/* Ocean Theme */
[data-theme="ocean"] {
    --primary-color: #0891b2;
    --secondary-color: #06b6d4;
    --accent-color: #fbbf24;
    --text-color: #1f2937;
    --text-light: #64748b;
    --background-color: #ecfeff;
    --card-background: #ffffff;
    --card-hover: #cffafe;
    --border-color: #a5f3fc;
    --gradient-start: #0e7490;
    --gradient-end: #0891b2;
    --button-hover: #0e7490;
    --footer-bg: #164e63;
    --footer-text: #cffafe;
}

/* Cyberpunk Theme */
[data-theme="cyberpunk"] {
    --primary-color: #d946ef;
    --secondary-color: #e879f9;
    --accent-color: #22d3ee;
    --text-color: #f8fafc;
    --text-light: #94a3b8;
    --background-color: #18181b;
    --card-background: #27272a;
    --card-hover: #3f3f46;
    --border-color: #52525b;
    --gradient-start: #86198f;
    --gradient-end: #d946ef;
    --button-hover: #86198f;
    --footer-bg: #09090b;
    --footer-text: #e879f9;
}

/* Forest Theme */
[data-theme="forest"] {
    --primary-color: #059669;
    --secondary-color: #10b981;
    --accent-color: #eab308;
    --text-color: #f8fafc;
    --text-light: #94a3b8;
    --background-color: #022c22;
    --card-background: #064e3b;
    --card-hover: #065f46;
    --border-color: #047857;
    --gradient-start: #047857;
    --gradient-end: #059669;
    --button-hover: #047857;
    --footer-bg: #022c22;
    --footer-text: #6ee7b7;
}

/* Candy Theme */
[data-theme="candy"] {
    --primary-color: #ec4899;
    --secondary-color: #f472b6;
    --accent-color: #a855f7;
    --text-color: #831843;
    --text-light: #9d174d;
    --background-color: #fdf2f8;
    --card-background: #ffffff;
    --card-hover: #fce7f3;
    --border-color: #fbcfe8;
    --gradient-start: #db2777;
    --gradient-end: #ec4899;
    --button-hover: #db2777;
    --footer-bg: #831843;
    --footer-text: #fce7f3;
}

/* Neon Theme */
[data-theme="neon"] {
    --primary-color: #f0abfc;
    --secondary-color: #e879f9;
    --accent-color: #2dd4bf;
    --text-color: #ffffff;
    --text-light: rgba(255, 255, 255, 0.9);
    --background-color: #0f172a;
    --card-background: rgba(30, 41, 59, 0.7);
    --card-hover: rgba(51, 65, 85, 0.8);
    --border-color: rgba(240, 171, 252, 0.3);
    --gradient-start: linear-gradient(135deg, #4c1d95, #2dd4bf);
    --gradient-end: linear-gradient(315deg, #6d28d9, #22d3ee);
    --button-hover: #6d28d9;
    --footer-bg: #020617;
    --footer-text: #f0abfc;
}

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

body {
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Header and Navigation */
header {
    background-color: var(--card-background);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

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

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

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

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

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--text-color);
    transition: var(--transition);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Section */
.hero {
    height: 80vh;
    position: relative;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 2rem;
    margin-top: 60px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><rect width="20" height="20" fill="none"/><circle cx="3" cy="3" r="1" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
    opacity: 0.1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 800px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn {
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
    transition: all 0.3s ease;
}

.btn.primary {
    background-color: #ffffff;
    color: var(--primary-color);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn.secondary {
    background-color: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: white;
    backdrop-filter: blur(5px);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* Category Sections */
.category {
    padding: 6rem 2rem;
    margin-top: 2rem;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.section-header p {
    color: var(--text-light);
}

.items-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* Item Cards */
.item {
    background: var(--card-background);
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    transition: all 0.3s ease;
}

.item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--secondary-color);
}

.item-image {
    position: relative;
    padding-top: 100%;
    overflow: hidden;
}

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

.item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(30, 58, 138, 0.9), rgba(59, 130, 246, 0.8));
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.item:hover .item-overlay {
    opacity: 1;
}

.view-details {
    color: white;
    font-weight: 500;
    padding: 0.8rem 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 50px;
    backdrop-filter: blur(4px);
    transition: var(--transition);
}

.view-details:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}

.item-details {
    padding: 1.5rem;
}

.item-details h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.item-details p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}

.price-container {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.discount {
    color: #388e3c;
    font-weight: 600;
    font-size: 0.9rem;
}

.price {
    font-weight: bold;
    font-size: 1.1rem;
    color: var(--primary-color);
    
}

.mrp {
    font-size: 0.85rem;
    color: #666;
    text-decoration: line-through;
}

.btn-small {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-weight: 500;
    transition: var(--transition);
    transition: all 0.3s ease;
}

.btn-small:hover {
    background: var(--button-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.stock-status {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    z-index: 2;
    text-transform: uppercase;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.in-stock {
    background-color: #059669;
    color: white;
}

.out-of-stock {
    background-color: #dc2626;
    color: white;
}

@media (max-width: 768px) {
    .stock-status {
        font-size: 0.75rem;
        padding: 0.35rem 0.75rem;
        top: 0.75rem;
        right: 0.75rem;
    }
    
    .item-image {
        position: relative;
        width: 100%;
    }
    
    .item-overlay {
        opacity: 1;
        background: rgba(0, 0, 0, 0.4);
    }
    
    .view-details {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 480px) {
    .stock-status {
        font-size: 0.7rem;
        padding: 0.25rem 0.6rem;
        top: 0.5rem;
        right: 0.5rem;
    }
}

/* Services Section */
.services-section {
    background-color: var(--background-color);
    padding: 6rem 2rem;
    margin-top: 2rem;
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--card-background);
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border-radius: var(--border-radius);
    padding: 2rem;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--secondary-color);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

[data-theme="golden"] .service-card i,
[data-theme="golden"] .item i {
    font-size: 2.5rem;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff;
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
    margin: 0 auto 1.5rem auto;
    display: block;
    text-align: center;
}

[data-theme="golden"] .service-card,
[data-theme="golden"] .item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

[data-theme="golden"] .service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

/* Keep hover effect but maintain white color */
[data-theme="golden"] .service-card:hover i,
[data-theme="golden"] .item:hover i {
    transform: scale(1.1);
    transition: transform 0.3s ease;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff;
}

/* Footer */
footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    padding: 4rem 2rem 1rem;
    transition: all 0.3s ease;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
}

.footer-section h3 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    color: white;
    font-weight: 600;
}

.footer-section p {
    margin-bottom: 0.8rem;
    opacity: 0.8;
    color: var(--footer-text);
}

.footer-section.about {
    padding-right: 2rem;
}

.footer-section.contact i {
    width: 20px;
    margin-right: 10px;
}

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@keyframes creditGlow {
    0% {
        opacity: 0.8;
        transform: translateY(0);
    }
    50% {
        opacity: 1;
        transform: translateY(-2px);
    }
    100% {
        opacity: 0.8;
        transform: translateY(0);
    }
}

.developer-credit {
    margin-top: 1rem;
    font-style: italic;
    color: var(--footer-text);
    font-size: 0.9rem;
    border-top: 1px solid var(--footer-text);
    padding-top: 0.5rem;
    animation: creditGlow 3s ease-in-out infinite;
    text-shadow: 0 0 10px var(--footer-text);
    transition: all 0.3s ease;
}

.developer-credit:hover {
    opacity: 1;
    text-shadow: 0 0 15px var(--footer-text);
    letter-spacing: 0.5px;
}

/* Mobile Footer */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-section.about {
        padding-right: 0;
    }
}

/* Mobile Menu Styles */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--card-background);
        color: var(--text-color);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
        z-index: 1000;
        backdrop-filter: blur(10px);
        border-left: 1px solid var(--border-color);
        padding: 2rem;
    }

    .nav-links a {
        color: var(--text-color);
        font-size: 1.2rem;
        padding: 1rem;
        width: 100%;
        text-align: center;
        transition: var(--transition);
    }

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

    .nav-links.active {
        right: 0;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }

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

    .hero p {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .items-container {
        grid-template-columns: 1fr;
    }
}

/* Projects Button Styles */
.projects-section {
    padding: 2rem 0;
}

.projects-btn {
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    font-weight: bold;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Special styling for Neon theme */
[data-theme="neon"] .projects-btn {
    color: #ffffff;
    text-shadow: 0 0 5px var(--button-hover), 0 0 10px var(--button-hover);
    font-weight: 900;
    background: var(--card-hover);
}

[data-theme="neon"] .projects-btn:hover {
    color: var(--footer-text);
    text-shadow: 0 0 8px var(--button-hover), 0 0 15px var(--button-hover);
}

.projects-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
    background: linear-gradient(to right, var(--gradient-end), var(--gradient-start));
}

@media (max-width: 768px) {
    .projects-btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}

.projects-section .section-header {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.theme-btn.projects-btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    min-width: 200px;
    text-align: center;
}

@media (max-width: 768px) {
    .projects-section .section-header {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .theme-btn.projects-btn {
        width: 90%;
        max-width: 300px;
        margin: 0.5rem 0;
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
}

/* Theme Toggle Button */
.theme-toggle {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: #ffffff !important;
    border: none;
    border-radius: 50px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
    z-index: 1000;
}

.theme-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.theme-toggle i {
    font-size: 1.2rem;
}

.theme-toggle .theme-name {
    font-weight: 500;
    display: none;
}

.theme-toggle:hover .theme-name {
    display: inline;
}

@media (max-width: 768px) {
    .theme-toggle {
        bottom: 1rem;
        right: 1rem;
        padding: 0.8rem;
    }
    
    .theme-toggle i {
        font-size: 1rem;
    }
}

/* Add fade-in animation class */
.fade-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Update scroll-based header in JavaScript */
@media (max-width: 768px) {
    header {
        background-color: var(--card-background);
    }
}

/* Add neon glow effects for Neon theme */
[data-theme="neon"] .logo {
    text-shadow: 0 0 10px #f0abfc, 0 0 20px #f0abfc, 0 0 30px #f0abfc;
}

[data-theme="neon"] .btn,
[data-theme="neon"] .btn-small {
    box-shadow: 0 0 10px rgba(240, 171, 252, 0.5), 0 0 20px rgba(240, 171, 252, 0.3);
}

[data-theme="neon"] .service-card,
[data-theme="neon"] .item {
    backdrop-filter: blur(10px);
    box-shadow: 0 0 15px rgba(240, 171, 252, 0.2);
    border: 1px solid rgba(240, 171, 252, 0.3);
}

[data-theme="neon"] .section-header {
    margin-bottom: 2rem;
    text-align: center;
}

[data-theme="neon"] .section-header h2 {
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 1px;
    text-shadow: 
        0 0 2px #ffffff,
        0 0 4px #f0abfc,
        0 0 8px #f0abfc,
        0 0 12px #2dd4bf;
    margin: 0;
    padding: 0;
    line-height: 1.4;
    margin-bottom: 1.5rem;
    opacity: 1;
    transform: none;
    filter: none;
    -webkit-filter: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

[data-theme="neon"] .section-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    text-shadow: 
        0 0 2px rgba(255, 255, 255, 0.5),
        0 0 4px rgba(240, 171, 252, 0.3);
    margin-top: 1.5rem;
    padding-top: 0.5rem;
    font-weight: 400;
    opacity: 0.9;
    line-height: 1.6;
}

/* Add spacing for all sections in neon theme */
[data-theme="neon"] .section {
    padding: 6rem 0;
}

[data-theme="neon"] .section-content {
    margin-top: 3rem;
}

/* Ensure no blur filters are applied */
[data-theme="neon"] * {
    filter: none !important;
    -webkit-filter: none !important;
}

/* Enhance contrast for better readability */
[data-theme="neon"] {
    --text-color: #ffffff;
    --text-light: rgba(255, 255, 255, 0.9);
}

/* Projects Page Styles */
.projects-hero {
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--card-background);
}

.projects-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.project-card {
    background: var(--card-background);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

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

.project-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.view-project {
    color: var(--card-background);
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border: 2px solid var(--card-background);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.view-project:hover {
    background: var(--card-background);
    color: var(--text-color);
}

.project-info {
    padding: 1.5rem;
}

.project-info h3 {
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
}

.project-info p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.6;
}

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

.tech-stack span {
    background: var(--card-background);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

/* Neon Theme Specific Styles for Projects Page */
[data-theme="neon"] .projects-hero {
    text-shadow: 0 0 10px var(--accent-color);
}

[data-theme="neon"] .project-card {
    border: 1px solid var(--accent-color);
    box-shadow: 0 0 10px var(--accent-color);
}

[data-theme="neon"] .tech-stack span {
    border: 1px solid var(--accent-color);
    text-shadow: 0 0 5px var(--accent-color);
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .projects-hero h1 {
        font-size: 2rem;
    }

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

/* Custom Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
}

.modal-content {
    background: var(--card-background);
    padding: 2rem;
    border-radius: var(--border-radius);
    position: relative;
    width: 90%;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.modal.show .modal-content {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    right: 1rem;
    top: 0.5rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--text-color);
}

.modal-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.modal-icon i {
    animation: scaleIn 0.5s ease;
}

.modal h2 {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.modal p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.modal-contact {
    background: var(--card-hover);
    padding: 1rem;
    border-radius: var(--border-radius);
    margin: 1.5rem 0;
}

.modal-contact p {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.modal-contact p:last-child {
    margin-bottom: 0;
}

.modal-btn {
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition);
}

.modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

@keyframes scaleIn {
    0% {
        transform: scale(0);
    }
    60% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

/* Neon Theme Modal Styles */
[data-theme="neon"] .modal-content {
    border: 1px solid var(--accent-color);
    box-shadow: 0 0 20px var(--accent-color);
}

[data-theme="neon"] .modal-icon {
    text-shadow: 0 0 10px var(--accent-color);
}

/* Social Media Icons */
.footer-section.social {
    text-align: center;
}

.social-icons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 1rem;
}

.social-icons a {
    color: var(--footer-text);
    font-size: 1.8rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    text-decoration: none;
}

.social-icons a:hover {
    transform: translateY(-3px);
    color: var(--button-hover);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Responsive adjustments for footer sections */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-section.contact p {
        justify-content: center;
    }
}
