/* ---------- IMPORTS ---------- */
@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=Merriweather+Sans:wght@300;400;500;600;700;800&display=swap');

/* ---------- ROOT VARIABLES ---------- */
:root {
    /* Base colors */
    --accent-color: #ffc62a;
    --secondary-color: #1B3054;
    --bg-color: #ffffff;
    --text-color: #050505;
    --text-color-secondary: rgba(5, 5, 5, 0.6);

    /* Typography */
    --font-primary: 'Merriweather Sans', sans-serif;
    --font-heading: 'Archivo Black', sans-serif;

    /* Layout */
    --padding-page: 30px;
    --border-radius: 8px;

    /* Transitions */
    --transition: 0.3s ease;
}

/* ---------- GLOBAL STYLES ---------- */
html,
body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-color);
    color: var(--text-color);
    min-height: 100vh;
    margin: 0;
    padding: 0;
    transition: background-color var(--transition), color var(--transition);
}

/* ---------- NAVBAR SECTION ---------- */
.navbar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 0 var(--padding-page) 0 var(--padding-page);
    background-color: transparent;
    margin: 0;
    position: relative;
    z-index: 2;
}

/* Logo */
.logo {
    grid-column: 1;
}

.logo img {
    width: 100px;
    height: auto;
    transition: filter 0.3s ease, transform 0.3s ease;
}

.logo img:hover {
    animation: wobble 1s ease infinite;
}

@keyframes wobble {

    0%,
    100% {
        transform: rotate(-10deg);
    }

    50% {
        transform: rotate(10deg);
    }
}

/* Nav Links */
.nav-links {
    grid-column: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: var(--border-radius);
    transition: background-color var(--transition),
        transform var(--transition);
}

.nav-link:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
}

/* Search Bar */
.search-container {
    grid-column: 3;
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 5px;
    padding-right: 5px;
    min-width: 120px;
    position: relative;
}

.search-container input {
    border-radius: 10px;
    padding: 8px 12px;
    border: 1px solid var(--text-color);
    outline: none;
    background-color: var(--bg-color);
    color: var(--text-color);
    transition: border-color var(--transition), background-color var(--transition), color var(--transition);
}

/* Search Results */
.search-results {
    position: absolute;
    top: 100%;
    right: 0;
    width: 300px;
    background-color: var(--bg-color);
    border-radius: 8px;
    padding: 10px;
    margin-top: 5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    display: none;
    max-height: 400px;
    overflow-y: auto;
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: background-color var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.search-results.active {
    display: block;
    animation: fadeIn 0.3s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.search-results-header {
    padding: 8px;
    font-size: 0.9rem;
    color: var(--text-color-secondary);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    margin-bottom: 8px;
    transition: border-color var(--transition), color var(--transition);
}

.search-result-item {
    padding: 12px;
    margin: 5px 0;
    border-radius: 6px;
    cursor: pointer;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background-color: var(--bg-color);
    transition: background-color var(--transition), border-left-color var(--transition);
}

.search-result-item:hover,
.search-result-item.active {
    background-color: rgba(255, 200, 48, 0.1);
    border-left-color: var(--accent-color);
}

.search-result-item h4 {
    margin: 0 0 5px 0;
    font-size: 1rem;
}

.search-result-item p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-color-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.result-type-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: bold;
    margin-bottom: 5px;
    text-transform: uppercase;
    transition: background-color var(--transition), color var(--transition);
    letter-spacing: 0.03em;
}

/* Badge Types */
.result-type-badge.navigation {
    background-color: #ffc830;
    color: white;
    border-left: 3px solid #e6b000;
}

.result-type-badge.blog {
    background-color: #FF5733;
    color: white;
    border-left: 3px solid #CC3300;
    padding: 3px 10px;
}

.result-type-badge.project {
    background-color: #3498db;
    color: white;
    border-left: 3px solid #1F77B4;
}

.result-type-badge.about {
    background-color: #ffc830;
    color: white;
    border-left: 3px solid #e6b000;
}

.result-type-badge.game {
    background-color: #9b59b6;
    color: white;
    border-left: 3px solid #7D3C98;
}

.result-type-badge.home {
    background-color: #2ecc71;
    color: white;
    border-left: 3px solid #27AE60;
}

.result-type-badge.page {
    background-color: #7f8c8d;
    color: white;
    border-left: 3px solid #636E72;
}

.no-results {
    padding: 20px;
    text-align: center;
    color: var(--text-color-secondary);
    font-style: italic;
}

.highlight {
    background-color: rgba(255, 200, 48, 0.4);
    padding: 0 2px;
    border-radius: 2px;
    font-weight: 500;
    transition: background-color var(--transition);
}

.search-results::-webkit-scrollbar {
    width: 8px;
}

.search-results::-webkit-scrollbar-track {
    background: var(--bg-color);
}

.search-results::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    transition: background-color var(--transition);
}

