:root {
    --color-black: #0a0a0a;
    --color-dark: #1a1a1a;
    --color-darker: #141414;
    --color-gold: #d4af37;
    --color-gold-light: #f4d03f;
    --color-gold-dark: #b4941f;
    --color-white: #ffffff;
    --color-gray-light: #a0a0a0;
    --color-gray: #707070;
    --color-gray-dark: #404040;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
    --header-height: 80px;
    --transition-speed: 0.3s;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--color-black);
    color: var(--color-white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ==================== HEADER ==================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    z-index: 1000;
}

.header-container {
    max-width: 1800px;
    margin: 0 auto;
    height: 100%;
    display: grid;
    grid-template-columns: 300px 1fr 300px;
    align-items: center;
    padding: 0 40px;
    gap: 40px;
}

.header-logo a { display: inline-block; }
.header-logo img { height: 50px; width: auto; display: block; transition: transform var(--transition-speed); max-height: 50px; }
.header-logo a:hover img { transform: scale(1.05); }

.logo-text {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 600;
    color: var(--color-white);
    text-decoration: none;
    letter-spacing: 1px;
}

.logo-gold { color: var(--color-gold); }
.header-center { display: flex; justify-content: center; align-items: center; }

/* Language Switcher */
.language-switcher { display: flex; gap: 10px; align-items: center; }

.lang-btn {
    padding: 5px;
    background: transparent;
    color: var(--color-gray);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    border: none;
    transition: all var(--transition-speed);
    cursor: pointer;
}

.lang-btn:hover { color: var(--color-gold-light); }
.lang-btn.active { color: var(--color-gold); font-weight: 700; text-shadow: 0 0 10px rgba(212, 175, 55, 0.3); }

/* Navigation */
.main-nav { display: flex; justify-content: flex-end; align-items: center; gap: 32px; }

.nav-link {
    color: var(--color-gray-light);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    position: relative;
    transition: color var(--transition-speed);
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-gold);
    transition: width var(--transition-speed);
}

.nav-link:hover { color: var(--color-gold-light); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-link.active { color: var(--color-gold); }

/* Container */
.container { max-width: 1600px; margin: 0 auto; padding: 0 40px; }

/* ==================== PAGE HEADER ==================== */
.page-header {
    margin-top: var(--header-height);
    padding: 100px 0 80px;
    text-align: center;
    background: var(--color-dark);
}

.page-subtitle {
    font-size: 14px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 15px;
    font-weight: 500;
}

.page-title {
    font-size: 56px;
    color: var(--color-white);
    margin-bottom: 20px;
    font-weight: 700;
    font-family: var(--font-heading);
}

.page-description {
    font-size: 16px;
    color: var(--color-gray-light);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ==================== FILTER BAR ==================== */
.filter-bar {
    background: var(--color-darker);
    padding: 30px 0;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    position: sticky;
    top: var(--header-height);
    z-index: 999;
    transition: all 0.3s ease;
}

.filter-container { display: flex; justify-content: center; align-items: center; position: relative; }
.filter-categories { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; }

.filter-btn {
    padding: 12px 30px;
    background: var(--color-dark);
    border: 1px solid rgba(212, 175, 55, 0.2);
    color: var(--color-gray-light);
    cursor: pointer;
    font-size: 13px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-weight: 500;
    transition: all 0.3s;
    font-family: var(--font-body);
}

.filter-btn:hover, .filter-btn.active {
    background: var(--color-gold);
    color: var(--color-black);
    border-color: var(--color-gold);
}

.mobile-filter-toggle {
    display: none;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: var(--color-dark);
    border: none;
    border-bottom: 1px solid var(--color-gold);
    color: var(--color-white);
    cursor: pointer;
    font-size: 15px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-weight: 500;
    font-family: var(--font-body);
}

.mobile-filter-toggle.active { background: rgba(212, 175, 55, 0.1); }
.mobile-filter-arrow { transition: transform 0.3s; }
.mobile-filter-toggle.active .mobile-filter-arrow { transform: rotate(180deg); }

/* ==================== GALLERY SECTION ==================== */
.gallery-section { padding: 80px 0 120px; background: var(--color-black); }

.masonry-grid { column-count: 3; column-gap: 30px; margin-top: 40px; }

.masonry-item {
    break-inside: avoid;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    background: var(--color-darker);
    cursor: pointer;
    border: 1px solid rgba(212, 175, 55, 0.1);
    transition: all 0.4s;
}

.masonry-item:hover {
    border-color: var(--color-gold);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
}

.masonry-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.masonry-item:hover img { transform: scale(1.05); }

/* Image Overlay */
.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(10, 10, 10, 0.95) 0%, transparent 100%);
    padding: 30px 25px 25px;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.masonry-item:hover .image-overlay { transform: translateY(0); }

.overlay-category {
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 8px;
    font-weight: 600;
}

.overlay-title {
    font-size: 20px;
    color: var(--color-white);
    font-weight: 600;
    margin-bottom: 8px;
    font-family: var(--font-heading);
}

.overlay-meta { font-size: 12px; color: var(--color-gray-light); display: flex; gap: 15px; }

/* Like Button */
.like-button {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 45px;
    height: 45px;
    background: rgba(10, 10, 10, 0.8);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
    font-size: 20px;
}

.like-button:hover {
    background: rgba(231, 76, 60, 0.9);
    border-color: #e74c3c;
    transform: scale(1.1);
}

.like-button.liked {
    background: #e74c3c;
    border-color: #e74c3c;
    animation: heartBeat 0.3s;
}

@keyframes heartBeat { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.2); } }

