/* ============================================
   LA RESSOURCE - Camping thématique sur l'autonomie
   Feuille de style principale
   ============================================ */

:root {
    --vert-fonce: #1f5d2a;
    --vert-clair: #3a9d3f;
    --vert-vif: #46b04b;
    --bleu-marine: #1a2c5b;
    --bleu-clair: #3a7da5;
    --terre: #6b4226;
    --terre-clair: #8b6244;
    --creme: #f7f3e8;
    --beige: #ebe2cc;
    --gris-clair: #f5f5f0;
    --gris-moyen: #d4d4cc;
    --gris-fonce: #444;
    --texte: #2a2a2a;
    --blanc: #ffffff;
    --rouge-don: #c0392b;
    --shadow-sm: 0 2px 8px rgba(0,0,0,.08);
    --shadow-md: 0 4px 18px rgba(0,0,0,.12);
    --shadow-lg: 0 10px 40px rgba(0,0,0,.18);
    --radius: 8px;
    --max-width: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: var(--texte);
    background: var(--blanc);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--vert-fonce); text-decoration: none; transition: color .2s; }
a:hover { color: var(--vert-clair); }

h1, h2, h3, h4 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    color: var(--bleu-marine);
    line-height: 1.2;
    margin-bottom: .8em;
}

h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin-top: .8em; }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.6rem); }

p { margin-bottom: 1em; }
p + p { margin-top: 0; }

/* ============================================
   HEADER & NAV
   ============================================ */
.site-header {
    background: var(--blanc);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 3px solid var(--vert-fonce);
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 84px;
}

.logo-link { display: flex; align-items: center; flex-shrink: 0; }
.logo-link img { height: 64px; width: auto; }

.main-nav { display: flex; gap: 2px; align-items: center; }
.main-nav a {
    color: var(--bleu-marine);
    font-weight: 600;
    font-size: 0.92rem;
    padding: 10px 11px;
    border-radius: 6px;
    transition: all .2s;
    text-decoration: none;
    white-space: nowrap;
}
.main-nav a:hover { background: var(--gris-clair); color: var(--vert-fonce); }
.main-nav a.active {
    background: var(--vert-fonce);
    color: var(--blanc);
}

.translate-wrap { position: relative; }
.translate-toggle {
    background: var(--bleu-marine);
    color: white;
    border: none;
    padding: 8px 14px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: 6px;
}
.translate-toggle:hover { background: var(--bleu-clair); }
.translate-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: white;
    box-shadow: var(--shadow-md);
    border-radius: 8px;
    padding: 8px;
    min-width: 170px;
    display: none;
    flex-direction: column;
    z-index: 1000;
    border: 1px solid var(--gris-moyen);
}
.translate-menu.active { display: flex; }
.translate-menu a {
    padding: 8px 12px;
    color: var(--bleu-marine);
    font-size: 0.9rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
}
.translate-menu a:hover { background: var(--gris-clair); }

