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

/* Footer styles */
footer {
    border: none !important;
    border-top: none !important;
    margin-top: auto !important;
    background-color: var(--bg-color) !important;
    padding: 2rem 0;
}

footer .container {
    font-size: 1.2rem;
}

footer .footer-social-icon {
    font-size: 1.5rem !important;
    padding: 0.5rem;
}

footer small {
    font-size: 1rem !important;
    display: block;
    margin-top: 1rem;
}

footer.bg-light,
footer.py-3,
footer {
    background-color: var(--bg-color) !important;
    border: none !important;
    border-top: none !important;
    box-shadow: none !important;
}

/* Remove any Bootstrap border utilities */
.border,
.border-top,
.border-bottom {
    border: none !important;
    border-top: none !important;
    border-bottom: none !important;
}

:root {
    /* Light grey theme colors */
    --bg-color: #f5f5f5;
    --text-primary: #333333;
    --text-secondary: #666666;
    --text-muted: #999999;
    --accent-color: #333333;
    --card-bg: #ffffff;
    --border-color: #e0e0e0;
    --hover-bg: #ebebeb;
    --section-bg: #f5f5f5;
    --header-bg: #f5f5f5;
    --footer-bg: #f5f5f5;
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-size-base: 16px;
    --font-size-sm: 14px;
    --font-size-lg: 18px;
    --font-size-xl: 24px;
    --font-size-2xl: 32px;
    
    /* Spacing */
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 32px;
    --spacing-xl: 48px;
    --spacing-2xl: 64px;
    
    /* Layout */
    --max-width: 1200px;
    --border-radius: 8px;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    font-size: var(--font-size-base);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

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

html {
    scroll-behavior: smooth;
}

*:focus {
    outline: none;
}

/* Header and Navigation */
.header {
    position: sticky;
    top: 0;
    background-color: var(--bg-color);
    z-index: 1000;
    padding: var(--spacing-lg) 0;
    transition: background-color 0.3s ease;
    box-shadow: none;
    border-bottom: none;
}

body.home-page .header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--bg-color);
    box-shadow: none;
    border-bottom: none;
}

body.home-page .header.scrolled {
    position: fixed;
    background-color: var(--bg-color);
    box-shadow: none;
    border-bottom: none;
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    padding: 0 var(--spacing-md);
    gap: var(--spacing-md);
}

.nav-brand {
    justify-self: start;
}

.nav-brand a,
.brand-link {
    text-decoration: none;
    font-weight: 600;
    font-size: 20px;
    color: var(--text-primary);
}

body.home-page .nav-brand a,
body.home-page .brand-link {
    color: var(--text-primary);
    text-shadow: none;
}

body.home-page .header.scrolled .nav-brand a,
body.home-page .header.scrolled .brand-link {
    color: var(--text-primary);
    text-shadow: none;
}

.nav-center {
    justify-self: end;
}

.nav-links {
    display: flex;
    gap: var(--spacing-xl);
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    font-weight: 400;
    font-size: var(--font-size-base);
    transition: color 0.2s ease;
    white-space: nowrap;
}

body.home-page .nav-link {
    color: var(--text-secondary);
    text-shadow: none;
}

body.home-page .header.scrolled .nav-link {
    color: var(--text-secondary);
    text-shadow: none;
}

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

body.home-page .nav-link:hover {
    color: var(--text-primary);
}

body.home-page .header.scrolled .nav-link:hover {
    color: var(--text-primary);
}

.nav-right {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

/* iOS-style Theme Toggle */
.theme-toggle-container {
    cursor: pointer;
    width: 70px;
    height: 32px;
    position: relative;
    margin-left: 40px;
}

.theme-toggle-track {
    width: 70px;
    height: 32px;
    background: #ddd;
    border-radius: 16px;
    position: relative;
    transition: background-color 0.3s ease;
    box-shadow: 
        inset 0 1px 3px rgba(0, 0, 0, 0.2),
        0 1px 2px rgba(0, 0, 0, 0.05);
}

.theme-toggle-thumb {
    position: absolute;
    left: 2px;
    top: 2px;
    width: 28px;
    height: 28px;
    background: #ffffff;
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    box-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.2),
        0 1px 2px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-icon {
    width: 16px;
    height: 16px;
    transition: opacity 0.2s ease;
}

.sun-icon {
    color: #000000;
    opacity: 1;
}

.moon-icon {
    color: #000000;
    opacity: 0;
    position: absolute;
}

/* Dark mode toggle styles */
body[data-theme="dark"] .theme-toggle-track {
    background: #3a3a3a;
}

body[data-theme="dark"] .theme-toggle-thumb {
    transform: translateX(38px);
    background: #ffffff;
}

body[data-theme="dark"] .sun-icon {
    opacity: 0;
}

body[data-theme="dark"] .moon-icon {
    opacity: 1;
    color: #000000;
}

body.home-page .theme-toggle-container {
    opacity: 1;
}

body.home-page .header.scrolled .theme-toggle-container {
    opacity: 1;
}

.theme-toggle-container:hover .theme-toggle-track {
    background: #ccc;
}

body[data-theme="dark"] .theme-toggle-container:hover .theme-toggle-track {
    background: #4a4a4a;
}

/* Hero Banner */
.hero-banner {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    background-image: url('../images/windows.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
}

.hero-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.15) 0%, rgba(22, 33, 62, 0.1) 100%);
    z-index: 1;
}

