/* =====================================================
   GALLERY.CSS - PAGE GALERIE LBAM
===================================================== */

.gallery-hero {
    padding: 110px 0 90px;
    background:
        radial-gradient(circle at 15% 20%, rgba(199,161,90,.22), transparent 34%),
        radial-gradient(circle at 85% 10%, rgba(0,0,0,.08), transparent 28%),
        linear-gradient(135deg, #faf7f1 0%, #f1e6d4 100%);
    overflow: hidden;
}

.gallery-hero-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 60px;
    align-items: center;
}

.gallery-hero-content {
    max-width: 780px;
}

.gallery-hero-content h1 {
    margin: 22px 0 26px;
    font-size: clamp(42px, 5vw, 72px);
    line-height: 1.03;
    letter-spacing: -2.5px;
    color: #151515;
}

.gallery-hero-content p {
    font-size: 20px;
    line-height: 1.75;
    color: #494949;
    max-width: 720px;
    margin-bottom: 34px;
}

.gallery-hero-card {
    position: relative;
}

.gallery-hero-image {
    aspect-ratio: 4 / 5;
}


.gallery-hero-image {
    position: relative;
    border-radius: 34px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,.18);
    transform: rotate(2deg);
    background: #fff;
	width: 100%;
	
}

.photo-card {
    background: #fff;
    padding: 12px;
    border-radius: 38px;
    box-shadow: var(--shadow);
    transform: rotate(2deg);
    animation: float 5s ease-in-out infinite;
    overflow: hidden;
}

.photo-card img {
    display: block;
    width: 100%;
    height: 560px;
    object-fit: cover;
    border-radius: 28px;
    box-shadow: none;
}



.gallery-hero-image::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.35));
    z-index: 1;
}

.gallery-hero-image img {
    width: 100%;
    object-fit: cover;
    display: block;
}

.gallery-hero-badge {
    position: absolute;
    left: -26px;
    bottom: 42px;
    z-index: 2;
    background: #fff;
    border-radius: 24px;
    padding: 18px 24px;
    box-shadow: 0 20px 60px rgba(0,0,0,.18);
    border: 1px solid rgba(0,0,0,.06);
}

.gallery-hero-badge strong {
    display: block;
    font-size: 34px;
    line-height: 1;
    color: #c7a15a;
    font-weight: 800;
}

.gallery-hero-badge span {
    display: block;
    margin-top: 6px;
    color: #333;
    font-weight: 600;
}


/* INTRO */

.gallery-intro-section {
    margin-top: -42px;
    position: relative;
    z-index: 4;
}

.gallery-intro-card {
    background: #fff;
    border-radius: 30px;
    padding: 34px;
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 36px;
    align-items: center;
    box-shadow: 0 22px 70px rgba(0,0,0,.09);
    border: 1px solid rgba(0,0,0,.06);
}

.gallery-intro-card h2 {
    margin: 14px 0 0;
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.12;
    color: #171717;
}

.gallery-intro-card p {
    margin: 0;
    color: #555;
    font-size: 18px;
    line-height: 1.75;
}


/* STATS */

.gallery-stats-section {
    padding: 80px 0 30px;
}

.gallery-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.gallery-stat-card {
    background: #fff;
    border-radius: 28px;
    padding: 34px 28px;
    text-align: center;
    border: 1px solid rgba(0,0,0,.06);
    box-shadow: 0 14px 45px rgba(0,0,0,.06);
}

.gallery-stat-card i {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(199,161,90,.15);
    color: #c7a15a;
    font-size: 24px;
    margin-bottom: 18px;
}

.gallery-stat-card strong {
    display: block;
    font-size: 36px;
    line-height: 1;
    color: #151515;
    font-weight: 800;
    margin-bottom: 10px;
}

.gallery-stat-card span {
    color: #666;
    font-weight: 600;
}


/* GALERIE */

.gallery-section {
    padding: 70px 0 90px;
}

.section-heading.centered {
    text-align: center;
    max-width: 840px;
    margin: 0 auto 34px;
}

.section-heading.centered h2 {
    margin: 16px 0 18px;
    font-size: clamp(34px, 4vw, 54px);
    line-height: 1.08;
    color: #151515;
}

.section-heading.centered p {
    color: #626262;
    font-size: 18px;
    line-height: 1.7;
    margin: 0 auto;
}

.gallery-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin: 0 auto 44px;
}

.gallery-filter button {
    border: 1px solid rgba(0,0,0,.12);
    background: #fff;
    color: #222;
    padding: 12px 22px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 15px;
    transition: all .25s ease;
    cursor: pointer;
}

.gallery-filter button:hover,
.gallery-filter button.active {
    background: #151515;
    color: #fff;
    border-color: #151515;
    transform: translateY(-2px);
}


/* Masonry style - photos entières */

.gallery-grid {
    columns: 4;
    column-gap: 22px;
}

.gallery-card {
    position: relative;
    display: block;
    break-inside: avoid;
    margin-bottom: 22px;

    border-radius: 24px;
    overflow: hidden;
    background: #fff;

    box-shadow: 0 14px 42px rgba(0,0,0,.08);
    border: 1px solid rgba(0,0,0,.05);

    transition: all .3s ease;
}

.gallery-card img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform .4s ease;
}

.gallery-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.45);

    opacity: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    transition: opacity .3s ease;
}

.gallery-card-overlay span {
    width: 58px;
    height: 58px;
    border-radius: 50%;

    background: #fff;
    color: #151515;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 24px;
}

.gallery-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 70px rgba(0,0,0,.14);
}

.gallery-card:hover img {
    transform: scale(1.03);
}

