/* ==============================================
   FRUTIGER AERO DESIGN SYSTEM
   Portfolio for TrulyAverage (Alexander)
   ============================================== */

/* ==================== CSS RESET ==================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ==================== CSS VARIABLES ==================== */
:root {
    /* Frutiger Aero Color Palette */
    --sky-light: #e8f4fc;
    --sky-blue: #87CEEB;
    --sky-deep: #5BA3C6;
    --azure: #4A90D9;
    --green-leaf: #7CB342;
    --green-grass: #8BC34A;
    --green-nature: #9CCC65;
    --white-pure: #ffffff;
    --white-glass: rgba(255, 255, 255, 0.7);
    --white-frosted: rgba(255, 255, 255, 0.4);
    --shadow-soft: rgba(0, 0, 0, 0.1);
    --shadow-medium: rgba(0, 0, 0, 0.15);
    --text-dark: #2c3e50;
    --text-medium: #546e7a;
    --text-light: #78909c;

    /* Glass Effects */
    --glass-bg: rgba(255, 255, 255, 0.65);
    --glass-border: rgba(255, 255, 255, 0.8);
    --glass-blur: 20px;

    /* Gradients */
    --gradient-sky: linear-gradient(180deg, #87CEEB 0%, #e8f4fc 50%, #ffffff 100%);
    --gradient-hero: linear-gradient(135deg, #87CEEB 0%, #a8d8ea 25%, #cce5f0 50%, #e8f4fc 75%, #ffffff 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.6) 100%);
    --gradient-shine: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0) 50%);
    --gradient-green: linear-gradient(135deg, #8BC34A 0%, #7CB342 100%);

    /* Typography */
    --font-primary: 'Segoe UI', 'Trebuchet MS', 'Lucida Sans', Arial, sans-serif;
    --font-heading: 'Segoe UI', 'Trebuchet MS', Arial, sans-serif;

    /* Spacing */
    --section-padding: 100px 5%;
    --card-padding: 30px;
    --border-radius: 20px;
    --border-radius-lg: 30px;

    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* ==================== BASE STYLES ==================== */
html {
    scroll-behavior: smooth;
    overscroll-behavior: none;
}

body {
    font-family: var(--font-primary);
    background: var(--gradient-sky);
    background-color: #87CEEB;
    background-attachment: fixed;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* ==================== TYPOGRAPHY ==================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-dark);
}

h1 {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 700;
    text-shadow: 0 2px 10px var(--shadow-soft);
}

h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1rem;
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
}

p {
    font-size: 1.1rem;
    color: var(--text-medium);
}

a {
    color: var(--azure);
    text-decoration: none;
    transition: var(--transition-smooth);
}

a:hover {
    color: var(--sky-deep);
}

/* ==================== GLASS CARD COMPONENT ==================== */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    box-shadow:
        0 8px 32px var(--shadow-soft),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    padding: var(--card-padding);
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow:
        0 15px 40px var(--shadow-medium),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

/* ==================== NAVIGATION ==================== */
.navbar {
    position: fixed;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    padding: 10px 30px;
    box-shadow: 0 8px 32px var(--shadow-soft);
    display: flex;
    align-items: center;
    gap: 15px;
}

.navbar ul {
    display: flex;
    gap: 25px;
    list-style: none;
}

.navbar a {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 6px 12px;
    border-radius: 25px;
    transition: var(--transition-smooth);
    position: relative;
    display: inline-block;
    overflow: visible;
}

.navbar a:hover {
    background: var(--white-frosted);
    color: var(--azure);
}

.navbar a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 12px;
    right: 12px;
    height: 2px;
    background: #7CB342;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.navbar a:hover::after {
    transform: scaleX(1);
}

/* Toggle Pill Container */
.toggle-pill {
    position: fixed;
    top: 15px;
    right: 20px;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    padding: 10px 15px;
    box-shadow: 0 8px 32px var(--shadow-soft);
    display: flex;
    align-items: center;
}

