/* === THEME VARIABLES === */

:root {
    --accent-color: #007acc;
    --bg-color: #ffffff;
    --border-color: #eaeaea;
    --card-bg: #ebebeb;
    --chevron-color: #888;
    --chevron-hover: #444;
    --cursor-color: #aaa;
    --hero-bg: linear-gradient(to bottom, rgba(240, 240, 240, 0.9), transparent 90%);
    --hover-bg: #ccc;                  
    --letter-glow: #aaa;
    --muted-text: #999;               
    --navbar-bg: rgba(255, 255, 255, 0.9);
    --scrollbar-thumb: #ccc;
    --shadow-color: rgba(0, 0, 0, 0.05);
    --text-color: #000;
    --text-muted: #666;
    --toggle-bg-active: rgba(0, 0, 0, 0.08);
    --toggle-bg-hover: rgba(0, 0, 0, 0.05);
}

body.dark-mode {
    --accent-color: #44afe4;
    --bg-color: #0a0b0d;
    --border-color: #333;
    --card-bg: #1d1d1d;
    --chevron-color: #aaa;
    --chevron-hover: #fff;
    --cursor-color: #ccc;
    --hero-bg: linear-gradient(to bottom, rgba(40, 40, 40, 0.9), transparent 90%);
    --hover-bg: #555;
    --letter-glow: #ccc;
    --muted-text: #bbb;
    --navbar-bg: rgba(20, 20, 20, 0.9);
    --scrollbar-thumb: #444;
    --shadow-color: rgba(0, 0, 0);
    --text-color: #f4f4f4;
    --text-muted: #999;
    --toggle-bg-active: rgba(255, 255, 255, 0.12);
    --toggle-bg-hover: rgba(255, 255, 255, 0.08);
}


/* === RESET & BASE === */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Red Hat Display", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    transition: background-color 0.5s ease, color 0.5s ease;
}

.page-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}


/* === FADE-IN ON LOAD === */

.fade-in {
    opacity: 0;
    transform: translateY(12px);
    animation: fadeIn 0.6s ease-out forwards;
}

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


/* === FADE-IN ON SCROLL === */

.fade-in-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.fade-in-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}


/* === NAVBAR === */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--navbar-bg);
    /* Optional: make this variable later if needed */
    backdrop-filter: blur(5px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 1rem;
}

.nav-logo a {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-color);
    text-decoration: none;
    padding-left: 0.5rem;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted, #666);
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--text-color);
}

a {
    text-decoration: none;
    color: var(--text-muted, #666);
    transition: color 0.2s;
}

a:hover {
    color: var(--text-color);
}

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

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


/* === NAV TOGGLE (HAMBURGER) === */

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-muted);
    /* for pixle alignment */
    margin-bottom: 3px;
    transition: background-color 0.2s ease, transform 0.15s ease, color 0.2s ease;
}

.nav-toggle:hover {
    background-color: rgba(0, 0, 0, 0.05);
    transform: scale(1.05);
    color: var(--text-color);
}


/* === DARK MODE BUTTON === */

#darkModeToggle {
    background: none;
    border: none;
    padding: 0.4rem 0.6rem;
    font-size: 1.2rem;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease, transform 0.15s ease;
}

#darkModeToggle:hover {
    background-color: var(--toggle-bg-hover);
    transform: scale(1.05);
}

#darkModeToggle:active {
    background-color: var(--toggle-bg-active);
    transform: scale(0.97);
}

/* Style the SVG icon */
#darkModeToggle svg {
    width: 20px;
    height: 20px;
    transform: translateY(0.75px);
    fill: var(--text-muted); /* Default color */
    transition: fill 0.3s ease, transform 0.2s ease;
}

#darkModeToggle:hover svg path {
    fill: var(--text-color); /* Change to text color on hover */
}

/* Default dark mode path */
#darkModeToggle .dark-mode-path {
    fill: var(--text-muted); /* Default muted color for dark mode icon */
}

