
/* =========================================
   CONTACT PAGE — MOHAMMAD MUSHIR
   Premium Navy, Cream & Gold Theme
========================================= */

:root {
    --navy: #101d32;
    --navy-light: #1b2b43;
    --cream: #f8f6f0;
    --white: #ffffff;
    --gold: #c6a66b;
    --gold-dark: #a8894e;
    --text: #172235;
    --muted: #697386;
    --border: #e5e1d8;
    --success: #28784a;
    --danger: #b42318;
    --shadow: 0 24px 70px rgba(16, 29, 50, 0.08);
}

/* RESET */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: "DM Sans", sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

button,
a,
input,
select,
textarea {
    -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgba(198, 166, 107, 0.65);
    outline-offset: 4px;
}

button {
    cursor: pointer;
}

img {
    display: block;
    max-width: 100%;
}

.container {
    width: min(1180px, calc(100% - 48px));
    margin-inline: auto;
}


/* =========================================
   HEADER
========================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(229, 225, 216, 0.8);
    backdrop-filter: blur(16px);
}

.header-inner {
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    flex-shrink: 0;
}

.brand-mark {
    width: 45px;
    height: 45px;
    display: grid;
    place-items: center;
    background: var(--navy);
    color: var(--gold);
    font-family: "Playfair Display", serif;
    font-size: 27px;
    border: 1px solid rgba(198, 166, 107, 0.7);
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.5;
}

.brand-text strong {
    color: var(--navy);
    font-size: 12px;
    letter-spacing: 1.4px;
}

.brand-text small {
    color: var(--muted);
    font-size: 9px;
    letter-spacing: 2px;
    margin-top: 2px;
}

.primary-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.primary-nav a {
    position: relative;
    color: #586174;
    font-size: 12px;
    font-weight: 600;
    transition: color 0.25s ease;
}

.primary-nav a:hover,
.primary-nav a.active {
    color: var(--navy);
}

.primary-nav a:not(.nav-contact)::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -7px;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.25s ease;
}

.primary-nav a:not(.nav-contact):hover::after,
.primary-nav a:not(.nav-contact).active::after {
    width: 100%;
}

.primary-nav .nav-contact {
    padding: 12px 19px;
    background: var(--navy);
    color: var(--white);
    border: 1px solid var(--navy);
    transition:
        background 0.25s ease,
        color 0.25s ease;
}

.primary-nav .nav-contact:hover,
.primary-nav .nav-contact.active {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--navy);
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    background: transparent;
    border: 1px solid var(--border);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle span {
    width: 19px;
    height: 2px;
    background: var(--navy);
    transition:
        transform 0.25s ease,
        opacity 0.25s ease;
}

.menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-7px) rotate(-45deg);
}


/* =========================================
   SHARED LABELS
========================================= */

.eyebrow,
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--gold-dark);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2.5px;
}

.eyebrow-line {
    width: 34px;
    height: 1px;
    background: var(--gold);
}


/* =========================================
   CONTACT HERO
========================================= */

.contact-hero {
    position: relative;
    overflow: hidden;
    padding: 105px 0 100px;
    background:
        radial-gradient(
            circle at 86% 18%,
            rgba(198, 166, 107, 0.13),
            transparent 27%
        ),
        var(--navy);
    color: var(--white);
}

.contact-hero::before {
    content: "";
    position: absolute;
    top: -150px;
    right: -100px;
    width: 460px;
    height: 460px;
    border: 1px solid rgba(198, 166, 107, 0.15);
    border-radius: 50%;
    pointer-events: none;
}

.contact-hero::after {
    content: "";
    position: absolute;
    top: -80px;
    right: -30px;
    width: 320px;
    height: 320px;
    border: 1px solid rgba(198, 166, 107, 0.12);
    border-radius: 50%;
    pointer-events: none;
}

.contact-hero .container {
    position: relative;
    z-index: 1;
}

.contact-hero .eyebrow {
    margin-bottom: 27px;
}

.contact-hero h1 {
    max-width: 850px;
    font-family: "Playfair Display", serif;
    font-size: clamp(42px, 6vw, 76px);
    font-weight: 500;
    line-height: 1.12;
    letter-spacing: -1.5px;
}

.contact-hero h1 span {
    color: var(--gold);
    font-style: italic;
}

.hero-description {
    max-width: 560px;
    margin-top: 25px;
    color: #c3cad5;
    font-size: 15px;
    line-height: 1.9;
}

.hero-note {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-top: 35px;
    color: #e0e3e9;
    font-size: 11px;
    letter-spacing: 0.3px;
}

.note-dot {
    width: 7px;
    height: 7px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 0 5px rgba(198, 166, 107, 0.12);
}


/* =========================================
   CONTACT LAYOUT
========================================= */

.contact-section {
    padding: 105px 0 115px;
    background: var(--cream);
}

.contact-layout {
    display: grid;
    grid-template-columns: 0.82fr 1.18fr;
    align-items: start;
    gap: 75px;
}


/* LEFT SIDEBAR */

