:root {
    --bg-color: #000000;
    --text-color: #f0f0f0;
    --accent-color: #a8a8a8;
    --font-main: 'Cormorant Garamond', serif;
    --highlight-color: rgba(255, 230, 100, 0.4);
}

/* Custom text selection */
::selection {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

::-moz-selection {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

* {
    box-sizing: border-box;
    cursor: none;
}

body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    overflow: hidden;
}

/* Typography Defaults */
h1, h2, h3, button {
    font-weight: 300;
    letter-spacing: 0.05em;
    cursor: none !important; /* Force custom cursor on everything */
}

a, .icon-btn, .nav-btn {
    cursor: none !important;
}

/* Let p inherit natural weight/spacing, avoid forcing thin/spaced style unless specified */
p {
    margin-bottom: 0.8em;
    line-height: 1.5;
}

.title {
    font-size: 4rem;
    margin-bottom: 0.5rem;
    font-style: italic;
}

.subtitle {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 4rem;
}

/* Layout */
.screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 2s ease, visibility 2s;
    z-index: 1;
}

.screen.active {
    opacity: 1;
    visibility: visible;
    z-index: 10;
}

.content {
    text-align: center;
    z-index: 20;
    position: relative;
}

/* Button */
.elegant-btn {
    background: transparent;
    border: 1px solid var(--text-color);
    color: var(--text-color);
    padding: 1rem 3rem;
    font-family: var(--font-main);
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    transition: all 0.5s ease;
    cursor: pointer;
}

.elegant-btn:hover {
    background: var(--text-color);
    color: var(--bg-color);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

/* Spotlight Effect - Hidden by default */
#spotlight {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    /* Only visible when opacity is set to 1 via JS */
    opacity: 0;
    background: radial-gradient(
        circle at var(--x, 50%) var(--y, 50%), 
        transparent var(--spot-size, 150px), 
        rgba(0, 0, 0, var(--darkness, 0.1)) calc(var(--spot-size, 150px) + 250px),
        rgba(0, 0, 0, 0.4) 100%
    );
    z-index: 12;
    mix-blend-mode: multiply;
    transition: background 0.3s ease, opacity 0.3s ease;
}

/* Custom Cursor */
.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: white;
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 100;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, opacity 0.2s;
    mix-blend-mode: difference; /* Visible on light and dark */
}

/* Gallery View */
.gallery-view {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 6; /* Above spotlight for direct visibility if needed, or keeping it below if we want spotlight effect on art. 
                   User said "isolate it in that the viewer can appreciate... view the full piece".
                   If z-index is > 5 (spotlight), spotlight won't affect it. 
                   Let's try putting it ABOVE the spotlight so the art is always clear. */
}

.artwork-container {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.1s ease-out, opacity 0.8s ease;
    transform-origin: center center;
    will-change: transform;
}

/* Shift artwork left when info is open */
.gallery-view.shift-left .artwork-wrapper {
    transform: translateX(-8%); /* Reduced shift */
}

.artwork-wrapper {
    transition: transform 0.5s ease;
    z-index: 10;
    max-width: 90vw;
    max-height: 85vh;
}

.masterpiece {
    max-width: 100%;
    max-height: 85vh;
    display: block;
    box-shadow: 0 0 50px rgba(0,0,0,0.8);
    object-fit: contain;
}

/* Controls */
.controls {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    z-index: 40;
    transition: opacity 0.5s ease;
    display: flex;
    gap: 1rem;
}

.icon-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: var(--font-main);
    transition: all 0.3s ease;
    cursor: pointer;
}

.icon-btn.active {
    border-color: #fff;
    background: transparent;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.icon-btn:hover {
    border-color: var(--text-color);
    background: rgba(255, 255, 255, 0.1);
}

.info-icon {
    font-family: 'Times New Roman', serif; /* Classic serif for 'i' */
    font-style: italic;
    font-weight: bold;
}

/* Details Panel */
.details-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    height: 100%;
    background: #000000; /* Solid black as requested */
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateX(0);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 30;
    padding: 4rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.details-panel.hidden {
    transform: translateX(100%);
}

.details-content {
    opacity: 1;
    transition: opacity 0.5s ease 0.3s;
}

.details-panel.hidden .details-content {
    opacity: 0;
    transition: opacity 0.2s ease 0s;
}

.art-title {
    font-size: 2.5rem;
    margin: 0 0 0.25rem 0;
    font-style: italic;
    line-height: 1.1;
}

.artist-name {
    font-size: 1.2rem;
    color: var(--accent-color);
    margin: 0 0 1.5rem 0;
    font-weight: 400;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

/* Nav Controls */
.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--text-color);
    font-size: 2rem;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-weight: 300;
    line-height: 1;
    opacity: 0;
    transition: opacity 0.4s ease, color 0.4s ease;
    cursor: none !important;
    z-index: 20;
    padding: 2rem;
    pointer-events: none;
}