.hero-banner-content {
    position: relative;
    z-index: 2;
    padding: 0 var(--spacing-2xl);
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.hero-banner-name {
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: var(--spacing-md);
    line-height: 1;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.hero-banner-name .first-name {
    display: block;
    font-weight: 700;
}

.hero-banner-name .last-name {
    display: block;
    font-weight: 300;
}

.hero-banner-subtitle {
    font-size: clamp(1rem, 2vw, 1.5rem);
    color: rgba(255, 255, 255, 0.95);
    font-weight: 400;
    letter-spacing: 0.1em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

/* Skills Section */
.skills-section {
    background-color: var(--bg-color);
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--spacing-2xl) var(--spacing-md);
}

.skills-title {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-2xl);
    text-align: center;
}

.skills-grid-icons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.skill-icon-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.skill-icon {
    width: 80px;
    height: 80px;
    position: relative;
    border-radius: 18px;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.4) 0%,
        rgba(255, 255, 255, 0.25) 50%,
        rgba(255, 255, 255, 0.15) 100%
    );
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    box-shadow: 
        inset 0 1px 1px 0 rgba(255, 255, 255, 0.8),
        inset 1px 0 1px 0 rgba(255, 255, 255, 0.6),
        inset -1px 0 1px 0 rgba(255, 255, 255, 0.6),
        inset 0 0 0 1px rgba(255, 255, 255, 0.5),
        inset 0 4px 8px 0 rgba(255, 255, 255, 0.4),
        inset 0 -2px 4px 0 rgba(0, 0, 0, 0.1),
        0 4px 12px rgba(0, 0, 0, 0.15),
        0 12px 32px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.skill-icon:hover {
    box-shadow: 
        inset 0 1px 1px 0 rgba(255, 255, 255, 0.9),
        inset 1px 0 1px 0 rgba(255, 255, 255, 0.7),
        inset -1px 0 1px 0 rgba(255, 255, 255, 0.7),
        inset 0 0 0 1px rgba(255, 255, 255, 0.6),
        inset 0 4px 12px 0 rgba(255, 255, 255, 0.5),
        inset 0 -2px 4px 0 rgba(0, 0, 0, 0.1),
        0 6px 16px rgba(0, 0, 0, 0.2),
        0 16px 40px rgba(0, 0, 0, 0.15);
}

/* Top edge highlight - more visible */
.skill-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.7) 0%,
        rgba(255, 255, 255, 0.5) 20%,
        rgba(255, 255, 255, 0.2) 50%,
        transparent 100%
    );
    border-radius: 18px 18px 0 0;
    pointer-events: none;
    mix-blend-mode: overlay;
}

/* Radial glow - more dramatic */
.skill-icon::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 18px;
    background: 
        radial-gradient(
            ellipse at 50% -10%,
            rgba(255, 255, 255, 0.8) 0%,
            rgba(255, 255, 255, 0.5) 10%,
            rgba(255, 255, 255, 0.2) 25%,
            transparent 50%
        ),
        radial-gradient(
            ellipse at 10% 10%,
            rgba(255, 255, 255, 0.6) 0%,
            transparent 30%
        ),
        radial-gradient(
            ellipse at 90% 10%,
            rgba(255, 255, 255, 0.6) 0%,
            transparent 30%
        );
    pointer-events: none;
    mix-blend-mode: soft-light;
}

.skill-icon img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    position: relative;
    z-index: 1;
    border-radius: 12px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}


/* Make Fusion 360 even bigger */
.skill-icon-card:first-child .skill-icon img {
    width: 60px;
    height: 60px;
}