.contact-sidebar {
    padding-top: 17px;
}

.contact-sidebar .section-label,
.form-heading .section-label {
    margin-bottom: 20px;
}

.contact-sidebar h2,
.form-heading h2,
.contact-closing h2 {
    font-family: "Playfair Display", serif;
    font-weight: 500;
    letter-spacing: -0.7px;
}

.contact-sidebar h2 {
    font-size: clamp(34px, 4vw, 48px);
    line-height: 1.22;
}

.contact-sidebar h2 span,
.contact-closing h2 span {
    color: var(--gold-dark);
    font-style: italic;
}

.contact-sidebar > p {
    margin-top: 22px;
    color: var(--muted);
    font-size: 13px;
    line-height: 2;
}

.contact-divider {
    height: 1px;
    margin: 35px 0;
    background: var(--border);
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 17px;
    margin-bottom: 29px;
}

.detail-number {
    display: grid;
    place-items: center;
    width: 37px;
    height: 37px;
    flex-shrink: 0;
    border: 1px solid rgba(198, 166, 107, 0.65);
    color: var(--gold-dark);
    font-family: "Playfair Display", serif;
    font-size: 13px;
}

.contact-detail h3 {
    color: var(--navy);
    font-size: 13px;
    font-weight: 700;
}

.contact-detail p {
    margin-top: 5px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.8;
}

.sidebar-bottom {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 39px;
}

.sidebar-bottom-line {
    width: 27px;
    height: 2px;
    flex-shrink: 0;
    background: var(--gold);
}

.sidebar-bottom p {
    color: var(--muted);
    font-family: "Playfair Display", serif;
    font-size: 13px;
    font-style: italic;
}


/* =========================================
   CONTACT FORM CARD
========================================= */

.contact-form-card {
    padding: 45px;
    background: var(--white);
    border: 1px solid rgba(229, 225, 216, 0.85);
    box-shadow: var(--shadow);
}

.form-heading {
    margin-bottom: 34px;
}

.form-heading h2 {
    color: var(--navy);
    font-size: 34px;
    line-height: 1.3;
}

.form-heading > p {
    margin-top: 10px;
    color: var(--muted);
    font-size: 12px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin-bottom: 22px;
}

.form-group label {
    color: var(--navy);
    font-size: 11px;
    font-weight: 700;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    min-width: 0;
    border: 1px solid var(--border);
    border-radius: 0;
    outline: none;
    background: #fdfcf9;
    color: var(--text);
    font-size: 12px;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.form-group input,
.form-group select {
    min-height: 50px;
    padding: 0 15px;
}

.form-group textarea {
    min-height: 150px;
    padding: 14px 15px;
    resize: vertical;
    line-height: 1.8;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #9ba2ad;
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: #c7c0b3;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--gold-dark);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(198, 166, 107, 0.12);
}

.form-group input:invalid:not(:placeholder-shown) {
    border-color: #d88b85;
}

.form-consent {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin: 0 0 26px;
}

.consent-mark {
    display: grid;
    place-items: center;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    background: #f3eee3;
    color: var(--gold-dark);
    font-size: 12px;
    font-weight: 700;
}

.form-consent p {
    color: var(--muted);
    font-size: 10px;
    line-height: 1.8;
}

.submit-button {
    width: 100%;
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 0 22px;
    border: 1px solid var(--navy);
    background: var(--navy);
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease;
}

.submit-button:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--navy);
}

.button-arrow {
    font-size: 20px;
    font-weight: 400;
    transition: transform 0.25s ease;
}

.submit-button:hover .button-arrow {
    transform: translate(3px, -3px);
}

.form-status {
    display: none;
    margin-top: 18px;
    padding: 13px 15px;
    border-left: 3px solid var(--gold);
    background: #f8f4e9;
    color: var(--navy);
    font-size: 12px;
    line-height: 1.7;
}

.form-status.is-visible {
    display: block;
}

.form-status.is-error {
    border-left-color: var(--danger);
    background: #fff2f0;
    color: var(--danger);
}

.form-disclaimer {
    margin-top: 15px;
    color: #89909c;
    font-size: 10px;
    line-height: 1.8;
}


/* =========================================
   CLOSING SECTION
========================================= */

.contact-closing {
    padding: 72px 0;
    background: var(--white);
}

.closing-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
}

.contact-closing .section-label {
    margin-bottom: 14px;
}

.contact-closing h2 {
    font-size: clamp(32px, 4vw, 47px);
    line-height: 1.25;
}

.closing-link {
    display: inline-flex;
    align-items: center;
    gap: 25px;
    padding: 17px 22px;
    border: 1px solid var(--border);
    color: var(--navy);
    font-size: 12px;
    font-weight: 700;
    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease;
}

.closing-link span {
    color: var(--gold-dark);
    font-size: 19px;
    transition: transform 0.25s ease;
}

.closing-link:hover {
    background: var(--navy);
    border-color: var(--navy);
    color: var(--white);
}

.closing-link:hover span {
    color: var(--gold);
    transform: translate(3px, -3px);
}


