
/* ==========================================
   AARBEI.ART — CONTACT PAGE
========================================== */


/* RESET */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


:root {
    --cream: #F4ECE5;
    --red: #DE2720;
    --red-dark: #B9211B;
    --red-light: rgba(222, 39, 32, 0.22);
    --white: #FFFCF9;
    --soft-red: rgba(222, 39, 32, 0.045);
}


/* ==========================================
   FONTS
========================================== */

@font-face {
    font-family: Inter;
    src: url(../fonts/InterTight-VariableFont_wght.ttf);
}

@font-face {
    font-family: Zen Kurenaido;
    src: url(../fonts/ZenKurenaido-Regular.ttf);
}

@font-face {
    font-family: Coromant;
    src: url(../fonts/Cormorant-VariableFont_wght.ttf);
}


/* ==========================================
   GLOBAL
========================================== */

html {
    scroll-behavior: smooth;
}

body.contact-page-body {
    width: 100%;
    min-height: 100vh;
    margin: 0;

    background-color: var(--cream);
    color: var(--red);

    font-family: 'Coromant', serif;
}


/* ==========================================
   HEADER & NAVIGATION
========================================== */

.site-header {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;

    text-align: center;
    background-color: var(--cream);

    z-index: 1001;

    transition: transform 0.3s ease;
}


.site-header.header-hidden {
    transform: translateY(-100%);
}


.site-title {
    font-family: 'Zen Kurenaido';
    font-size: 25px;
    font-weight: 400;

    padding: 12px 0 5px;
    margin: 0;

    color: var(--red);
}


.site-header nav {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    padding: 5px 20px 8px;
}


.site-header ul {
    display: flex;
    justify-content: center;
    align-items: center;

    list-style: none;
    gap: 32px;

    margin: 0;
    padding: 0;
}


.site-header ul li a {
    font-family: 'Zen Kurenaido';
    font-size: 16px;
    font-weight: 400;

    color: var(--red);
    text-decoration: none;
    letter-spacing: 0.03em;
}


.site-header ul li a span {
    position: relative;
}


.site-header ul li a span::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: -4px;

    width: 100%;
    height: 1px;

    background-color: var(--red);

    transform: scaleX(0);
    transform-origin: left;

    transition: transform 0.4s cubic-bezier(.4,0,.2,1);
}


.site-header ul li a:hover span::after,
.site-header ul li a.current-page span::after {
    transform: scaleX(1);
}


/* ==========================================
   CONTACT PAGE
========================================== */

.contact-main {
    width: 100%;
}


/* OUTER PAGE */

.contact-section {
    width: 100%;
    max-width: 1800px;

    min-height: calc(100svh - 65px);

    margin: 0 auto;

    padding: 135px 4% 60px;
}


/* TOP INFORMATION */

.contact-topline {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding-bottom: 15px;
    margin-bottom: 35px;

    border-bottom: 1px solid var(--red-light);
}


.contact-topline p {
    font-family: 'Zen Kurenaido';
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0.13em;

    color: var(--red);
}


/* ==========================================
   MAIN TWO-COLUMN LAYOUT
========================================== */

.contact-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 0.95fr)
        minmax(0, 1.05fr);

    gap: clamp(30px, 4vw, 65px);

    align-items: stretch;

    width: 100%;

    min-height: clamp(620px, calc(100svh - 270px), 780px);

    padding: clamp(28px, 3.5vw, 50px);

    background-color: var(--white);

    border: 1px solid var(--red-light);
}


/* ==========================================
   LEFT COLUMN / INTRO
========================================== */

.contact-intro {
    display: flex;
    flex-direction: column;

    min-width: 0;
    min-height: 100%;
}


/* INTRO LABEL */

.contact-eyebrow {
    font-family: 'Zen Kurenaido';
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0.15em;

    color: var(--red);

    margin-bottom: 15px;
}


/* MAIN HEADING */

.contact-intro h2 {
    max-width: 560px;

    font-family: 'Zen Kurenaido';
    font-size: clamp(42px, 4vw, 62px);
    font-weight: 400;
    line-height: 1.12;

    letter-spacing: -0.025em;

    color: var(--red);

    margin-bottom: 18px;
}


.contact-intro h2 span {
    display: block;

    font-family: 'Coromant';
    font-style: italic;
    font-weight: 400;
}


/* DESCRIPTION */

.contact-description {
    max-width: 500px;

    font-family: 'Coromant';
    font-size: 21px;
    font-weight: 400;
    line-height: 1.5;

    color: var(--red);

    margin-bottom: 25px;
}


/* ==========================================
   FEATURE IMAGE
========================================== */