.menu-toggle {
    display: none;
    background: none;
    border: 2px solid var(--bleu-marine);
    color: var(--bleu-marine);
    padding: 6px 10px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1.4rem;
    line-height: 1;
}

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    min-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(26, 44, 91, 0.75), rgba(31, 93, 42, 0.65)),
                url('../img/drone/hero.jpg') center/cover;
    color: white;
    text-align: center;
    padding: 80px 20px;
    overflow: hidden;
}
.hero-content { max-width: 900px; position: relative; z-index: 2; }
.hero h1 {
    color: white;
    font-size: clamp(2.2rem, 6vw, 4rem);
    text-shadow: 0 2px 20px rgba(0,0,0,.5);
    margin-bottom: 0.4em;
}
.hero .lead {
    font-size: clamp(1.15rem, 2.2vw, 1.45rem);
    margin-bottom: 1.5em;
    text-shadow: 0 2px 10px rgba(0,0,0,.4);
    line-height: 1.5;
}
.hero-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 8px 22px;
    border-radius: 50px;
    margin-bottom: 1.2em;
    font-weight: 600;
    letter-spacing: 1px;
    font-size: 0.85rem;
    text-transform: uppercase;
}
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 2em; }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-block;
    padding: 12px 26px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all .25s;
    font-size: 1rem;
    text-align: center;
    line-height: 1.4;
    font-family: inherit;
}
.btn-primary {
    background: var(--vert-fonce);
    color: white;
}
.btn-primary:hover {
    background: var(--vert-clair);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.btn-secondary {
    background: white;
    color: var(--bleu-marine);
    border: 2px solid white;
}
.btn-secondary:hover {
    background: transparent;
    color: white;
    transform: translateY(-2px);
}
.btn-outline {
    background: transparent;
    color: var(--bleu-marine);
    border: 2px solid var(--bleu-marine);
}
.btn-outline:hover { background: var(--bleu-marine); color: white; }
.btn-don {
    background: var(--rouge-don);
    color: white;
}
.btn-don:hover {
    background: #a83020;
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.btn-large { padding: 16px 36px; font-size: 1.1rem; }

/* ============================================
   SECTIONS
   ============================================ */
.section {
    padding: 80px 20px;
    max-width: var(--max-width);
    margin: 0 auto;
}
.section-tinted { background: var(--creme); padding-left: 0; padding-right: 0; max-width: 100%; }
.section-tinted > .inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}
.section-dark {
    background: linear-gradient(135deg, var(--bleu-marine) 0%, var(--vert-fonce) 100%);
    color: white;
    padding: 80px 20px;
}
.section-dark h1, .section-dark h2, .section-dark h3 { color: white; }
.section-dark .inner { max-width: var(--max-width); margin: 0 auto; }

.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { margin-bottom: 0.4em; }
.section-header .subtitle {
    font-size: 1.15rem;
    color: var(--gris-fonce);
    max-width: 700px;
    margin: 0 auto;
}

/* ============================================
   YOUTUBE EMBED
   ============================================ */
.video-wrap {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    background: #000;
}
.video-wrap iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border: 0;
}

/* ============================================
   GRIDS
   ============================================ */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}
.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 40px;
    align-items: center;
}
.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

/* ============================================
   CARDS
   ============================================ */
.card {
    background: white;
    padding: 30px 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gris-moyen);
    transition: all .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card .icon {
    font-size: 2.5rem;
    color: var(--vert-fonce);
    margin-bottom: 14px;
    display: block;
}
.card h3 { color: var(--bleu-marine); margin-bottom: 0.4em; }
.card p { color: var(--gris-fonce); }

.stat-card {
    text-align: center;
    padding: 30px 20px;
}
.stat-card .number {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--vert-fonce);
    display: block;
    line-height: 1;
}
.stat-card .label {
    color: var(--gris-fonce);
    font-size: 0.95rem;
    margin-top: 10px;
    font-weight: 500;
}

/* ============================================
   GALLERY
   ============================================ */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
    margin: 30px 0;
}
.gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    aspect-ratio: 3/2;
    transition: transform .3s;
    cursor: pointer;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery-item:hover img { transform: scale(1.05); }

/* ============================================
   FLOATING BUTTONS (right side)
   ============================================ */
