/* General Styles */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;700&family=Space+Grotesk:wght@300;400;500;600&display=swap');

:root {
    --bg-color: #111111;
    --text-color: #EAEAEA;
    --border-color: #333333;
    --accent-color: #ffffff;
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Space Grotesk', sans-serif;
    --nav-bg: rgba(20, 20, 20, 0.6);
    --card-bg: rgba(255, 255, 255, 0.02);
}

[data-theme="light"] {
    --bg-color: #f0f0f0;
    --text-color: #111111;
    --border-color: #d1d1d1;
    --accent-color: #000000;
    --nav-bg: rgba(255, 255, 255, 0.8);
    --card-bg: rgba(0, 0, 0, 0.03);
}

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

@media (pointer: fine) {
    * {
        cursor: none; /* Hide default cursor for custom one only on fine pointer devices */
    }
}

html {
    scroll-behavior: smooth;
}

section, header {
    scroll-margin-top: 100px; /* Offset for fixed navigation */
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.5;
    overflow-x: hidden;
}

/* Noise Overlay */
body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9000;
    opacity: 0.03;
    background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyBAMAAADsEZWCAAAAGFBMVEUAAAA5OTkAAABERERmZmYzMzMyMjJEREQN0eLpAAAACHRSTlMAMwA3MzMzM7O0s1EAAABESURBVDjLY2AYBaNg2AJGJiZmNjYmJmY2Niam/w8Y/v/5/4eJ8T8T438mJv7/DAwMDgwMDEYMDAwODAwMRgwMDA4MDAwGAJqCJCq8H0g5AAAAAElFTkSuQmCC');
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--bg-color);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

.preloader.hide {
    transform: translateY(-100%);
}

.loader-content {
    font-family: var(--font-heading);
    font-size: 5rem;
    color: var(--text-color);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Custom Cursor */
.cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    border: 1px solid var(--text-color);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease, background-color 0.2s ease;
    mix-blend-mode: difference;
}

.cursor.active {
    transform: translate(-50%, -50%) scale(2.5);
    background-color: var(--text-color);
    border-color: transparent;
}

/* Floating Navigation */
.floating-nav {
    position: fixed;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--nav-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.5rem 0.5rem 0.5rem 1.5rem;
    border-radius: 100px;
    z-index: 1000;
    width: auto;
    gap: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    animation: slideDown 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.theme-toggle-btn {
    background: transparent;
    border: none;
    color: var(--text-color);
    font-size: 1.2rem;
    cursor: pointer;
    transition: transform 0.3s ease, color 0.3s ease;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle-btn:hover {
    transform: rotate(15deg) scale(1.1);
}

@keyframes slideDown {
    from { transform: translate(-50%, -100%); opacity: 0; }
    to { transform: translate(-50%, 0); opacity: 1; }
}

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

.logo-svg {
    transition: transform 0.5s ease;
    cursor: pointer;
}

.logo-svg:hover {
    animation: rotateLogo 1s linear infinite;
}

@keyframes rotateLogo {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.nav-links-container {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    position: relative;
    padding: 0.25rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 100px;
}

.nav-link {
    position: relative;
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: #888;
    transition: color 0.3s ease;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    color: #fff;
}

.nav-indicator {
    position: absolute;
    top: 0.25rem;
    left: 0; /* Initial position */
    height: calc(100% - 0.5rem);
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    width: 0;
    opacity: 0;
    pointer-events: none;
}

.nav-indicator.visible {
    opacity: 1;
}

.nav-cta {
    background-color: #fff;
    color: #000;
    padding: 0.7rem 1.5rem;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    transition: transform 0.3s ease, background-color 0.3s ease;
    white-space: nowrap;
}

.nav-cta:hover {
    transform: scale(1.05);
    background-color: #eaeaea;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .floating-nav {
        top: auto;
        bottom: 2rem;
        width: 90%;
        justify-content: center;
        padding: 0.5rem;
        gap: 0;
    }
    
    .nav-logo, .nav-cta {
        display: none;
    }
    
    .nav-links-container {
        width: 100%;
        justify-content: space-between;
        background: transparent;
        padding: 0;
    }
    
    .nav-link {
        padding: 0.8rem 0.5rem;
        font-size: 0.7rem;
    }
    
    .nav-indicator {
        display: none; /* Hide sliding pill on mobile for simplicity, or adjust logic */
    }
    
    .nav-link.active {
        color: #fff;
        text-decoration: underline;
        text-underline-offset: 4px;
    }
}

/* Grid Layout */
.grid-wrapper {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    width: 100%;
    max-width: 100%;
    border-left: 1px solid var(--border-color);
    /* margin-top: 80px; Removed to fix gap above hero image */
}

.grid-12 {
    display: contents; /* Allows children to participate in the main grid */
}

/* Ensure semantic sections/headers generate boxes (display: contents breaks scroll targeting)
   We keep `.grid-12` as contents for layout but force `section`/`header` with `.grid-12`
   to behave as a grid container so intersection observers and offset calculations are reliable,
   while children can still use span-* classes. */
header.grid-12,
section.grid-12 {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-column: 1 / -1; /* Span all columns of parent grid */
    width: 100%;
}

[class*="span-"] {
    border-right: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 2rem;
}

.span-12 { grid-column: span 12; }
.span-8 { grid-column: span 8; }
.span-7 { grid-column: span 7; }
.span-6 { grid-column: span 6; }
.span-5 { grid-column: span 5; }
.span-4 { grid-column: span 4; }
.span-3 { grid-column: span 3; }

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 90vh;
    background-image: url('./assets/Gemini_Generated_Image_36rr4136rr4136rr (1).png');
    background-size: cover;
    background-position: center;
    padding: 0 !important;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.hero-text-container {
    position: relative;
    z-index: 2;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    padding: 4rem 2rem;
    gap: 2rem;
    align-items: end;
}

.hero-section .hero-title {
    grid-column: span 8;
    display: flex;
    align-items: flex-end;
}

.hero-section h1 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 10vw, 12rem);
    line-height: 0.85;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: -1rem; /* Tight fit */
    color: #ffffff;
    word-break: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

.hero-section .hero-role {
    grid-column: span 4;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    letter-spacing: 2px;
    padding-bottom: 1rem;
}

.sub-role {
    font-size: 0.9rem;
    color: #ccc;
    margin-top: 0.5rem;
    font-family: var(--font-body);
}

.hero-image {
    padding: 0 !important; /* Remove padding for full bleed image */
    height: 60vh;
    overflow: hidden;
    position: relative;
    background-color: #1a1a1a; /* Fallback background */
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Fit image to box */
    transition: transform 0.5s ease;
}

.hero-image:hover img {
    transform: scale(1.02);
}

/* Info Bar */
.info-bar .info-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 150px;
}

