/* ============================================================
   CONTACT PAGE
============================================================ */

.contact-page {
    position: relative;
    width: 100%;
    padding-bottom: 35px;

    background: var(--black);
    color: var(--white);

    overflow: hidden;
}


/* ============================================================
   HERO IMAGE
============================================================ */

.contact-hero {
    position: relative;
    width: 100%;
    height: 490px;

    overflow: hidden;

    border-radius: 0 0 38px 38px;
}


.contact-hero-image {
    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(
            rgba(0, 0, 0, 0.52),
            rgba(0, 0, 0, 0.52)
        ),
        url("../images/contact.png");

    background-size: cover;
    background-position: center 0%;
    background-repeat: no-repeat;

    filter: grayscale(100%);
}


/* ============================================================
   CONTACT CARD
============================================================ */

.contact-card {
    position: relative;

    width: min(970px, calc(100% - 48px));

    margin: -145px auto 0;

    min-height: 407px;

    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 28px;

    padding: 20px;

    background: rgba(105, 105, 105, 0.95);

    border-radius: 38px;

    z-index: 1;

    box-sizing: border-box;
}


/* ============================================================
   LEFT INFORMATION
============================================================ */

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    padding: 44px 15px 25px 15px;
}


/* Heading */

.contact-heading h1 {
    margin: 0;

    font-family: "Goudy Bookletter 1911", serif;

    font-size: clamp(30px, 3vw, 36px);

    line-height: 1.03;

    font-weight: 400;

    letter-spacing: 0.5px;

    color: #ffffff;
}


.contact-heading p {
    margin: 18px 0 0;

    font-family: "Urbanist", sans-serif;

    font-size: 21px;

    line-height: 1.25;

    font-weight: 500;

    color: #ffffff;
}


/* ============================================================
   CONTACT DETAILS
============================================================ */

.contact-details {
    display: grid;

    grid-template-columns: 1fr 1fr;

    column-gap: 35px;

    row-gap: 26px;

    margin-top: 25px;
}


.contact-detail-item {
    display: flex;
    flex-direction: column;

    gap: 5px;

    font-family: "Urbanist", sans-serif;

    font-size: 15px;

    line-height: 1.35;

    color: #ffffff;
}


.contact-label {
    font-size: 16px;

    font-weight: 600;
}


.contact-detail-item a {
    color: #ffffff;

    text-decoration: none;

    transition: opacity 0.3s ease;
}


.contact-detail-item a:hover {
    opacity: 0.65;
}


/* ============================================================
   SOCIAL ICONS
============================================================ */

.contact-socials {
    display: flex;

    align-items: center;

    gap: 10px;

    margin-top: 1px;
}


.contact-socials a {
    width: 16px;
    height: 16px;

    display: flex;

    align-items: center;
    justify-content: center;

    color: #ffffff;

    font-size: 13px;

    text-decoration: none;

    transition:
        transform 0.3s ease,
        opacity 0.3s ease;
}


.contact-socials a:hover {
    transform: translateY(-2px);

    opacity: 0.65;
}


/* ============================================================
   FORM BOX
============================================================ */

.contact-form-box {
    width: 100%;

    min-height: 365px;

    padding: 28px 30px 20px;

    box-sizing: border-box;

    background: #000000;

    border-radius: 30px;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.25);
}


/* ============================================================
   FORM
============================================================ */

.contact-form {
    width: 100%;

    height: 100%;

    display: flex;

    flex-direction: column;
}


/* ============================================================
   INPUTS
============================================================ */

.form-field {
    position: relative;

    width: 100%;
}


.form-field input {
    width: 100%;

    height: 60px;

    padding: 0 5px;

    box-sizing: border-box;

    border: 0;

    border-bottom: 1px solid rgba(255, 255, 255, 0.65);

    outline: none;

    background: transparent;

    color: #ffffff;

    font-family: "Urbanist", sans-serif;

    font-size: 15px;

    font-weight: 400;

    border-radius: 0;
}


.form-field input::placeholder {
    color: #ffffff;

    opacity: 1;
}


.form-field input:focus {
    border-bottom-color: #ffffff;
}


/* ============================================================
   MESSAGE
============================================================ */

.form-message {
    width: 100%;

    margin-top: 15px;
}


.form-message textarea {
    width: 100%;

    height: 92px;

    resize: none;

    box-sizing: border-box;

    padding: 15px;

    border: 0;

    outline: none;

    border-radius: 16px;

    background: #eeeeee;

    color: #111111;

    font-family: "Urbanist", sans-serif;

    font-size: 13px;

    line-height: 1.4;
}


.form-message textarea::placeholder {
    color: #555555;

    opacity: 1;
}


/* ============================================================
   SUBMIT BUTTON
============================================================ */

.contact-submit {
    width: fit-content;

    min-width: 187px;

    height: 45px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 15px;

    margin-top: 14px;

    padding: 0 20px;

    border: 0;

    border-radius: 50px;

    background: #ffffff;

    color: #111111;

    font-family: "Urbanist", sans-serif;

    font-size: 14px;

    font-weight: 700;

    cursor: pointer;

    transition:
        transform 0.3s ease,
        background 0.3s ease,
        color 0.3s ease;
}


.contact-submit:hover {
    transform: translateY(-2px);

    background: var(--red);

    color: #ffffff;
}


.submit-arrow {
    font-size: 17px;

    line-height: 1;
}


/* ============================================================
   LIGHT MODE
   Uses your existing body.light class
============================================================ */