body.dark-mode .toggle-pill {
    background: rgba(26, 26, 46, 0.85);
    border-color: rgba(255, 255, 255, 0.1);
}

/* Dark Mode Slider Toggle */
.dark-mode-slider {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
    cursor: pointer;
}

.dark-mode-slider input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    background:
        linear-gradient(to bottom,
            rgba(255, 255, 255, 0.5) 0%,
            rgba(255, 255, 255, 0.2) 50%,
            rgba(0, 0, 0, 0.05) 100%),
        linear-gradient(135deg, #87CEEB 0%, #5BA3C6 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.6),
        inset 0 2px 4px rgba(255, 255, 255, 0.3),
        inset 0 -2px 4px rgba(0, 0, 0, 0.1),
        0 4px 12px rgba(91, 163, 198, 0.3);
    transition: var(--transition-smooth);
}

.slider::before {
    content: '';
    position: absolute;
    height: 24px;
    width: 24px;
    left: 3px;
    bottom: 2px;
    border-radius: 50%;
    background:
        linear-gradient(to bottom,
            rgba(255, 255, 255, 0.9) 0%,
            rgba(255, 255, 255, 0.6) 50%,
            rgba(240, 240, 240, 0.8) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 1),
        0 2px 6px rgba(0, 0, 0, 0.2);
    transition: var(--transition-bounce);
}

.slider-icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.9rem;
    transition: opacity 0.3s ease;
}

/* Moon icon (default - light mode) */
.slider-icon.moon {
    right: 8px;
    opacity: 1;
}

/* Sun icon (dark mode) */
.slider-icon.sun {
    left: 8px;
    opacity: 0;
}

/* Checked state */
.dark-mode-slider input:checked+.slider {
    background:
        linear-gradient(to bottom,
            rgba(255, 255, 255, 0.3) 0%,
            rgba(255, 255, 255, 0.1) 50%,
            rgba(0, 0, 0, 0.1) 100%),
        linear-gradient(135deg, #2c3e50 0%, #1a252f 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 2px 4px rgba(255, 255, 255, 0.1),
        inset 0 -2px 4px rgba(0, 0, 0, 0.2),
        0 4px 12px rgba(44, 62, 80, 0.4);
}

.dark-mode-slider input:checked+.slider::before {
    transform: translateX(28px);
    background:
        linear-gradient(to bottom,
            rgba(255, 220, 100, 1) 0%,
            rgba(255, 200, 50, 0.9) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.8),
        0 2px 8px rgba(255, 200, 50, 0.5);
}

/* Swap icon visibility on checked */
.dark-mode-slider input:checked+.slider .slider-icon.moon {
    opacity: 0;
}

.dark-mode-slider input:checked+.slider .slider-icon.sun {
    opacity: 1;
}

.dark-mode-slider:hover .slider {
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.7),
        inset 0 2px 6px rgba(255, 255, 255, 0.4),
        inset 0 -2px 4px rgba(0, 0, 0, 0.1),
        0 6px 18px rgba(91, 163, 198, 0.4);
}

/* ==================== HERO SECTION ==================== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 120px 20px 80px;
    position: relative;
    background: url('../images/hero.jpg') center center / cover no-repeat;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(circle at 20% 80%, rgba(139, 195, 74, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(135, 206, 235, 0.2) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.3) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to bottom, transparent 0%, #ffffff 100%);
    pointer-events: none;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    25% {
        transform: translate(2%, 2%) rotate(1deg);
    }

    50% {
        transform: translate(0, 4%) rotate(0deg);
    }

    75% {
        transform: translate(-2%, 2%) rotate(-1deg);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    margin-bottom: 20px;
    background: url('../images/windows_7.jpg') center center / cover no-repeat;
    /* linear-gradient(135deg, var(--green-leaf) 0%, var(--azure) 100%); */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--azure);
    margin-bottom: 15px;
    font-weight: 800;
}