.contact-image {
    position: relative;

    flex: 1;

    width: 100%;
    min-height: 320px;

    overflow: hidden;

    margin-top: 10px;

    background-color: #D8C5B8;
}


.contact-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center 35%;

    transition: transform 0.6s ease;
}


.contact-image:hover img {
    transform: scale(1.025);
}


/* IMAGE OVERLAY */

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

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    padding: clamp(18px, 2.5vw, 30px);

    background: linear-gradient(
        to bottom,
        rgba(20, 10, 5, 0.2) 0%,
        transparent 35%,
        rgba(20, 10, 5, 0.58) 100%
    );

    color: #FFFFFF;
}


.image-overlay-heading {
    font-family: 'Coromant';
    font-size: clamp(28px, 3vw, 42px);
    font-style: italic;
    font-weight: 400;
    line-height: 1.08;
}


.image-overlay-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;

    gap: 10px;

    font-family: 'Zen Kurenaido';
    font-size: 12px;
    letter-spacing: 0.03em;

    color: #FFFFFF;
}


/* ==========================================
   DIRECT EMAIL
========================================== */

.contact-direct {
    margin-top: 22px;
}


.contact-direct p {
    font-family: 'Zen Kurenaido';
    font-size: 13px;

    margin-bottom: 5px;
}


.contact-direct a {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    font-family: 'Coromant';
    font-size: 19px;

    color: var(--red);
    text-decoration: none;

    border-bottom: 1px solid var(--red-light);
    padding-bottom: 3px;

    transition: gap 0.3s ease;
}


.contact-direct a:hover {
    gap: 15px;
}


/* ==========================================
   RIGHT COLUMN / FORM
========================================== */

.contact-form-container {
    display: flex;
    flex-direction: column;
    justify-content: center;

    width: 100%;
    min-width: 0;
    min-height: 100%;

    padding: clamp(28px, 3.5vw, 50px);

    background-color: var(--soft-red);

    border: 1px solid rgba(222, 39, 32, 0.09);
}


/* FORM HEADING */

.form-heading {
    margin-bottom: 28px;
}


.form-heading h3 {
    font-family: 'Zen Kurenaido';
    font-size: 34px;
    font-weight: 400;

    color: var(--red);

    margin-bottom: 7px;
}


.form-heading > p:last-child {
    font-family: 'Coromant';
    font-size: 19px;
    line-height: 1.4;
}


/* ==========================================
   FORM FIELDS
========================================== */

.contact-form {
    display: flex;
    flex-direction: column;

    gap: 18px;
}


/* NAME ROW */

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
}


/* FIELD GROUP */

.form-group {
    display: flex;
    flex-direction: column;

    min-width: 0;
    gap: 7px;
}


/* LABELS */

.form-group label {
    font-family: 'Zen Kurenaido';
    font-size: 14px;
    font-weight: 400;

    color: var(--red);
}


/* INPUTS AND SELECTS */

.form-group input,
.form-group select,
.form-group textarea {
    display: block;

    width: 100%;
    min-height: 46px;

    border: 1px solid rgba(222, 39, 32, 0.17);
    border-radius: 0;

    background-color: #FFFFFF;

    padding: 13px 15px;

    font-family: 'Coromant';
    font-size: 18px;
    font-weight: 400;

    color: #51413B;

    outline: none;

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


/* PLACEHOLDERS */

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #A99B94;
    opacity: 1;
}


/* SELECT */

.form-group select {
    appearance: none;
    -webkit-appearance: none;

    cursor: pointer;

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23DE2720' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");

    background-repeat: no-repeat;
    background-position: right 15px center;

    padding-right: 38px;
}


/* PROJECT TEXTAREA */

.form-group textarea {
    min-height: 135px;

    resize: vertical;
    line-height: 1.5;
}


/* FOCUS STATES */

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--red);
    background-color: #FFFFFF;
}


/* ==========================================
   SUBMIT BUTTON
========================================== */

.submit-button {
    display: flex;
    justify-content: space-between;
    align-items: center;

    width: 100%;

    border: 1px solid var(--red);
    border-radius: 0;

    background-color: var(--red);
    color: #FFFFFF;

    padding: 16px 20px;

    font-family: 'Zen Kurenaido';
    font-size: 16px;
    font-weight: 400;

    cursor: pointer;

    transition:
        background-color 0.3s ease,
        color 0.3s ease;
}


.submit-button:hover {
    background-color: transparent;
    color: var(--red);
}


.submit-arrow {
    font-family: Arial, sans-serif;
    font-size: 19px;

    transition: transform 0.3s ease;
}


.submit-button:hover .submit-arrow {
    transform: translateX(5px);
}


