:root {
    --font-main: 'Raleway', sans-serif;
}

body {
    font-family: var(--font-main);
}

.navbar.sticky-top {
    background-color: var(--bs-body-bg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.navbar-brand {
    font-weight: 700;
    letter-spacing: 0.5px;
}

.photo-thumb-btn {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.photo-thumb {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.photo-thumb-btn:hover .photo-thumb,
.photo-thumb-btn:focus .photo-thumb {
    transform: scale(1.03);
    filter: brightness(1.08);
}

.lightbox-image {
    max-height: 70vh;
}

.lightbox-slide-out-left {
    animation: lightboxSlideOutLeft 0.18s ease forwards;
}

.lightbox-slide-out-right {
    animation: lightboxSlideOutRight 0.18s ease forwards;
}

.lightbox-slide-in-right {
    animation: lightboxSlideInRight 0.22s ease forwards;
}

.lightbox-slide-in-left {
    animation: lightboxSlideInLeft 0.22s ease forwards;
}

@keyframes lightboxSlideOutLeft {
    to { transform: translateX(-40px); opacity: 0; }
}

@keyframes lightboxSlideOutRight {
    to { transform: translateX(40px); opacity: 0; }
}

@keyframes lightboxSlideInRight {
    from { transform: translateX(40px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes lightboxSlideInLeft {
    from { transform: translateX(-40px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.45);
    color: #fff;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.lightbox-nav:hover,
.lightbox-nav:focus {
    background-color: rgba(0, 0, 0, 0.7);
}

.lightbox-nav-prev {
    left: 0.5rem;
}

.lightbox-nav-next {
    right: 0.5rem;
}

.hero-section h1 {
    font-weight: 700;
}

.admin-card {
    max-width: 480px;
    margin: 3rem auto;
}

.thumb-preview {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}
