        :root {
            --bg-color: #121212;
            --card-bg: #1e1e1e;
            --text-color: #ffffff;
            --accent: #b9775f; 
            --border: #333333;
            --link-hover: #b9775f;
            --slider-bg: #000000;
            --counter-text: #888888;
            --credit-text: #bbbbbb;
            --nav-btn-hover: #ffffff;
        }

        [data-theme="light"] {
            --bg-color: #f8f8f8;
            --card-bg: #f7f7f7;
            --text-color: #1a1a1a;
            --accent: #a35d46; 
            --border: #e0e0e0;
            --link-hover: #b9775f;
            --slider-bg: #e2e2e2;
            --counter-text: #666666;
            --credit-text: #444444;
            --nav-btn-hover: #121212;
        }

        body {
            font-family: 'Montserrat', sans-serif;
            background-color: var(--bg-color);
            color: var(--text-color);
            margin: 0;
            padding: 0;
            overflow: hidden; 
            display: flex;
            flex-direction: column;
            height: 100vh;
            transition: background-color 0.3s ease, color 0.3s ease;
        }

        /* --- SLIDER SECTION --- */
        .slides-viewport {
            flex-grow: 1;
            position: relative;
            overflow: hidden;
            background: var(--slider-bg);
            transition: background 0.3s ease;
        }

        .slides-container {
            display: flex;
            height: 100%;
            transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
            width: 100%;
        }

        .mySlides {
            position: relative;
            flex: 0 0 100%;
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .mySlides img {
            max-width: 100%;
            height: 100%;
            object-fit: contain;
            pointer-events: none;
        }

        /* --- NAVIGATION --- */
        .prev, .next {
            cursor: pointer;
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 45px;
            height: 45px;
            background: var(--accent);
            color: white;
            font-weight: bold;
            font-size: 20px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            user-select: none;
            transition: 0.3s;
            border: none;
            z-index: 20;
            opacity: 0.8;
        }

        .prev:hover, .next:hover { opacity: 1; background: #fff; color: var(--accent); }
        .prev { left: 10px; }
        .next { right: 10px; }
        
        .is-hidden { opacity: 0; pointer-events: none; cursor: default; }

        /* --- INFO AREA --- */
        .slide-info {
            padding: 20px;
            text-align: center;
            background: var(--card-bg);
            border-top: 1px solid var(--border);
            box-shadow: 0 -5px 15px rgba(0,0,0,0.1);
        }

        .slide-info h2 {
            margin: 0;
            font-weight: 900;
            font-size: 1.2rem;
            color: var(--text-color);
        }

        .counter {
            font-size: 0.8rem;
            color: var(--counter-text);
            margin: 5px 0 10px 0;
        }

        /* --- THUMBNAIL OVERLAY --- */
        .view-all-btn {
            background: transparent;
            color: var(--accent);
            border: 1px solid var(--accent);
            padding: 6px 12px;
            font-family: 'Montserrat', sans-serif;
            font-size: 0.75rem;
            font-weight: 700;
            text-transform: uppercase;
            cursor: pointer;
            transition: 0.3s;
            border-radius: 4px;
        }

        .view-all-btn:hover { background: var(--accent); color: #fff; }

        .thumb-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: var(--bg-color);
            z-index: 1000;
            display: none;
            flex-direction: column;
            overflow-y: auto;
        }

        .thumb-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
            gap: 10px;
            padding: 20px;
        }

        .thumb-item {
            aspect-ratio: 1/1;
            cursor: pointer;
            overflow: hidden;
            border: 2px solid transparent;
        }

        .thumb-item:hover { border-color: var(--accent); }

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

        .close-thumbs {
            align-self: flex-end;
            margin: 20px;
            background: var(--accent);
            color: white;
            border: none;
            padding: 10px 20px;
            cursor: pointer;
            font-weight: 700;
        }
        
        .photo-credit {
            position: absolute;
            bottom: 10px;
            right: 10px;
            font-size: 10px;
            color: rgba(255, 255, 255, 0.7);
            background: rgba(0, 0, 0, 0.5);
            padding: 2px 6px;
            border-radius: 4px;
        }