/* Design System & Variables */
:root {
    --bg-main: #040406;
    --bg-card: #0b0b0e;
    --bg-header: rgba(4, 4, 6, 0.7);
    --border-color: rgba(255, 255, 255, 0.05);
    --border-color-hover: rgba(109, 185, 44, 0.3);
    
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #475569;
    
    --accent-color: #6db92c; /* Cheerful Green */
    --accent-hover: #599b22;
    --accent-glow: rgba(109, 185, 44, 0.15);
    --accent-gradient: linear-gradient(135deg, #6db92c 0%, #8ade3f 100%);
    --overlay-gradient: linear-gradient(to top, rgba(4, 4, 6, 0.8) 0%, rgba(4, 4, 6, 0.2) 50%, transparent 100%);
    
    --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    --border-radius-sm: 8px;
    --border-radius-md: 14px;
    --border-radius-lg: 20px;
    
    --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
    background: #1e1e24;
    border-radius: 4px;
    border: 2px solid var(--bg-main);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: -0.02em;
}

a {
    color: inherit;
    text-decoration: none;
}

/* Header & Navigation */
.app-header {
    background-color: var(--bg-header);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.25rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    outline: none;
}

.logo-img {
    height: 48px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    transition: transform var(--transition-fast);
}

.logo-img:hover {
    transform: scale(1.025);
}

/* Back Button */
.back-button {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 1.3rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transition: var(--transition-smooth);
}

.back-button:hover {
    background: rgba(109, 185, 44, 0.08);
    border-color: var(--border-color-hover);
    color: #fff;
    transform: translateX(-4px);
    box-shadow: 0 0 15px rgba(109, 185, 44, 0.1);
}

.back-icon {
    font-size: 1.1rem;
    transition: var(--transition-smooth);
}

.back-button:hover .back-icon {
    transform: translateX(-2px);
}

/* Main Layout */
.main-content {
    flex: 1;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.section-header {
    margin-bottom: 3.5rem;
    text-align: left;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    position: relative;
    display: inline-block;
    background: linear-gradient(135deg, #fff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--accent-gradient);
    border-radius: 2px;
    box-shadow: 0 0 12px var(--accent-color);
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.15rem;
    font-weight: 300;
}

/* Galleries Grid */
.galleries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2rem;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.galleries-grid.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* Gallery Card */
.gallery-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.gallery-card:hover {
    border-color: var(--border-color-hover);
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 25px rgba(109, 185, 44, 0.05);
}

.card-image-wrapper {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background-color: #08080a;
}

.card-image-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--overlay-gradient);
    pointer-events: none;
    opacity: 0.6;
    transition: var(--transition-smooth);
}

.gallery-card:hover .card-image-wrapper::after {
    opacity: 0.4;
}

.card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-card:hover .card-image-wrapper img {
    transform: scale(1.06);
}

.card-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(4, 4, 6, 0.65);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    padding: 0.45rem 0.9rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 2;
    transition: var(--transition-smooth);
}

.gallery-card:hover .card-badge {
    background: rgba(109, 185, 44, 0.85);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(109, 185, 44, 0.3);
}

.card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
    color: var(--text-primary);
    line-height: 1.4;
    transition: var(--transition-fast);
}

.gallery-card:hover .card-content h3 {
    color: #fff;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.card-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    font-weight: 600;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.02);
    width: 100%;
}

.browse-link {
    color: var(--accent-color);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: var(--transition-smooth);
}

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

.browse-link .arrow {
    transition: var(--transition-smooth);
}

.gallery-card:hover .browse-link .arrow {
    transform: translateX(5px);
}

.zip-download-btn {
    background-color: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 0.45rem 0.9rem;
    border-radius: var(--border-radius-sm);
    font-size: 0.75rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: var(--transition-smooth);
}

.zip-download-btn:hover {
    background: var(--accent-gradient);
    border-color: transparent;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(109, 185, 44, 0.2);
}

/* Gallery Detail Page (gallery.html) */
.gallery-title-bar {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2.5rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.5rem;
}

.gallery-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text-primary);
    max-width: 75%;
}

.photo-count-badge {
    background-color: var(--accent-glow);
    border: 1px solid rgba(109, 185, 44, 0.2);
    color: var(--accent-color);
    padding: 0.5rem 1.2rem;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
}

.gallery-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.zip-download-btn-page {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.5rem 1.2rem;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: var(--transition-smooth);
    white-space: nowrap;
}