/* FORM NOTE */

.form-note {
    font-family: 'Zen Kurenaido';
    font-size: 12px;
    line-height: 1.4;

    color: rgba(222, 39, 32, 0.7);

    text-align: center;
}


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

.site-footer {
    width: 100%;

    background-color: var(--cream);

    padding: 30px 0;
}


.footer-inner {
    width: 90%;
    margin: 0 auto;

    display: flex;
    justify-content: space-between;
    align-items: center;
}


.footer-left p {
    font-family: 'Zen Kurenaido';
    font-size: 18px;
    font-weight: 400;

    color: var(--red);
    margin: 0;
}


.footer-right {
    display: flex;
    gap: 22px;
}


.footer-right a {
    position: relative;

    font-family: 'Zen Kurenaido';
    font-size: 13px;
    font-weight: 400;

    color: var(--red);
    text-decoration: none;
    letter-spacing: 0.03em;
}


.footer-right a::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: -4px;

    width: 100%;
    height: 1px;

    background-color: var(--red);

    transform: scaleX(0);
    transform-origin: left;

    transition: transform 0.4s ease;
}


.footer-right a:hover::after {
    transform: scaleX(1);
}


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

@media (max-width: 1024px) {

    .contact-section {
        padding: 130px 4% 55px;
    }

    .contact-layout {
        gap: 30px;
        padding: 28px;

        min-height: 620px;
    }

    .contact-intro h2 {
        font-size: 42px;
    }

    .contact-description {
        font-size: 19px;
    }

    .contact-form-container {
        padding: 28px 22px;
    }

    .form-heading h3 {
        font-size: 29px;
    }

    .form-row {
        gap: 10px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px;
    }

    .footer-right {
        gap: 15px;
    }

}


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

@media (max-width: 768px) {


    /* HEADER */

    .site-title {
        font-size: 22px;
        padding: 10px 0 4px;
    }

    .site-header nav {
        padding: 5px 10px 8px;
    }

    .site-header ul {
        flex-wrap: wrap;
        gap: 10px 16px;
    }

    .site-header ul li a {
        font-size: 13px;
    }


    /* CONTACT SECTION */

    .contact-section {
        min-height: auto;

        padding: 130px 5% 45px;
    }


    /* TOP LINE */

    .contact-topline {
        margin-bottom: 25px;
    }

    .contact-topline p {
        font-size: 9px;
        letter-spacing: 0.07em;
    }


    /* STACK LAYOUT */

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

        gap: 35px;

        min-height: auto;

        padding: 23px;
    }


    /* INTRO */

    .contact-intro {
        min-height: auto;
    }

    .contact-intro h2 {
        font-size: clamp(40px, 9vw, 54px);
    }

    .contact-description {
        max-width: 100%;
        font-size: 19px;
    }


    /* IMAGE */

    .contact-image {
        flex: none;

        width: 100%;
        min-height: 0;

        aspect-ratio: 4 / 3;

        margin-top: 5px;
    }

    .contact-image-overlay {
        padding: 18px;
    }

    .image-overlay-heading {
        font-size: 32px;
    }

    .image-overlay-bottom {
        font-size: 10px;
    }


    /* EMAIL */

    .contact-direct a {
        font-size: 17px;
    }


    /* FORM */

    .contact-form-container {
        min-height: auto;
        padding: 28px 20px;
    }

    .form-heading {
        margin-bottom: 25px;
    }

    .form-heading h3 {
        font-size: 29px;
    }

    .form-heading > p:last-child {
        font-size: 17px;
    }

    .contact-form {
        gap: 17px;
    }

    .form-row {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        min-height: 44px;
        font-size: 16px;
        padding: 11px;
    }

    .form-group textarea {
        min-height: 125px;
    }

    .submit-button {
        padding: 14px 16px;
    }


    /* FOOTER */

    .site-footer {
        padding: 25px 0;
    }

    .footer-inner {
        flex-direction: column;
        gap: 15px;
    }

    .footer-right {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px 18px;
    }

}


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

@media (max-width: 400px) {

    .site-header ul {
        gap: 8px 12px;
    }

    .site-header ul li a {
        font-size: 12px;
    }

    .contact-section {
        padding-left: 4%;
        padding-right: 4%;
    }

    .contact-layout {
        padding: 16px;
    }

    .contact-intro h2 {
        font-size: 36px;
    }

    .contact-image-overlay {
        padding: 13px;
    }

    .image-overlay-heading {
        font-size: 26px;
    }

    .image-overlay-bottom {
        flex-wrap: wrap;
    }

    .contact-form-container {
        padding: 22px 15px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }

}