.like-count {
    position: absolute;
    top: 65px;
    right: 15px;
    background: rgba(10, 10, 10, 0.9);
    color: var(--color-white);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 600;
    z-index: 10;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

/* ==================== LIGHTBOX ZOOM CONTROLS ==================== */
.lightbox-zoom-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.7);
    padding: 10px 15px;
    border-radius: 30px;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.zoom-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(212, 175, 55, 0.5);
    background: rgba(26, 26, 26, 0.9);
    color: var(--color-gold);
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.zoom-btn:hover:not(:disabled) {
    background: var(--color-gold);
    color: var(--color-black);
    border-color: var(--color-gold);
}

.zoom-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.lightbox-image-container.zoomed {
    overflow: auto;
    cursor: grab;
}

.lightbox-image-container.zoomed:active {
    cursor: grabbing;
}

.lightbox-image-container.zoomed .lightbox-image {
    max-width: none;
    max-height: none;
    transition: transform 0.2s ease;
}

/* ==================== LIGHTBOX S DETAILAMI ==================== */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.97);
    z-index: 10000;
    animation: fadeIn 0.3s;
}

.lightbox.active { display: flex; align-items: center; justify-content: center; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.lightbox-content {
    display: flex;
    max-width: 95%;
    max-height: 90vh;
    background: var(--color-darker);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.lightbox-image-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-black);
    min-width: 0;
    max-height: 90vh;
    overflow: hidden;
}

.lightbox-image {
    max-width: 100%;
    max-height: 85vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border: none;
}