.floating-buttons {
    position: fixed;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 90;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.float-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    text-decoration: none;
    transition: all .2s;
    font-size: 0.65rem;
    font-weight: 700;
    text-align: center;
    line-height: 1;
}
.float-btn:hover { transform: scale(1.08); }
.float-btn-back {
    background: var(--bleu-marine);
    color: white;
}
.float-btn-back:hover { background: var(--bleu-clair); color: white; }
.float-btn-don {
    background: var(--rouge-don);
    color: white;
}
.float-btn-don:hover { background: #a83020; color: white; }
.float-btn .icon { font-size: 1.4rem; margin-bottom: 2px; line-height: 1; }
.float-btn .label { font-size: 0.6rem; }

/* ============================================
   DON BLOCK
   ============================================ */
.don-block {
    background: linear-gradient(135deg, #fff 0%, var(--creme) 100%);
    border: 2px solid var(--rouge-don);
    border-radius: var(--radius);
    padding: 40px 30px;
    text-align: center;
    margin: 50px auto;
    max-width: 800px;
    box-shadow: var(--shadow-md);
}
.don-block .icon-coeur {
    font-size: 3rem;
    color: var(--rouge-don);
    margin-bottom: 14px;
    display: block;
}
.don-block h3 { color: var(--rouge-don); margin-bottom: 0.5em; }
.don-block .small {
    font-size: 0.88rem;
    color: var(--gris-fonce);
    margin-top: 18px;
    font-style: italic;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--bleu-marine);
    color: rgba(255, 255, 255, 0.85);
    padding: 50px 20px 24px;
    margin-top: 0;
}
.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}
.site-footer h4 { color: white; font-size: 1.1rem; margin-bottom: 14px; }
.site-footer a { color: rgba(255,255,255,.85); }
.site-footer a:hover { color: var(--vert-vif); }
.site-footer ul { list-style: none; padding: 0; }
.site-footer ul li { margin-bottom: 8px; }
.social-links { display: flex; gap: 12px; flex-wrap: wrap; }
.social-links a {
    width: 38px; height: 38px;
    background: rgba(255,255,255,.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s;
    font-size: 1rem;
}
.social-links a:hover { background: var(--vert-fonce); transform: translateY(-2px); }
.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,.15);
    font-size: 0.85rem;
    color: rgba(255,255,255,.6);
}
.footer-bottom a { text-decoration: underline; }
.email-img { max-width: 280px; height: auto; vertical-align: middle; filter: invert(1) brightness(1.3); }

/* ============================================
   PAGE HEADERS (sub pages)
   ============================================ */
.page-header {
    background: linear-gradient(135deg, var(--bleu-marine) 0%, var(--vert-fonce) 100%);
    color: white;
    padding: 80px 20px 60px;
    text-align: center;
}
.page-header h1 { color: white; }
.page-header p {
    font-size: 1.15rem;
    max-width: 700px;
    margin: 0 auto;
    color: rgba(255,255,255,0.92);
}

/* ============================================
   CONTENT BLOCKS
   ============================================ */
.text-content {
    max-width: 800px;
    margin: 0 auto;
}
.text-content p { font-size: 1.05rem; }
.text-content h2 { margin-top: 1.6em; }

.alert-box {
    background: #fff8e1;
    border-left: 4px solid #f0a000;
    padding: 18px 22px;
    border-radius: 6px;
    margin: 24px 0;
}
.info-box {
    background: #e8f4f8;
    border-left: 4px solid var(--bleu-clair);
    padding: 18px 22px;
    border-radius: 6px;
    margin: 24px 0;
}

/* Image avec légende */
figure { margin: 30px 0; }
figure img { border-radius: var(--radius); box-shadow: var(--shadow-md); }
figcaption {
    text-align: center;
    color: var(--gris-fonce);
    font-style: italic;
    font-size: 0.92rem;
    margin-top: 10px;
}

/* ============================================
   FORMULAIRES
   ============================================ */
