/* Color Scheme */
@property --primary-color {
    syntax: '<color>';
    inherits: true;
    initial-value: #4dd0e1;
}

@property --secondary-color {
    syntax: '<color>';
    inherits: true;
    initial-value: #0d47a1;
}

:root {
    --primary-color: #4dd0e1;
    --secondary-color: #0d47a1;
    --accent-color: #6bb6c4;

    --text-color: #e0e0e0;
    --secondary-text-color: #b0b0b0;

    --base-background-color: #0a0a0a;
    --faded-background-color: rgba(20, 20, 20, 0.6);
    --strong-background-color: rgba(10, 10, 10, 0.8);

    --fade-rgb: 77, 208, 225;
    --button-background-color: rgba(var(--fade-rgb), 0.1);
    --border-color: rgba(var(--fade-rgb), 0.2);
    --hover-color: rgba(var(--fade-rgb), 0.3);
    --text-shadow-color: rgba(var(--fade-rgb), 0.5);

    --opposing-color: #ff6464;
    --opposing-border-color: rgba(255, 100, 100, 0.3);
    --opposing-shadow-color: rgba(255, 100, 100, 0.5);
}

html[data-view="programmer"] {
    --primary-color: #51e96a;
    --secondary-color: #0d704a;
    --accent-color: #78ca86;

    --fade-rgb: 77, 225, 158; 
}

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

body {
    color: var(--text-color);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--base-background-color);
    overflow-x: hidden;
}

/* Canvas Background */
.smoke-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.content {
    position: relative;
    z-index: 2;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 2rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: var(--strong-background-color);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    min-height: 90px;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--text-shadow-color);
    text-decoration: none;
    line-height: 1;
}

.nav-links {
    display: flex;
    gap: 3rem;
    list-style: none;
    height: 40px;
    align-items: center;
}

.nav-links a {
    color: var(--accent-color);
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s;
    position: relative;
}

.nav-links a:hover {
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--text-shadow-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s;
}

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

.back-button {
    padding: 0.8rem 2rem;
    background: var(--button-background-color);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.back-button:hover {
    background: var(--border-color);
    border-color: var(--primary-color);
    box-shadow: 0 0 20px var(--border-color);
}

.back-button svg {
    fill: var(--primary-color);
}

/* Hero Sections*/
header {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Portfolio Hero */
#home {
    height: 100vh;
    padding: 5rem 10%;
}

.hero-title {
    font-size: 5rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    transform: translateY(50px);
    /*text-shadow: 0 0 30px rgba(77, 208, 225, 0.5);*/
    animation: fadeInUp 1s ease forwards;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-top: 1rem;
    letter-spacing: 0.3em;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease 0.3s forwards;
}

.glow-line {
    width: 200px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    margin: 2rem auto;
    opacity: 0;
    animation: fadeIn 1s ease 0.6s forwards, pulse 2s ease-in-out infinite;
}

/* Project Hero */
.project-hero-image {
    width: 100%;
    height: 100%;
    border-bottom: 2px solid var(--accent-color);
    object-fit: cover;
}

.project-hero-box {
    position: absolute;
    padding: 1.5rem 4rem;
    background: var(--strong-background-color);
    border: 2px solid var(--border-color);
    border-radius: 150px;
}

.project-title {
    font-size: 4rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.project-subtitle {
    font-size: 1.3rem;
    text-align: center;
    color: var(--accent-color);
    margin-bottom: 2rem;
}

.project-tags {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.tag {
    padding: 0.5rem 1.5rem;
    background: var(--button-background-color);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--primary-color);
    white-space: nowrap;
}

.projects-button-container {
    text-align: center;
    margin-top: 4rem;
}

.projects-see-more-button {
    padding: 0.8rem 2rem;
    background: var(--button-background-color);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s;
}

.projects-see-more-button:hover {
    background: var(--border-color);
    border-color: var(--primary-color);
    box-shadow: 0 0 40px var(--border-color);
}

/* Animations */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes searchGradientSweep {
    from {
        left: -50%;
    }
    to {
        left: 100%;
    }
}

/* Sections */
section {
    padding: 5rem 10%;
    padding-bottom: 12rem;
    position: relative;
}

.contact-section {
    padding-bottom: 5rem;
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 3rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.section-title::before,
.section-title::after {
    content: '';
    flex: 1;
    height: 2px;
}

.section-title::before {
    background: linear-gradient(270deg, var(--primary-color), transparent);
}

.section-title::after {
    background: linear-gradient(90deg, var(--primary-color), transparent);
}

/* Content Boxes */
.content-box {
    background: var(--faded-background-color);
    padding: 3rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    line-height: 1.8;
}

.content-box p {
    color: var(--text-color);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.content-box p:last-child {
    margin-bottom: 0;
}

.content-box span.content-designer,
.content-box span.content-programmer {
    color: var(--primary-color);
}

/* Resume Section */
.resume-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 3rem;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.resume-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
    max-width: 320px;
}

.resume-grid .content-box {
    padding: 2rem;
}

.resume-grid .content-box p {
    font-size: 1rem;
}

.resume-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.resume-button-primary,
.resume-button-outline {
    padding: 1rem 2.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    transition: all 0.3s;
}

.resume-button-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    color: #fff;
}

.resume-button-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px var(--hover-color);
}

.resume-button-outline {
    background: var(--button-background-color);
    border: 2px solid var(--border-color);
    color: var(--primary-color);
}

.resume-button-outline:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 20px var(--text-shadow-color);
    transform: translateY(-3px);
}