.hero-tagline {
    font-size: 1.25rem;
    color: var(--green-leaf);
    font-weight: 500;
    margin-bottom: 40px;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background:
        /* Glossy shine overlay - top highlight */
        linear-gradient(to bottom,
            rgba(255, 255, 255, 0.5) 0%,
            rgba(255, 255, 255, 0.2) 40%,
            rgba(255, 255, 255, 0) 50%,
            rgba(0, 0, 0, 0.05) 100%),
        /* Base green gradient */
        var(--gradient-green);
    color: var(--white-pure);
    padding: 15px 40px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    font-weight: 600;
    font-size: 1.1rem;
    /* Inner glow + outer shadow for depth */
    box-shadow:
        /* Inner glow - top shine */
        inset 0 1px 0 rgba(255, 255, 255, 0.6),
        inset 0 2px 4px rgba(255, 255, 255, 0.3),
        /* Inner shadow - bottom depth */
        inset 0 -2px 4px rgba(0, 0, 0, 0.1),
        /* Outer glow/shadow */
        0 8px 25px rgba(124, 179, 66, 0.4),
        0 2px 8px rgba(0, 0, 0, 0.15);
    transition: var(--transition-bounce);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.hero-cta:hover {
    transform: translateY(-3px) scale(1.02);
    background:
        /* Enhanced shine on hover */
        linear-gradient(to bottom,
            rgba(255, 255, 255, 0.6) 0%,
            rgba(255, 255, 255, 0.3) 40%,
            rgba(255, 255, 255, 0) 50%,
            rgba(0, 0, 0, 0.05) 100%),
        var(--gradient-green);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.7),
        inset 0 2px 6px rgba(255, 255, 255, 0.4),
        inset 0 -2px 4px rgba(0, 0, 0, 0.1),
        0 12px 35px rgba(124, 179, 66, 0.5),
        0 4px 12px rgba(0, 0, 0, 0.2);
    color: var(--white-pure);
}

/* Decorative bubbles */
.bubble {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.2));
    box-shadow:
        inset 0 -5px 20px rgba(135, 206, 235, 0.3),
        0 5px 15px var(--shadow-soft);
    pointer-events: none;
    animation: bubble-float 8s ease-in-out infinite;
}

.bubble:nth-child(1) {
    width: 80px;
    height: 80px;
    top: 15%;
    left: 10%;
    animation-delay: 0s;
}

.bubble:nth-child(2) {
    width: 50px;
    height: 50px;
    top: 25%;
    right: 15%;
    animation-delay: 2s;
}

.bubble:nth-child(3) {
    width: 120px;
    height: 120px;
    bottom: 20%;
    left: 5%;
    animation-delay: 4s;
}

.bubble:nth-child(4) {
    width: 40px;
    height: 40px;
    bottom: 30%;
    right: 10%;
    animation-delay: 1s;
}

.bubble:nth-child(5) {
    width: 60px;
    height: 60px;
    top: 60%;
    left: 20%;
    animation-delay: 3s;
}

@keyframes bubble-float {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-20px) scale(1.05);
    }
}

/* ==================== SECTIONS ==================== */
section {
    padding: var(--section-padding);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    display: inline-block;
    position: relative;
    padding-bottom: 15px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-green);
    border-radius: 4px;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.section-header h2:hover::after {
    transform: scaleX(1);
}

.section-header p {
    max-width: 600px;
    margin: 20px auto 0;
    color: var(--text-light);
}

