/* =========================================================
   COASTLINE CAFE - CONTACTS PAGE STYLING
========================================================= */

.contacts-hero {
    position: relative;
    width: 100%;
    min-height: 316px;
    background: linear-gradient(90deg, rgba(80, 53, 26, 0.88), rgba(105, 70, 36, 0.5)), url("../assets/contact-hero.png") center / cover no-repeat;
    background: linear-gradient(90deg, rgba(80, 53, 26, 0.88), rgba(105, 70, 36, 0.5)), url("assets/contact-hero.png") center / cover no-repeat;
    display: flex;
    align-items: center;
}

.contacts-hero-content {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 60px 0;
}

.contacts-hero-label {
    margin-bottom: 8px;
    color: var(--gold);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
}

.contacts-hero-title {
    margin: 0;
    color: #FFEEC7;
    font-family: "Poppins", sans-serif;
    font-size: clamp(38px, 4.5vw, 60px);
    font-weight: 700;
    line-height: 1.1;
}

.contacts-main {
    width: 100%;
    background: var(--cream);
}

.contacts-content {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 70px 0 100px;
}

.contacts-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
}

.contact-map-card {
    width: 100%;
    min-height: 460px;
    height: 100%;
    background: #FFFDF9;
    border: 1px solid rgba(80, 53, 26, 0.12);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(80, 53, 26, 0.06);
    display: flex;
    flex-direction: column;
}

.contact-map-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    background: #F4ECE3;
    border-bottom: 1px solid rgba(80, 53, 26, 0.08);
    gap: 12px;
}

.contact-map-header-info {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--dark-brown);
}

.contact-map-pin {
    color: var(--gold);
    flex-shrink: 0;
}

.contact-map-header-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--dark-brown);
}

.contact-map-external-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 600;
    color: var(--brown);
    text-decoration: none;
    transition: color 0.15s ease;
}

.contact-map-external-link:hover {
    color: var(--dark-brown);
    text-decoration: underline;
}

.contact-map-frame-wrap {
    flex: 1;
    min-height: 400px;
    width: 100%;
    position: relative;
    background: #F4ECE3;
}

.contact-map-iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border: 0;
    display: block;
}

.contact-information {
    padding: 5px 0;
}

.contact-label {
    margin-bottom: 8px;
    color: var(--text-brown);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.2em;
}

.contact-title {
    margin: 0 0 20px;
    color: var(--dark-brown);
    font-family: "Poppins", sans-serif;
    font-size: 38px;
    font-weight: 700;
    line-height: 1.2;
}

.contact-description {
    max-width: 480px;
    margin: 0 0 32px;
    color: var(--text-brown);
    font-size: 15px;
    line-height: 1.7;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.contact-detail {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-detail-icon {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-brown);
    font-size: 16px;
    font-weight: 700;
}

.contact-detail-content h3 {
    margin: 0 0 4px;
    color: var(--dark-brown);
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    font-weight: 700;
}

.contact-detail-content p,
.contact-detail-content a {
    margin: 0;
    color: var(--text-brown);
    font-size: 14px;
    line-height: 1.5;
}

.contact-form-section {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 70px;
    padding-top: 60px;
    border-top: 1px solid var(--border-subtle);
}

.contact-form-intro h2 {
    margin: 0 0 16px;
    color: var(--dark-brown);
    font-family: "Poppins", sans-serif;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.2;
}

.contact-form-intro p {
    max-width: 400px;
    margin: 0;
    color: var(--text-brown);
    font-size: 15px;
    line-height: 1.7;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.form-group label {
    color: var(--dark-brown);
    font-size: 13px;
    font-weight: 700;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid rgba(80, 53, 26, 0.3);
    border-radius: 0;
    background: #FFFDF9;
    color: #694624;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input {
    height: 44px;
}

.form-group textarea {
    min-height: 130px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(219, 173, 101, 0.18);
}

.contact-submit {
    width: fit-content;
    margin-top: 4px;
    padding: 12px 28px;
    border: none;
    border-radius: 0;
    background: var(--brown);
    color: var(--cream);
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.contact-submit:hover {
    background: var(--dark-brown);
    transform: translateY(-1px);
}

.contact-form-status {
    display: none;
    padding: 12px 16px;
    background: #F4ECE3;
    color: var(--dark-brown);
    font-size: 13.5px;
    font-weight: 600;
    border-left: 4px solid var(--gold);
    border-radius: 0;
}

@media (max-width: 900px) {
    .contacts-hero {
        min-height: 220px;
    }
    .contacts-hero-content {
        padding: 40px 0;
    }
    .contacts-hero-title {
        font-size: clamp(28px, 7.5vw, 42px);
    }
    .contacts-content {
        padding: 40px 0 60px;
    }
    .contacts-top {
        grid-template-columns: 1fr;
        gap: 36px;
        margin-bottom: 50px;
    }
    .contact-map-card {
        min-height: 280px;
        height: 280px;
    }
    .contact-map-frame-wrap {
        min-height: 230px;
    }
    .contact-map-iframe {
        min-height: 230px;
    }
    .contact-title {
        font-size: 26px;
        margin-bottom: 14px;
    }
    .contact-description {
        font-size: 14.5px;
        margin-bottom: 24px;
    }
    .contact-form-section {
        grid-template-columns: 1fr;
        gap: 30px;
        padding-top: 40px;
    }
    .contact-form-intro h2 {
        font-size: 26px;
        margin-bottom: 12px;
    }
    .contact-form-intro p {
        font-size: 14px;
    }
    .form-row {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .form-group input {
        height: 46px;
        font-size: 16px;
    }
    .form-group textarea {
        font-size: 16px;
        min-height: 120px;
    }
    .contact-submit {
        width: 100%;
        height: 48px;
        font-size: 14px;
    }
}