.zip-download-btn-page:hover {
    background: var(--accent-gradient);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 15px rgba(109, 185, 44, 0.25);
    transform: translateY(-2px);
}

/* Justified Gallery Grid */
.gallery-grid.justified {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-grid.justified.loaded {
    opacity: 1;
    transform: translateY(0);
}

.gallery-grid.justified::after {
    content: '';
    flex-grow: 999999999;
}

/* Photo Item */
.photo-item {
    position: relative;
    height: 220px;
    flex-grow: calc(var(--w) / var(--h));
    overflow: hidden;
    border-radius: var(--border-radius-sm);
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: border-color 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.photo-item:hover {
    border-color: var(--border-color-hover);
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(109, 185, 44, 0.15), 0 0 1px rgba(109, 185, 44, 0.3);
    z-index: 2;
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.photo-item img.loaded {
    opacity: 1;
    transform: scale(1);
}

.photo-item:hover img {
    transform: scale(1.04);
}

/* Photo Hover Overlay */
.photo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(4, 4, 6, 0.65) 0%, transparent 60%);
    opacity: 0;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.photo-item:hover .photo-overlay {
    opacity: 1;
}

.zoom-indicator {
    font-size: 0.85rem;
    color: #fff;
    background: var(--accent-gradient);
    padding: 0.45rem 0.9rem;
    border-radius: 20px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(109, 185, 44, 0.3);
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.photo-item:hover .zoom-indicator {
    transform: scale(1);
}

/* Empty State */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 2rem;
    background: var(--bg-card);
    border: 1px dashed var(--border-color);
    border-radius: var(--border-radius-lg);
    width: 100%;
}

.empty-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    opacity: 0.7;
}

.empty-state h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.empty-state p {
    color: var(--text-secondary);
    max-width: 400px;
    margin-bottom: 2rem;
}

.action-button {
    background: var(--accent-gradient);
    color: var(--text-primary);
    padding: 0.8rem 1.8rem;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(109, 185, 44, 0.2);
    transition: var(--transition-smooth);
}

.action-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(109, 185, 44, 0.35);
}

/* Skeleton Loaders (Shimmer) */
@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.shimmer-bg {
    background: linear-gradient(90deg, #0d0d12 25%, #181822 37%, #0d0d12 63%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite linear;
}

.skeleton-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2rem;
    width: 100%;
}

.skeleton-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    height: 380px;
    display: flex;
    flex-direction: column;
}

.skeleton-img {
    width: 100%;
    height: 62%;
}

.skeleton-info {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.skeleton-title {
    height: 1.3rem;
    width: 75%;
    border-radius: 4px;
}

.skeleton-desc {
    height: 0.85rem;
    width: 45%;
    border-radius: 4px;
}

.skeleton-footer {
    margin-top: auto;
    height: 1.8rem;
    width: 100%;
    border-radius: 6px;
}

/* Skeleton for Justified Gallery Grid */
.skeleton-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
}

.skeleton-photo {
    height: 220px;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border-color);
}

.skeleton-photo-1 { width: 320px; flex-grow: 1.5; }
.skeleton-photo-2 { width: 200px; flex-grow: 0.8; }
.skeleton-photo-3 { width: 280px; flex-grow: 1.2; }
.skeleton-photo-4 { width: 240px; flex-grow: 1.0; }
.skeleton-photo-5 { width: 340px; flex-grow: 1.6; }
.skeleton-photo-6 { width: 180px; flex-grow: 0.7; }
.skeleton-photo-7 { width: 290px; flex-grow: 1.3; }
.skeleton-photo-8 { width: 220px; flex-grow: 0.9; }

