
/* =========================================================
   AGBOR KINGDOM
   CONTACT PAGE
   ========================================================= */


/* =========================================================
   ROOT
   ========================================================= */

.contact-page {
    --contact-gold: #c8a45d;
    --contact-gold-light: #e4c77f;
    --contact-deep: #080d18;
    --contact-navy: #0d1627;
    --contact-navy-light: #142139;
    --contact-cream: #f7f2e7;
    --contact-white: #ffffff;
    --contact-text: #252525;
    --contact-muted: #707070;
}


/* =========================================================
   CONTAINER
   ========================================================= */

.contact-container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}


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

.contact-hero {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 50% 30%,
            rgba(200, 164, 93, 0.18),
            transparent 40%
        ),
        linear-gradient(
            135deg,
            #080d18,
            #101c32 55%,
            #080d18
        );
}

.contact-hero::before,
.contact-hero::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(200, 164, 93, 0.22);
    border-radius: 50%;
    pointer-events: none;
}

.contact-hero::before {
    width: 520px;
    height: 520px;
}

.contact-hero::after {
    width: 700px;
    height: 700px;
}

.contact-hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(5, 9, 18, 0.9),
            rgba(5, 9, 18, 0.35),
            rgba(5, 9, 18, 0.9)
        );
}

.contact-hero-inner {
    position: relative;
    z-index: 2;

    width: min(850px, 90%);
    text-align: center;
    color: #fff;

    animation: contactHeroReveal 1s ease both;
}

.contact-eyebrow {
    display: block;

    margin-bottom: 18px;

    color: var(--contact-gold-light);

    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.3em;
}

.contact-royal-line {
    width: 90px;
    height: 2px;

    margin: 0 auto 24px;

    background:
        linear-gradient(
            90deg,
            transparent,
            var(--contact-gold),
            transparent
        );
}

.contact-hero h1 {
    margin: 0;

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

    font-size: clamp(2.7rem, 6vw, 5.4rem);
    line-height: 1.05;
    font-weight: 500;
    letter-spacing: -0.03em;
}

.contact-hero p {
    max-width: 700px;

    margin: 25px auto 0;

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

    font-size: 1.05rem;
    line-height: 1.9;
}


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

.contact-introduction {
    padding: 90px 0 60px;

    background: var(--contact-cream);
}

.contact-section-heading {
    max-width: 800px;
    margin: 0 auto;

    text-align: center;
}

.section-label {
    display: inline-block;

    margin-bottom: 15px;

    color: #9b7833;

    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.2em;
}

.contact-section-heading h2,
.contact-form-intro h2 {
    margin: 0;

    color: var(--contact-deep);

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

    font-size: clamp(2rem, 4vw, 3.3rem);
    font-weight: 500;
}

.contact-section-heading p {
    max-width: 720px;

    margin: 22px auto 0;

    color: var(--contact-muted);

    font-size: 1rem;
    line-height: 1.9;
}


/* =========================================================
   CONTACT CARDS
   ========================================================= */

.contact-information {
    padding: 40px 0 100px;

    background: var(--contact-cream);
}

.contact-cards {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 20px;
}

.contact-card {
    position: relative;

    padding: 38px 28px;

    min-height: 330px;

    overflow: hidden;

    background: #fff;

    border: 1px solid rgba(200, 164, 93, 0.18);

    box-shadow:
        0 15px 45px rgba(8, 13, 24, 0.08);

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

.contact-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 3px;

    background:
        linear-gradient(
            90deg,
            transparent,
            var(--contact-gold),
            transparent
        );
}

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

    border-color:
        rgba(200, 164, 93, 0.55);

    box-shadow:
        0 22px 55px rgba(8, 13, 24, 0.14);
}

.contact-card-icon {
    width: 58px;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 24px;

    color: var(--contact-gold);

    font-size: 1.7rem;

    border:
        1px solid
        rgba(200, 164, 93, 0.5);

    background:
        rgba(200, 164, 93, 0.08);

    border-radius: 50%;
}