.search-result-item .highlight {
    background-color: #ffc830;
}

/* Dark Mode Toggle */
.toggle-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.switch {
    width: 3em;
    height: 1.5em;
    position: relative;
    display: inline-block;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    --background: #1B305400;
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--background);
    border-radius: 30px;
    border: 2px solid var(--text-color);
    transition: background-color var(--transition), border-color var(--transition);
}

.slider:before {
    position: absolute;
    content: "";
    height: 1em;
    width: 1em;
    border-radius: 50%;
    left: 8%;
    bottom: 10%;
    background-color: transparent;
    box-shadow: inset 6px -4px 0px 0px var(--text-color);
    transition: transform var(--transition), background-color var(--transition), box-shadow var(--transition);
}

input:checked+.slider {
    background-color: #1B305400;
}

input:checked+.slider:before {
    transform: translateX(120%);
    background-color: var(--text-color);
    box-shadow: inset 0px 0px 0px 0px var(--text-color);
}

.slider-animating {
    pointer-events: none;
}

/* ---------- HERO SECTION ---------- */
.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    min-height: 80vh;
    padding: 0 var(--padding-page);
    box-sizing: border-box;
    gap: 5rem;
    position: relative;
}

/* Hero Content */
.hero-content {
    flex: 1;
    max-width: 600px;
    text-align: left;
    padding: 0 10%;
}

.hero-content h1 {
    font-size: clamp(1.5rem, 6vw, 3rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-content .full-name {
    color: var(--secondary-color);
    display: inline-block;
    position: relative;
}

.hero-content h2 {
    font-size: clamp(1rem, 3vw, 2rem);
    margin-bottom: -0.5rem;
    font-weight: 600;
}

.hero-content h3 {
    font-size: clamp(1.25rem, 2.5vw, 1.8rem);
    margin-top: 2rem;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-color-secondary);
    margin-bottom: 2rem;
}

.hero-content p {
    font-size: clamp(1rem, 1.5vw, 1.20rem);
    line-height: 1.6;
    margin-bottom: 2rem;
    color: var(--text-color-secondary);
    max-width: 90%;
}

/* Hero Image */
.hero-image {
    position: relative;
    width: 20rem;
    aspect-ratio: cos(30deg);
    margin: 2rem;
}

.hero-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #d18c1f;
    clip-path: polygon(-50% 50%, 50% 100%, 150% 50%, 50% 0);
    z-index: 1;
    opacity: 1;
    inset: -8px;
    transition: background-color var(--transition);
}

.hero-image img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter var(--transition), transform var(--transition);
    z-index: 2;
    clip-path: polygon(-50% 50%, 50% 100%, 150% 50%, 50% 0);
    transform-origin: center;
}

.hero-image:hover img {
    filter: grayscale(0%);
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    gap: 1rem;
}

.cta-primary,
.cta-secondary {
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    transition: transform var(--transition);
}

.cta-primary {
    background-color: var(--accent-color);
    color: var(--text-color);
}

.cta-secondary {
    background-color: var(--secondary-color);
    color: var(--text-color);
}

.cta-primary:hover,
.cta-secondary:hover {
    transform: translateY(-2px);
}

.resume-link {
    display: inline-block;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    transition: transform var(--transition);
}

.resume-link:hover {
    transform: translateX(4px);
}

/* ---------- HEXAGON NAVIGATION SECTION ---------- */
/* Container and layout */
.hexagon-navigation {
    width: 100%;
    position: relative;
    padding: 2rem;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100%;
    margin: 0 auto;
    overflow: visible;
    flex: 1;
    max-width: 800px;
}

