/*=========================================================
GALERIE PREMIUM
JUBILÉ DU CENTENAIRE
Paroisse Notre-Dame des Sept Douleurs d'Akono
-----------------------------------------------------------
Développé par :
ESSOMBA Pancrace Cédric
Pancrace Consulting Group
=========================================================*/

/*=========================================================
VARIABLES
=========================================================*/

:root {

    --bleu: #0F4C81;
    --bleu2: #1c993b;
    --or: #D4AF37;
    --blanc: #FFFFFF;
    --gris: #F5F7FA;
    --texte: #333333;
    --ombre: 0 10px 35px rgba(0, 0, 0, .12);
    --radius: 20px;
    --transition: .35s ease;

}

/*=========================================================
BODY
=========================================================*/

body {

    background: #F6F8FC;

}

/*=========================================================
HERO
=========================================================*/

.gallery-hero {

    position: relative;

    padding: 130px 0;

    overflow: hidden;

    background:
        linear-gradient(rgba(5, 146, 80, 0.88),
            rgba(2, 77, 87, 0.88)),
        url("../images/hero-galerie.jpg");

    background-size: cover;

    background-position: center;

    color: #fff;

}

.gallery-hero::before {

    content: "";

    position: absolute;

    inset: 0;

    background:

        radial-gradient(rgba(255, 255, 255, .08),

            transparent 70%);

}

.gallery-hero-content {

    position: relative;

    max-width: 760px;

    margin: auto;

    text-align: center;

    z-index: 2;

}

.gallery-badge {

    display: inline-block;

    padding: 10px 24px;

    background: rgba(255, 255, 255, .18);

    backdrop-filter: blur(8px);

    border-radius: 50px;

    font-weight: 600;

    letter-spacing: 1px;

    margin-bottom: 25px;

}

.gallery-hero h1 {

    font-size: 56px;

    font-weight: 800;

    margin-bottom: 25px;

}

.gallery-hero p {

    font-size: 20px;

    line-height: 1.8;

    opacity: .95;

    margin-bottom: 40px;

}

.gallery-btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 16px 40px;

    border-radius: 50px;

    background: var(--or);

    color: #111;

    font-weight: 700;

    text-decoration: none;

    transition: var(--transition);

}

.gallery-btn:hover {

    transform: translateY(-5px);

    color: #111;

    box-shadow: 0 12px 25px rgba(0, 0, 0, .25);

}
/*=========================================================
STATISTIQUES
=========================================================*/

.gallery-stats {

    margin-top: -70px;

    position: relative;

    z-index: 20;

    margin-bottom: 70px;

}

.stats-grid {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 30px;

}

.stat-box {

    background: #fff;

    border-radius: var(--radius);

    box-shadow: var(--ombre);

    padding: 40px 25px;

    text-align: center;

    transition: var(--transition);

}

.stat-box:hover {

    transform: translateY(-10px);

}

.stat-box i {

    font-size: 45px;

    color: var(--or);

    margin-bottom: 20px;

}

.stat-box h2 {

    font-size: 42px;

    font-weight: 800;

    color: var(--bleu);

    margin-bottom: 10px;

}

.stat-box p {

    font-size: 16px;

    color: #666;

    margin: 0;

}

/*=========================================================
FILTRES
=========================================================*/

.gallery-filter {

    padding: 40px 0;

}

.gallery-filter h2 {

    text-align: center;

    color: var(--bleu);

    font-size: 38px;

    font-weight: 800;

    margin-bottom: 40px;

}

.gallery-menu {

    display: flex;

    justify-content: center;

    align-items: center;

    flex-wrap: wrap;

    gap: 15px;

}

.gallery-menu a {

    text-decoration: none;

    padding: 14px 28px;

    border-radius: 50px;

    background: #fff;

    color: var(--bleu);

    font-weight: 600;

    box-shadow: 0 6px 18px rgba(0, 0, 0, .08);

    transition: var(--transition);

}

.gallery-menu a:hover {

    background: var(--bleu);

    color: #fff;

    transform: translateY(-4px);

}