body.light .contact-page {
    background: #ffffff;

    color: var(--light-text);
}


body.light .contact-hero-image {
    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.18),
            rgba(255, 255, 255, 0.18)
        ),
        url("../images/contact.png");
}


body.light .contact-card {
    background: rgba(238, 236, 234, 0.96);
}


body.light .contact-heading h1,
body.light .contact-heading p {
    color: #151313;
}


body.light .contact-detail-item {
    color: #151313;
}


body.light .contact-detail-item a {
    color: #151313;
}


body.light .contact-socials a {
    color: #151313;
}


body.light .contact-form-box {
    background: #ffffff;

    box-shadow:
        0 12px 35px rgba(0, 0, 0, 0.10);
}


body.light .form-field input {
    color: #151313;

    border-bottom-color: rgba(21, 19, 19, 0.45);
}


body.light .form-field input::placeholder {
    color: #151313;
}


body.light .form-field input:focus {
    border-bottom-color: #151313;
}


body.light .form-message textarea {
    background: #eeeeee;

    color: #151313;
}


body.light .contact-submit {
    background: #151313;

    color: #ffffff;
}


body.light .contact-submit:hover {
    background: var(--red);

    color: #ffffff;
}


/* ============================================================
   LARGE TABLET
============================================================ */

@media (max-width: 1100px) {

    .contact-hero {
        height: 450px;
    }

    .contact-card {
        width: min(820px, calc(100% - 40px));

        margin-top: -220px;

        padding: 18px;

        gap: 22px;
    }

    .contact-info {
        padding: 38px 12px 22px;
    }

    .contact-heading h1 {
        font-size: 29px;
    }

    .contact-heading p {
        font-size: 17px;
    }

}


/* ============================================================
   TABLET
============================================================ */

@media (max-width: 900px) {

    .contact-hero {
        height: 410px;
    }

    .contact-card {
        width: calc(100% - 40px);

        margin-top: -190px;

        grid-template-columns: 1fr 1fr;

        border-radius: 32px;
    }

    .contact-info {
        padding: 35px 12px 22px;
    }

    .contact-heading h1 {
        font-size: 26px;
    }

    .contact-heading p {
        font-size: 16px;
    }

    .contact-details {
        column-gap: 20px;

        row-gap: 20px;
    }

    .contact-form-box {
        padding: 25px 25px 20px;
    }

}


/* ============================================================
   MOBILE
============================================================ */

@media (max-width: 767px) {

    .contact-page {
        padding-bottom: 25px;
    }


    .contact-hero {
        height: 310px;

        border-radius: 0 0 25px 25px;
    }


    .contact-hero-image {
        background-position: center;
    }


    .contact-card {
        width: calc(100% - 28px);

        margin-top: -100px;

        display: flex;

        flex-direction: column;

        gap: 15px;

        padding: 15px;

        border-radius: 27px;
    }


    .contact-info {
        padding: 25px 15px 10px;
    }


    .contact-heading h1 {
        font-size: 29px;

        line-height: 1.05;
    }


    .contact-heading p {
        margin-top: 16px;

        font-size: 16px;
    }


    .desktop-break {
        display: none;
    }


    .contact-details {
        grid-template-columns: 1fr 1fr;

        margin-top: 30px;

        column-gap: 20px;

        row-gap: 24px;
    }


    .contact-detail-item {
        font-size: 12px;
    }


    .contact-label {
        font-size: 13px;
    }


    .contact-form-box {
        min-height: auto;

        padding: 20px 20px 22px;

        border-radius: 24px;
    }


    .form-field input {
        height: 57px;

        font-size: 14px;
    }


    .form-message {
        margin-top: 13px;
    }


    .form-message textarea {
        height: 82px;
    }


    .contact-submit {
        width: 100%;

        height: 48px;

        margin-top: 14px;
    }

}


/* ============================================================
   SMALL MOBILE
============================================================ */

@media (max-width: 480px) {

    .contact-hero {
        height: 260px;
    }


    .contact-card {
        width: calc(100% - 20px);

        margin-top: -75px;

        padding: 11px;

        border-radius: 24px;
    }


    .contact-info {
        padding: 23px 13px 10px;
    }


    .contact-heading h1 {
        font-size: 26px;
    }


    .contact-heading p {
        font-size: 15px;

        line-height: 1.3;
    }


    .contact-details {
        grid-template-columns: 1fr 1fr;

        row-gap: 20px;

        margin-top: 28px;
    }


    .contact-form-box {
        padding: 18px;

        border-radius: 21px;
    }


    .form-field input {
        height: 54px;
    }


    .form-message textarea {
        height: 72px;

        border-radius: 14px;
    }


    .contact-submit {
        font-size: 14px;
    }

}


/* ============================================================
   VERY SMALL DEVICES
============================================================ */

@media (max-width: 360px) {
	.contact-details {
        grid-template-columns:1fr;

    }

    .contact-hero {
        height: 230px;
    }


    .contact-heading h1 {
        font-size: 24px;
    }


    .contact-heading p {
        font-size: 14px;
    }


    .contact-card {
        margin-top: -60px;
    }

}



.contact-form-message {
    margin-top: 10px;
    font-family: "Urbanist", sans-serif;
    font-size: 12px;
    line-height: 1.4;
}

.contact-form-message.success {
    color: #8fd19e;
}

.contact-form-message.error {
    color: #ff6b6b;
}

.contact-submit:disabled {
    cursor: not-allowed;
}