/* General & Body Transitions */
body {
    background: #ffffff; /* Default background */
    color: #1a1a1a;
    font-family: 'Cinzel', serif;
    margin: 0;
    padding: 0;
    height: 100%;
    overflow-y: scroll; /* Changed from hidden to scroll */
    opacity: 0; /* Pages start invisible */
    transition: opacity 0.5s ease-in-out; /* Fade in duration */
}



/* Page wide fade-in */
.fade-in {
    opacity: 1; /* Make visible */
}

/* Hades Page Entrance - Initial state when body is loading */
body.entering {
    transform: translateY(100vh); /* Start from below the viewport */
    opacity: 0;
    transition: none; /* No transition for initial placement */
}

/* Hades Page Entrance - Final state after loading */
body.entered {
    transform: translateY(0); /* Rise to normal position */
    opacity: 1;
    transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1), opacity 1s ease-out; /* Smooth transition */
}

/* Specific background for Poseidon page */
body.poseidon-page {
    background-color: #2c3e50; /* Deep Ocean Blue - permanent */
    color: #ffffff; /* Change text color for dark background */
}

/* Particles Background */
#particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Header */
.main-header {
    position: relative;
    z-index: 3; /* Ensure header is above particles and content */
    display: flex;
    justify-content: center; /* Centered navigation */
    align-items: center;
    padding: 20px 40px;
    border-bottom: 1px solid #eaeaea;
}

.main-header nav a {
    text-decoration: none;
    color: #000000;
    margin-left: 20px;
    font-size: 16px;
    transition: color 0.3s;
}

.main-header nav a:hover {
    color: #888888;
}

/* Main Content Wrapper - Two Column Layout */
.content-wrapper {
    position: relative; /* Position relative for z-index */
    z-index: 2; /* Ensure content is above particles */
    display: flex;
    align-items: center; /* Vertically center content */
    justify-content: center; /* Horizontally center if space allows */
    min-height: calc(100vh - 85px); /* Full height minus header */
    padding: 40px;
    gap: 40px; /* Space between columns */
    box-sizing: border-box;
}

.text-content {
    flex-basis: 50%;
    max-width: 500px;
    text-align: left; /* Align text to the left */
    position: relative; /* Added for absolute positioning of cloud */
}

/* 
  --- ZEUS PAGE OVERLAY ---
  Controls the cloud image on the Zeus page.
*/
.cloud-overlay {
    position: absolute;
    width: 400px;
    height: auto;
    top: -350px;
    left: 26%;
    transform: translateX(-50%);
    z-index: 4;
    opacity: 1;
    pointer-events: none;
}

/* 
  --- POSEIDON PAGE OVERLAY ---
  Controls the overlay image on the Poseidon page.
*/
.poseidon-overlay {
    position: absolute;
    width: 280px; /* Adjust width as needed */
    height: auto;
    top: -305px; /* Adjust up/down as needed */
    left: 20%; /* Adjust left/right as needed */
    transform: translateX(-50%);
    z-index: 4; 
    opacity: 1;
    pointer-events: none;
}

.visual-content {
    flex-basis: 50%;
    display: flex;
    justify-content: flex-end; /* Push image to the right */
    align-items: center; /* Vertically center image */
    padding-right: 50px; /* Add some padding from the right edge */
    box-sizing: border-box;
}

.visual-content img {
    max-width: 100%;
    max-height: 70vh; /* Control image height */
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.2));
}

/* Text & Button Styling (from reference) */
.god-name {
    font-size: 4.2rem;
    margin: 0;
    letter-spacing: 15px;
    color: #b08d57;
    font-weight: 400;
    padding-left: 15px; /* Adjust for letter-spacing */
}

.god-name span {
    opacity: 0;
    display: inline-block; /* Needed for animation */
}

.tagline {
    font-size: 1rem;
    letter-spacing: 2px;
    color: #444;
    margin: 25px 0 45px 0;
    font-family: sans-serif;
    font-weight: 300;
}