.nav-btn.visible {
    opacity: 0.4;
    pointer-events: auto;
}

.nav-btn.visible:hover {
    opacity: 1;
}

.nav-btn.hidden-by-panel {
    opacity: 0 !important;
    pointer-events: none !important;
}

/* NEW NAVBAR STYLES */
.museum-nav {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    z-index: 50;
    display: flex;
    align-items: center;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Hover detection zone - invisible trigger area */
.nav-handle {
    width: 60px;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background: transparent;
    cursor: default;
    z-index: 1;
}

/* Collapsed State */
.museum-nav.collapsed .nav-inner {
    width: 0;
    height: 100%;
    opacity: 0;
    pointer-events: none;
    overflow: hidden;
    padding: 0; 
}

/* Expanded State */
.museum-nav.expanded .nav-handle {
    width: 0;
    pointer-events: none;
}

.museum-nav.expanded .nav-inner {
    width: 260px;
    height: 100%;
    opacity: 1;
    pointer-events: auto;
    padding: 2rem 1.5rem;
}

.nav-inner {
    background: rgba(10, 10, 10, 0.95);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    border-left: none;
    border-top: none;
    border-bottom: none;
    height: 100%;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    backdrop-filter: blur(10px);
    box-shadow: 10px 0 30px rgba(0,0,0,0.5);
    transition: width 0.6s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.4s ease, padding 0.6s ease;
    position: relative;
    overflow: hidden;
}

.nav-view {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: transform 0.4s ease, opacity 0.4s ease;
    opacity: 0;
    pointer-events: none;
    transform: translateX(20px);
}

.nav-view.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
    position: relative; /* Allow it to take space */
}

.nav-view.hidden {
    display: none; /* Helper to fully hide if needed, but opacity/transform handles anim */
}

/* Nav Menu Items */
.nav-menu-items {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-item {
    font-size: 1.2rem;
    padding: 0.85rem 0;
    color: #777;
    cursor: pointer;
    transition: color 0.3s ease;
    position: relative;
    letter-spacing: 0.02em;
}

/* Main menu items (Home, Exhibitions, About) - larger since short text */
#view-main .nav-item {
    font-size: 1.5rem;
    padding: 1rem 0;
}

/* Exhibition category items - medium size */
#view-exhibitions .nav-item {
    font-size: 1.35rem;
    padding: 0.9rem 0;
}

.nav-item:hover {
    color: #fff;
}

.nav-item.active-category, .nav-item.active-artwork {
    color: #fff;
}

/* Underline for active items - extends only to text width */
.nav-item.active-category, .nav-item.active-artwork {
    display: inline-block;
}

.nav-item.active-category::after, .nav-item.active-artwork::after {
    content: '';
    position: absolute;
    bottom: 0.4rem;
    left: 0;
    right: 0;
    width: auto;
    height: 1px;
    background: rgba(255, 255, 255, 0.5);
}

.nav-item.disabled {
    color: #333;
    cursor: default;
    pointer-events: none;
}