/* =========================================
   FOOTER
========================================= */

.site-footer {
    background: #0b1525;
    color: var(--white);
}

.footer-main {
    min-height: 125px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 13px;
}

.footer-brand-mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid var(--gold);
    color: var(--gold);
    font-family: "Playfair Display", serif;
    font-size: 24px;
}

.footer-brand > span:last-child {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer-brand strong {
    font-size: 11px;
    letter-spacing: 1.2px;
}

.footer-brand small {
    color: #a7afbd;
    font-size: 10px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}

.footer-links a,
.back-to-top {
    color: #b6bdc9;
    font-size: 11px;
    transition: color 0.2s ease;
}

.footer-links a:hover,
.back-to-top:hover {
    color: var(--gold);
}

.footer-bottom {
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer-bottom p {
    color: #929cad;
    font-size: 10px;
}

.powered-by a {
    color: var(--gold);
    font-weight: 700;
}

.powered-by a:hover {
    text-decoration: underline;
}


/* =========================================
   RESPONSIVE — TABLETS
========================================= */

@media (max-width: 1024px) {
    .primary-nav {
        gap: 18px;
    }

    .primary-nav a {
        font-size: 11px;
    }

    .contact-layout {
        grid-template-columns: 0.8fr 1.2fr;
        gap: 40px;
    }

    .contact-form-card {
        padding: 32px;
    }

    .footer-links {
        gap: 15px;
    }
}


/* =========================================
   RESPONSIVE — MOBILE NAVIGATION
========================================= */

@media (max-width: 760px) {
    .container {
        width: min(100% - 36px, 560px);
    }

    .header-inner {
        min-height: 76px;
    }

    .brand-mark {
        width: 40px;
        height: 40px;
        font-size: 24px;
    }

    .brand-text strong {
        font-size: 10px;
        letter-spacing: 1px;
    }

    .brand-text small {
        font-size: 8px;
        letter-spacing: 1.5px;
    }

    .menu-toggle {
        display: flex;
        position: relative;
        z-index: 1002;
    }

    .primary-nav {
        position: fixed;
        inset: 76px 0 0;
        z-index: 1001;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        padding: 25px 24px 40px;
        background: var(--white);
        overflow-y: auto;
        visibility: hidden;
        opacity: 0;
        transform: translateY(-10px);
        transition:
            opacity 0.25s ease,
            transform 0.25s ease,
            visibility 0.25s ease;
    }

    .primary-nav.is-open {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
    }

    .primary-nav a {
        padding: 17px 5px;
        border-bottom: 1px solid var(--border);
        color: var(--navy);
        font-size: 14px;
    }

    .primary-nav a:not(.nav-contact)::after {
        display: none;
    }

    .primary-nav .nav-contact {
        margin-top: 20px;
        padding: 15px 18px;
        text-align: center;
    }

    .contact-hero {
        padding: 78px 0 75px;
    }

    .contact-hero h1 {
        font-size: clamp(40px, 10vw, 60px);
        letter-spacing: -1px;
    }

    .hero-description {
        font-size: 14px;
    }

    .contact-section {
        padding: 70px 0 80px;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .contact-sidebar {
        padding-top: 0;
    }

    .contact-sidebar h2 {
        font-size: 39px;
    }

    .contact-divider {
        margin: 28px 0;
    }

    .contact-detail {
        margin-bottom: 23px;
    }

    .sidebar-bottom {
        margin-top: 28px;
    }

    .contact-form-card {
        padding: 30px 23px;
    }

    .form-heading h2 {
        font-size: 30px;
    }

    .contact-closing {
        padding: 60px 0;
    }

    .closing-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 25px;
    }

    .contact-closing h2 {
        font-size: 38px;
    }

    .footer-main {
        align-items: flex-start;
        flex-direction: column;
        padding: 35px 0;
        gap: 27px;
    }

    .footer-links {
        justify-content: flex-start;
        gap: 15px 22px;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        padding: 20px 0;
        gap: 10px;
    }
}


/* =========================================
   RESPONSIVE — SMALL MOBILE
========================================= */

@media (max-width: 480px) {
    .container {
        width: calc(100% - 30px);
    }

    .contact-hero {
        padding: 65px 0;
    }

    .contact-hero h1 {
        font-size: 39px;
    }

    .eyebrow,
    .section-label {
        font-size: 9px;
        letter-spacing: 2px;
    }

    .hero-note {
        align-items: flex-start;
        font-size: 10px;
        line-height: 1.8;
    }

    .contact-sidebar h2 {
        font-size: 34px;
    }

    .contact-form-card {
        padding: 26px 18px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .form-group {
        margin-bottom: 19px;
    }

    .form-heading h2 {
        font-size: 28px;
    }

    .contact-closing h2 {
        font-size: 33px;
    }

    .closing-link {
        width: 100%;
        justify-content: space-between;
    }

    .footer-links {
        gap: 14px 18px;
    }
}


/* =========================================
   ACCESSIBILITY
========================================= */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