/* Ensure tagline is visible on dark Poseidon background */
body.poseidon-page .tagline {
    color: #ffffff;
}

/* 
  --- TORCH BUTTON & IMAGE ---
*/
#hades-torch-button {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 70px; /* Match torch-image width */
    height: 70px; /* Match torch-image height */
    border-radius: 0%; /* Match image shape */
    background: transparent; /* Invisible button */
    border: none;
    cursor: pointer;
    z-index: 99999; /* Ensure it's clickable and above the image */
    padding: 0; /* Remove default padding */
}

.torch-image {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 60px; /* Size of the torch image */
    height: auto;
    z-index: 99998; /* Below the button, above everything else */
    pointer-events: none; /* Allows clicks to pass through to the button */
    transition: transform 0.3s ease-in-out; /* Re-added transform transition */
}

body.hades-page.lights-on .torch-image {
    transform: scale(0.8) rotate(20deg); /* Re-added visual cue when lights are on */
}

/* 
  --- HADES PAGE THEME ---
*/
body.hades-page {
    background-color: #1a1a1a; /* Near-black background */
    color: #a0a0a0; /* Dim white/gray text */
    transition: background-color 0.5s ease-in-out, color 0.5s ease-in-out; /* Smooth transition */
}

body.hades-page.lights-on {
    background-color: #ffffff;
    color: #1a1a1a; /* Dark text on white background */
}

body.hades-page .god-name,
body.hades-page .tagline {
    color: #a0a0a0;
    transition: color 0.5s ease-in-out;
}

body.hades-page.lights-on .god-name {
    color: #b08d57; /* Gold color when lit */
}

body.hades-page.lights-on .tagline {
    color: #444; /* Dark gray when lit */
}


body.hades-page .main-header nav a {
    color: #a0a0a0;
    transition: color 0.5s ease-in-out;
}

body.hades-page.lights-on .main-header nav a {
    color: #000000;
}

/* 
  --- HADES PAGE OVERLAY ---
  Controls the Cerberus eyes on the Hades page.
*/
.cerberus-sentinel {
    position: absolute;
    top: -60px; /* Positioned above the text */
    left: 30%;
    transform: translateX(-50%);
    z-index: 100;
    text-align: center;
}
.eye-group { display: flex; gap: 20px; }
.head { display: flex; gap: 8px; }
.eye {
    width: 20px; 
    height: 10px; 
    background: #ff0000;
    border-radius: 50%;
    box-shadow: 0 0 80px 30px #ff0000, 0 0 20px 10px #ff4d4d inset; /* MAX glow */
    transition: transform 0.05s linear;
}

.button-group {
    display: flex;
    gap: 15px; /* Space between buttons */
    margin-top: 25px;
}

button {
    padding: 16px 50px;
    border: none;
    background: #b08d57;
    color: white;
    cursor: pointer;
    font-family: 'Cinzel', serif;
    font-size: 0.9rem;
    letter-spacing: 3px;
    transition: 0.4s;
    font-weight: bold;
}

button:hover {
    background: #8e7145;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(176, 141, 87, 0.3);
}

/* Letter Animation Keyframes */
@keyframes fadeInLetter {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Full screen white flash overlay */
#lightning-flash {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    opacity: 0;
    z-index: 9999;
    pointer-events: none;
}

/* The flash animation */
.flash-active {
    animation: lightning-strike 0.5s ease-out forwards;
}

@keyframes lightning-strike {
    0% { opacity: 0; }
    20% { opacity: 1; }
    40% { opacity: 0.6; }
    60% { opacity: 1; }
    100% { opacity: 0; }
}

/* The screen shake animation */
.shake {
    animation: shake-screen 0.3s;
}