/* About Section */
.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-content .content-box {
    margin-bottom: 3rem;
}

.about-content .content-box:last-child {
    margin-bottom: 0;
}

/* Project Description */
.description-content {
    max-width: 1000px;
    margin: 0 auto;
}

.description-content .content-box {
    margin-bottom: 3rem;
}

.description-content .content-box:last-child {
    margin-bottom: 0;
}

/* Project Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.project-card {
    background: var(--faded-background-color);
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: 10px;
    transition: all 0.5s;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: block;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
    transition: left 0.5s;
}

.project-card:hover::before {
    left: 100%;
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 40px var(--border-color);
}

.project-link {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--faded-background-color);
    border-radius: 50%;
    border: 1px solid var(--hover-color);
    transition: all 0.3s;
    opacity: 0;
}

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

.project-card:hover .project-image {
    border-color: var(--primary-color);
}

.project-link svg {
    width: 16px;
    height: 16px;
    fill: var(--primary-color);
}

.project-card h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.project-card h4 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    margin-left: 10px;
}

.project-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    margin-bottom: 1rem;
    transition: all 0.5s;
}

.project-desc {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Projects Page */
.projects-layout {
    display: flex;
    align-items: flex-start;
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.filter-sidebar {
    position: sticky;
    top: 140px;
    width: 280px;
    flex-shrink: 0;
    background: var(--faded-background-color);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 2rem;
    max-height: calc(100vh - 140px);
    overflow-y: auto;
}

.filter-sidebar-title {
    color: var(--primary-color);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1.5rem;
}

.filter-block {
    margin-bottom: 2rem;
}

.filter-block:last-child {
    margin-bottom: 0;
}

.filter-block-label {
    color: var(--secondary-text-color);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.8rem;
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-tag {
    padding: 0.6rem 1rem;
    background: var(--faded-background-color);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 0.9rem;
    color: var(--secondary-text-color);
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.filter-tag:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.filter-tag.active {
    background: var(--faded-background-color);
    border-color: var(--primary-color);
    color: var(--primary-color);
    box-shadow: 0 0 15px var(--border-color);
}

/* Projects List */
.projects-list-container {
    flex: 1;
    min-width: 0;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 2rem;
}

.projects-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.project-list-card {
    display: flex;
    gap: 1.5rem;
    background: var(--faded-background-color);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 1.2rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.project-list-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px var(--border-color);
}

.project-list-banner {
    width: 220px;
    height: 140px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    background: var(--faded-background-color);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-list-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-list-banner-placeholder {
    color: var(--secondary-text-color);
    font-size: 0.8rem;
    text-align: center;
    padding: 0.5rem;
}

.project-list-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.project-list-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}

.project-list-header h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
}

.professional-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.2rem 0.7rem;
    background: var(--faded-background-color);
    border: 1px solid var(--primary-color);
    border-radius: 20px;
    font-size: 0.7rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    white-space: nowrap;
}

.professional-badge svg {
    width: 10px;
    height: 10px;
    fill: var(--primary-color);
}

.project-list-desc {
    color: var(--secondary-text-color);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.project-list-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: auto;
}

.search-bar-container {
    position: relative;
    max-width: 700px;
    margin: 0 auto 2rem;
    background: var(--faded-background-color);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    overflow: hidden;
    transition: all 0.3s;
}

.search-bar-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
    transition: left 0.5s;
    pointer-events: none;
}