.form-reservation { max-width: 700px; margin: 0 auto; }
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 14px;
}
.form-field { margin-bottom: 14px; }
.form-field label {
    display: block;
    font-weight: 600;
    color: var(--bleu-marine);
    margin-bottom: 6px;
    font-size: 0.92rem;
}
.form-field input, .form-field select, .form-field textarea {
    width: 100%;
    padding: 11px 13px;
    border: 1px solid var(--gris-moyen);
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    background: white;
    color: var(--texte);
    transition: border-color .15s, box-shadow .15s;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
    outline: none;
    border-color: var(--vert-fonce);
    box-shadow: 0 0 0 3px rgba(58, 157, 63, 0.15);
}
.form-field textarea { resize: vertical; min-height: 90px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 880px) {
    .menu-toggle { display: block; }
    .main-nav {
        position: absolute;
        top: 84px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        align-items: stretch;
        padding: 14px;
        box-shadow: var(--shadow-md);
        display: none;
        gap: 4px;
    }
    .main-nav.active { display: flex; }
    .main-nav a { padding: 12px; }
    .floating-buttons {
        right: 12px;
        top: auto;
        bottom: 16px;
        transform: none;
        flex-direction: row-reverse;
    }
    .float-btn { width: 52px; height: 52px; }
    .float-btn .label { display: none; }
    .float-btn .icon { font-size: 1.4rem; margin: 0; }
    .section { padding: 60px 16px; }
    .section-dark, .page-header { padding: 60px 16px; }
    .nav-container { padding: 0 14px; height: 70px; }
    .logo-link img { height: 52px; }
    .translate-toggle { padding: 6px 10px; font-size: 0.78rem; }
}

@media (max-width: 480px) {
    .hero { min-height: 65vh; padding: 60px 16px; }
    .hero-cta { flex-direction: column; }
    .hero-cta .btn { width: 100%; }
    .grid-2 { grid-template-columns: 1fr; }
}

/* ============================================
   ACTUALITÉS
   ============================================ */
.actu-article {
    background: white;
    border: 1px solid var(--gris-moyen);
    border-radius: var(--radius);
    padding: 36px;
    margin-bottom: 32px;
    box-shadow: var(--shadow-sm);
    transition: box-shadow .2s;
}
.actu-article:hover { box-shadow: var(--shadow-md); }

.actu-header {
    margin-bottom: 24px;
    border-bottom: 1px solid var(--gris-moyen);
    padding-bottom: 18px;
}
.actu-date {
    display: inline-block;
    background: var(--vert-fonce);
    color: white;
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}
.actu-title {
    color: var(--bleu-marine);
    font-size: 1.7rem;
    margin: 8px 0 12px;
    line-height: 1.2;
}
.actu-resume {
    font-style: italic;
    color: var(--gris-fonce);
    font-size: 1.05rem;
    margin: 0;
}

.actu-content { font-size: 1rem; line-height: 1.7; }
.actu-content .actu-h2 {
    color: var(--vert-fonce);
    font-size: 1.35rem;
    margin: 28px 0 14px;
    font-family: 'Playfair Display', serif;
}
.actu-content .actu-h3 {
    color: var(--bleu-marine);
    font-size: 1.15rem;
    margin: 22px 0 10px;
}
.actu-content .actu-p { margin-bottom: 14px; }
.actu-content .actu-ul, .actu-content .actu-ol {
    margin: 14px 0 14px 24px;
}
.actu-content .actu-ul li, .actu-content .actu-ol li {
    margin-bottom: 6px;
}
.actu-content .actu-quote {
    background: var(--creme);
    border-left: 4px solid var(--vert-fonce);
    padding: 14px 20px;
    margin: 18px 0;
    font-style: italic;
    color: var(--bleu-marine);
    border-radius: 0 6px 6px 0;
}
.actu-content a {
    color: var(--vert-fonce);
    text-decoration: underline;
}

.actu-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 14px;
    margin-top: 28px;
}
.actu-photo {
    cursor: pointer;
    border-radius: 6px;
    overflow: hidden;
    aspect-ratio: 4/3;
    position: relative;
    background: var(--gris-clair);
    box-shadow: var(--shadow-sm);
}
.actu-photo img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .3s;
}
.actu-photo:hover img { transform: scale(1.05); }
.actu-photo-caption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,.85));
    color: white;
    padding: 24px 12px 10px;
    font-size: 0.85rem;
}

.actu-empty { padding: 60px 20px; text-align: center; }

/* ============================================
   AGENDA
   ============================================ */
.ag-section { margin-bottom: 50px; }
.ag-section-title {
    color: var(--bleu-marine);
    border-bottom: 2px solid var(--vert-fonce);
    padding-bottom: 10px;
    margin-bottom: 24px;
}