.hexagon-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 800px;
    min-height: 700px;
    perspective: 1000px;
    margin: 0 auto;
    height: 100%;
    overflow: visible;
}

/* Base hexagon styling */
.hexagon-center,
.hexagon-sub {
    position: absolute;
    width: 180px;
    height: 156px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s cubic-bezier(0.25, 0.1, 0.25, 1.0),
        z-index 0s;
    cursor: pointer;
    pointer-events: auto;
}

/* Hexagon SVG background */
.hexagon-svg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.3s cubic-bezier(0.25, 0.1, 0.25, 1.0),
        opacity 0.3s cubic-bezier(0.25, 0.1, 0.25, 1.0);
    pointer-events: none;
}

/* Center hexagon specific styling */
.hexagon-center {
    z-index: 2;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
    width: 220px;
    height: 220px;
}

.hexagon-center .hexagon-svg {
    background-image: url('../images/full_honeycomb.svg');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(200%);
}

/* Center hexagon hover effect */
.hexagon-center:hover .hexagon-svg {
    transform: scale(210%);
}

.hexagon-sub {
    z-index: 1;
    width: 144px;
    height: 144px;
    transition: transform 0.3s cubic-bezier(0.25, 0.1, 0.25, 1.0),
        z-index 0s, 
        filter var(--transition);
}

.hexagon-sub .hexagon-svg {
    background-image: url('../images/empty_honeycomb.svg');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(200%);
    transition: transform 0.3s cubic-bezier(0.25, 0.1, 0.25, 1.0),
        opacity 0.3s cubic-bezier(0.25, 0.1, 0.25, 1.0);
}

/* Hexagon hover effects */
.hexagon-sub:not(.empty):hover {
    transform: translate(var(--hex-translate-x, 0), var(--hex-translate-y, 0)) scale(1.08);
}

.hexagon-sub:not(.empty):hover .hexagon-svg {
    transform: scale(210%);
}

/* Hexagon appearance based on state */
.hexagon-sub.empty .hexagon-svg {
    background-image: url('../images/empty_honeycomb.svg');
}

.hexagon-sub:not(.empty) .hexagon-svg {
    background-image: url('../images/full_honeycomb.svg');
}

/* Text styling for all hexagons */
.hexagon-text {
    color: #000;
    font-weight: 700;
    text-align: center;
    z-index: 1;
    width: 75%;
    padding: 0.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    line-height: 1.2;
    margin: 0;
    max-height: 80%;
    overflow: hidden;
    pointer-events: none; /* Text doesn't interfere with clicks */
    text-shadow: -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff;
    transition: color var(--transition), text-shadow var(--transition);
}

/* Center hexagon text */
.hexagon-center .hexagon-text {
    font-size: 2rem;
    font-weight: 800;
    width: 70%;
}

/* Hexagon positions */
.hexagon-sub-1 {
    --hex-translate-x: -140%;
    --hex-translate-y: -80%;
    transform: translate(-140%, -80%);
}

.hexagon-sub-2 {
    --hex-translate-x: 0;
    --hex-translate-y: -160%;
    transform: translate(0, -160%);
}

.hexagon-sub-3 {
    --hex-translate-x: 140%;
    --hex-translate-y: -80%;
    transform: translate(140%, -80%);
}

.hexagon-sub-4 {
    --hex-translate-x: 140%;
    --hex-translate-y: 80%;
    transform: translate(140%, 80%);
}

.hexagon-sub-5 {
    --hex-translate-x: 0;
    --hex-translate-y: 160%;
    transform: translate(0, 160%);
}

.hexagon-sub-6 {
    --hex-translate-x: -140%;
    --hex-translate-y: 80%;
    transform: translate(-140%, 80%);
}

/* Hexagon animations */
.hexagon-sub.coming-in {
    transform: translate(0, 0) !important;
    z-index: 0;
    transition: var(--transition);
}

.hexagon-sub.going-out {
    transform: translate(var(--hex-translate-x, 0), var(--hex-translate-y, 0)) scale(0.9) !important;
    z-index: 1;
    transition: var(--transition);
}

.hexagon-center.animating .hexagon-text {
    transform: scale(0.9);
    transition: transform var(--transition);
}

.hexagon-center:not(.animating) .hexagon-text {
    transform: scale(1);
    transition: transform var(--transition);
}

