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

body {
    background: #000;
    color: #fff;
    font-family: Georgia, 'Times New Roman', serif;
    overflow: hidden;
    height: 100vh;
    width: 100vw;
    cursor: default;
}

/* Fullscreen slideshow */
#slideshow {
    position: fixed;
    inset: 0;
    z-index: 0;
}

.slide-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 3s ease;
    z-index: 0;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    -webkit-user-drag: none;
    user-select: none;
}

/* Info panels - separate title and description boxes */
#info-title {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    background: rgba(255, 255, 255, 0.92);
    color: #222;
    padding: 10px 20px 12px;
    text-align: left;
    transition: bottom 0.4s ease;
}

#info-desc {
    position: fixed;
    bottom: 52px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    background: rgba(255, 255, 255, 0.92);
    color: #222;
    padding: 8px 20px;
    text-align: left;
    white-space: nowrap;
    transition: bottom 0.4s ease;
}

/* Shift info panels up when gallery thumbnails are visible */
body.gallery-open #info-title {
    bottom: 210px;
}

body.gallery-open #info-desc {
    bottom: 162px;
}

#info-title .dots {
    display: flex;
    gap: 6px;
    margin-bottom: 6px;
}

#info-title .dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #bbb;
    cursor: pointer;
    transition: background 0.3s;
}

#info-title .dots .dot.active {
    background: #444;
}

#info-title .dots .dot:hover {
    background: #666;
}

#slide-title {
    font-size: 2.2rem;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 4px;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    letter-spacing: -0.02em;
}

#slide-desc {
    font-size: 0.85rem;
    color: #555;
    line-height: 1.4;
    font-family: Georgia, 'Times New Roman', serif;
    font-style: italic;
}

/* Navigation arrows */
.arrow {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    background: none;
    border: none;
    color: rgba(255,255,255,0.5);
    font-size: 4rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.3s;
    line-height: 1;
}

.arrow:hover {
    color: rgba(255,255,255,0.9);
}

.arrow-left { left: 20px; }
.arrow-right { right: 20px; }

/* Play/pause control */
.control {
    position: fixed;
    top: 15px;
    right: 20px;
    z-index: 20;
    background: none;
    border: none;
    color: rgba(255,255,255,0.4);
    font-size: 1.2rem;
    cursor: pointer;
    letter-spacing: -3px;
    transition: color 0.3s;
}

.control:hover {
    color: rgba(255,255,255,0.8);
}

/* Logo - top left */
.nav-logo {
    position: fixed;
    top: 20px;
    left: 24px;
    z-index: 30;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.nav-logo img {
    height: 80px;
    opacity: 0.85;
    transition: all 0.3s;
    filter:
        drop-shadow(0 0 6px rgba(255,255,255,0.15))
        drop-shadow(0 3px 10px rgba(0,0,0,0.5));
}

.nav-logo:hover img {
    opacity: 1;
    filter:
        drop-shadow(0 0 10px rgba(255,255,255,0.25))
        drop-shadow(0 3px 10px rgba(0,0,0,0.5));
}

/* Bottom right links */
#nav {
    position: fixed;
    bottom: 16px;
    right: 20px;
    z-index: 30;
    display: flex;
    align-items: center;
    gap: 0;
}

.nav-links a {
    color: rgba(255,255,255,0.45);
    text-decoration: none;
    margin-left: 1.2rem;
    font-size: 0.8rem;
    font-family: 'Segoe UI', system-ui, sans-serif;
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: rgba(255,255,255,0.85);
}

/* Thumbnail strip */
#thumb-strip {
    position: fixed;
    bottom: 50px;
    left: 0;
    right: 0;
    z-index: 25;
    background: rgba(0,0,0,0.7);
    padding: 8px 0;
    transition: opacity 0.4s, transform 0.4s;
}

#thumb-strip.hidden {
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}

.thumb-track {
    display: flex;
    gap: 4px;
    overflow-x: auto;
    padding: 0 24px;
    scrollbar-width: none;
}

.thumb-track::-webkit-scrollbar {
    display: none;
}

.thumb-track .thumb {
    flex-shrink: 0;
    width: 130px;
    height: 87px;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.3s;
    overflow: hidden;
}

.thumb-track .thumb.active,
.thumb-track .thumb:hover {
    opacity: 1;
}

.thumb-track .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* About overlay */
.overlay {
    position: fixed;
    inset: 0;
    z-index: 50;
    background: rgba(0,0,0,0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.4s;
}

.overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.overlay-content {
    text-align: center;
    max-width: 500px;
    padding: 3rem;
}

.about-logo {
    height: 70px;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.2));
}

.overlay-content h2 {
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: 0.15em;
    margin-bottom: 0.8rem;
}

.overlay-content h3 {
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    margin-bottom: 0.4rem;
    color: #ccc;
}

.overlay-content p {
    color: #aaa;
    font-size: 0.95rem;
    line-height: 1.6;
}

.overlay-content .copy {
    margin-top: 2rem;
    font-size: 0.8rem;
    color: #666;
    line-height: 1.8;
}

.overlay-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: none;
    border: none;
    color: #888;
    font-size: 2.5rem;
    cursor: pointer;
    transition: color 0.3s;
}

.overlay-close:hover {
    color: #fff;
}