.ag-event {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 24px;
    background: white;
    border: 1px solid var(--gris-moyen);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 18px;
    box-shadow: var(--shadow-sm);
    transition: box-shadow .2s;
}
.ag-event:hover { box-shadow: var(--shadow-md); }
.ag-event.ag-past { opacity: 0.85; }

.ag-date-block {
    background: linear-gradient(135deg, var(--vert-fonce), var(--bleu-marine));
    color: white;
    border-radius: 8px;
    text-align: center;
    padding: 14px 8px;
    align-self: start;
}
.ag-event.ag-past .ag-date-block {
    background: linear-gradient(135deg, #888, #555);
}
.ag-day { font-size: 2.4rem; font-weight: 700; line-height: 1; font-family: 'Playfair Display', serif; }
.ag-month { font-size: 1rem; text-transform: uppercase; letter-spacing: 1px; margin-top: 4px; }
.ag-year { font-size: 0.85rem; opacity: 0.85; margin-top: 2px; }

.ag-body { display: flex; flex-direction: column; }
.ag-title {
    color: var(--bleu-marine);
    font-size: 1.3rem;
    margin: 0 0 12px;
}
.ag-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 22px;
    margin-bottom: 12px;
    font-size: 0.92rem;
    color: var(--gris-fonce);
}
.ag-meta-item { display: flex; align-items: center; gap: 6px; }
.ag-meta-icon { font-size: 1rem; }

.ag-desc {
    margin: 8px 0 12px;
    line-height: 1.6;
}
.ag-action { margin-top: 8px; }
.ag-link {
    display: inline-block;
    background: var(--vert-fonce);
    color: white !important;
    padding: 8px 18px;
    border-radius: 6px;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 0.92rem;
    transition: background .2s;
}
.ag-link:hover { background: var(--vert-clair); }

.ag-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 10px;
    margin-top: 14px;
}
.ag-photo {
    cursor: pointer;
    border-radius: 6px;
    overflow: hidden;
    aspect-ratio: 4/3;
    position: relative;
    background: var(--gris-clair);
}
.ag-photo img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .3s;
}
.ag-photo:hover img { transform: scale(1.05); }
.ag-photo-caption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,.85));
    color: white;
    padding: 16px 8px 6px;
    font-size: 0.78rem;
}

@media (max-width: 600px) {
    .ag-event { grid-template-columns: 80px 1fr; gap: 14px; padding: 16px; }
    .ag-day { font-size: 1.8rem; }
    .ag-month { font-size: 0.8rem; }
    .ag-year { font-size: 0.75rem; }
    .ag-title { font-size: 1.1rem; }
    .actu-article { padding: 24px 18px; }
    .actu-title { font-size: 1.4rem; }
}

/* ============================================
   LIGHTBOX
   ============================================ */
.lightbox {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,.95);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 30px;
}
.lightbox.active { display: flex; }

.lightbox-content {
    position: relative;
    max-width: 95%;
    max-height: 90vh;
    text-align: center;
}
.lightbox-img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 6px;
    box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.lightbox-caption {
    color: white;
    margin-top: 14px;
    font-size: 1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.lightbox-counter {
    color: rgba(255,255,255,.7);
    margin-top: 8px;
    font-size: 0.85rem;
}

.lightbox-close, .lightbox-prev, .lightbox-next {
    position: absolute;
    background: rgba(255,255,255,.15);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    width: 50px; height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: background .2s, transform .2s;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover {
    background: rgba(255,255,255,.3);
    transform: scale(1.1);
}
.lightbox-close {
    top: 20px; right: 20px;
}
.lightbox-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-prev:hover, .lightbox-next:hover { transform: translateY(-50%) scale(1.1); }

@media (max-width: 600px) {
    .lightbox-close, .lightbox-prev, .lightbox-next {
        width: 42px; height: 42px;
        font-size: 1.2rem;
    }
}