/* Default light mode path */
#darkModeToggle .light-mode-path {
    fill: var(--text-muted); /* Default muted color for light mode icon */
}

/* Change icon dynamically based on theme */
body.dark-mode #darkModeToggle .dark-mode-path {
    display: none;
}

body.dark-mode #darkModeToggle .light-mode-path {
    display: block;
}


/* === RESPONSIVE NAV === */

@media (max-width: 550px) {
    .nav-toggle {
        display: block;
    }
    .nav-links {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        right: 1rem;
        background: var(--bg-color);
        border: 1px solid var(--border-color);
        padding: 1rem;
        box-shadow: 0 2px 12px var(--shadow-color);
        transition: opacity 0.2s ease, visibility 0.15s ease;
    }
    .nav-links.show {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        display: flex;
    }
    .nav-links li {
        margin-bottom: 0.75rem;
    }
    .nav-links li:last-child {
        margin-bottom: 0;
    }
}


/* === HEADER === */

header {
    text-align: center;
    padding: 4rem 1rem 2rem;
}

header h1 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

header p {
    font-size: 1.2rem;
    color: var(--muted-text);
}


/* === SECTIONS === */

section {
    max-width: 800px;
    margin: 0 auto;
    margin: clamp(8px, calc((1.5 * 48 / 1920) * 100vw), 48px) 0;
    color: var(--text-color);
}

section .about p {
    margin-bottom: 0.25rem;
}


/* === SECTION HEADINGS === */

.about h2,
.skills h2,
.projects h2,
.contact h2,
.experience h2,
.introduction h2,
.instruction-section h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    font-weight: 500;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0.5rem;
    color: var(--text-color);
}


/* === HERO TITLE === */

.hero {
    width: 100%;
    background: var(--hero-bg);
    background-blend-mode: overlay;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(8px);
    padding: 6rem 1rem 3rem;
    box-shadow: 0 4px 10px var(--shadow-color);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0rem;
    border-radius: 1.5rem;
    text-align: center;
}

.hero-content h1 {
    font-size: clamp(1rem, calc(1rem + 5vw), 3rem);
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--muted-text);
}

.title-line {
    height: 2em;
}


/* === HERO SUBTEXT (TYPING EFFECT) === */

#trailing-words::after {
    content: '_';
    animation: blink 1s infinite;
    margin-left: 2px;
    color: var(--cursor-color);
}

@keyframes blink {
    0%,
    49% {
        opacity: 1;
    }
    50%,
    100% {
        opacity: 0;
    }
}


/* === HERO ARROW (CHEVRON) === */

.scroll-indicator {
    text-align: center;
    margin-top: 1rem;
    user-select: none;
}

.chevron-hover {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: fit-content;
    margin: 0 auto;
    padding: 0.5rem;
    border-radius: 50%;
}

.chevron-hover:hover svg {
    animation: bounce 0.8s ease-in-out infinite;
}

.scroll-indicator svg {
    stroke: var(--chevron-color);
    transition: stroke 0.3s;
}

.scroll-indicator:hover svg {
    stroke: var(--chevron-hover);
}

@keyframes bounce {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(3px);
    }
}

/* === CAROUSEL WRAPPER === */
.carousel-wrapper {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}

/* === SLIDER STYLES === */
.slider {
    width: 100%;
    height: 200px;
    overflow: hidden;
    cursor: grab;
    position: relative;
}

.slider.grabbing {
    cursor: grabbing;
}

/* === TRACK & IMAGE STYLES === */
.track {
    display: flex;
    height: 100%;
    will-change: transform;
}

.track img {
    width: 300px;
    height: 100%;
    object-fit: cover;
    user-select: none;
    -webkit-user-drag: none;
}

.carrousel-image-container {
    position: relative;
    width: 300px;       /* Adjust as needed */
    height: 200px;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
    overflow: hidden;
}