.lightbox-sidebar {
    width: 380px;
    min-width: 320px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 30px;
    background: var(--color-darker);
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.lightbox-header { border-bottom: 1px solid rgba(212, 175, 55, 0.2); padding-bottom: 20px; }

.lightbox-title {
    font-size: 26px;
    color: var(--color-white);
    font-family: var(--font-heading);
    margin-bottom: 15px;
    line-height: 1.3;
}

.lightbox-stats { display: flex; flex-wrap: wrap; gap: 15px; font-size: 13px; }

.stat-category {
    background: rgba(212, 175, 55, 0.2);
    color: var(--color-gold);
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 1px;
}

.stat-views, .stat-likes { color: var(--color-gray-light); }

.lightbox-description { color: var(--color-gray-light); font-size: 15px; line-height: 1.8; }

.lightbox-details {
    background: rgba(212, 175, 55, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 8px;
    padding: 20px;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.detail-item:last-child { border-bottom: none; padding-bottom: 0; }
.detail-item:first-child { padding-top: 0; }

.detail-label {
    color: var(--color-gold);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.detail-value { color: var(--color-white); font-size: 14px; text-align: right; max-width: 60%; }

.lightbox-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.lightbox-like-btn {
    width: 100%;
    padding: 15px 25px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--color-white);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    border-radius: 8px;
    font-family: var(--font-body);
}

.lightbox-like-btn:hover { background: rgba(231, 76, 60, 0.2); border-color: #e74c3c; }
.lightbox-like-btn.liked { background: #e74c3c; border-color: #e74c3c; color: white; }

.lightbox-share { display: flex; justify-content: center; gap: 12px; }

.lightbox-share .share-btn {
    width: 50px;
    height: 50px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s;
}

.lightbox-share .share-btn:hover {
    background: var(--color-gold);
    border-color: var(--color-gold);
    color: var(--color-black);
    transform: scale(1.1);
}

.lightbox-close {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--color-white);
    font-size: 28px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    border-radius: 50%;
    z-index: 10001;
}

.lightbox-close:hover { background: #e74c3c; border-color: #e74c3c; transform: scale(1.1); }

.lightbox-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--color-white);
    font-size: 32px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    border-radius: 50%;
    z-index: 10001;
}

.lightbox-nav:hover { background: var(--color-gold); border-color: var(--color-gold); color: var(--color-black); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

/* ==================== LOADING & TOAST ==================== */
.loading-indicator { text-align: center; padding: 60px 0; display: none; }
.loading-indicator.active { display: block; }

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(212, 175, 55, 0.2);
    border-top-color: var(--color-gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin { to { transform: rotate(360deg); } }

.loading-text { color: var(--color-gray-light); font-size: 14px; letter-spacing: 1px; }

.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--color-dark);
    color: var(--color-white);
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(212, 175, 55, 0.3);
    z-index: 10001;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s;
}

.toast.show { transform: translateY(0); opacity: 1; }

/* ==================== FOOTER ==================== */
footer {
    background: var(--color-darker);
    color: var(--color-white);
    padding: 80px 0 30px;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px; margin-bottom: 60px; }
.footer-about h3 { font-size: 28px; margin-bottom: 25px; color: var(--color-gold); font-family: var(--font-heading); }
.footer-about p { color: var(--color-gray-light); line-height: 1.8; font-size: 14px; }
.footer-section h4 { font-size: 16px; margin-bottom: 25px; color: var(--color-white); letter-spacing: 1px; text-transform: uppercase; }
.footer-section ul { list-style: none; }
.footer-section ul li { margin-bottom: 12px; }
.footer-section a { color: var(--color-gray-light); text-decoration: none; transition: color 0.3s; font-size: 14px; }
.footer-section a:hover { color: var(--color-gold); }
.footer-bottom { border-top: 1px solid rgba(212, 175, 55, 0.1); padding-top: 30px; text-align: center; color: var(--color-gray); font-size: 13px; }

/* ==================== PROTECTION ==================== */
.lightbox-image, .masonry-item img {
    user-select: none;
    -webkit-user-select: none;
    pointer-events: none;
    -webkit-touch-callout: none;
    -webkit-user-drag: none;
}

/* ==================== MOBILE MENU ==================== */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 30px;
    height: 3px;
    background: var(--color-gold);
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
    display: block;
}

.mobile-menu-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ==================== COOKIE BANNER ==================== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--color-darker);
    border-top: 1px solid var(--color-gold);
    padding: 20px 0;
    z-index: 10002;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.5);
    display: none;
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }

.cookie-content { max-width: 1200px; margin: 0 auto; padding: 0 40px; display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.cookie-text { color: var(--color-gray-light); font-size: 14px; line-height: 1.6; flex: 1; }
.cookie-text strong { display: block; color: var(--color-gold); margin-bottom: 5px; font-family: var(--font-heading); font-size: 16px; }
.cookie-text a { color: var(--color-gold); text-decoration: none; }
.cookie-buttons { display: flex; gap: 15px; flex-shrink: 0; }
.cookie-btn { padding: 10px 25px; border: 1px solid var(--color-gold); font-size: 13px; font-weight: 600; text-transform: uppercase; cursor: pointer; transition: all 0.3s; font-family: var(--font-body); }
.cookie-accept { background: var(--color-gold); color: var(--color-black); }
.cookie-accept:hover { background: var(--color-gold-light); }
.cookie-decline { background: transparent; color: var(--color-gold); }
.cookie-decline:hover { background: rgba(212, 175, 55, 0.1); }

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1200px) {
    .header-container { grid-template-columns: 250px 1fr 250px; padding: 0 30px; gap: 30px; }
    .main-nav { gap: 24px; }
    .nav-link { font-size: 12px; }
    .masonry-grid { column-count: 2; }
}

@media (max-width: 1024px) {
    .lightbox-content { flex-direction: column; max-height: 95vh; width: 95%; }
    .lightbox-image-container { max-height: 50vh; }
    .lightbox-sidebar { width: 100%; min-width: auto; max-height: 45vh; padding: 20px; }
    .lightbox-title { font-size: 22px; }
    .lightbox-nav { width: 45px; height: 45px; font-size: 24px; }
    .lightbox-prev { left: 10px; }
    .lightbox-next { right: 10px; }
}

@media (max-width: 992px) {
    .header-container { grid-template-columns: auto 1fr auto; padding: 0 20px; gap: 15px; }
    .header-center { order: 3; }
    .mobile-menu-toggle { display: flex; }
    .main-nav {
        position: fixed;
        top: var(--header-height);
        right: -100%;
        width: 280px;
        height: calc(100vh - var(--header-height));
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        gap: 0;
        padding: 20px 0;
        border-left: 1px solid rgba(212, 175, 55, 0.1);
        transition: right 0.3s ease-in-out;
        overflow-y: auto;
        z-index: 999;
    }
    .main-nav.active { right: 0; }
    .nav-link { padding: 18px 30px; border-bottom: 1px solid rgba(212, 175, 55, 0.05); text-align: left; }
}

