/* ============================================
   Contact Page — Specific Styles
   These augment the shared styles.css
   ============================================ */

/* Contact cards add a subtle lift to the shared frosted surface. */
.contact-card {
    transition: all 0.3s ease;
}

.contact-card:hover {
    box-shadow: 0 20px 40px rgba(45, 54, 72, 0.05);
    transform: translateY(-4px);
}

.contact-title {
    font-family: "Libre Caslon Text", serif;
    font-size: 44px;
    line-height: 52px;
    font-weight: 400;
}

.contact-link {
    font-family: "Hanken Grotesk", sans-serif;
    font-size: 18px;
    line-height: 28px;
    font-weight: 500;
}

.contact-info-item {
    padding: 18px 0;
    border-bottom: 1px solid rgba(197, 198, 205, 0.45);
}

.contact-form-card {
    border: 1px solid rgba(197, 198, 205, 0.35);
    box-shadow: 0 18px 45px rgba(24, 33, 50, 0.06);
}

.contact-form-title {
    font-family: "Libre Caslon Text", serif;
    font-size: 32px;
    line-height: 40px;
    font-weight: 400;
}

.contact-map-title {
    font-family: "Libre Caslon Text", serif;
    font-size: 26px;
    line-height: 34px;
    font-weight: 400;
}

.contact-vcard {
    display: grid;
    grid-template-columns: 132px 1fr;
    gap: 24px;
    align-items: center;
    max-width: 520px;
    padding: 24px;
    border: 1px solid rgba(197, 198, 205, 0.45);
    border-radius: 12px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(255, 217, 222, 0.35));
}

.contact-vcard__qr {
    padding: 10px;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(24, 33, 50, 0.08);
}

.contact-vcard__qr img {
    display: block;
    width: 100%;
    aspect-ratio: 1;
}

.contact-vcard__title {
    margin: 6px 0;
    color: #182132;
    font-family: "Libre Caslon Text", serif;
    font-size: 24px;
    line-height: 30px;
}

.contact-vcard__text {
    margin-bottom: 16px;
    color: #45474c;
}

.contact-vcard__button {
    gap: 8px;
    padding: 10px 18px;
}

.contact-vcard__button .material-symbols-outlined {
    font-size: 18px;
}

/* Gradient CTA buttons used on contact */
/* Minimal underline-style form inputs */
.form-control {
    border: none;
    border-bottom: 1px solid #2d3648;
    background: transparent;
    border-radius: 0;
    padding: 10px 0;
    font-size: 15px;
    line-height: 24px;
    color: #191c1d;
}

.form-control::placeholder {
    color: rgba(69, 71, 76, 0.62);
}

.form-control:focus {
    outline: none;
    box-shadow: none;
    border-bottom: 1px solid transparent;
    background-image: linear-gradient(to right, #b22350, #fd5d86);
    background-size: 100% 1px;
    background-repeat: no-repeat;
    background-position: bottom;
}

@media (max-width: 1023px) {
    .contact-page {
        padding-top: 64px !important;
        padding-bottom: 64px !important;
    }

    .contact-photo {
        max-width: none;
    }
}

@media (max-width: 767px) {
    .contact-title {
        font-size: 34px;
        line-height: 42px;
    }

    .contact-form-title {
        font-size: 28px;
        line-height: 36px;
    }

    .contact-link {
        font-size: 16px;
        line-height: 26px;
        word-break: break-word;
    }

    .contact-map-card {
        right: 20px;
        bottom: 20px;
        left: 20px;
        max-width: none;
    }

    .contact-vcard {
        grid-template-columns: 100px 1fr;
        gap: 16px;
        padding: 18px;
    }

    .contact-vcard__title {
        font-size: 20px;
        line-height: 26px;
    }
}

@media (max-width: 479px) {
    .contact-vcard {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .contact-vcard__qr {
        width: 148px;
        margin: 0 auto;
    }
}