.carrousel-caption {
    position: absolute;
    bottom: 4px;
    left: 4px;
    color: white;
    background-color: rgba(0, 0, 0, 0.4);
    padding: 2px 4px;
    font-size: small;
    border-radius: 4px;
    user-select: none;
  -webkit-user-select: none; /* Safari */
  -ms-user-select: none;     /* IE10+ */
}

/* === KNURLING BAR STYLES (2px Cross‐Hatch) === */
.knurling {
  width: 100%;
  height: 25px;
  overflow: hidden;
  position: relative;
  margin-top: 8px;

  /* two 2px diagonal lines at ±45°, 8px apart, 50% opacity */
  background-image:
    repeating-linear-gradient(
      45deg,
      rgba(136,136,136,0.5) 0px,
      rgba(136,136,136,0.5) 2px,
      transparent            2px,
      transparent            8px
    ),
    repeating-linear-gradient(
      -45deg,
      rgba(136,136,136,0.5) 0px,
      rgba(136,136,136,0.5) 2px,
      transparent            2px,
      transparent            8px
    );
  background-repeat: repeat;
  background-position: 0 0, 0 0;
  background-blend-mode: lighten;

  /* four-way fade mask */
  mask-image:
    linear-gradient(to right,  transparent 0%, black 5%, black 95%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
  mask-mode:      alpha, alpha;
  mask-repeat:    no-repeat, no-repeat;
  mask-position:  0 0,       0 0;
  mask-size:      100% 100%, 100% 100%;
  mask-composite: intersect;

  /* Safari/WebKit */
  -webkit-mask-image:
    linear-gradient(to right,  transparent 0%, black 5%, black 95%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
  -webkit-mask-repeat:      no-repeat, no-repeat;
  -webkit-mask-position:    0 0,       0 0;
  -webkit-mask-size:        100% 100%, 100% 100%;
  -webkit-mask-composite:   destination-in, destination-in;
}

.knurling.grabbing {
  cursor: grabbing;
}

.knurling:hover {
    /* make the mouse have grabbing */
    cursor: grab;
}

/* === INTRODUCTION SECTION (no outer box, clean inner styling) === */

.introduction {
    max-width: 800px;
    padding: 0;
    margin: 2rem auto;
    color: var(--text-color);
    font-family: inherit;
    background: none;
    border: none;
    box-shadow: none;
}

.introduction h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}


/* <details> Dropdowns */

.dropdown {
    margin-bottom: 1.5rem;
    padding-left: 1rem;
    border-left: 2px solid var(--border-color);
}

.dropdown summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--text-color);
    font-size: 1rem;
    margin-bottom: 0.5rem;
    outline: none;
}

.dropdown[open] summary {
    color: var(--text-color);
}

.dropdown p {
    margin: 0.5rem 0;
    line-height: 1.6;
    color: var(--muted-text);
}


/* === INSTRUCTION SECTION (left-aligned, clean style) === */

.instruction-section {
    max-width: 800px;
    margin: 2rem auto;
    padding: 1 0rem;
    color: var(--text-color);
    font-family: inherit;
    background: none;
    border: none;
    box-shadow: none;
}