.gallery-card:hover .gallery-card-overlay {
    opacity: 1;
}

.gallery-card.is-hidden {
    display: none;
}

/* SEO */

.gallery-seo-section {
    padding: 30px 0 90px;
}

.gallery-seo-card {
    background:
        radial-gradient(circle at 10% 10%, rgba(199,161,90,.16), transparent 32%),
        #fff;
    border-radius: 34px;
    padding: 52px;
    border: 1px solid rgba(0,0,0,.06);
    box-shadow: 0 18px 60px rgba(0,0,0,.07);
}

.gallery-seo-card h2 {
    margin: 16px 0 22px;
    font-size: clamp(30px, 4vw, 50px);
    line-height: 1.1;
    color: #151515;
}

.gallery-seo-card p {
    font-size: 18px;
    color: #555;
    line-height: 1.75;
    max-width: 980px;
}

.gallery-seo-card p:last-child {
    margin-bottom: 0;
}


/* CTA */

.gallery-cta-section {
    padding: 0 0 110px;
}

.gallery-cta-card {
    text-align: center;
    background:
        linear-gradient(135deg, rgba(17,17,17,.96), rgba(45,45,45,.96)),
        radial-gradient(circle at 15% 20%, rgba(199,161,90,.22), transparent 36%);
    color: #fff;
    border-radius: 36px;
    padding: 70px 40px;
    overflow: hidden;
    position: relative;
}

.gallery-cta-card::before {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(199,161,90,.18);
    top: -90px;
    right: -70px;
}

.gallery-cta-card h2 {
    position: relative;
    margin: 18px auto 20px;
    max-width: 780px;
    font-size: clamp(34px, 4vw, 56px);
    line-height: 1.08;
}

.gallery-cta-card p {
    position: relative;
    max-width: 760px;
    margin: 0 auto 34px;
    font-size: 18px;
    line-height: 1.75;
    color: rgba(255,255,255,.78);
}

.centered-actions {
    justify-content: center;
}


/* RESPONSIVE */

@media (max-width: 1199px) {
    .gallery-hero-grid {
        gap: 40px;
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
		columns: 3;
    }

    .gallery-hero-image img {
        height: 480px;
    }
}

@media (max-width: 991px) {
    .gallery-hero {
        padding: 90px 0 80px;
    }

    .gallery-hero-grid {
        grid-template-columns: 1fr;
    }

    .gallery-hero-content {
        max-width: 100%;
        text-align: center;
    }

    .gallery-hero-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .gallery-hero .hero-actions {
        justify-content: center;
    }

    .gallery-hero-image {
        transform: none;
        max-width: 620px;
        margin: 0 auto;
    }

    .gallery-hero-badge {
        left: 24px;
    }

    .gallery-intro-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .gallery-stats-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-seo-card {
        padding: 42px 34px;
    }
}

@media (max-width: 767px) {
    .gallery-hero {
        padding: 70px 0 70px;
    }

    .gallery-hero-content h1 {
        letter-spacing: -1.4px;
    }

    .gallery-hero-content p {
        font-size: 17px;
    }

    .gallery-hero-image img {
        height: 420px;
    }

    .gallery-hero-badge {
        left: 16px;
        bottom: 18px;
        padding: 15px 18px;
    }

    .gallery-hero-badge strong {
        font-size: 28px;
    }

    .gallery-intro-section {
        margin-top: -28px;
    }

    .gallery-intro-card {
        padding: 28px 22px;
        border-radius: 24px;
    }

    .gallery-stats-section {
        padding: 58px 0 20px;
    }

    .gallery-section {
        padding: 55px 0 70px;
    }

    .gallery-filter {
        gap: 9px;
        margin-bottom: 30px;
    }

    .gallery-filter button {
        padding: 10px 16px;
        font-size: 14px;
    }

    .gallery-grid {
        gap: 14px;
		columns: 2;
        column-gap: 14px;
    }

    .gallery-card {
        margin-bottom: 14px;
        border-radius: 18px;
    }

    .gallery-seo-section {
        padding: 10px 0 70px;
    }

    .gallery-seo-card {
        padding: 34px 24px;
        border-radius: 26px;
    }

    .gallery-seo-card p {
        font-size: 16px;
    }

    .gallery-cta-section {
        padding-bottom: 80px;
    }

    .gallery-cta-card {
        padding: 54px 24px;
        border-radius: 28px;
    }
}

@media (max-width: 520px) {
   .gallery-grid {
        columns: 1;
    }

    .gallery-card,
    .gallery-card:nth-child(3n),
    .gallery-card:nth-child(5n) {
        aspect-ratio: 4 / 5;
    }

    .gallery-hero-image img {
        height: 360px;
    }
}

.goverlay {
    background: rgba(0,0,0,.92) !important;
}

.gslide-image img {
    border-radius: 12px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}

.btn-main,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 14px 26px;
    border-radius: 999px;
    font-weight: 800;
    text-decoration: none;
    transition: all .25s ease;
}

.btn-main {
    background: #151515;
    color: #fff;
    border: 2px solid #151515;
}

.btn-main:hover {
    background: #c7a15a;
    border-color: #c7a15a;
    color: #fff;
    transform: translateY(-2px);
}

.btn-secondary {
    background: #fff;
    color: #151515;
    border: 2px solid rgba(0,0,0,.14);
}

.btn-secondary:hover {
    background: #151515;
    color: #fff;
    border-color: #151515;
    transform: translateY(-2px);
}

@media (max-width: 520px) {
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-main,
    .btn-secondary {
        width: 100%;
    }
}
 