.gallery-menu a.active {

    background: var(--or);

    color: #111;

}

/*=========================================================
SECTION GALERIE
=========================================================*/

.gallery-section {

    padding: 20px 0 90px;

}

.gallery-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 30px;

}

.gallery-card {

    background: #fff;

    border-radius: 20px;

    overflow: hidden;

    box-shadow: var(--ombre);

    transition: var(--transition);

}

.gallery-card:hover {

    transform: translateY(-10px);

}

.gallery-image {

    position: relative;

    overflow: hidden;

    height: 270px;

}

.gallery-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: .6s;

}

.gallery-card:hover img {

    transform: scale(1.12);

}

.gallery-overlay {

    position: absolute;

    inset: 0;

    background: rgba(15, 76, 129, .65);

    display: flex;

    justify-content: center;

    align-items: center;

    opacity: 0;

    transition: .35s;

}

.gallery-card:hover .gallery-overlay {

    opacity: 1;

}

.gallery-view {

    width: 70px;

    height: 70px;

    border-radius: 50%;

    background: #fff;

    color: var(--bleu);

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 24px;

    text-decoration: none;

    transition: .3s;

}

.gallery-view:hover {

    background: var(--or);

    color: #111;

}
/*=========================================================
CONTENU DES CARTES
=========================================================*/

.gallery-content {

    padding: 25px;

}

.gallery-category {

    display: inline-block;

    padding: 8px 18px;

    border-radius: 30px;

    background: #EEF5FC;

    color: var(--bleu);

    font-size: 13px;

    font-weight: 700;

    margin-bottom: 15px;

}

.gallery-content h3 {

    color: var(--bleu);

    font-size: 24px;

    font-weight: 700;

    margin-bottom: 15px;

    line-height: 1.4;

}

.gallery-content p {

    color: #666;

    line-height: 1.8;

    font-size: 15px;

    margin-bottom: 20px;

}

.gallery-footer {

    display: flex;

    justify-content: space-between;

    align-items: center;

    padding-top: 18px;

    border-top: 1px solid #ECECEC;

    color: #888;

    font-size: 14px;

}

/*=========================================================
GALERIE VIDE
=========================================================*/

.gallery-empty {

    grid-column: 1/-1;

    text-align: center;

    background: #fff;

    padding: 80px 30px;

    border-radius: 20px;

    box-shadow: var(--ombre);

}

.gallery-empty i {

    font-size: 70px;

    color: var(--or);

    margin-bottom: 25px;

}

.gallery-empty h2 {

    color: var(--bleu);

    margin-bottom: 20px;

}

.gallery-empty p {

    color: #666;

    font-size: 18px;

}

/*=========================================================
ALBUMS
=========================================================*/

.albums-section {

    padding: 90px 0;

    background: #F9FAFC;

}

.section-title {

    text-align: center;

    margin-bottom: 60px;

}

.section-title span {

    display: inline-block;

    background: #EEF5FC;

    color: var(--bleu);

    padding: 10px 22px;

    border-radius: 30px;

    font-weight: 700;

    margin-bottom: 20px;

}

.section-title h2 {

    font-size: 42px;

    color: var(--bleu);

    font-weight: 800;

}

.albums-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));

    gap: 30px;

}

.album-card {

    background: #fff;

    padding: 35px;

    border-radius: 20px;

    box-shadow: var(--ombre);

    text-align: center;

    transition: var(--transition);

}

.album-card:hover {

    transform: translateY(-8px);

}

.album-card h3 {

    color: var(--bleu);

    margin-bottom: 18px;

    font-size: 24px;

}

.album-card p {

    color: #777;

    margin-bottom: 25px;

}

.album-card a {

    display: inline-block;

    padding: 12px 28px;

    background: var(--bleu);

    color: #fff;

    border-radius: 40px;

    text-decoration: none;

    transition: var(--transition);

}

.album-card a:hover {

    background: var(--or);

    color: #111;

}

/*=========================================================
PARTAGE DE SOUVENIRS
=========================================================*/

.gallery-cta {

    padding: 100px 0;

}