/* ==================== ABOUT SECTION ==================== */
.about {
    background: linear-gradient(180deg, #ffffff 0%, var(--sky-light) 100%);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-card {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: center;
}

.about-avatar {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: var(--gradient-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
    box-shadow: 0 10px 30px rgba(123, 241, 178, 0.3);
    margin: 0 auto;
}

.about-text h3 {
    color: var(--azure);
    margin-bottom: 15px;
}

.about-text p {
    margin-bottom: 15px;
}

/* ==================== PROJECTS SECTION ==================== */
.projects {
    background: linear-gradient(180deg, var(--sky-light) 0%, #ffffff 100%);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.project-card {
    position: relative;
    overflow: hidden;
}

.project-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--sky-blue) 0%, var(--azure) 100%);
    border-radius: calc(var(--border-radius) - 10px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-card h3 {
    margin-bottom: 10px;
    color: var(--text-dark);
}

.project-card p {
    font-size: 1rem;
    margin-bottom: 20px;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.tag {
    background: var(--azure);
    color: var(--white-pure);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid var(--glass-border);
}

.tag:hover {
    background: var(--gradient-green);
    color: var(--white-pure);
}


.project-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--white-pure);
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 25px;
    background:
        /* Glossy shine overlay */
        linear-gradient(to bottom,
            rgba(255, 255, 255, 0.5) 0%,
            rgba(255, 255, 255, 0.2) 40%,
            rgba(255, 255, 255, 0) 50%,
            rgba(0, 0, 0, 0.05) 100%),
        var(--gradient-green);
    border: 1px solid rgba(255, 255, 255, 0.4);
    /* Inner glow + depth */
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.6),
        inset 0 2px 4px rgba(255, 255, 255, 0.3),
        inset 0 -2px 4px rgba(0, 0, 0, 0.1),
        0 4px 15px rgba(124, 179, 66, 0.35);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    transition: var(--transition-bounce);
}

.project-link:hover {
    color: var(--white-pure);
    transform: translateY(-3px) scale(1.02);
    background:
        linear-gradient(to bottom,
            rgba(255, 255, 255, 0.6) 0%,
            rgba(255, 255, 255, 0.3) 40%,
            rgba(255, 255, 255, 0) 50%,
            rgba(0, 0, 0, 0.05) 100%),
        var(--gradient-green);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.7),
        inset 0 2px 6px rgba(255, 255, 255, 0.4),
        inset 0 -2px 4px rgba(0, 0, 0, 0.1),
        0 8px 20px rgba(124, 179, 66, 0.45);
}

/* ==================== MUSIC SECTION ==================== */
.music {
    background: linear-gradient(180deg, #ffffff 0%, var(--sky-light) 50%, #ffffff 100%);
}

.music-container {
    max-width: 1000px;
    margin: 0 auto;
}

.music-subsection {
    margin-bottom: 60px;
}

.music-subsection h3 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--azure);
    font-size: 1.5rem;
}

