
/* ================================
   CONTACT PAGE - BREW & BEAN
================================ */

:root {
    --contact-cream: #faf8f4;
    --contact-beige: #eee6da;
    --contact-brown: #30221b;
    --contact-caramel: #bd7b49;
    --contact-text: #6b5b50;
    --contact-white: #fff;
}

body {
    background: var(--contact-cream);
    color: var(--contact-brown);
    font-family: "DM Sans", sans-serif;
}


/* NAVBAR */

.contact-navbar {
    padding: 22px 7%;
    background: var(--contact-cream);
}

.contact-nav-container {
    max-width: 1400px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
}

.contact-logo {
    font-size: 23px;
    font-weight: 700;
    letter-spacing: -1px;
    color: var(--contact-brown);
    text-decoration: none;
    white-space: nowrap;
}

.contact-logo span {
    color: var(--contact-caramel);
}

.contact-nav-links {
    display: flex;
    gap: 28px;
    align-items: center;
}

.contact-nav-links a {
    text-decoration: none;
    color: var(--contact-text);
    font-size: 12px;
    transition: .3s;
}

.contact-nav-links a:hover,
.contact-nav-links a.active {
    color: var(--contact-caramel);
}

.contact-nav-button {
    background: var(--contact-brown);
    color: white;
    text-decoration: none;
    padding: 13px 20px;
    font-size: 12px;
    transition: .3s;
}

.contact-nav-button:hover {
    background: var(--contact-caramel);
}


/* HERO */

.contact-hero {
    background: var(--contact-beige);
    padding: 75px 9%;
    min-height: 590px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 70px;
}

.contact-eyebrow {
    color: var(--contact-caramel);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 3px;
}

.contact-hero h1 {
    font-family: "Playfair Display", serif;
    font-size: clamp(60px, 7vw, 85px);
    font-weight: 500;
    line-height: 1.05;
    margin: 25px 0;
}

.contact-hero h1 span,
.contact-details h2 span,
.contact-hours h2 span,
.contact-location h2 span,
.contact-cta h2 span {
    color: var(--contact-caramel);
    font-style: italic;
}

.contact-hero-content p {
    max-width: 430px;
    font-size: 14px;
    color: var(--contact-text);
    line-height: 1.9;
    margin-bottom: 35px;
}

.contact-scroll-link {
    color: var(--contact-brown);
    text-decoration: none;
    font-size: 11px;
    letter-spacing: 2px;
    font-weight: 700;
    border-bottom: 1px solid var(--contact-caramel);
    padding-bottom: 8px;
}

.contact-hero-image {
    height: 440px;
    position: relative;
}

.contact-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-image-label {
    position: absolute;
    bottom: -20px;
    left: -20px;
    padding: 22px 27px;
    background: white;
    min-width: 190px;
}

.contact-image-label span {
    font-size: 10px;
    letter-spacing: 2px;
    color: var(--contact-caramel);
    font-weight: 700;
}

.contact-image-label p {
    font-family: "Playfair Display", serif;
    font-size: 18px;
    margin: 8px 0 0;
}


/* SECTION LABEL */

.contact-section-label {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 55px;
}

.contact-section-label span {
    color: var(--contact-caramel);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    white-space: nowrap;
}

.contact-section-label div {
    height: 1px;
    width: 100%;
    background: #ded6ca;
}


/* CONTACT DETAILS */

.contact-details {
    padding: 110px 10%;
}

.contact-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
}

.contact-details-heading h2 {
    font-family: "Playfair Display", serif;
    font-size: clamp(40px, 4.5vw, 58px);
    line-height: 1.2;
    font-weight: 500;
    margin: 0 0 25px;
}

.contact-details-heading p {
    max-width: 390px;
    color: var(--contact-text);
    font-size: 14px;
    line-height: 1.9;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 22px;
    padding-bottom: 25px;
    border-bottom: 1px solid #e7e0d7;
}

.contact-info-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    background: var(--contact-beige);
    color: var(--contact-caramel);
    font-size: 22px;
    flex-shrink: 0;
}

.contact-info-item span {
    display: block;
    font-size: 9px;
    letter-spacing: 2px;
    color: var(--contact-caramel);
    font-weight: 700;
    margin-bottom: 9px;
}

