/* Mon Jardin - style public */
:root {
    --jardin-green: #2d5a27;
    --jardin-light: #e8f5e6;
}

/* Couleur de la navbar (surchargée par le thème admin si défini) */
.navbar.bg-theme {
    background-color: var(--jardin-green) !important;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, #f8fdf8 0%, var(--jardin-light) 100%);
}

main {
    flex: 1;
}

.photo-card {
    transition: transform 0.2s, box-shadow 0.2s;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(45, 90, 39, 0.15);
}

.photo-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(45, 90, 39, 0.15);
}

.photo-card .img-wrap {
    aspect-ratio: 4/3;
    overflow: hidden;
    cursor: pointer;
}

.photo-card .img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-card .card-body {
    padding: 0.75rem 1rem;
}

.photo-card .couleur-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    display: inline-block;
    vertical-align: middle;
    margin-right: 6px;
    border: 1px solid rgba(0,0,0,0.1);
}

/* Modal lightbox */
.modal-lightbox .modal-dialog {
    max-width: 95vw;
    max-height: 90vh;
}

.modal-lightbox .modal-body {
    padding: 0;
    text-align: center;
    background: #111;
}

.modal-lightbox .modal-body img {
    max-width: 100%;
    max-height: 85vh;
    width: auto;
    height: auto;
    object-fit: contain;
}

.modal-lightbox .modal-header {
    border-bottom-color: #333;
    background: #111;
    color: #eee;
}

.modal-lightbox .btn-close {
    filter: invert(1);
}

.modal-lightbox .caption-text {
    color: #ccc;
    font-size: 0.95rem;
}

.modal-lightbox .lightbox-nav {
    transition: opacity 0.2s, transform 0.2s;
}
.modal-lightbox .lightbox-nav:hover {
    opacity: 1 !important;
    transform: translateY(-50%) scale(1.05);
}
@media (max-width: 576px) {
    .modal-lightbox .lightbox-nav {
        padding: 0.35rem 0.5rem;
        font-size: 1rem;
    }
}

.gallery-title {
    color: var(--jardin-green);
    font-weight: 600;
    margin-bottom: 1.5rem;
}
