/* * * * * * * * * * * * * * * * * *\
/*         SHARED PAGE STYLES      *|
\* * * * * * * * * * * * * * * * * */

/* Page Hero (inner pages) */
.fm-page-hero {
    position: relative;
    height: 360px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.fm-page-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.fm-page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(19, 22, 21, 0.65) 0%, rgba(19, 22, 21, 0.15) 100%);
    display: flex;
    align-items: center;
    padding: 2rem 3rem;
}

.fm-page-hero-content {
    color: var(--fm-white);
}

.fm-page-hero-content .fm-title {
    color: var(--fm-white);
    margin-bottom: 0.75rem;
}

.fm-page-hero-content .fm-title::before,
.fm-page-hero-content .fm-title::after {
    border-color: var(--fm-secondary-color);
}

.fm-page-hero-content p {
    max-width: 480px;
    opacity: 0.9;
    line-height: 1.7;
    margin-bottom: 0;
}

/* Section */
.fm-section {
    padding: 2rem 0;
}

.fm-section-intro {
    max-width: 680px;
    margin: 0 auto 3.5rem;
    text-align: center;
    color: #555;
    line-height: 1.8;
    font-size: 1.05rem;
}

/* CTA Banner */
.fm-cta-banner {
    background: linear-gradient(135deg, var(--fm-primary-color) 0%, #4d6b73 100%);
    border-radius: 12px;
    padding: 3.5rem 2rem;
    text-align: center;
    color: var(--fm-white);
    margin: 3rem 0 1rem;
}

.fm-cta-banner h2 {
    color: var(--fm-white);
    margin-bottom: 1rem;
}

.fm-cta-banner p {
    opacity: 0.88;
    max-width: 500px;
    margin: 0 auto 2rem;
}

.fm-cta-banner .fm-btn {
    --fm-btn-color: var(--fm-white);
    --fm-btn-bg-color: transparent;
    border-color: var(--fm-white);
}

.fm-cta-banner .fm-btn:hover {
    --fm-btn-bg-color: var(--fm-white);
    --fm-btn-color: var(--fm-primary-color);
}

/* Photo gallery */
.fm-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    margin: 3rem 0;
}

.fm-gallery-item {
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.fm-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.fm-gallery-item:hover img {
    transform: scale(1.05);
}

@media screen and (max-width: 767px) {
    .fm-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Coming soon block */
.fm-coming-soon {
    padding: 4rem 1rem;
    max-width: 560px;
    margin: 0 auto;
}

.fm-coming-soon .fm-title {
    margin-bottom: 1rem;
}

.fm-coming-soon .fm-section-intro {
    margin-bottom: 2rem;
}

@media screen and (max-width: 767px) {
    .fm-page-hero {
        height: 220px;
    }

    .fm-page-hero-overlay {
        padding: 1.5rem;
    }
}