.skill-icon-card .skill-name {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--text-primary);
    text-align: center;
}

/* Timeline Section */
.modern-timeline-section {
    padding: var(--spacing-2xl) 0;
    background-color: var(--section-bg);
    overflow-x: auto;
}

.modern-timeline-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 80px;
    color: var(--text-primary);
}

.horizontal-timeline {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    gap: 20px;
}

.timeline-line {
    position: absolute;
    top: 12px;
    left: 40px;
    right: 40px;
    height: 3px;
    background: linear-gradient(to right, #444444 0%, #666666 33%, #888888 66%, #aaaaaa 100%);
    z-index: 0;
    flex-wrap: wrap;
}

.timeline-card {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
    cursor: pointer;
    transition: all 0.3s ease;
}

.timeline-card-dot {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #666666;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.timeline-card:hover .timeline-card-dot {
    transform: scale(1.3);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.timeline-card-box {
    background: rgba(128, 128, 128, 0.05);
    border: 2px solid #666666;
    border-radius: 50px;
    padding: 15px 40px;
    min-width: 200px;
    text-align: center;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.timeline-card:hover .timeline-card-box {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    background: rgba(128, 128, 128, 0.1);
}

.timeline-card-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.timeline-card-subtitle {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--text-secondary);
    margin: 5px 0 0 0;
}

.timeline-card-date {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
    color: #666666;
}

.timeline-end-label {
    text-align: right;
    font-weight: 700;
    color: #666666;
    margin-top: 30px;
    font-size: 1.125rem;
    letter-spacing: 2px;
    padding-right: 40px;
}





/* About Page Styles */
.about-section {
    min-height: 70vh;
    padding: var(--spacing-2xl) 0;
    background-color: #f5f5f5;
}

.page-title {
    font-size: var(--font-size-2xl);
    font-weight: 600;
    text-align: center;
    margin-bottom: var(--spacing-2xl);
    color: var(--text-primary);
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-2xl);
}

.about-intro {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--spacing-xl);
    align-items: center;
    background-color: #ffffff;
    padding: var(--spacing-xl);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.about-image {
    display: flex;
    justify-content: center;
}

.profile-image-large {
    width: 200px;
    height: 250px;
    border-radius: 20px;
    object-fit: cover;
    border: 3px solid var(--border-color);
}

.about-text h2 {
    font-size: var(--font-size-xl);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.intro-text {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    font-weight: 500;
}

.about-text p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--spacing-sm);
}

.about-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
}

.detail-section {
    background-color: #ffffff;
    padding: var(--spacing-lg);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.detail-section h3 {
    font-size: var(--font-size-lg);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.detail-section p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--spacing-sm);
}

.interests-list {
    list-style: none;
    padding: 0;
}

.interests-list li {
    color: var(--text-secondary);
    padding: var(--spacing-xs) 0;
    border-bottom: 1px solid var(--border-color);
}

.interests-list li:last-child {
    border-bottom: none;
}

.contact-links {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.contact-link {
    color: var(--accent-color);
    font-weight: 500;
    padding: var(--spacing-xs) var(--spacing-sm);
    border: 1px solid var(--accent-color);
    border-radius: var(--border-radius);
    transition: all 0.2s ease;
    text-decoration: none;
}

.contact-link:hover {
    background-color: var(--accent-color);
    color: white;
}

/* Hobbies Slideshow */
.hobbies-section {
    margin-top: var(--spacing-2xl);
    display: none;
}

.hobbies-title {
    font-size: var(--font-size-xl);
    font-weight: 600;
    text-align: center;
    margin-bottom: var(--spacing-xl);
    color: var(--text-primary);
}

.hobbies-slideshow {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    background-color: #ffffff;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.hobby-slide {
    display: none;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    min-height: 400px;
}

.hobby-slide.active {
    display: grid;
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.hobby-image {
    height: 100%;
    overflow: hidden;
}

.hobby-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hobby-content {
    padding: var(--spacing-xl);
}

.hobby-content h4 {
    font-size: var(--font-size-lg);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.hobby-content p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.slide-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--text-primary);
    transition: all 0.3s ease;
    z-index: 10;
}

.slide-btn:hover {
    background-color: rgba(255, 255, 255, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.prev-btn {
    left: 15px;
}

.next-btn {
    right: 15px;
}

.slide-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background-color: rgba(255, 255, 255, 1);
    width: 30px;
    border-radius: 6px;
}

.brand-link {
    font-weight: 600;
    font-size: var(--font-size-lg);
    color: var(--text-primary);
    text-decoration: none;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--spacing-2xl) var(--spacing-md);
}

/* Footer */
.bg-light {
    background-color: var(--bg-color) !important;
    border-top: 1px solid var(--border-color);
}

.footer-social-icon {
    display: inline-block;
    transition: transform 0.3s ease, color 0.3s ease;
}

.footer-social-icon:hover {
    transform: translateY(-5px);
    color: var(--text-primary) !important;
}

/* Blog Styles */
.blog-card-custom {
    border-radius: 12px !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    height: 480px;
    background-color: var(--card-bg) !important;
}

.blog-card-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1) !important;
}