/* Nav Headers - Back arrow above title */
.nav-top-bar {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.nav-back {
    background: transparent;
    border: none;
    color: #555;
    font-size: 0.8rem;
    cursor: pointer;
    padding: 0.2rem 0;
    margin-bottom: 0.3rem;
    transition: color 0.3s ease, transform 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.nav-back:hover {
    color: #aaa;
    /* No transform animation */
}

.nav-view-title {
    font-size: 1.5rem;
    color: #fff;
    letter-spacing: 0.03em;
    font-style: italic;
    padding-bottom: 0.9rem;
    position: relative;
}

/* Underline for view title */
.nav-view-title::after {
    content: '';
    position: absolute;
    bottom: 0.4rem;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
}

/* Scrollable list for artworks */
.scrollable {
    max-height: 50vh;
    overflow-y: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE 10+ */
}

.scrollable::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

/* Fading controls during transition */
.controls.fade-out {
    opacity: 0;
    pointer-events: none;
}

.nav-btn.fade-out {
    opacity: 0 !important;
    pointer-events: none !important;
}

/* nav-btn hover handled by .visible state */

.prev-btn {
    left: 2rem;
}

.next-btn {
    right: 2rem;
}


/* Landmark / Hotspots */
.landmark-marker {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    cursor: none !important;
    z-index: 100;
    transition: all 0.3s;
    background: rgba(255, 255, 255, 0.1);
}

.landmark-marker::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 4px;
    height: 4px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
    50% { transform: translate(-50%, -50%) scale(1.5); opacity: 0.4; }
    100% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
}

.landmark-marker:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.2);
}