.instruction-section p {
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.instruction-section ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.instruction-section li {
    margin-bottom: 0.5rem;
    color: var(--muted-text);
}

.instruction-section .key {
    color: var(--text-color);
    font-weight: bold;
}


/* === SKILLS SECTION === */

.skill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.skill-list li {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 0.5rem 1rem;
    font-size: 0.95rem;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.tag {
    background-color: var(--card-bg);
    color: var(--text-color);
    padding: 0.4rem 0.9rem;
    font-size: 0.85rem;
    border-radius: 4px;
    transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
    transform: scale(1);
}

.tag:hover {
    background-color: var(--hover-bg, #eaeaea);
    transform: scale(1.03);
    box-shadow: 0 2px 6px var(--shadow-color);
    cursor: pointer;
}


/* === EXPERIENCE SECTION WRAPPER === */

.experience {
    position: relative;
    color: var(--text-color);
    /* ensures dark mode compatibility */
}


/* === EXPERIENCE SCROLLABLE AREA === */

.experience-scroll {
    position: relative;
    max-height: 300px;
    overflow-y: auto;
    padding-right: 0.5rem;
    margin-top: 1.5rem;
    scrollbar-width: thin;
    /* Firefox */
}


/* === SCROLLBAR STYLING === */

.experience-scroll::-webkit-scrollbar {
    width: 6px;
}

.experience-scroll::-webkit-scrollbar-thumb {
    background-color: var(--scrollbar-thumb);
    border-radius: 4px;
}


/* === EXPERIENCE LIST === */

.experience-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.experience-list li {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}


/* === EXPERIENCE ITEM HEADER === */

.exp-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.exp-header strong {
    font-weight: 500;
    color: var(--text-color);
}

.exp-header span {
    font-size: 0.9rem;
    color: var(--muted-text);
}

.experience-list p {
    font-size: 0.95rem;
    color: var(--muted-text);
    margin: 0;
}


/* === Swiper Carousel === */

.slide-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

/* Base bullet color */

.swiper-pagination-bullet {
    background: var(--muted-text);
    /* or any color you want */
    opacity: 0.5;
}

/* Active bullet (current slide) */

.swiper-pagination-bullet-active {
    background: var(--text-color);
    /* your highlight color */
    opacity: 1;
} 

.swiper {
    height: 25vh;
}

.swiper-slide {
    width: 100%;
    height: 500px;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.25rem;
    box-shadow: 0 4px 12px var(--shadow-color);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s ease;
}

.swiper-slide:hover {
    transform: scale(1.03);
}

.swiper-slide h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.swiper-slide p {
    font-size: 1rem;
    color: var(--muted-text);
}

/* Container & slides */
.swiper-horizontal {
    position: relative;
    width: 100%;
    height: 300px;
    margin: 1rem auto;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    border-radius: 8px;
}

.swiper-horizontal .swiper-slide {
    flex: 0 0 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    color: var(--text-color);
    border-radius: 8px;
    font-size: 1.5rem;
}

/* Glowy Text */

.glow-letter {
    display: inline-block;
    color: var(--text-color);
    transition: text-shadow 0.1s;
}


/* === PROJECT GRID === */

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.extra-project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(185px, 1fr));
    gap: 0.8rem;
    margin-top: 1rem;
}


/* === PROJECT CARD === */

.extra-card {
    background-color: var(--card-bg);
    color: var(--text-color);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    text-decoration: none;
    padding: 0.75rem;
    font-size: 0.8rem;
    box-shadow: none;
    transition: box-shadow 0.2s ease-in-out, border-color 0.2s ease-in-out;
}

.extra-card h3 {
    font-size: 1rem;
    /* margin-bottom: 0.5rem; */
}

.extra-card p {
    color: var(--muted-text);
    font-size: 0.8rem;
}

.extra-card:hover {
    box-shadow: 0 4px 8px var(--shadow-color);
    border-color: var(--hover-bg, #ccc);
}

.card {
    background-color: var(--card-bg);
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    text-decoration: none;
    color: inherit;
    box-shadow: none;
    transition: box-shadow 0.2s ease-in-out, border-color 0.2s ease-in-out;
}

.card h3 {
    /* margin-bottom: 0.5rem; */
    font-size: 1.25rem;
    color: var(--text-color);
}

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

.card:hover {
    box-shadow: 0 6px 12px var(--shadow-color);
    border-color: var(--hover-bg, #ccc);
}


/* === CONTACT LIST === */

.contact-list {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}

.contact-list li {
    margin-bottom: 0.5rem;
}

.contact-list a {
    color: var(--accent-color);
    text-decoration: none;
}

.contact-list a:hover {
    text-decoration: underline;
}

/* === CODE BLOCK === */

/* Code block styling for light and dark modes */
pre {
    background-color: var(--card-bg); /* Adapts to light or dark mode */
    color: var(--text-color); /* Adapts to light or dark mode */
    padding: 1rem;
    margin: 2rem 0;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    overflow-x: auto;
    font-family: 'Courier New', Courier, monospace; /* Monospace font for code */
    font-size: 0.8rem;
    box-shadow: 0 4px 12px var(--shadow-color);
    transition: background-color 0.5s ease;
}

code {
    background-color: transparent;
    font-family: inherit;
    color: inherit;
}


/* === FOOTER === */

footer {
    text-align: center;
    padding: 0.25rem;
    font-size: 0.9rem;
    color: var(--muted-text);
    background: var(--card-bg);
    width: 100%;
}

footer a {
    color: var(--accent-color);
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
    gap: 2rem;
}

.footer-info {
    text-align: left;
}

.footer-links {
    text-align: right;
    min-width: 100px;
}

.footer-info p, .footer-links p {
    margin: 0.5rem 0;
}

@media (max-width: 600px) {
    .footer-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .footer-links {
        text-align: left;
    }
}

/* === SOURCES PAGE === */
#libraries h2,
#fonts h2,
#icons h2,
#hosting h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    font-weight: 500;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0.5rem;
    color: var(--text-color);
}



.source-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.25rem;
    margin: 1.5rem 0;
}

.source-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.25rem;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.source-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow-color);
}