.contact-card-label {
    display: block;

    margin-bottom: 10px;

    color: #9b7833;

    font-size: 0.67rem;
    font-weight: 800;
    letter-spacing: 0.16em;
}

.contact-card h3 {
    margin: 0 0 15px;

    color: var(--contact-deep);

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

    font-size: 1.45rem;
    font-weight: 500;
}

.contact-card p {
    margin: 0;

    color: #686868;

    font-size: 0.92rem;
    line-height: 1.75;
}

.contact-card-note {
    position: absolute;

    bottom: 28px;
    left: 28px;

    color: #9b7833;

    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}


/* =========================================================
   FORM SECTION
   ========================================================= */

.contact-form-section {
    padding: 110px 0;

    background:
        linear-gradient(
            135deg,
            #0a101d,
            #101c31
        );
}

.contact-form-layout {
    display: grid;

    grid-template-columns:
        0.8fr 1.2fr;

    gap: 70px;

    align-items: start;
}

.contact-form-intro {
    color: #fff;

    padding-top: 30px;
}

.contact-form-intro .section-label {
    color: var(--contact-gold-light);
}

.contact-form-intro h2 {
    color: #fff;
}

.contact-form-intro > p {
    max-width: 460px;

    margin-top: 22px;

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

    line-height: 1.9;
}

.contact-form-decoration {
    display: flex;

    align-items: center;

    gap: 12px;

    width: 170px;

    margin: 32px 0;
}

.contact-form-decoration span {
    flex: 1;

    height: 1px;

    background:
        rgba(200, 164, 93, 0.5);
}

.contact-form-decoration strong {
    color: var(--contact-gold);

    font-size: 0.9rem;
}

.contact-form-note {
    font-size: 0.83rem !important;

    color:
        rgba(255, 255, 255, 0.48) !important;
}


/* =========================================================
   FORM WRAPPER
   ========================================================= */

.contact-form-wrapper {
    padding: 42px;

    background: #fff;

    border:
        1px solid
        rgba(200, 164, 93, 0.35);

    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.25);
}

.contact-form-row {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 22px;
}

.contact-field {
    margin-bottom: 22px;
}

.contact-field label {
    display: block;

    margin-bottom: 8px;

    color: #303030;

    font-size: 0.8rem;
    font-weight: 700;
}