.search-bar {
    position: relative;
    display: block;
    width: 100%;
    padding: 1rem 1.5rem;
    background: transparent;
    border: 0;
    border-radius: inherit;
    color: var(--text-color);
    font-size: 1rem;
    z-index: 1;
}

.search-bar::placeholder {
    color: var(--secondary-text-color);
}

.search-bar-container:hover::before {
    left: -50%;
}

.search-bar-container:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 20px var(--primary-color);
}

.search-bar-container:focus-within::before {
    animation: searchGradientSweep 0.5s ease forwards;
}

.search-bar:focus {
    outline: none;
}

.results-count {
    color: var(--secondary-text-color);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

/* Skills Section */
.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.skill-category {
    background: var(--faded-background-color);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.skill-category h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.skill-item {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-color);
    font-size: 1.1rem;
    transition: all 0.5s ease;
    transform: translateX(-20px);
    opacity: 0;
}

.skill-item span {
    transition: color 0.3s;
}

.skill-item.in-view {
    opacity: 1;
    transform: translateX(0);
}

.skill-item:hover,
.skill-item.in-view:hover {
    transform: translateX(5px);
}

.skill-item:hover span,
.skill-item.in-view:hover span {
    color: var(--primary-color);
}

.skill-icon {
    width: 20px;
    height: 20px;
    min-width: 20px;
    fill: var(--primary-color);
    filter: drop-shadow(0 0 3px var(--text-shadow-color));
    transition: all 0.4s;
}

.skill-item:hover .skill-icon {
    filter: drop-shadow(0 0 8px var(--text-shadow-color));
    transform: rotate(20deg);
}

/* Carousels */
.carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 2rem auto;
    overflow: hidden;
}