.source-card h3 {
    margin: 0 0 0.75rem 0;
    color: var(--text-color);
    font-size: 1.1rem;
}

.source-card p {
    margin: 0 0 0.75rem 0;
    color: var(--muted-text);
    line-height: 1.4;
    font-size: 0.95rem;
}

.source-card a {
    display: inline-block;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease-in-out;
}

.source-card a:hover {
    color: var(--text-color);
    text-decoration: underline;
}

/* === BLOG SECTION === */



.blog-section {
    padding: 2rem 0;
}

.blog-list {
    margin-top: 1.5rem;
}

.blog-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background-color: var(--card-bg);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.blog-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow-color);
}

.blog-item a {
    color: var(--accent-color);
    text-decoration: none;
    font-size: 1.1rem;
}

.blog-item a:hover {
    text-decoration: underline;
}

.blog-date {
    color: var(--muted-text);
    font-size: 0.9rem;
}

.empty-state {
    text-align: center;
    color: var(--muted-text);
    padding: 2rem;
    font-style: italic;
}

/* === BLOG PREVIEW === */
.blog-preview {
    margin: 2rem 0;
}

.blog-preview p {
    color: var(--muted-text);
    margin: 1rem 0;
}

.blog-preview-link {
    margin-top: 1.5rem;
}

.accent-link {
    color: var(--accent-color);
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.accent-link:hover {
    text-decoration: underline;
    transform: translateX(4px);
}

/* === BLOG CONTENT === */
.blog-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 1rem;
}

.blog-content hr {
    border: 1px solid var(--border-color);
    margin: 1rem 0;
}

.blog-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 2rem 0;
}

.image-section img {
    border: 2px solid var(--border-color); /* Adds a border around the image */
    box-shadow: 0 4px 8px var(--shadow-color); /* Adds a drop shadow similar to the canvas */
    max-width: 100%;
    height: auto;
    margin: 0;
}

.blog-content h1, .blog-content h2, .blog-content h3 {
    color: var(--text-color);
    margin-top: 2rem;
}

.blog-content p {
    line-height: 1.6;
    margin-bottom: 1rem;
}

.blog-content ul {
    padding-left: 2rem;
}

.blog-content ol {
    padding-left: 2rem;
    margin-bottom: 1rem;
}

.blog-meta {
    color: var(--muted-text);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.blog-content code {
    background: var(--card-bg);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: monospace;
}

.blog-content-link {
    color: var(--muted-text);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: color 0.2s ease, border-bottom-color 0.2s ease;
}

.blog-content-link:hover {
    color: var(--text-color);
    border-bottom-color: var(--text-color);
}

/* === IMAGE SECTION === */