@keyframes shake-screen {
    0% { transform: translate(1px, 1px) rotate(0deg); }
    10% { transform: translate(-1px, -2px) rotate(-1deg); }
    30% { transform: translate(3px, 2px) rotate(0deg); }
    50% { transform: translate(-1px, 2px) rotate(-1deg); }
    100% { transform: translate(1px, -2px) rotate(-1deg); }
}

/* Hades Page Torch Effect */
#spotlight {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at 50% 50%, transparent 100px, rgba(0, 0, 0, 0.95) 200px);
    pointer-events: none;
    z-index: 9998; /* Below flash, above everything else */
    transition: background 0.5s ease-in-out; /* Smooth transition for reveal */
}

body.hades-page.lights-on #spotlight {
    display: none;
}

/* Page Sink Transition */
.sinking {
    animation: sinkAndShake 2.5s cubic-bezier(0.7, 0, 0.3, 1) forwards; /* Even longer duration */
    background-color: #000; /* For proper fade to black */
}

@keyframes sinkAndShake {
    0% { transform: translateY(0vh) rotate(0deg); opacity: 1; }
    5% { transform: translateY(-2vh) rotate(0.2deg); opacity: 0.98; }
    15% { transform: translateY(-8vh) rotate(-0.3deg); opacity: 0.9; }
    25% { transform: translateY(-17vh) rotate(0.5deg); opacity: 0.8; }
    35% { transform: translateY(-29vh) rotate(-0.6deg); opacity: 0.7; }
    45% { transform: translateY(-44vh) rotate(0.8deg); opacity: 0.55; }
    55% { transform: translateY(-60vh) rotate(-0.8deg); opacity: 0.4; }
    65% { transform: translateY(-75vh) rotate(0.6deg); opacity: 0.25; }
    75% { transform: translateY(-88vh) rotate(-0.4deg); opacity: 0.1; }
    100% { transform: translateY(-100vh) rotate(0deg); opacity: 0; }
}

/* Experience Section Container */
.god-section {
    min-height: 100vh;
    background: #ffffff; /* Changed from #050505 */
    position: relative;
    padding: 80px 5%;
    display: flex;
    justify-content: center;
    overflow: hidden;
}

.section-title {
    font-family: 'Cinzel', serif;
    font-size: 3rem;
    color: #1a1a1a;
    text-align: center;
    letter-spacing: 10px;
    margin-bottom: 60px;
}

/* The Cards */
.experience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
}

.exp-card {
    background: #fafafa;
    border: 1px solid #e0e0e0;
    padding: 30px;
    transition: 0.4s ease;
    position: relative;
    box-sizing: border-box; /* Add this line */
}