.contact-field input,
.contact-field textarea {
    width: 100%;

    box-sizing: border-box;

    padding: 14px 15px;

    color: #222;

    font-family: inherit;
    font-size: 0.92rem;

    background: #faf9f6;

    border:
        1px solid
        #dedbd3;

    outline: none;

    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.contact-field textarea {
    resize: vertical;

    min-height: 170px;
}

.contact-field input:focus,
.contact-field textarea:focus {
    background: #fff;

    border-color:
        var(--contact-gold);

    box-shadow:
        0 0 0 3px
        rgba(200, 164, 93, 0.12);
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
    color: #aaa;
}

.contact-error {
    display: block;

    min-height: 17px;

    margin-top: 5px;

    color: #a33d3d;

    font-size: 0.72rem;
}


/* =========================================================
   FORM MESSAGE
   ========================================================= */

.contact-form-message {
    display: none;

    padding: 13px 15px;

    margin-bottom: 20px;

    font-size: 0.85rem;
    line-height: 1.5;
}

.contact-form-message.success {
    display: block;

    color: #245b38;

    background: #edf7ef;

    border:
        1px solid
        #b9dec2;
}

.contact-form-message.error {
    display: block;

    color: #7b2f2f;

    background: #fbeded;

    border:
        1px solid
        #e5bbbb;
}


/* =========================================================
   FORM FOOTER
   ========================================================= */

.contact-form-footer {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 25px;

    padding-top: 10px;
}

.contact-form-footer p {
    max-width: 330px;

    margin: 0;

    color: #8a8a8a;

    font-size: 0.72rem;
    line-height: 1.6;
}

.contact-submit-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 25px;

    min-width: 180px;

    padding: 15px 20px;

    color: #fff;

    background:
        linear-gradient(
            135deg,
            #a47b2e,
            #d2ad5c
        );

    border: none;

    cursor: pointer;

    font-family: inherit;

    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.04em;

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

.contact-submit-button:hover {
    transform: translateY(-2px);

    box-shadow:
        0 10px 25px
        rgba(164, 123, 46, 0.28);
}

.contact-submit-button strong {
    font-size: 1.1rem;

    transition:
        transform 0.25s ease;
}

.contact-submit-button:hover strong {
    transform: translateX(4px);
}

.contact-submit-button.loading {
    opacity: 0.65;

    cursor: wait;
}


/* =========================================================
   CLOSING SECTION
   ========================================================= */

.contact-closing {
    padding: 100px 0;

    background: var(--contact-cream);
}

.contact-closing-card {
    position: relative;

    max-width: 850px;

    margin: 0 auto;

    padding: 65px 50px;

    text-align: center;

    background:
        linear-gradient(
            135deg,
            #101a2d,
            #080e1a
        );

    color: #fff;

    border:
        1px solid
        rgba(200, 164, 93, 0.4);

    box-shadow:
        0 25px 70px
        rgba(8, 13, 24, 0.16);
}

.contact-closing-symbol {
    color: var(--contact-gold);

    font-size: 1.5rem;

    margin-bottom: 20px;
}

.contact-closing-card > span {
    display: block;

    color: var(--contact-gold-light);

    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.22em;
}

.contact-closing-card h2 {
    margin: 17px 0;

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

    font-size: clamp(1.8rem, 4vw, 3rem);

    font-weight: 500;
}

.contact-closing-card p {
    max-width: 650px;

    margin: 0 auto;

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

    line-height: 1.85;
}


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

@keyframes contactHeroReveal {

    from {
        opacity: 0;

        transform:
            translateY(25px);
    }

    to {
        opacity: 1;

        transform:
            translateY(0);
    }
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1050px) {

    .contact-cards {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .contact-form-layout {
        grid-template-columns:
            1fr;

        gap: 40px;
    }

    .contact-form-intro {
        padding-top: 0;

        text-align: center;
    }

    .contact-form-intro > p {
        margin-left: auto;
        margin-right: auto;
    }

    .contact-form-decoration {
        margin-left: auto;
        margin-right: auto;
    }

}


@media (max-width: 700px) {

    .contact-container {
        width:
            min(100% - 28px, 1180px);
    }

    .contact-hero {
        min-height: 440px;
    }

    .contact-eyebrow {
        font-size: 0.65rem;

        letter-spacing: 0.2em;
    }

    .contact-hero p {
        font-size: 0.92rem;

        line-height: 1.75;
    }

    .contact-introduction {
        padding-top: 65px;
    }

    .contact-information {
        padding-bottom: 70px;
    }

    .contact-cards {
        grid-template-columns: 1fr;
    }

    .contact-card {
        min-height: auto;

        padding-bottom: 75px;
    }

    .contact-form-section {
        padding: 75px 0;
    }

    .contact-form-wrapper {
        padding: 25px 20px;
    }

    .contact-form-row {
        grid-template-columns: 1fr;

        gap: 0;
    }

    .contact-form-footer {
        align-items: stretch;

        flex-direction: column;
    }

    .contact-form-footer p {
        max-width: none;
    }

    .contact-submit-button {
        width: 100%;
    }

    .contact-closing {
        padding: 70px 0;
    }

    .contact-closing-card {
        padding: 45px 25px;
    }

}


@media (prefers-reduced-motion: reduce) {

    .contact-hero-inner,
    .contact-card,
    .contact-submit-button {
        animation: none;
        transition: none;
    }

}