.contact-info-item a,
.contact-info-item p {
    color: var(--contact-brown);
    font-size: 14px;
    text-decoration: none;
    margin: 0;
}

.contact-info-item a:hover {
    color: var(--contact-caramel);
}


/* FORM SECTION */

.contact-form-section {
    background: var(--contact-beige);
    padding: 90px 9%;
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 85px;
    align-items: center;
}

.contact-form-image {
    height: 650px;
    position: relative;
}

.contact-form-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-form-image-text {
    position: absolute;
    bottom: 35px;
    left: 30px;
    right: 30px;
    color: white;
}

.contact-form-image-text span {
    font-size: 10px;
    letter-spacing: 3px;
    color: #f0c6a2;
}

.contact-form-image-text h2 {
    font-family: "Playfair Display", serif;
    font-size: 36px;
    font-weight: 500;
    line-height: 1.25;
    margin-top: 15px;
}

.contact-form-container h2 {
    font-family: "Playfair Display", serif;
    font-size: clamp(35px, 4vw, 48px);
    font-weight: 500;
    margin: 18px 0 12px;
}

.contact-form-description {
    color: var(--contact-text);
    font-size: 13px;
    margin-bottom: 35px;
}

.contact-input-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 22px;
}

.contact-input-group label {
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 10px;
}

.contact-input-group input,
.contact-input-group select,
.contact-input-group textarea {
    width: 100%;
    padding: 15px 16px;
    border: 1px solid #ddd3c7;
    background: #faf8f4;
    color: var(--contact-brown);
    font-family: inherit;
    font-size: 12px;
    outline: none;
    transition: .3s;
    border-radius: 0;
}

.contact-input-group input:focus,
.contact-input-group select:focus,
.contact-input-group textarea:focus {
    border-color: var(--contact-caramel);
    background: white;
}

.contact-input-group textarea {
    resize: vertical;
    min-height: 130px;
}

.contact-input-group input::placeholder,
.contact-input-group textarea::placeholder {
    color: #a99a90;
}

.contact-submit-button {
    width: 100%;
    padding: 17px;
    border: none;
    background: var(--contact-brown);
    color: white;
    font-family: inherit;
    font-size: 12px;
    cursor: pointer;
    transition: .3s;
}

.contact-submit-button span {
    margin-left: 10px;
}

.contact-submit-button:hover {
    background: var(--contact-caramel);
    transform: translateY(-2px);
}

.contact-feedback {
    font-size: 12px;
    line-height: 1.7;
    margin-top: 15px;
    color: var(--contact-brown);
}


/* OPENING HOURS */

.contact-hours {
    padding: 110px 10%;
}

.contact-hours-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.contact-hours h2 {
    font-family: "Playfair Display", serif;
    font-size: clamp(42px, 4.5vw, 58px);
    font-weight: 500;
    line-height: 1.2;
    margin: 22px 0;
}

.contact-hours-content > div:first-child p {
    color: var(--contact-text);
    font-size: 14px;
    line-height: 1.9;
    max-width: 420px;
}

.opening-hours-card {
    background: white;
    padding: 40px;
    border: 1px solid #eee8df;
}

.opening-hours-card h3 {
    font-family: "Playfair Display", serif;
    font-size: 27px;
    font-weight: 500;
    margin: 0 0 30px;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 18px 0;
    border-bottom: 1px solid #eee8df;
    font-size: 11px;
}

.hours-row span {
    color: var(--contact-text);
}

.hours-row strong {
    font-size: 11px;
    text-align: right;
}

.hours-note {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 25px;
    color: var(--contact-caramel);
    font-size: 11px;
}

.hours-note span {
    font-size: 19px;
}


/* LOCATION */

.contact-location {
    padding: 70px 9% 100px;
    background: var(--contact-beige);
}

.contact-location-heading {
    text-align: center;
    margin-bottom: 45px;
}

.contact-location h2 {
    font-family: "Playfair Display", serif;
    font-size: 50px;
    font-weight: 500;
    margin: 18px 0;
}

.contact-location-heading p {
    color: var(--contact-text);
    font-size: 13px;
}

.contact-map-placeholder {
    min-height: 340px;
    background:
        linear-gradient(rgba(48, 34, 27, .35), rgba(48, 34, 27, .35)),
        url("https://images.unsplash.com/photo-1445116572660-236099ec97a0?w=1400") center/cover;
    display: grid;
    place-items: center;
}