.exp-card:hover {
    transform: translateY(-10px);
    border-color: #b08d57;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.exp-date {
    font-family: 'Space Mono', monospace;
    font-size: 0.7rem;
    color: #b08d57;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.exp-header h3 {
    font-family: 'Cinzel', serif;
    color: #1a1a1a;
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.exp-header h4 {
    font-size: 0.8rem;
    color: #555;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.exp-details {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.exp-details li {
    color: #555;
    font-size: 0.9rem;
    line-height: 1.6;
    padding-left: 15px;
    position: relative;
}

.exp-details li::before {
    content: "⚡"; /* Lightning bolt bullet point */
    position: absolute;
    left: -5px;
    font-size: 0.7rem;
    color: #ffd700;
}

.exp-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.exp-tags span {
    font-size: 0.6rem;
    padding: 5px 10px;
    background: rgba(176, 141, 87, 0.1);
    color: #b08d57;
    border: 1px solid rgba(176, 141, 87, 0.3);
    letter-spacing: 1px;
}
/* Dot Styling */
.visual-content {
    position: relative; /* Ensure dots are positioned relative to this container */
}

.dot {
    position: absolute;
    width: 15px;
    height: 15px;
    background: #ffd700; /* Gold color for dots */
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 5px #ffd700, 0 0 15px rgba(255, 215, 0, 0.6);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 10; /* Ensure dots are above the image */
}

.dot:hover {
    transform: scale(1.3);
    box-shadow: 0 0 10px #ffd700, 0 0 25px rgba(255, 215, 0, 0.8);
}

.dot-label {
    position: absolute;
    top: -25px; /* Position above the dot */
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    letter-spacing: 2px;
    color: #ffd700;
    white-space: nowrap;
    opacity: 0; /* Hidden by default */
    transition: opacity 0.3s ease;
    pointer-events: none; /* Allows click to pass through to dot */
}

.dot-cta {
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    color: #b08d57; /* Gold color */
    font-family: 'Cinzel', serif; /* Changed font to Cinzel */
    font-size: 18px; /* Increased font size */
    letter-spacing: 5px; /* Increased letter spacing */
    text-align: center;
    opacity: 1; /* Fully opaque */
    z-index: 6;
    text-shadow: 0 0 5px rgba(176, 141, 87, 0.5); /* Added text shadow for pop */
}

.dot:hover .dot-label {
    opacity: 1; /* Visible on hover */
}

/* Hermes Motion Blur Entry */
.hermes-snap {
    animation: hermesFocus 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes hermesFocus {
    0% { filter: blur(20px); transform: scale(1.1); opacity: 0; }
    100% { filter: blur(0); transform: scale(1); opacity: 1; }
}

/* Terminal Styling */
.messenger-terminal {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(176, 141, 87, 0.2);
    padding: 30px;
    backdrop-filter: blur(10px);
    font-family: 'Space Mono', monospace;
    transition: all 2s cubic-bezier(0.16, 1, 0.3, 1); /* Makes the flight smooth */
    position: relative;
    z-index: 10;
}

/* The "Flight" state triggered by JavaScript */
.messenger-terminal.transmitting {
    transform: translateX(150vw) skewX(-20deg) scale(0.8) !important;
    opacity: 0 !important;
    filter: blur(10px);
    transition: all 3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* FIX: Ensure letters are visible in text boxes */
.messenger-terminal input, 
.messenger-terminal textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid #b08d57;
    color: #ffd700 !important;
    padding: 10px 0;
    outline: none;
    font-family: 'Space Mono', monospace; /* Added font-family */
}

.messenger-terminal label {
    color: #b08d57;
    font-size: 10px;
    letter-spacing: 2px;
}


/* Hover effect */
.return-btn:hover, 
.speed-btn:hover {
    background: rgba(176, 141, 87, 0.1) !important;
    color: #ffd700 !important;
    border-color: #ffd700 !important;
}

/* The Speed Line effect */
.speed-line {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.2), transparent);
    transition: none;
}

.speed-btn:hover .speed-line {
    left: 100%;
    transition: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.cloud-particle {
    position: fixed;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    pointer-events: none;
    z-index: 5;
    filter: blur(5px);
    animation: cloudDrift 1s ease-out forwards;
}
@keyframes cloudDrift {
    0% { transform: translate(0, 0) scale(1); opacity: 1; }
    100% { transform: translate(var(--x, -50px), 50px) scale(3); opacity: 0; }
}

.divine-notification {
    position: fixed;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.95);
    padding: 30px 40px;
    border: 2px solid #b08d57;
    border-radius: 10px;
    z-index: 10000;
    font-family: 'Cinzel', serif;
    color: #1a1a1a;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    animation: divinePop 1.2s ease-out forwards;
}

.divine-notification p {
    margin: 10px 0;
    font-size: 1rem;
    letter-spacing: 1px;
}

.divine-notification .highlight {
    font-weight: bold;
    color: #b08d57;
    letter-spacing: 2px;
}

/* Animation for the popup */
@keyframes divinePop {
    from {
        opacity: 0;
        transform: translate(-50%, -30px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0) scale(1);
    }
}

/* Hermes Footer WARP_TO_DOMAIN Section */
.relay-footer {
    background: transparent;
    padding: 30px 60px;
    text-align: center;
    font-family: 'Space Mono', monospace;
    z-index: 10;
    position: relative;
    margin-top: -100px; /* Pull the footer up */
}