/* Footer */
.app-footer {
    background-color: #020203;
    border-top: 1px solid var(--border-color);
    padding: 2.5rem 2rem;
    margin-top: auto;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-tech span {
    color: var(--text-secondary);
    font-weight: 500;
}

/* Helpers */
.hidden {
    display: none !important;
}

/* Animations */
@keyframes pulseGlow {
    0%, 100% { filter: drop-shadow(0 0 10px rgba(109, 185, 44, 0.3)); }
    50% { filter: drop-shadow(0 0 20px rgba(109, 185, 44, 0.6)); }
}

/* Event Description Block (Premium) */
.gallery-description-container {
    margin-bottom: 3.5rem;
    position: relative;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-description-container.loaded {
    opacity: 1;
    transform: translateY(0);
}

.gallery-description {
    padding: 2rem 2.5rem;
    background-color: rgba(255, 255, 255, 0.015);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--accent-color);
    border-radius: var(--border-radius-md);
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-secondary);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    max-height: none;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Collapsed state height (~7-8 lines of text + padding) */
.gallery-description.collapsed {
    max-height: 280px;
}

/* Gradient overlay when collapsed to fade out bottom text */
.gallery-description-container.collapsed-mode::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1px;
    right: 1px;
    height: 70px;
    background: linear-gradient(to bottom, transparent 0%, var(--bg-main) 100%);
    pointer-events: none;
    transition: opacity 0.3s ease;
    opacity: 0;
    border-bottom-left-radius: var(--border-radius-md);
    border-bottom-right-radius: var(--border-radius-md);
}

.gallery-description-container.collapsed-mode.collapsed::after {
    opacity: 1;
}

/* Expand / Collapse Button */
.desc-toggle-btn {
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.45rem 1.4rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 10;
    transition: var(--transition-smooth);
}

.desc-toggle-btn:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
    box-shadow: 0 4px 15px rgba(109, 185, 44, 0.2);
    transform: translateX(-50%) translateY(-2px);
}

.desc-toggle-btn .arrow {
    display: inline-block;
    transition: transform 0.3s ease;
}

.desc-toggle-btn.expanded .arrow {
    transform: rotate(180deg);
}

.gallery-description h1,
.gallery-description h2,
.gallery-description h3,
.gallery-description h4 {
    color: #fff;
    margin-top: 1.8rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.gallery-description h1:first-child,
.gallery-description h2:first-child,
.gallery-description h3:first-child,
.gallery-description h4:first-child {
    margin-top: 0;
}

.gallery-description h1 {
    font-size: 1.8rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.6rem;
    margin-bottom: 1.4rem;
}

.gallery-description h2 { font-size: 1.5rem; }
.gallery-description h3 { font-size: 1.3rem; }

.gallery-description p {
    margin-bottom: 1.2rem;
}

.gallery-description p:last-child {
    margin-bottom: 0;
}

.gallery-description strong {
    color: #fff;
    font-weight: 600;
}

.gallery-description ul,
.gallery-description ol {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.4rem;
}

.gallery-description li {
    margin-bottom: 0.6rem;
    position: relative;
    padding-left: 1.5rem;
}

.gallery-description li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--text-muted);
}

/* Prevent emojis in headings from being clipped by gradient-text styles */
.gallery-description .emoji {
    background: none !important;
    -webkit-background-clip: initial !important;
    background-clip: initial !important;
    -webkit-text-fill-color: initial !important;
    display: inline-block;
}

/* Lightbox Floating Download Button (Proposal B) */
.pswp__download-floating-btn {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(11, 11, 14, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.6rem 1.4rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 9999;
    opacity: 1;
    pointer-events: auto;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.pswp__download-floating-btn:hover {
    background: var(--accent-color);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 10px 25px rgba(109, 185, 44, 0.4);
    transform: translateX(-50%) translateY(-2px);
}

.pswp--ui-hidden .pswp__download-floating-btn {
    opacity: 0;
    pointer-events: none;
}

/* Media Queries */
@media (max-width: 992px) {
    .header-container {
        padding: 1rem 1.5rem;
    }
    .main-content {
        padding: 2rem 1.5rem;
    }
    .gallery-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    .gallery-nav {
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
        align-items: center;
    }
    .logo-img {
        height: 36px;
    }
    .section-header h2 {
        font-size: 1.8rem;
    }
    .gallery-title-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
    }
    .gallery-title {
        max-width: 100%;
        font-size: 1.6rem;
    }
    .gallery-actions {
        width: 100%;
        display: flex;
        justify-content: space-between;
        gap: 0.5rem;
    }
    .zip-download-btn-page, .photo-count-badge {
        flex: 1;
        justify-content: center;
        font-size: 0.85rem;
        padding: 0.5rem 0.75rem;
    }
    .galleries-grid, .skeleton-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* On mobile, use lower justified height so images wrap beautifully and fit portrait screens */
    .photo-item, .skeleton-photo {
        height: 140px;
    }
    .photo-overlay {
        display: none; /* Hide zoom hover overlay on touch screens */
    }
    .footer-container {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }
}