.info-item .label {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.info-item .value {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    text-transform: uppercase;
}

/* Skills Marquee */
.skills-section {
    padding: 0 !important;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
}

.marquee-wrapper {
    white-space: nowrap;
    overflow: hidden;
    padding: 3rem 0;
}

.marquee-content {
    display: inline-block;
    animation: marquee 20s linear infinite;
}

.marquee-content span {
    font-family: var(--font-heading);
    font-size: 4rem;
    margin-right: 4rem;
    text-transform: uppercase;
    color: transparent;
    -webkit-text-stroke: 1px var(--text-color);
    transition: color 0.3s ease;
}

.marquee-content span:hover {
    color: var(--text-color);
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* About Section */
.section-header {
    padding: 4rem 2rem;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 4rem;
    text-transform: uppercase;
}

.about-image {
    height: 100%;
    min-height: 600px; /* Increased height for better presence */
    overflow: hidden;
    border-right: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 0 !important;
    display: flex; /* Removes extra space below image */
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.5s ease;
}

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

.about-content {
    display: flex;
    flex-direction: column;
    justify-content: center; /* Vertically centers the content */
    padding: 4rem 3rem !important; /* Balanced padding */
    height: 100%; /* Takes full height of the grid cell */
}

.about-content h2 {
    font-family: var(--font-heading);
    font-size: 4rem;
    text-transform: uppercase;
    margin-bottom: 2rem;
    line-height: 1;
}

.about-content .lead {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    max-width: 100%;
}

.about-content p {
    margin-bottom: 2rem;
    color: #aaa;
    max-width: 600px;
}

.about-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0; /* Clean consistent vertical spacing */
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
}

.btn-group {
    margin-top: 1rem;
}

.stat-box h3 {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.stat-box p {
    font-size: 0.9rem;
    color: #888;
    letter-spacing: 1px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border: 1px solid var(--text-color);
    background: transparent;
    color: var(--text-color);
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn:hover {
    background: var(--text-color);
    color: var(--bg-color);
}

/* Projects Section */
.project-item {
    padding: 0 !important;
    border-right: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.project-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.project-img-container {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
    background-color: #1a1a1a; /* Fallback background color */
}

.project-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.5s ease;
}

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

.project-info {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.project-info h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.project-info p {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    letter-spacing: 1px;
}

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

.btn-link {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    text-transform: uppercase;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.btn-link:hover {
    border-color: var(--text-color);
}

/* Contact Section */
.contact-section {
    padding-bottom: 4rem;
}

.contact-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem !important;
    border-right: 1px solid var(--border-color);
}

.visual-container {
    width: 100%;
    max-width: 450px; /* Increased size for better visibility */
}

.visual-container img {
    width: 100%;
    height: auto;
    filter: invert(1); /* Make black illustration white */
}

.contact-form-wrapper {
    padding: 4rem !important;
}

.contact-intro {
    font-size: 1.1rem;
    color: #aaa;
    margin-bottom: 3rem;
    max-width: 500px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 600px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    letter-spacing: 1px;
    color: #888;
}

.form-group input,
.form-group textarea {
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    color: var(--text-color);
    font-family: var(--font-body);
    font-size: 1.1rem;
    transition: border-color 0.3s ease;
    border-radius: 0;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

.btn-submit {
    margin-top: 1rem;
    width: fit-content;
    background-color: var(--text-color);
    color: var(--bg-color);
    font-weight: 600;
}

.btn-submit:hover {
    background-color: transparent;
    color: var(--text-color);
}

/* Footer */
.site-footer {
    padding: 4rem 2rem;
    background-color: var(--bg-color);
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    width: 100%;
}

.back-to-top {
    display: flex;
    justify-content: center;
    width: 100%;
}

.scroll-top-btn {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    color: var(--text-color);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.scroll-top-btn:hover {
    background-color: var(--text-color);
    color: var(--bg-color);
    transform: translateY(-5px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-color);
}

.copyright {
    font-size: 0.9rem;
    color: #888;
    font-family: var(--font-body);
}

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

.social-icon-box {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--text-color);
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.social-icon-box:hover {
    background-color: var(--text-color);
    color: var(--bg-color);
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .footer-left {
        align-items: center;
    }
}

/* Animations */
.reveal-text {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-text.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-img {
    opacity: 0;
    transform: scale(0.95);
    transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-img.active {
    opacity: 1;
    transform: scale(1);
}

/* Skills Grid Section */
.skills-grid-section {
    padding: 6rem 2rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.skills-grid-section .section-header {
    padding: 0;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: #888;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    display: block;
}

.section-description {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: #aaa;
    margin-top: 1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.skills-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: #888;
    padding: 0.8rem 1.5rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: #1a1a1a; /* Darker background for active */
    color: var(--text-color);
    border-color: #3b82f6; /* Blue accent color like in image */
}

.filter-btn.active {
    background-color: #3b82f6;
    color: white;
}

.btn-icon {
    font-family: monospace;
    opacity: 0.7;
}

.skills-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1.5rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.skill-card {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    transition: all 0.3s ease;
    cursor: default;
    animation: float-card 6s ease-in-out infinite;
}

.skill-card:nth-child(2n) {
    animation-delay: 1s;
}

.skill-card:nth-child(3n) {
    animation-delay: 2s;
}

.skill-card:nth-child(5n) {
    animation-delay: 3s;
}

.skill-card:hover {
    transform: translateY(-10px);
    border-color: var(--text-color);
    background-color: rgba(255, 255, 255, 0.05);
    animation-play-state: paused;
}

@keyframes float-card {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.skill-icon {
    font-size: 3rem;
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    width: 60px;
    transition: transform 0.3s ease;
}

.skill-card:hover .skill-icon {
    transform: scale(1.1);
}

.skill-name {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: #ccc;
    font-weight: 500;
}

/* Hide elements for filtering */
.skill-card.hide {
    display: none;
}

/* Responsive adjustments for skills grid */
@media (max-width: 768px) {
    .skills-grid-container {
        grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
        gap: 1rem;
    }
    
    .skill-card {
        padding: 1.5rem 0.5rem;
    }
    
    .skill-icon {
        font-size: 2.5rem;
        height: 50px;
        width: 50px;
    }
}

/* Responsive */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

@media (max-width: 1024px) {
    .span-12, .span-8, .span-7, .span-6, .span-5, .span-4, .span-3 {
        grid-column: span 12;
    }
    
    .hero-title h1 {
        font-size: clamp(2.5rem, 12vw, 8rem);
    }
    
    .hero-role {
        min-height: 150px;
    }
    
    .info-item {
        grid-column: span 12;
        border-bottom: 1px solid var(--border-color);
        height: 100px;
    }
    
    .marquee-content span {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .hero-text-container {
        display: flex;
        flex-direction: column;
        padding: 3rem 1.5rem;
    }
    
    .hero-section .hero-title,
    .hero-section .hero-role {
        width: 100%;
    }
    
    .hero-section .hero-role {
        margin-top: 1.5rem;
        font-size: 1.2rem;
    }
    
    .hero-title h1 {
        font-size: clamp(2rem, 11vw, 5rem);
    }
    
    .section-header h2 {
        font-size: 3rem;
    }
    
    .about-content {
        padding: 2rem !important;
    }
    
    .about-stats-grid {
        grid-template-columns: 1fr;
    }
}

/* Extra small screens (phones in portrait) */
@media (max-width: 480px) {
    .hero-title h1 {
        font-size: clamp(1.8rem, 9vw, 3.5rem);
        line-height: 0.9;
    }
    
    .hero-section .hero-role {
        font-size: 1rem;
    }
    
    .hero-text-container {
        padding: 2rem 1rem;
        gap: 1rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .info-item .value {
        font-size: 1.2rem;
    }
}

/* Light Theme Overrides */
[data-theme="light"] .logo-svg path {
    fill: #111111;
}

[data-theme="light"] .nav-link {
    color: #555;
}

[data-theme="light"] .nav-link:hover,
[data-theme="light"] .nav-link.active {
    color: #000;
}

[data-theme="light"] .nav-indicator {
    background-color: rgba(0, 0, 0, 0.1);
}

/* Hero section - keep text white on dark background image */
[data-theme="light"] .hero-section h1,
[data-theme="light"] .hero-section .hero-role p,
[data-theme="light"] .hero-section .sub-role {
    color: #ffffff;
}

/* Info bar */
[data-theme="light"] .info-item .value {
    color: var(--text-color);
}

/* Marquee - stroke should be dark in light mode */
[data-theme="light"] .marquee-content span {
    -webkit-text-stroke: 1px var(--text-color);
}

[data-theme="light"] .marquee-content span:hover {
    color: var(--text-color);
}

/* About section headings and stats */
[data-theme="light"] .about-content h2,
[data-theme="light"] .section-header h2,
[data-theme="light"] .stat-box h3,
[data-theme="light"] .project-info h3 {
    color: var(--text-color);
}

[data-theme="light"] .about-content .lead {
    color: #222;
}

/* Skills section */
[data-theme="light"] .skill-card {
    background-color: var(--card-bg);
    border-color: var(--border-color);
}

[data-theme="light"] .skill-card:hover {
    background-color: rgba(0, 0, 0, 0.05);
    border-color: var(--text-color);
}

[data-theme="light"] .skill-name {
    color: #333;
}

[data-theme="light"] .skill-icon {
    color: var(--text-color);
}

[data-theme="light"] .filter-btn {
    color: #555;
    border-color: var(--border-color);
}

[data-theme="light"] .filter-btn:hover {
    color: var(--text-color);
    background-color: rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .filter-btn.active {
    background-color: #3b82f6;
    color: white;
    border-color: #3b82f6;
}

/* Contact section */
[data-theme="light"] .contact-visual img {
    filter: none;
}

[data-theme="light"] .contact-intro {
    color: #444;
}

[data-theme="light"] .form-group label {
    color: #555;
}

[data-theme="light"] .form-group input,
[data-theme="light"] .form-group textarea {
    color: var(--text-color);
    border-color: var(--border-color);
}

[data-theme="light"] .form-group input::placeholder,
[data-theme="light"] .form-group textarea::placeholder {
    color: #999;
}

/* Buttons */
[data-theme="light"] .btn {
    border-color: var(--text-color);
    color: var(--text-color);
}

[data-theme="light"] .btn:hover {
    background-color: var(--text-color);
    color: var(--bg-color);
}

[data-theme="light"] .btn-submit {
    background-color: var(--text-color);
    color: var(--bg-color);
}

[data-theme="light"] .btn-submit:hover {
    background-color: transparent;
    color: var(--text-color);
}

/* Project links */
[data-theme="light"] .btn-link {
    color: var(--text-color);
}

[data-theme="light"] .btn-link:hover {
    border-color: var(--text-color);
}

/* Secondary text colors */
[data-theme="light"] .project-info p,
[data-theme="light"] .about-content p,
[data-theme="light"] .stat-box p,
[data-theme="light"] .info-item .label,
[data-theme="light"] .section-subtitle,
[data-theme="light"] .section-description {
    color: #555;
}

/* Footer */
[data-theme="light"] .scroll-top-btn {
    background-color: rgba(0, 0, 0, 0.05);
    border-color: var(--border-color);
}

[data-theme="light"] .scroll-top-btn:hover {
    background-color: var(--text-color);
    color: var(--bg-color);
}

[data-theme="light"] .social-icon-box {
    background-color: rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .social-icon-box:hover {
    background-color: var(--text-color);
    color: var(--bg-color);
}

[data-theme="light"] .footer-logo {
    color: var(--text-color);
}

[data-theme="light"] .copyright {
    color: #666;
}