.relay-track {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    letter-spacing: 2px;
    font-size: 0.9rem;
    color: #b08d57;
    border-top: 1px solid rgba(176, 141, 87, 0.2);
    padding-top: 15px;
    margin-top: 30px;
}

.relay-label {
    font-weight: bold;
    color: #ffd700;
    font-size: 0.9rem;
}

.waypoint-links {
    display: flex;
    gap: 10px;
}

.waypoint {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #b08d57;
    padding: 6px 12px;
    border: 1px solid rgba(176, 141, 87, 0.3);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.waypoint:hover {
    background-color: rgba(176, 141, 87, 0.1);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
    color: #ffd700;
}

.coord {
    font-weight: bold;
    color: #ffd700;
}

.name {
    font-family: 'Cinzel', serif;
    font-weight: 600;
    letter-spacing: 3px;
    color: #b08d57;
}

/* Warp arrow symbol */
.symbol {
    font-size: 0.9rem;
    margin-left: 4px;
    color: #ffd700;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0.6;
}

.waypoint:hover .symbol {
    transform: translateX(4px) translateY(-2px);
    opacity: 1;
}

.lock-scroll {

    overflow: hidden;

    touch-action: none;

    position: fixed;

    width: 100%;

    height: 100%;

}



/* Hides sections until they are revealed by interaction */

.section-hidden {

    display: none !important;

}



/* ================================

   📱 MOBILE FIXES ONLY

   DOES NOT AFFECT DESKTOP

================================ */

@media (max-width: 768px) {

    /* ---------- Global Fixes ---------- */
    html, body {
      max-width: 100%;
      overflow-x: hidden;
    }
  
    /* ---------- Layout ---------- */
    .content-wrapper {
      flex-direction: column;
      align-items: center;
      padding: 24px 16px;
      gap: 24px;
      text-align: center;
      min-height: auto;
    }
  
    .text-content {
      width: 100%;
      max-width: 100%;
      position: relative;
      padding-top: 120px; /* SPACE FOR OVERLAY ABOVE NAME */
    }
  
    .visual-content {
      width: 100%;
      padding: 0;
      justify-content: center;
    }
  
    .visual-content img {
      max-height: 50vh;
      width: 100%;
      height: auto;
      object-fit: contain;
    }
  
    /* ---------- Names ---------- */
    .god-name {
      font-size: 2.6rem;
      letter-spacing: 8px;
      padding-left: 0;
      margin-top: 0;
      text-align: center;
    }
  
    .tagline {
      font-size: 0.9rem;
      margin: 16px 0 28px;
    }
  
    /* ================================
       ☁️ ZEUS CLOUD (CENTERED ABOVE NAME)
    ================================ */
    .cloud-overlay {
      position: absolute;
      top: 0;
      left: 50%;
      transform: translate(-50%, -70px); /* ⬅️ MOVE UP / DOWN */
      width: 220px;
      z-index: 5;
      pointer-events: none;
    }
  
    /* ================================
       🌊 POSEIDON OVERLAY
    ================================ */
    .poseidon-overlay {
      position: absolute;
      top: 0;
      left: 50%;
      transform: translate(-50%, -50px); /* ⬅️ MOVE UP / DOWN */
      width: 150px;
      z-index: 5;
      pointer-events: none;
    }
  
    /* ================================
       🔥 HADES CERBERUS EYES
    ================================ */
    .cerberus-sentinel {
      position: absolute;
      top: 0;
      left: 50%;
      transform: translate(-50%, 50px); /* ⬅️ MOVE UP / DOWN */
      z-index: 6;
      width: max-content;
    }
  
    .eye-group {
      justify-content: center;
    }
  
    /* ---------- Buttons ---------- */
    .button-group {
      flex-direction: column;
      align-items: center;
      gap: 12px;
    }
  
    /* FIX: Ensure linked buttons take full width */
    .button-group a {
      width: 100%;
      max-width: 280px;
      display: block; /* Ensures the anchor respects the width */
      text-align: center; /* Centers the button content if needed */
    }
  
    button {
      width: 100%;
      max-width: 280px;
      padding: 14px 24px;
      font-size: 0.8rem;
      letter-spacing: 2px;
    }
  
    /* ================================
       📜 SECTIONS (EXPERIENCE FIX)
    ================================ */
    section,
    .god-section {
      min-height: auto;
      padding: 80px 16px;
      overflow: visible;
    }
  
    .experience-grid {
      grid-template-columns: 1fr;
      gap: 22px;
    }
  
    .exp-card {
      width: 90%;
      max-width: 90%;
      margin: 0 auto;
    }
  
    /* ---------- Header Protection ---------- */
    .main-header {
      padding: 16px;
      position: relative;
      z-index: 10;
    }
  
    /* ================================
       📨 HERMES TERMINAL FIX
       (Shift up instead of shrinking sideways)
    ================================ */
    .messenger-terminal.transmitting {
      transform: translateY(-150vh) scale(0.8) !important;
      opacity: 0 !important;
      filter: blur(10px);
      transition: all 2.5s cubic-bezier(0.16, 1, 0.3, 1);
    }
  
    .dot-cta {
        display: block; /* Show on mobile */
        position: absolute;
        top: auto;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        color: rgba(0,0,0,0.6);
        font-family: 'Space Mono', monospace;
        font-size: 12px;
        letter-spacing: 2px;
        text-align: center;
        opacity: 0.7;
        z-index: 6;
        text-shadow: none;
    }
  }

/* ================================
   PROJECTS SECTION (GRID LAYOUT)
================================ */

/* The .experience-grid class is already defined and will be used for the project grid */

/* Styles for new elements inside the .exp-card for projects */
.exp-card .project-media {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.exp-card .project-media iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    border: 1px solid rgba(176, 141, 87, 0.2);
}

.exp-card .media-gallery {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.exp-card .gallery-main-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    border: 1px solid rgba(176, 141, 87, 0.2);
}

.exp-card .gallery-thumbnails {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(50px, 1fr));
    gap: 8px;
}