/* Animation states */
.hexagon-sub.state-idle {
    z-index: 1;
}

.hexagon-sub.state-converging {
    transform: translate(0, 0) !important;
    z-index: 0;
}

.hexagon-sub.state-dispersing {
    z-index: 0;
}

.hexagon-sub.state-returning {
    transition: transform 0.3s cubic-bezier(0.25, 0.1, 0.25, 1.0);
    z-index: 1;
}

.hexagon-center.state-idle {
    transform: translate(-50%, -50%) scale(1);
}

.hexagon-center.state-changing {
    transform: translate(-50%, -50%) scale(0.95);
}

.hexagon-center.state-changing .hexagon-text {
    transform: scale(0.9);
}

.hexagon-center.state-idle .hexagon-text {
    transform: scale(1);
}

/* Make empty hexagons not clickable */
.hexagon-sub.empty .hexagon-text {
    cursor: default;
    pointer-events: none;
}

/* ---------- FOOTER SECTION ---------- */
footer {
    margin-top: auto;
    padding: 20px var(--padding-page);
    text-align: right;
    width: 100%;
    box-sizing: border-box;
}

.footer-content {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
}

.footer-image {
    width: 36px;
    height: 36px;
    opacity: 0.7;
    transition: transform var(--transition),
        opacity var(--transition),
        filter var(--transition);
}

.footer-image:hover {
    transform: scale(1.1);
    opacity: 1;
}

/* ---------- BLOG SECTION ---------- */
.blog,
.projects {
    padding: 4rem var(--padding-page);
    background-color: transparent;
}

.blog-title,
.projects-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-color);
}

.blog-list,
.projects-list {
    display: flex;
    flex-direction: column;
    gap: 6rem;
    max-width: 1200px;
    margin: 0 auto;
}

.blog-container,
.projects-container {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.blog-image,
.projects-image {
    flex: 2;
    height: 400px;
    width: 100%;
}

.blog-image img,
.projects-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: var(--border-radius);
    border: 3px solid var(--text-color);
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
    box-shadow: -8px 8px 0px var(--text-color);
}

.blog-image img:hover,
.projects-image img:hover {
    transform: translate(4px, -4px);
    box-shadow: -12px 12px 0px var(--text-color);
}

.blog-content,
.projects-content {
    flex: 1;
    padding: 1rem;
}

