/* =========================================
   AGBOR MONARCHS HERO
========================================= */

.monarchs-hero {
    position: relative;

    min-height: 560px;

    display: flex;
    align-items: center;
    

    background-color: var(--royal-primary);

    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;

    overflow: hidden;
}


/* =========================================
   DARK OVERLAY
========================================= */

.monarchs-hero-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(20, 15, 10, 0.78),
            rgba(20, 15, 10, 0.50)
        );

    z-index: 1;
}


/* =========================================
   HERO CONTENT
========================================= */

.monarchs-hero .section-container {
    position: relative;

    z-index: 2;

    width: 100%;
}


.monarchs-hero-content {

    max-width: 800px;

    padding: 100px 0;

    color: white;
    text-align: center;

    animation:
        monarchHeroIn 0.9s ease both;
}


.monarchs-hero-content .section-label {
    color: var(--royal-gold);
}


.monarchs-hero-content h1 {

    margin: 15px 0;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(42px, 7vw, 74px);

    line-height: 1.05;
}


.monarchs-hero-content p {

    max-width: 650px;

    margin: 0;

    color: rgba(255, 255, 255, 0.88);

    font-size: 18px;

    line-height: 1.8;
}


/* =========================================
   HERO ANIMATION
========================================= */

@keyframes monarchHeroIn {

    from {

        opacity: 0;

        transform:
            translateY(30px);
    }

    to {

        opacity: 1;

        transform:
            translateY(0);
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 650px) {

    .monarchs-hero {

        min-height: 500px;
    }


    .monarchs-hero-content {

        padding: 80px 0;
    }


    .monarchs-hero-content h1 {

        font-size: 42px;
    }


    .monarchs-hero-content p {

        font-size: 16px;
    }

}


/* =========================================
   INTRODUCTION
========================================= */

.monarchs-introduction {
    padding: 100px 0;
}


.monarchs-heading {
    max-width: 750px;

    margin: 0 auto 55px;

    text-align: center;
}


.monarchs-heading h2 {
    margin: 15px 0;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: clamp(34px, 5vw, 54px);

    line-height: 1.15;

    color: var(--royal-primary);
}


.monarchs-heading p {
    color: #666;

    line-height: 1.8;
}


/* =========================================
   MONARCH GRID
========================================= */

.monarchs-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 28px;
}


/* =========================================
   MONARCH CARD
========================================= */

.monarch-card {
    overflow: hidden;

    background: white;

    border:
        1px solid
        rgba(0, 0, 0, 0.08);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}


.monarch-card:hover {
    transform: translateY(-8px);

    box-shadow:
        0 20px 45px
        rgba(0, 0, 0, 0.12);
}


/* =========================================
   MONARCH IMAGE
========================================= */

.monarch-image {
    position: relative;

    height: 360px;

    overflow: hidden;

    background: #eee;
}


.monarch-image img {
    width: 100%;

    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform 0.5s ease;
}


.monarch-card:hover
.monarch-image img {
    transform: scale(1.04);
}


.monarch-number {
    position: absolute;

    top: 18px;

    left: 18px;

    display: flex;

    align-items: center;

    justify-content: center;

    width: 45px;

    height: 45px;

    background: var(--royal-primary);

    color: white;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 1px;
}


/* =========================================
   MONARCH CONTENT
========================================= */

.monarch-content {
    padding: 28px;
}


.monarch-label {
    color: var(--royal-gold);

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1.8px;
}


.monarch-content h3 {
    margin: 10px 0 5px;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 26px;

    color: var(--royal-primary);
}


.monarch-period {
    display: block;

    margin-bottom: 16px;

    color: #888;

    font-size: 13px;
}


.monarch-content p {
    margin: 0;

    color: #666;

    font-size: 15px;

    line-height: 1.8;
}


/* =========================================
   ROYAL LEGACY
========================================= */

.monarchs-legacy {
    padding: 100px 0;

    background: #f7f5f0;
}


.monarchs-legacy-grid {
    display: grid;

    grid-template-columns:
        1.4fr 0.6fr;

    gap: 60px;

    align-items: center;
}


.monarchs-legacy-content h2 {
    margin: 15px 0 25px;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: clamp(34px, 4vw, 52px);

    line-height: 1.15;

    color: var(--royal-primary);
}


.monarchs-legacy-content p {
    max-width: 700px;

    color: #555;

    line-height: 1.9;
}


.monarchs-legacy-stat {
    min-height: 250px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    background: var(--royal-primary);

    color: white;

    text-align: center;
}


.monarchs-legacy-stat strong {
    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 42px;
}


.monarchs-legacy-stat span {
    margin-top: 8px;

    color: var(--royal-gold);

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 2px;
}


/* =========================================
   ANIMATION
========================================= */

@keyframes monarchHeroIn {

    from {
        opacity: 0;

        transform:
            translateY(30px);
    }

    to {
        opacity: 1;

        transform:
            translateY(0);
    }

}


/* =========================================
   TABLET
========================================= */

@media (max-width: 950px) {

    .monarchs-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    .monarchs-legacy-grid {
        grid-template-columns: 1fr;
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 650px) {

    .monarchs-hero {
        min-height: 430px;
    }


    .monarchs-hero-content {
        padding: 75px 0;
    }


    .monarchs-hero-content h1 {
        font-size: 42px;
    }


    .monarchs-hero-content p {
        font-size: 16px;
    }


    .monarchs-introduction,
    .monarchs-legacy {
        padding: 70px 0;
    }


    .monarchs-grid {
        grid-template-columns: 1fr;
    }


    .monarch-image {
        height: 390px;
    }


    .monarchs-legacy-stat {
        min-height: 200px;
    }

}