.carousel {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-item {
    min-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.media-container {
    width: 100%;
    height: 600px;
    background: var(--faded-background-color);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.media-placeholder {
    color: var(--primary-color);
    font-size: 1.2rem;
    text-align: center;
    padding: 2rem;
}

.media-container img,
.media-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-caption {
    color: var(--text-color);
    font-size: 1.1rem;
    text-align: center;
    max-width: 800px;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.carousel-button {
    width: 50px;
    height: 50px;
    background: var(--button-background-color);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.carousel-button:hover {
    background: var(--hover-color);
    border-color: var(--primary-color);
    box-shadow: 0 0 20px var(--border-color);
}

.carousel-button svg {
    width: 20px;
    height: 20px;
    fill: var(--primary-color);
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.indicator {
    width: 12px;
    height: 12px;
    background: var(--button-background-color);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

.indicator.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 0 10px var(--border-color);
}


/* Links Grid */
.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.link-card {
    background: var(--faded-background-color);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.link-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px var(--border-color);
}

.link-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--button-background-color);
    border-radius: 50%;
    border: 2px solid var(--border-color);
    transition: all 0.3s;
}

.link-card:hover .link-icon {
    background: var(--hover-color);
    border-color: var(--primary-color);
    box-shadow: 0 0 20px var(--border-color);
}

.link-icon svg {
    width: 30px;
    height: 30px;
    fill: var(--primary-color);
}

.link-card h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin: 0;
}

.link-card p {
    color: var(--text-color);
    font-size: 0.95rem;
    margin: 0;
}

/* Audio Control */
.audio-control {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: var(--faded-background-color);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 1000;
}

.audio-control:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 20px var(--border-color);
    transform: scale(1.1);
}

.audio-control svg {
    width: 24px;
    height: 24px;
    fill: var(--primary-color);
}

.audio-control.muted {
    border-color: var(--opposing-border-color);
}

.audio-control.muted:hover {
    border-color: var(--opposing-color);
    box-shadow: 0 0 20px var(--opposing-shadow-color);
}

.audio-control.muted svg {
    fill: var(--opposing-color);
}

/* View Toggle */
.view-toggle {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    display: flex;
    background: var(--faded-background-color);
    border: 2px solid var(--border-color);
    border-radius: 30px;
    padding: 4px;
    gap: 4px;
    z-index: 1000;
}

.view-toggle-button {
    padding: 0.6rem 1.3rem;
    background: transparent;
    border: none;
    border-radius: 24px;
    color: var(--secondary-text-color);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05rem;
    cursor: pointer;
    transition: all 0.3s;
}

.view-toggle-button:hover {
    color: var(--primary-color);
}

.view-toggle-button.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    box-shadow: 0 0 15px var(--hover-color);
}

/* Dual-content visibility (by data-view) */
.content-designer,
.content-programmer {
    display: none;
}

html[data-view="designer"] .content-designer {
    display: block;
}

html[data-view="programmer"] .content-programmer {
    display: block;
}

/* Temporary Color Trans Override */
.theme-override,
.theme-override * {
    --trans-time: 0.6s;
    transform: background-color var(--trans-time) ease,
               border-color var(--trans-time) ease,
               color var(--trans-time) ease,
               box-shadow var(--trans-time) ease,
               fill var(--trans-time) ease,
               stroke var(--trans-time) ease,
               --primary-color var(--trans-time) ease,
               --secondary-color var(--trans-time) ease !important;
}

/* Code Showcase */
.code-block {
    background: var(--strong-background-color);
    border: 1px solid rgba(var(--fade-rgb), 0.25);
    border-radius: 10px;
    overflow: hidden;
    margin: 0 0 2rem;
}

.code-block:last-child {
    margin-bottom: 0;
}

.code-block-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.25rem;
    background: var(--faded-background-color);
    border-bottom: 1px solid var(--border-color);
    font-size: 0.85rem;
    color: var(--primary-color);
    font-family: 'Courier New', Consolas, Monaco, monospace;
    letter-spacing: 0.03rem;
}

.code-block pre {
    margin: 0;
    padding: 1.5rem;
    overflow-x: auto;
}

.code-block code.hljs {
    background: transparent !important;
    font-family: 'Courier New', Consolas, Monaco, monospace;
    font-size: 0.9rem;
    line-height: 1.7;
}

/* Footer */
footer {
    background: var(--strong-background-color);
    border-top: 1px solid var(--border-color);
    padding: 2rem 10%;
    text-align: center;
    position: relative;
    z-index: 10;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
}

.footer-title {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer-credits {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    color: var(--secondary-text-color);
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-credit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.footer-credit a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s;
    position: relative;
}

.footer-credit a:hover {
    color: var(--accent-color);
    text-shadow: 0 0 10px var(--hover-color);
}

.footer-credit a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary-color);
    transition: width 0.3s;
}

.footer-credit a:hover::after {
    width: 100%;
}

.footer-divider {
    width: 100px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    margin: 1.5rem auto;
}

.footer-copyright {
    color: var(--secondary-text-color);
    font-size: 0.85rem;
    margin-top: 1rem;
}

/* Responsive Mobile Design */
@media (max-width: 768px) {
    .audio-control {
        right: 1rem;
        bottom: 1rem;
    }

    .view-toggle {
        left: 1rem;
        bottom: 1rem;
    }

    .view-toggle-button {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }

    .hero-title,
    .project-title {
        font-size: 3rem;
    }
    
    .hero-subtitle,
    .project-subtitle {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }
    
    .nav-links {
        gap: 1rem;
    }

    .media-container {
        height: 400px;
    }

    section {
        padding: 4rem 5%;
    }

    .projects-gird,
    .links-grid {
        grid-template-columns: 1fr;
    }

    .projects-layout {
        flex-direction: column;
    }

    .filter-sidebar {
        position: static;
        width: 100%;
        max-height: none;
    }

    .projects-list-card {
        flex-direction: column;
    }

    .project-list-banner {
        width: 100%;
        height: 180px;
    }

    .resume-grid {
        column-width: 100%;
    }

    footer {
        padding: 2rem 5%;
    }

    .footer-credit {
        font-size: 0.9rem;
    }
}