.gallery-cta-box {

    background: linear-gradient(135deg, var(--bleu), var(--bleu2));

    color: #fff;

    padding: 70px;

    border-radius: 25px;

    text-align: center;

    box-shadow: var(--ombre);

}

.gallery-cta-box h2 {

    font-size: 42px;

    font-weight: 800;

    margin-bottom: 25px;

}

.gallery-cta-box p {

    max-width: 850px;

    margin: auto;

    font-size: 18px;

    line-height: 1.9;

    margin-bottom: 40px;

}

.gallery-buttons {

    display: flex;

    justify-content: center;

    gap: 20px;

    flex-wrap: wrap;

}

.gallery-btn-outline {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 16px 36px;

    border: 2px solid #fff;

    border-radius: 50px;

    color: #fff;

    font-weight: 700;

    text-decoration: none;

    transition: .35s;

}

.gallery-btn-outline:hover {

    background: #fff;

    color: var(--bleu);

}
/*=========================================================
LIGHTBOX
=========================================================*/

.gallery-lightbox {

    position: fixed;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    background: rgba(0, 0, 0, .92);

    display: flex;

    justify-content: center;

    align-items: center;

    z-index: 99999;

    animation: fadeIn .35s ease;

}

.gallery-lightbox-content {

    position: relative;

    max-width: 92%;

    max-height: 92%;

}

.gallery-lightbox img {

    display: block;

    max-width: 100%;

    max-height: 90vh;

    border-radius: 18px;

    box-shadow: 0 15px 45px rgba(0, 0, 0, .45);

}

.gallery-close {

    position: absolute;

    top: -18px;

    right: -18px;

    width: 45px;

    height: 45px;

    background: #fff;

    border-radius: 50%;

    display: flex;

    justify-content: center;

    align-items: center;

    cursor: pointer;

    font-size: 28px;

    font-weight: bold;

    color: #222;

    transition: .30s;

}

.gallery-close:hover {

    background: var(--or);

    transform: rotate(90deg);

}

/*=========================================================
ANIMATIONS
=========================================================*/

@keyframes fadeIn {

    from {

        opacity: 0;

    }

    to {

        opacity: 1;

    }

}

@keyframes slideUp {

    from {

        opacity: 0;

        transform: translateY(40px);

    }

    to {

        opacity: 1;

        transform: translateY(0);

    }

}

.gallery-card {

    animation: slideUp .6s ease;

}

/*=========================================================
RESPONSIVE
=========================================================*/

@media(max-width:1200px) {

    .gallery-grid {

        grid-template-columns: repeat(2, 1fr);

    }

}

@media(max-width:992px) {

    .gallery-hero {

        padding: 90px 0;

    }

    .gallery-hero h1 {

        font-size: 42px;

    }

    .gallery-hero p {

        font-size: 18px;

    }

    .stats-grid {

        grid-template-columns: repeat(2, 1fr);

    }

    .gallery-cta-box {

        padding: 50px 35px;

    }

}

@media(max-width:768px) {

    .gallery-grid {

        grid-template-columns: 1fr;

    }

    .stats-grid {

        grid-template-columns: 1fr;

    }

    .gallery-menu {

        justify-content: flex-start;

        overflow-x: auto;

        padding-bottom: 10px;

        flex-wrap: nowrap;

    }

    .gallery-menu a {

        white-space: nowrap;

    }

    .gallery-hero {

        padding: 70px 0;

    }

    .gallery-hero h1 {

        font-size: 34px;

    }

    .gallery-hero p {

        font-size: 16px;

    }

    .section-title h2 {

        font-size: 32px;

    }

    .gallery-cta-box h2 {

        font-size: 30px;

    }

}

@media(max-width:576px) {

    .gallery-content {

        padding: 20px;

    }

    .gallery-content h3 {

        font-size: 20px;

    }

    .gallery-btn,

    .gallery-btn-outline {

        width: 100%;

    }

    .gallery-buttons {

        flex-direction: column;

    }

}
/*=========================================================
FIN DU FICHIER
=========================================================*/