.exp-card .thumbnail {
    width: 100%;
    height: auto;
    border-radius: 4px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s;
}

.exp-card .thumbnail:hover {
    border-color: #b08d57;
}

.exp-card .thumbnail.active {
    border-color: #ffd700;
}

.exp-card .timeline-links { /* Re-styling the links class */
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.exp-card .timeline-link {
    font-family: 'Space Mono', monospace;
    text-decoration: none;
    padding: 6px 14px;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-size: 0.7rem;
    letter-spacing: 1px;
    text-align: center;
}

.exp-card .timeline-link.demo {
    background-color: #b08d57;
    color: #050505;
}
.exp-card .timeline-link.demo:hover {
    background-color: #ffd700;
}

.exp-card .timeline-link.source {
    border: 1px solid #b08d57;
    color: #b08d57;
}
.exp-card .timeline-link.source:hover {
    background-color: rgba(176, 141, 87, 0.1);
    color: #ffd700;
}

/* ================================
   SECTION BACKGROUND IMAGES
================================ */
#experience, #projects, #about {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* Parallax-like effect */
}

#experience::before, #projects::before, #about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.85); /* White overlay */
    z-index: 0;
}

#experience > .section-content, 
#projects > .section-content, 
#about > .section-content {
    position: relative;
    z-index: 1;
}

#experience {
    background-image: url('marbled-greek-god.png');
}

#projects {
    background-image: url('marbled-greek-goddess.png');
}

#about {
    background-image: url('greek-god-ares.png');
}

#about .section-content b {
    color: #b08d57; /* Gold color */
    letter-spacing: 1px;
}
