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

.contact-page {

    position: relative;

    min-height: 100vh;

    padding: 140px 70px 90px;

    background:
    url('/assets/images/backgrounds/contact-piano.jpg');

    background-size: cover;

    background-position: center;

    overflow: hidden;
}

.contact-overlay {

    position: absolute;

    inset: 0;

    background:
    linear-gradient(
        135deg,
        rgba(5,10,20,.88),
        rgba(8,15,30,.76)
    );

    backdrop-filter: blur(3px);
}

/* =========================
   LAYOUT
========================= */

.contact-container {

    position: relative;

    z-index: 2;

    max-width: 1450px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
    1fr 1fr;

    gap: 60px;

    align-items: start;
}

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

.contact-form-wrapper {

    width: 100%;
}

.contact-glass {

    background:
    rgba(255,255,255,.07);

    border:
    1px solid rgba(255,255,255,.10);

    backdrop-filter: blur(22px);

    -webkit-backdrop-filter: blur(22px);

    border-radius: 38px;

    padding: 42px;

    box-shadow:
    0 12px 40px rgba(0,0,0,.28);
}

.contact-tag {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    height: 42px;

    padding: 0 18px;

    border-radius: 999px;

    background:
    rgba(255,255,255,.08);

    color: #dfe9ff;

    font-size: 13px;

    font-family: Vazir;

    margin-bottom: 26px;
}

.contact-title {

    margin: 0 0 20px;

    color: white;

    font-size: 40px;

    line-height: 1.35;

    font-family: Vazir;

    font-weight: 700;
}

.contact-subtitle {

    margin: 0 0 40px;

    color:
    rgba(255,255,255,.70);

    font-size: 16px;

    line-height: 2;

    font-family: Vazir;
}

.contact-form {

    display: flex;

    flex-direction: column;

    gap: 18px;
}

.input-group input,
.input-group textarea {

    width: 100%;

    box-sizing: border-box;

    border: none;

    outline: none;

    padding: 18px 24px;

    border-radius: 22px;

    background:
    rgba(255,255,255,.06);

    border:
    1px solid rgba(255,255,255,.08);

    color: white;

    font-size: 15px;

    font-family: Vazir;

    transition: .3s ease;
}

.input-group textarea {

    height: 200px;

    resize: none;
}

.input-group input:focus,
.input-group textarea:focus {

    background:
    rgba(255,255,255,.10);

    border-color:
    rgba(255,255,255,.18);
}

.input-group input::placeholder,
.input-group textarea::placeholder {

    color:
    rgba(255,255,255,.42);
}

.contact-submit {

    height: 64px;

    border: none;

    border-radius: 20px;

    background:
    linear-gradient(
        135deg,
        #ffffff,
        #dddddd
    );

    color: #111827;

    font-size: 16px;

    font-family: Vazir;

    font-weight: 700;

    cursor: pointer;

    transition: .35s ease;
}

.contact-submit:hover {

    transform:
    translateY(-3px);

    box-shadow:
    0 12px 30px rgba(255,255,255,.18);
}

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

.contact-hero {

    position: relative;

    width: 100%;
}

.hero-image-wrapper {

    position: relative;

    width: 100%;

    height: 720px;

    overflow: hidden;

    border-radius: 42px;

    box-shadow:
    0 24px 60px rgba(0,0,0,.40);
}

.hero-image-wrapper img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    display: block;
}

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

.hero-content {

    position: absolute;

    left: 50%;

    bottom: 30px;

    transform: translateX(-50%);

    padding: 16px 34px;

    border-radius: 26px;

    background:
    rgba(255,255,255,.10);

    backdrop-filter: blur(14px);

    -webkit-backdrop-filter: blur(14px);

    border:
    1px solid rgba(255,255,255,.12);

    box-shadow:
    0 8px 24px rgba(0,0,0,.18);

    text-align: center;

    z-index: 20;
}

.hero-mini {

    display: block;

    margin-bottom: 8px;

    color:
    rgba(255,255,255,.55);

    letter-spacing: 6px;

    font-size: 9px;

    line-height: 1;

    font-family: Vazir;
}

.hero-content h2 {

    margin: 0;

    color: white;

    font-size: 18px;

    line-height: 1.5;

    font-family: Vazir;

    font-weight: 700;

    white-space: nowrap;
}

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

@media (max-width: 1100px) {

    .contact-container {

        grid-template-columns: 1fr;

        gap: 40px;
    }

    .hero-image-wrapper {

        height: 580px;
    }

    .contact-title {

        font-size: 46px;
    }
}

@media (max-width: 768px) {

    .contact-page {

        padding: 120px 20px 80px;
    }

    .contact-glass {

        padding: 30px;
    }

    .contact-title {

        font-size: 36px;
    }

    .contact-subtitle {

        font-size: 14px;
    }

    .hero-image-wrapper {

        height: 460px;
    }

    .hero-content {

        width: calc(100% - 40px);

        padding: 14px 18px;
    }

    .hero-content h2 {

        font-size: 15px;

        white-space: normal;
    }

    .hero-mini {

        letter-spacing: 4px;

        font-size: 8px;
    }
}