.music-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.song-card {
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.song-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: var(--gradient-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.song-info h4 {
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.song-info p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* ==================== liminal SPACES SECTION ==================== */
.liminal {
    background: #ffffff;
}

.liminal-intro {
    max-width: 700px;
    margin: 0 auto 50px;
    text-align: center;
}

.liminal-intro p {
    font-style: italic;
    color: var(--text-medium);
}

.liminal-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.liminal-card {
    padding: 0;
    overflow: hidden;
    cursor: pointer;
}

.liminal-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.liminal-card:hover img {
    transform: scale(1.05);
}

.liminal-placeholder {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, var(--sky-light) 0%, #dde8f0 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 1rem;
}

.liminal-placeholder span {
    font-size: 3rem;
    margin-bottom: 10px;
}

/* ==================== SOCIAL/CONTACT SECTION ==================== */
.contact {
    background: #ffffff;
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 25px 35px;
    min-width: 140px;
}

.social-link .icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: var(--transition-bounce);
}

.social-link:hover .icon {
    transform: scale(1.1) rotate(5deg);
}

.social-link.youtube .icon {
    background: linear-gradient(135deg, #FF0000 0%, #CC0000 100%);
    color: white;
}

.social-link.discord .icon {
    background: linear-gradient(135deg, #5865F2 0%, #4752C4 100%);
    color: white;
}

.social-link.kick .icon {
    background: linear-gradient(135deg, #53FC18 0%, #3DD614 100%);
    color: #000;
}

.social-link span {
    font-weight: 600;
    color: var(--text-dark);
}

/* ==================== FOOTER ==================== */
.footer {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    padding: 30px;
    text-align: center;
    border-top: 1px solid var(--glass-border);
}

.footer p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ==================== ANIMATIONS ==================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
    .navbar {
        top: 10px;
        padding: 12px 20px;
    }

    .navbar ul {
        gap: 15px;
    }

    .navbar a {
        font-size: 0.9rem;
        padding: 6px 12px;
    }

    .about-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-avatar {
        width: 150px;
        height: 150px;
        font-size: 3rem;
    }

    .projects-grid,
    .liminal-gallery {
        grid-template-columns: 1fr;
    }

    .social-links {
        gap: 15px;
    }

    .social-link {
        padding: 20px 25px;
    }

    section {
        padding: 60px 5%;
    }
}

@media (max-width: 480px) {
    .navbar ul {
        gap: 10px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .bubble {
        display: none;
    }
}

/* ==================== DARK MODE ==================== */

/* Dark mode variables override */
body.dark-mode {
    background: linear-gradient(180deg, #1a1a2e 0%, #16213e 50%, #0f0f23 100%);
    background-color: #1a1a2e;
    color: #e8e8e8;
}

/* Hero Section */
body.dark-mode .hero {
    background: url('../images/hero_dark.jpg') center center / cover no-repeat;
}

body.dark-mode .hero-title {
    background: url('../images/windows_7_dark.jpg') center center / cover no-repeat;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.dark-mode .hero-subtitle {
    color: #87CEEB;
}

body.dark-mode .hero-tagline {
    color: #8BC34A;
}

body.dark-mode .hero::after {
    background: linear-gradient(to bottom, transparent 0%, #1a1a2e 100%);
}

/* Navbar */
body.dark-mode .navbar {
    background: rgba(26, 26, 46, 0.85);
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .navbar a {
    color: #e8e8e8;
}

body.dark-mode .navbar a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #87CEEB;
}

/* Glass Cards */
body.dark-mode .glass-card {
    background: rgba(26, 26, 46, 0.8);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

body.dark-mode .glass-card:hover {
    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* Sections */
body.dark-mode .about {
    background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
}

body.dark-mode .projects {
    background: linear-gradient(180deg, #16213e 0%, #1a1a2e 100%);
}

body.dark-mode .music {
    background: linear-gradient(180deg, #1a1a2e 0%, #16213e 50%, #1a1a2e 100%);
}

body.dark-mode .liminal {
    background: #1a1a2e;
}

body.dark-mode .contact {
    background: #1a1a2e;
}

/* Typography */
body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h4,
body.dark-mode h5,
body.dark-mode h6 {
    color: #e8e8e8;
}

body.dark-mode p {
    color: #b8b8b8;
}

body.dark-mode .section-header p {
    color: #888;
}

body.dark-mode .about-text h3 {
    color: #87CEEB;
}

body.dark-mode .music-subsection h3 {
    color: #87CEEB;
}

/* Project Cards */
body.dark-mode .project-card h3 {
    color: #e8e8e8;
}

body.dark-mode .tag {
    background: rgba(74, 144, 217, 0.8);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Social Links */
body.dark-mode .social-link span {
    color: #e8e8e8;
}

/* Footer */
body.dark-mode .footer {
    background: rgba(26, 26, 46, 0.9);
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .footer p {
    color: #888;
}

/* Bubbles */
body.dark-mode .bubble {
    background: radial-gradient(circle at 30% 30%, rgba(135, 206, 235, 0.3), rgba(135, 206, 235, 0.1));
    box-shadow:
        inset 0 -5px 20px rgba(135, 206, 235, 0.2),
        0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Liminal Section */
body.dark-mode .liminal-intro p {
    color: #b8b8b8;
}