/* ==================== MOBILE 768px - CONSOLIDATED ==================== */
@media (max-width: 768px) {
    /* Header */
    .header-container { grid-template-columns: 1fr auto; height: var(--header-height); padding: 15px 20px; }
    .header-logo { text-align: left; }
    .header-center { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); margin: 0; }
    .main-nav { width: 100%; }
    
    /* Page */
    .page-header { margin-top: 0; }
    .page-title { font-size: 36px; }
    
    /* Gallery */
    .masonry-grid { column-count: 1; }
    
    /* Footer */
    .footer-grid { grid-template-columns: 1fr; }
    
    /* Lightbox - IMPROVED for mobile */
    .lightbox {
        align-items: flex-start;
        padding: 0;
    }
    
    .lightbox-content {
        flex-direction: column;
        width: 100%;
        max-width: 100%;
        height: 100vh;
        max-height: 100vh;
        border-radius: 0;
        border: none;
    }
    
    /* Image container - 55% of screen */
    .lightbox-image-container {
        flex: none;
        width: 100%;
        height: 55vh;
        max-height: 55vh;
        min-height: 200px;
        position: relative;
    }
    
    .lightbox-image {
        max-width: 100%;
        max-height: 100%;
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
    
    /* Zoom controls smaller */
    .lightbox-zoom-controls {
        bottom: 10px;
        padding: 8px 12px;
        gap: 8px;
    }
    
    .zoom-btn {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
    
    /* Sidebar - 45% scrollable */
    .lightbox-sidebar {
        flex: 1;
        width: 100%;
        min-width: 100%;
        max-height: 45vh;
        padding: 15px 20px;
        gap: 12px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .lightbox-header {
        padding-bottom: 12px;
    }
    
    .lightbox-title {
        font-size: 18px;
        margin-bottom: 10px;
        line-height: 1.2;
    }
    
    .lightbox-stats {
        gap: 10px;
        font-size: 12px;
    }
    
    .stat-category {
        font-size: 10px;
        padding: 4px 10px;
    }
    
    .lightbox-description {
        font-size: 13px;
        line-height: 1.6;
    }
    
    .lightbox-details {
        padding: 12px 15px;
    }
    
    .detail-item {
        padding: 8px 0;
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .detail-label {
        font-size: 11px;
    }
    
    .detail-value {
        font-size: 13px;
        max-width: 60%;
        text-align: right;
    }
    
    .lightbox-actions {
        padding-top: 12px;
        gap: 10px;
    }
    
    .lightbox-like-btn {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .lightbox-share {
        gap: 10px;
    }
    
    .lightbox-share .share-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    /* Close button */
    .lightbox-close {
        top: 10px;
        right: 10px;
        width: 36px;
        height: 36px;
        font-size: 22px;
        background: rgba(0, 0, 0, 0.7);
    }
    
    /* Navigation - centered on image area */
    .lightbox-nav {
        width: 36px;
        height: 36px;
        font-size: 20px;
        top: 27.5vh;
    }
    
    .lightbox-prev { left: 5px; }
    .lightbox-next { right: 5px; }
    
    /* Filter */
    .filter-bar { padding: 20px 0; }
    .filter-container { display: block; padding: 0 20px; position: relative; }
    .filter-categories { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
    .mobile-filter-toggle { display: none; }
    
    .filter-bar.mobile-compact { padding: 15px 0; box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5); text-align: center; }
    .filter-bar.mobile-compact .mobile-filter-toggle {
        display: inline-flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
        width: auto;
        padding: 12px 30px;
        background: var(--color-dark);
        border: 1px solid rgba(212, 175, 55, 0.2);
        margin: 0 auto;
    }
    .filter-bar.mobile-compact .mobile-filter-toggle.active { background: var(--color-gold); color: var(--color-black); border-color: var(--color-gold); }
    .filter-bar.mobile-compact .filter-categories {
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        width: 100vw;
        background: var(--color-darker);
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out, padding 0.3s ease;
        z-index: 998;
        padding: 0 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    }
    .filter-bar.mobile-compact .filter-categories.active { max-height: 500px; overflow-y: auto; padding: 25px 20px; }
    .filter-bar.mobile-compact .filter-btn { width: auto; padding: 12px 30px; }
    
    /* Cookie */
    .cookie-content { flex-direction: column; text-align: center; padding: 0 20px; gap: 20px; }
    .cookie-buttons { width: 100%; justify-content: center; }
    .cookie-btn { flex: 1; max-width: 150px; }
}

/* ==================== EXTRA SMALL SCREENS ==================== */
@media (max-width: 480px) {
    .lightbox-image-container {
        height: 50vh;
        max-height: 50vh;
    }
    
    .lightbox-sidebar {
        max-height: 50vh;
        padding: 12px 15px;
    }
    
    .lightbox-title {
        font-size: 16px;
    }
    
    .lightbox-nav {
        top: 25vh;
    }
    
    /* Hide details on very small screens */
    .lightbox-details {
        display: none;
    }
}

/* ==================== LANDSCAPE MODE ==================== */
@media (max-width: 768px) and (orientation: landscape) {
    .lightbox-content {
        flex-direction: row;
        height: 100vh;
    }
    
    .lightbox-image-container {
        flex: 1;
        height: 100vh;
        max-height: 100vh;
        width: auto;
    }
    
    .lightbox-sidebar {
        width: 280px;
        min-width: 280px;
        max-height: 100vh;
        height: 100vh;
    }
    
    .lightbox-nav {
        top: 50%;
    }
    
    .lightbox-details {
        display: block;
    }
}/* ==================== MOBILE FILTER DROPDOWN - V3 COMPLETE FIX ==================== */
@media (max-width: 768px) {
    /* Filter bar - base */
    .filter-bar {
        position: sticky !important;
        top: 70px !important;
        z-index: 1000 !important;
    }
    
    /* Filter bar compact mode */
    .filter-bar.mobile-compact {
        padding: 15px 0 !important;
    }
    
    /* Container inside filter bar */
    .filter-bar.mobile-compact .container {
        position: relative !important;
    }
    
    /* Filter container - center the button */
    .filter-bar.mobile-compact .filter-container {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        position: relative !important;
        padding: 0 !important;
    }
    
    /* Mobile toggle button */
    .filter-bar.mobile-compact .mobile-filter-toggle {
        display: inline-flex !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 10px !important;
        padding: 14px 35px !important;
        background: var(--color-dark) !important;
        border: 1px solid rgba(212, 175, 55, 0.3) !important;
        color: var(--color-white) !important;
        cursor: pointer !important;
        pointer-events: auto !important;
        font-size: 14px !important;
        font-weight: 500 !important;
        text-transform: uppercase !important;
        letter-spacing: 1px !important;
        transition: all 0.3s ease !important;
        position: relative !important;
        z-index: 10 !important;
    }
    
    .filter-bar.mobile-compact .mobile-filter-toggle:hover {
        border-color: var(--color-gold) !important;
        color: var(--color-gold) !important;
    }
    
    .filter-bar.mobile-compact .mobile-filter-toggle.active {
        background: var(--color-gold) !important;
        color: var(--color-black) !important;
        border-color: var(--color-gold) !important;
    }
    
    /* Arrow rotation */
    .filter-bar.mobile-compact .mobile-filter-arrow {
        transition: transform 0.3s ease !important;
        display: inline-block !important;
    }
    
    .filter-bar.mobile-compact .mobile-filter-toggle.active .mobile-filter-arrow {
        transform: rotate(180deg) !important;
    }
    
    /* DROPDOWN - using left:50% transform trick for true centering */
    .filter-bar.mobile-compact .filter-categories,
    .filter-bar.mobile-compact #filterList {
        position: absolute !important;
        top: 100% !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: 100vw !important;
        max-width: 100vw !important;
        background: rgba(15, 15, 15, 0.98) !important;
        backdrop-filter: blur(10px) !important;
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 10px !important;
        max-height: 0 !important;
        overflow: hidden !important;
        padding: 0 20px !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease, visibility 0.3s ease !important;
        z-index: 9999 !important;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6) !important;
        border-top: 1px solid rgba(212, 175, 55, 0.3) !important;
        box-sizing: border-box !important;
        margin-top: 15px !important;
    }
    
    /* Dropdown ACTIVE state */
    .filter-bar.mobile-compact .filter-categories.active,
    .filter-bar.mobile-compact #filterList.active {
        max-height: 50vh !important;
        overflow-y: auto !important;
        padding: 20px !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    /* Filter buttons inside dropdown */
    .filter-bar.mobile-compact .filter-btn {
        padding: 12px 22px !important;
        font-size: 13px !important;
        background: var(--color-dark) !important;
        border: 1px solid rgba(212, 175, 55, 0.25) !important;
        color: var(--color-gray-light) !important;
        transition: all 0.3s ease !important;
        white-space: nowrap !important;
    }
    
    .filter-bar.mobile-compact .filter-btn:hover {
        border-color: var(--color-gold) !important;
        color: var(--color-gold) !important;
    }
    
    .filter-bar.mobile-compact .filter-btn.active {
        background: var(--color-gold) !important;
        color: var(--color-black) !important;
        border-color: var(--color-gold) !important;
    }
}