.contact-map-content {
    background: white;
    padding: 30px 45px;
    text-align: center;
}

.contact-map-content > span {
    color: var(--contact-caramel);
    font-size: 30px;
}

.contact-map-content h3 {
    font-family: "Playfair Display", serif;
    font-size: 23px;
    margin: 10px 0;
}

.contact-map-content p {
    color: var(--contact-text);
    font-size: 12px;
    margin-bottom: 20px;
}

.contact-map-content a {
    color: var(--contact-caramel);
    font-size: 11px;
    text-decoration: none;
    border-bottom: 1px solid var(--contact-caramel);
    padding-bottom: 5px;
}


/* CTA */

.contact-cta {
    padding: 100px 20px;
    background: var(--contact-brown);
    color: white;
    text-align: center;
}

.contact-cta > span {
    color: #d4a77f;
    font-size: 10px;
    letter-spacing: 3px;
}

.contact-cta h2 {
    font-family: "Playfair Display", serif;
    font-size: clamp(43px, 5vw, 65px);
    font-weight: 500;
    margin: 25px 0 35px;
}

.contact-cta-button {
    display: inline-block;
    padding: 16px 26px;
    background: var(--contact-caramel);
    color: white;
    text-decoration: none;
    font-size: 12px;
    transition: .3s;
}

.contact-cta-button:hover {
    background: white;
    color: var(--contact-brown);
}


/* FOOTER */

.contact-footer {
    background: #241a15;
    color: white;
    padding: 60px 9% 25px;
}

.contact-footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    padding-bottom: 45px;
}

.footer-logo {
    color: white;
}

.contact-footer-top p {
    color: #b9aaa0;
    font-size: 12px;
    margin-top: 13px;
}

.contact-footer-links {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.contact-footer-links a {
    text-decoration: none;
    color: #d1c4b8;
    font-size: 12px;
    transition: .3s;
}

.contact-footer-links a:hover {
    color: var(--contact-caramel);
}

.contact-footer-bottom {
    border-top: 1px solid #493a31;
    padding-top: 22px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.contact-footer-bottom p,
.contact-footer-bottom span {
    color: #a99a90;
    font-size: 10px;
    letter-spacing: 1px;
}


/* RESPONSIVE */

@media (max-width: 900px) {

    .contact-hero {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .contact-details-grid {
        gap: 45px;
    }

    .contact-form-section {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .contact-form-image {
        height: 400px;
    }

    .contact-hours-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-nav-links {
        gap: 15px;
    }
}

@media (max-width: 600px) {

    .contact-navbar {
        padding: 20px 5%;
    }

    .contact-nav-container {
        flex-wrap: wrap;
        gap: 18px;
    }

    .contact-nav-links {
        order: 3;
        width: 100%;
        justify-content: space-between;
        gap: 8px;
    }

    .contact-nav-links a {
        font-size: 10px;
    }

    .contact-nav-button {
        padding: 10px 12px;
        font-size: 10px;
    }

    .contact-hero {
        padding: 55px 7%;
    }

    .contact-hero h1 {
        font-size: 58px;
    }

    .contact-hero-image {
        height: 320px;
    }

    .contact-image-label {
        left: 10px;
        bottom: -15px;
    }

    .contact-details {
        padding: 75px 7%;
    }

    .contact-details-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-form-section {
        padding: 65px 7%;
    }

    .contact-form-image {
        height: 320px;
    }

    .contact-form-image-text h2 {
        font-size: 27px;
    }

    .contact-hours {
        padding: 75px 7%;
    }

    .opening-hours-card {
        padding: 25px 20px;
    }

    .hours-row {
        flex-direction: column;
        gap: 8px;
    }

    .hours-row strong {
        text-align: left;
    }

    .contact-location {
        padding: 65px 6%;
    }

    .contact-location h2 {
        font-size: 40px;
    }

    .contact-map-content {
        padding: 25px 20px;
    }

    .contact-footer {
        padding: 45px 7% 20px;
    }

    .contact-footer-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .contact-footer-links {
        gap: 17px;
    }

    .contact-footer-bottom {
        flex-direction: column;
        gap: 10px;
    }
}
