/* ================= GALLERY HERO ================= */

.gallery-hero {
    min-height: 80vh;

    background:
        linear-gradient(rgba(20,22,40,0.85), rgba(20,22,40,0.85)),
        url("https://images.unsplash.com/photo-1532968961962-8a0cb3a2d4f5?q=80&w=1974&auto=format&fit=crop");

    background-size: cover;
    background-position: center;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;

    padding: 120px 20px;
}

.gallery-hero-content {
    max-width: 850px;
}

.gallery-tag {
    color: #f4a261;
    letter-spacing: 3px;
    margin-bottom: 20px;
    font-weight: 600;
}

.gallery-hero-content h1 {
    color: #fff;

    font-size: 72px;
    line-height: 1.1;

    margin-bottom: 25px;

    font-family: 'Playfair Display', serif;
}

.gallery-hero-content p {
    color: #ddd;

    font-size: 17px;
    line-height: 1.8;
}

/* ================= MAIN ================= */

.gallery-page-section {
    padding: 100px 60px;

    background:
        linear-gradient(rgba(244,239,231,0.92), rgba(244,239,231,0.92)),
        url("https://as2.ftcdn.net/v2/jpg/15/34/34/33/1000_F_1534343373_2iL69ib0BalQA7qNvC1nLe7foTiCKZFJ.jpg");
}

/* GRID */
.gallery-page-grid {
    max-width: 1300px;
    margin: auto;

    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 30px;
}

/* CARD */
.gallery-page-card {
    position: relative;

    overflow: hidden;
    border-radius: 25px;

    cursor: pointer;

    height: 420px;

    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

/* IMAGE */
.gallery-page-card img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: 0.6s;
}

/* OVERLAY */
.gallery-page-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(to top,
        rgba(0,0,0,0.95),
        rgba(0,0,0,0.2));

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    padding: 30px;

    transition: 0.4s;
}

.gallery-page-overlay span {
    color: #f4a261;

    margin-bottom: 12px;

    letter-spacing: 2px;
    font-size: 13px;
}

.gallery-page-overlay h3 {
    color: #fff;

    font-size: 30px;
    line-height: 1.3;

    font-family: 'Playfair Display', serif;
}

/* HOVER */
.gallery-page-card:hover img {
    transform: scale(1.1);
}

.gallery-page-card:hover .gallery-page-overlay {
    background:
        linear-gradient(to top,
        rgba(0,0,0,0.98),
        rgba(0,0,0,0.35));
}

/* ================= QUOTE ================= */

.gallery-quote {
    padding: 100px 20px;

    background:
        linear-gradient(rgba(20,22,40,0.95), rgba(20,22,40,0.95)),
        url("https://www.transparenttextures.com/patterns/stardust.png");

    text-align: center;
}

.gallery-quote-box {
    max-width: 900px;
    margin: auto;
}

.gallery-quote-box h2 {
    color: #fff;

    font-size: 52px;
    line-height: 1.4;

    margin-bottom: 20px;

    font-family: 'Playfair Display', serif;
}

.gallery-quote-box p {
    color: #f4a261;
    font-size: 18px;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 992px) {

    .gallery-page-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-page-section {
        padding: 70px 20px;
    }

    .gallery-hero-content h1 {
        font-size: 50px;
    }

    .gallery-quote-box h2 {
        font-size: 38px;
    }
}

@media (max-width: 600px) {

    .gallery-page-grid {
        grid-template-columns: 1fr;
    }

    .gallery-hero-content h1 {
        font-size: 38px;
    }

    .gallery-page-card {
        height: 340px;
    }

    .gallery-page-overlay h3 {
        font-size: 24px;
    }

    .gallery-quote-box h2 {
        font-size: 28px;
    }
}