.landmark-popup {
    position: absolute;
    bottom: 25px; /* Fixed position above marker */
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.landmark-marker.active .landmark-popup {
    opacity: 1;
    transform: translateX(-50%);
    pointer-events: auto;
}

.landmark-line {
    width: 1px;
    height: 30px;
    background: #fff;
    margin: 0 auto;
}

.landmark-box {
    background: rgba(0, 0, 0, 0.8);
    border: none;
    padding: 1rem;
    color: #eee;
    font-size: 0.9rem;
    text-align: left;
    backdrop-filter: blur(5px);
}

/* Text Selection Popup */
.selection-popup {
    position: fixed;
    background: #f5f5f5;
    border-radius: 8px;
    padding: 0;
    display: flex;
    flex-direction: column;
    z-index: 200;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease, transform 0.15s ease;
    transform: translateY(5px);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
    min-width: 140px;
    overflow: hidden;
}

.selection-popup.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

/* Color row */
.selection-colors {
    display: flex;
    align-items: center;
    padding: 0.6rem 0.8rem;
    gap: 0.5rem;
    border-bottom: 1px solid #ddd;
}

.selection-color {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    border: none;
}

.selection-color:hover {
    transform: scale(1.15);
}

.selection-color.active {
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px currentColor;
}

.selection-color.yellow { background: #f9e154; }
.selection-color.green { background: #7ed957; }
.selection-color.blue { background: #5eb3f7; }
.selection-color.pink { background: #f78da7; }
.selection-color.purple { background: #b39ddb; }

.selection-underline {
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #333;
    font-size: 1rem;
    text-decoration: underline;
    font-weight: 500;
    border: none;
    background: transparent;
    margin-left: 0.3rem;
    border-left: 1px solid #ddd;
    padding-left: 0.6rem;
}

/* Menu items */
.selection-menu-item {
    display: flex;
    align-items: center;
    padding: 0.7rem 1rem;
    color: #333;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background 0.15s ease;
    border: none;
    background: transparent;
    width: 100%;
    text-align: left;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    gap: 0.6rem;
}

.selection-menu-item:hover {
    background: rgba(0, 0, 0, 0.05);
}

.selection-menu-item .menu-icon {
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.selection-menu-item .note-icon {
    width: 14px;
    height: 14px;
    background: #f78da7;
    border-radius: 2px;
}

.selection-menu-item .arrow {
    margin-left: auto;
    color: #999;
}

/* Highlighted text - Apple Books style with softer backgrounds */
.text-highlight {
    padding: 2px 1px;
    border-radius: 3px;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

.text-highlight.yellow { background: rgba(255, 230, 109, 0.35); }
.text-highlight.green { background: rgba(130, 225, 130, 0.35); }
.text-highlight.blue { background: rgba(120, 190, 255, 0.35); }
.text-highlight.pink { background: rgba(255, 150, 175, 0.35); }
.text-highlight.purple { background: rgba(190, 160, 230, 0.35); }

/* Underline style highlight */
.text-highlight.underline {
    background: transparent;
    text-decoration: underline;
    text-decoration-color: rgba(255, 150, 175, 0.8);
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

/* Threshold Wrapper - Scrollable with Snap */
.threshold-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
    z-index: 10;
    opacity: 1;
    visibility: visible;
    transition: opacity 2s ease, visibility 2s;
}

.threshold-wrapper.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.threshold-landing {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #555;
    font-size: 0.7rem;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 400;
    letter-spacing: 0.05em;
    animation: fadeInOut 5s infinite; /* Slower flicker */
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 1px solid #555;
    border-bottom: 1px solid #555;
    transform: rotate(45deg);
    margin-top: 10px;
    /* No bounce animation - static arrow */
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.9; }
}

/* Timeline Horizontal Cards */
.timeline-card {
    min-width: 300px;
    max-width: 300px;
    display: flex;
    flex-direction: column;
    position: relative;
    padding-top: 40px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0.5;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.timeline-card:hover {
    opacity: 1;
    transform: translateY(-10px);
    border-top-color: rgba(255,255,255,0.5);
}

.timeline-card.focus {
    opacity: 1;
    border-top-color: #fff;
}

.timeline-card.focus::before {
    content: 'Current Era';
    position: absolute;
    top: -25px;
    left: 0;
    font-size: 0.7rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.timeline-line-marker {
    position: absolute;
    top: -5px; /* On the line */
    left: 0;
    width: 9px;
    height: 9px;
    background: #000;
    border: 1px solid #666;
    border-radius: 50%;
    transform: translateY(-50%);
    transition: all 0.3s ease;
}

.timeline-card:hover .timeline-line-marker,
.timeline-card.focus .timeline-line-marker {
    background: #fff;
    border-color: #fff;
    box-shadow: 0 0 10px rgba(255,255,255,0.5);
}

.timeline-year {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    letter-spacing: 0.05em;
}

.timeline-name {
    font-size: 2rem;
    font-weight: 300;
    font-style: italic;
    color: #ccc;
    margin: 0 0 1rem 0;
    line-height: 1.1;
    transition: color 0.3s;
}

.timeline-card:hover .timeline-name {
    color: #fff;
}

.timeline-desc {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
    transition: color 0.3s;
}

.timeline-card:hover .timeline-desc {
    color: #999;
}

/* Timeline Page Layout */
.timeline-page {
    width: 100vw;
    height: 100vh;
    background: linear-gradient(90deg, #050505 0%, #111 100%);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.timeline-nav {
    padding: 2rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
}

.back-link {
    font-size: 1.1rem;
    color: #888;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s;
    cursor: pointer;
}

.back-link:hover {
    color: #fff;
}

.timeline-container-horizontal {
    flex: 1;
    display: flex;
    align-items: center;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 100px; /* Horizontal padding */
    scroll-behavior: smooth;
    /* Hide scrollbar */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.timeline-container-horizontal::-webkit-scrollbar {
    display: none;
}

.timeline-track {
    display: flex;
    align-items: center;
    gap: 150px; /* Space between eras */
    padding-right: 200px; /* Extra space at end */
}

.scroll-instruction {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: #444;
    font-size: 0.8rem;
    pointer-events: none;
}


/* About Section */
.about-section {
    width: 100%;
    min-height: 100vh;
    padding: 100px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(180deg, #0a0a0a 0%, #000 100%);
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.about-content {
    max-width: 800px;
    text-align: center;
}

.about-title {
    font-size: 2.5rem;
    font-style: italic;
    font-weight: 300;
    margin: 0 0 1.5rem 0;
    color: #fff;
}

.about-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 3rem;
    letter-spacing: 0.1em;
}

.about-text {
    font-size: 1.1rem;
    color: #888;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-text:last-of-type {
    margin-bottom: 3rem;
}

.about-divider {
    width: 60px;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
    margin: 3rem auto;
}

.about-credits {
    margin-top: 2rem;
}

.about-credits-title {
    font-size: 0.85rem;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
}

.about-credits-list {
    font-size: 0.9rem;
    color: #666;
    line-height: 2;
}

/* Homepage Navbar */
.home-nav {
    position: fixed;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 3rem;
    z-index: 30;
}

.home-nav-item {
    font-size: 0.9rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    cursor: pointer;
    transition: color 0.3s ease;
    position: relative;
    padding-bottom: 0.3rem;
}

.home-nav-item:hover {
    color: #fff;
}

.home-nav-item.active {
    color: #fff;
}

.home-nav-item.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: auto;
    height: 1px;
    background: rgba(255, 255, 255, 0.5);
}

/* Ensure text determines underline width */
.home-nav-item {
    display: inline-block;
}
