/* ================================================================
   CATALOGUE GALLERY PAGE — page-specific styles
   Only loaded on this gallery page. Uses the shared color variables
   already defined in theme-style.css.
   ================================================================ */

#catalogue_gallery_page {
    background: transparent;
}

/* ---------- Left intro panel ---------- */
#catalogue_gallery_page .gallery-intro-card {
    background: linear-gradient(160deg, #fff 0%, rgba(242, 221, 154, 0.25) 100%);
    border: 1px solid rgba(217, 181, 102, 0.35);
    border-radius: 20px;
    padding: 36px 32px;
    box-shadow: 0 20px 40px rgba(14, 25, 50, 0.10);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

#catalogue_gallery_page .gallery-intro-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--mg-gold-2), var(--mg-gold-3), var(--mg-gold-2), transparent);
    background-size: 200% 100%;
    animation: mg-shimmer 6s linear infinite;
}

#catalogue_gallery_page .gallery-intro-card h4 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
    color: var(--mg-ink);
    font-size: 1.6rem;
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 14px;
}

#catalogue_gallery_page .gallery-intro-card h4::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--mg-gold-2), var(--mg-gold-3));
}

#catalogue_gallery_page .gallery-intro-card p {
    color: #6c757d;
    line-height: 1.8;
    flex-grow: 1;
}

#catalogue_gallery_page .gallery-explore-btn {
    align-self: flex-start;
    border: 2px solid var(--mg-gold-2);
    color: var(--mg-gold-2);
    background: transparent;
    border-radius: 30px;
    padding: 10px 26px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.35s ease;
}

#catalogue_gallery_page .gallery-explore-btn:hover {
    background: linear-gradient(120deg, var(--mg-gold-2), var(--mg-gold-3));
    color: var(--mg-ink) !important;
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(212, 175, 55, 0.35);
}

/* ---------- Image grid (2 columns) ---------- */
#catalogue_gallery_page .gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(217, 181, 102, 0.35);
    box-shadow: 0 12px 26px rgba(14, 25, 50, 0.10);
    transition: transform 0.4s cubic-bezier(.22, .9, .32, 1), box-shadow 0.4s ease;
    aspect-ratio: 4 / 3;
}

#catalogue_gallery_page .gallery-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 34px rgba(212, 175, 55, 0.25);
}

#catalogue_gallery_page .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(.22, .9, .32, 1);
}

#catalogue_gallery_page .gallery-item:hover img {
    transform: scale(1.08);
}

#catalogue_gallery_page .gallery-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 14px 16px 12px;
    background: linear-gradient(0deg, rgba(10, 18, 35, 0.75) 0%, transparent 100%);
}

#catalogue_gallery_page .gallery-caption h6 {
    color: #fff;
    font-weight: 700;
    margin: 0;
    font-size: 0.95rem;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

@media (max-width: 991.98px) {
    #catalogue_gallery_page .gallery-intro-card {
        margin-bottom: 20px;
    }
}

@media (max-width: 767.98px) {
    #catalogue_gallery_page .gallery-intro-card {
        padding: 26px 22px;
        border-radius: 16px;
    }
    #catalogue_gallery_page .gallery-item {
        border-radius: 12px;
    }
}