.blog-card-custom .card-title {
    color: var(--text-primary) !important;
    font-weight: 600 !important;
}

.blog-card-custom .card-text {
    color: var(--text-secondary) !important;
}

.blog-image-container {
    height: 200px;
    overflow: hidden;
    position: relative;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.blog-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-card-custom {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card-custom:hover {
    transform: translateY(-5px);
}

.blog-card-clickable {
    cursor: pointer;
}

.blog-card-clickable:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15) !important;
}

.blog-card-clickable .text-primary {
    transition: transform 0.3s ease;
    display: inline-block;
}

.blog-card-clickable:hover .text-primary {
    transform: translateX(5px);
}

.blog-post-image-container {
    border-radius: 16px;
    overflow: hidden;
    max-height: 400px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.blog-post-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-post-image:hover {
    transform: scale(1.02);
}

.blog-post-content {
    font-size: 1.1rem;
    line-height: 1.8;
}

.blog-post-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.blog-post-content p {
    margin-bottom: 1.2rem;
}

.blog-post-content ul {
    margin-bottom: 1.2rem;
    padding-left: 2rem;
}

.blog-post-content li {
    margin-bottom: 0.5rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .horizontal-timeline {
        flex-wrap: wrap;
        gap: 40px;
        justify-content: center;
    }
    
    .timeline-line {
        display: sticky;
    }
    
    .timeline-card {
        flex: 0 1 calc(50% - 20px);
        max-width: 300px;
    }
    

}

@media (max-width: 768px) {
    .hero-banner {
        height: 80vh;
        min-height: 500px;
    }
    
    .hero-banner-content {
        padding: 0 var(--spacing-lg);
    }
    
    .skills-grid-icons {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 20px;
        padding: 20px 10px;
    }
    
    .skill-icon-card {
        padding: 20px 15px;
    }
    
    .skill-icon {
        width: 60px;
        height: 60px;
    }
    
    .horizontal-timeline {
        flex-direction: column;
        padding: 0 20px;
    }
    
    .timeline-card {
        width: 100%;
        max-width: 100%;
    }
    
    .timeline-card-box {
        min-width: auto;
        width: 100%;
    }
    
    .timeline-end-label {
        text-align: center;
        padding-right: 0;
    }
    

    
    .nav-container {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
        text-align: center;
    }
    
    .nav-brand,
    .nav-center,
    .nav-right {
        justify-self: center;
    }
    
    .nav-links {
        gap: var(--spacing-sm);
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .about-intro {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .about-details {
        grid-template-columns: 1fr;
    }
    
    .profile-image-large {
        width: 150px;
        height: 150px;
    }
}

/* Dark Theme */
body[data-theme="dark"] {
    --bg-color: #0a0a0a;
    --text-primary: #ffffff;
    --text-secondary: #888888;
    --text-muted: #666666;
    --card-bg: #111111;
    --border-color: #222222;
    --hover-bg: #1a1a1a;
    --section-bg: #0a0a0a;
    --header-bg: #0a0a0a;
    --footer-bg: #0a0a0a;
}

body[data-theme="dark"] .header {
    background-color: #0a0a0a !important;
    border-bottom: none;
    opacity: 1 !important;
}

body[data-theme="dark"] .nav-container {
    background-color: transparent;
}

body.home-page[data-theme="dark"] .header {
    background-color: #0a0a0a !important;
    opacity: 1 !important;
}

body.home-page[data-theme="dark"] .header.scrolled {
    background-color: #0a0a0a !important;
    opacity: 1 !important;
}

body[data-theme="dark"] footer {
    background-color: var(--bg-color) !important;
    border-top: none !important;
}

body[data-theme="dark"] .timeline-card-title {
    color: #ffffff;
}

body[data-theme="dark"] .skills-title {
    color: #ffffff;
}

body[data-theme="dark"] .skill-icon-card .skill-name {
    color: #ffffff;
}

body[data-theme="dark"] .timeline-card-box {
    background: rgba(255, 255, 255, 0.05);
}

body[data-theme="dark"] .timeline-card:hover .timeline-card-box {
    background: rgba(255, 255, 255, 0.1);
}

body[data-theme="dark"] .code-preview,
body[data-theme="dark"] .project-image,
body[data-theme="dark"] .movie-posters {
    background: #0d1117;
}

body[data-theme="dark"] .text-secondary {
    color: #888888 !important;
}

body[data-theme="dark"] .text-muted {
    color: #999999 !important;
}

body[data-theme="dark"] small {
    color: #999999 !important;
}

body[data-theme="dark"] .bg-light {
    background-color: #111111 !important;
}

body[data-theme="dark"] .card {
    background-color: #111111 !important;
    border-color: #222222 !important;
    color: #ffffff !important;
}

body[data-theme="dark"] .card-title {
    color: #ffffff !important;
}

body[data-theme="dark"] .card-text {
    color: #aaaaaa !important;
}

body[data-theme="dark"] .skill-icon {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.3),
        0 2px 4px rgba(0, 0, 0, 0.2);
}

body[data-theme="dark"] .skill-icon::before {
    display: none;
}

body[data-theme="dark"] .skill-icon::after {
    display: none;
}

body[data-theme="dark"] .skill-icon img {
    opacity: 0.9;
}

body[data-theme="dark"] .skill-icon-card[data-color="white"] .skill-icon img {
    filter: invert(1) brightness(1.2);
}

body[data-theme="dark"] h1,
body[data-theme="dark"] h2,
body[data-theme="dark"] h3,
body[data-theme="dark"] h4,
body[data-theme="dark"] h5,
body[data-theme="dark"] h6 {
    color: #ffffff !important;
}

body[data-theme="dark"] footer small {
    color: #888888 !important;
}

body[data-theme="dark"] footer a {
    color: #888888 !important;
}

body[data-theme="dark"] footer a:hover {
    color: #ffffff !important;
}

body[data-theme="dark"] .text-primary {
    color: #ffffff !important;
}

body[data-theme="dark"] .bg-light {
    background-color: var(--bg-color) !important;
    border-top: 1px solid var(--border-color);
}

body[data-theme="dark"] .header {
    background-color: rgba(10, 10, 10, 0.3);
}

body[data-theme="dark"] .header.scrolled {
    background-color: rgba(10, 10, 10, 0.95);
}

body[data-theme="dark"] .nav-brand a,
body[data-theme="dark"] .brand-link {
    color: rgba(255, 255, 255, 0.95) !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

body[data-theme="dark"] .header.scrolled .nav-brand a,
body[data-theme="dark"] .header.scrolled .brand-link {
    color: #ffffff !important;
    text-shadow: none;
}

body[data-theme="dark"] .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

body[data-theme="dark"] .header.scrolled .nav-link {
    color: #888888 !important;
    text-shadow: none;
}

body[data-theme="dark"] .nav-link:hover {
    color: #ffffff !important;
}

/* Dark mode About Page */
body[data-theme="dark"] .about-section {
    background-color: #0a0a0a;
}

body[data-theme="dark"] .about-intro {
    background-color: #1a1a1a;
    border-color: #333333;
}

body[data-theme="dark"] .detail-section {
    background-color: #1a1a1a;
    border-color: #333333;
}

body[data-theme="dark"] .profile-image-large {
    border-color: #333333;
}

body[data-theme="dark"] .interests-list li {
    border-color: #333333;
}

body[data-theme="dark"] .hobbies-slideshow {
    background-color: #1a1a1a;
    border-color: #333333;
}

body[data-theme="dark"] .contact-link {
    background-color: #1a1a1a;
    border-color: #888888;
    color: #888888;
}

body[data-theme="dark"] .hobby-content h4 {
    color: #ffffff;
}

body[data-theme="dark"] .hobby-content p {
    color: #aaaaaa;
}

body[data-theme="dark"] .slide-btn {
    background-color: rgba(26, 26, 26, 0.9);
    color: #ffffff;
}

body[data-theme="dark"] .slide-btn:hover {
    background-color: rgba(26, 26, 26, 1);
}

body[data-theme="dark"] .indicator {
    background-color: rgba(255, 255, 255, 0.3);
}

body[data-theme="dark"] .indicator.active {
    background-color: rgba(255, 255, 255, 0.8);
}

body[data-theme="dark"] .hobbies-title {
    color: #ffffff;
}