.blog-content h2,
.projects-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.blog-content h3,
.projects-content h3 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.blog-content p,
.projects-content p {
    font-size: 1.1rem;
    color: var(--text-color-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.blog-link,
.projects-link {
    display: inline-block;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    transition: transform var(--transition), color var(--transition);
}

.blog-link:hover,
.projects-link:hover {
    transform: translateX(4px);
}

/* ---------- CURSOR TRAIL SECTION ---------- */
.bee-trail {
    position: absolute;
    width: 10px;
    height: 3px;
    border-radius: 3px;
    background-color: #f0b85f;
    pointer-events: none;
    transition: background-color var(--transition);
}

/* ---------- BASE PAGE TEMPLATE ---------- */
.base-body {
    max-width: 75%;
    margin: 0 auto;
}

.base-header {
    margin-bottom: 3.75rem;
    text-align: center;
    position: relative;
}

.base-header h1 {
    font-size: 3.2rem;
    margin-bottom: 0.9375rem;
    color: var(--text-color);
}

.base-header h2 {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--text-color);
    max-width: 80%;
    margin: 0 auto;
}

.base-section {
    margin-bottom: 2.5rem;
}

.base-section h3 {
    margin-bottom: 1.25rem;
    font-size: 1.8rem;
    position: relative;
    padding-bottom: 0.625rem;
}

.base-section p {
    margin-bottom: 1.25rem;
    line-height: 1.7;
    color: var(--text-color);
}

.base-section blockquote {
    margin: 1.5rem 0;
    padding: 0.75rem 1.5rem;
    border-left: 3px solid var(--accent-color);
    background-color: rgba(255, 198, 42, 0.08);
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    transition: background-color var(--transition), border-color var(--transition);
}

.base-section blockquote p {
    margin-bottom: 0.5rem;
    color: var(--text-color-secondary);
    font-style: italic;
}

.base-section blockquote p:last-child {
    margin-bottom: 0;
}

/* ---------- DARK MODE STYLES ---------- */
/* Dark Mode Root Variables */

body.dark-mode {
    --bg-color: #222222;
    --text-color: #e0e0e0;
    --text-color-secondary: rgba(224, 224, 224, 0.7);
    --shadow-color: rgba(0, 0, 0, 0.3);
    --border-color: rgba(255, 255, 255, 0.1);
    --highlight-bg: rgba(255, 200, 48, 0.05);
    --scrollbar-thumb: rgba(255, 255, 255, 0.15);
    --hero-image-bg: #855913;
    --cursor-trail: #d9a44e;
}

/* ---------- GLOBAL DARK MODE OVERRIDES ---------- */
body.dark-mode {
    background-color: var(--bg-color);
    color: var(--text-color);
}

/* ---------- NAVBAR DARK MODE ---------- */
body.dark-mode .nav-link {
    color: var(--text-color);
}

body.dark-mode .search-container input {
    background-color: var(--bg-color);
    color: var(--text-color);
    border-color: var(--border-color);
}

/* ---------- SEARCH RESULTS DARK MODE ---------- */
body.dark-mode .search-results {
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 15px var(--shadow-color);
}

body.dark-mode .search-results-header {
    color: var(--text-color-secondary);
    border-bottom: 1px solid var(--border-color);
}

body.dark-mode .search-result-item {
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
}

body.dark-mode .search-result-item:hover,
body.dark-mode .search-result-item.active {
    background-color: var(--highlight-bg);
}

body.dark-mode .search-result-item p {
    color: var(--text-color-secondary);
}

body.dark-mode .highlight {
    background-color: rgba(255, 200, 48, 0.25);
}

body.dark-mode .search-result-item .highlight {
    background-color: rgba(255, 200, 48, 0.4);
}

body.dark-mode .no-results {
    color: var(--text-color-secondary);
}

body.dark-mode .search-results::-webkit-scrollbar-track {
    background: var(--bg-color);
}

body.dark-mode .search-results::-webkit-scrollbar-thumb {
    background-color: var(--scrollbar-thumb);
}

/* ---------- DARK MODE TOGGLE ---------- */
body.dark-mode .slider {
    border-color: var(--text-color);
}

body.dark-mode .slider:before {
    box-shadow: inset 6px -4px 0px 0px var(--text-color);
}

body.dark-mode input:checked+.slider:before {
    background-color: var(--text-color);
}

/* ---------- HERO SECTION DARK MODE ---------- */
body.dark-mode .hero-content h1,
body.dark-mode .hero-content h2,
body.dark-mode .hero-content h3 {
    color: var(--text-color);
}

body.dark-mode .hero-content .full-name {
    color: var(--accent-color);
}

body.dark-mode .hero-content p {
    color: var(--text-color-secondary);
}

body.dark-mode .hero-image::before {
    background: var(--hero-image-bg);
}

/* ---------- BLOG SECTION DARK MODE ---------- */
body.dark-mode .blog-image img {
    border-color: var(--text-color);
    box-shadow: 8px 8px 0px var(--text-color);
}

body.dark-mode .blog-content h2,
body.dark-mode .blog-content h3 {
    color: var(--text-color);
}

body.dark-mode .blog-content p {
    color: var(--text-color-secondary);
}

body.dark-mode .blog-link {
    color: var(--accent-color);
}

body.dark-mode .blog-date {
    color: var(--text-color-secondary);
}

/* ---------- CURSOR TRAIL DARK MODE ---------- */
body.dark-mode .bee-trail {
    background-color: var(--cursor-trail);
}

/* ---------- BASE PAGE TEMPLATE DARK MODE ---------- */
body.dark-mode .base-header h1 {
    color: var(--text-color);
}

body.dark-mode .base-header h2 {
    color: var(--text-color-secondary);
}

body.dark-mode .base-section h3 {
    color: var(--text-color);
}

body.dark-mode .base-section p {
    color: var(--text-color-secondary);
}

/* ---------- BADGE TYPES DARK MODE ---------- */
body.dark-mode .result-type-badge {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
}

/* ---------- FOOTER DARK MODE ---------- */
body.dark-mode .footer-image {
    filter: brightness(0.9) invert(1);
    opacity: 0.7;
}

body.dark-mode .footer-image:hover {
    opacity: 1;
}