﻿
/* =================================
   CONTACT SECTION
================================= */

.contact-section {
    padding: 40px 24px;
    background: #fffaf7;
    scroll-margin-top: 90px;
}

    .contact-section *,
    .contact-section *::before,
    .contact-section *::after {
        box-sizing: border-box;
    }

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-header {
    max-width: 700px;
    margin: 0 auto 42px;
    text-align: center;
}

.contact-eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--color-primary, #D10023);
    font-family: var(--font-navigation, sans-serif);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
}

.contact-header h2 {
    margin: 0 0 15px;
    color: #351019;
    font-family: var(--font-heading, Georgia, serif);
    font-size: clamp(36px, 5vw, 52px);
    font-weight: 600;
    line-height: 1.15;
}

    .contact-header h2 span {
        color: var(--color-primary, #D10023);
    }

.contact-header > p {
    margin: 0;
    color: #6c6263;
    font-family: var(--font-body, sans-serif);
    font-size: 15px;
    line-height: 1.9;
}

/* Main two-column layout */

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
    gap: 22px;
    align-items: stretch;
}

.contact-details {
    display: grid;
    grid-template-columns: minmax(130px, 0.72fr) minmax(0, 1.28fr);
    min-width: 0;
    overflow: hidden;
    background: #351019;
    border-radius: 14px;
    box-shadow: 0 12px 35px rgb(53 16 25 / 10%);
}

/* Decorative image panel */

.contact-details-image {
    min-width: 0;
    min-height: 100%;
    background-image: linear-gradient(180deg, rgb(53 16 25 / 5%), rgb(53 16 25 / 18%)), url('/assets/images/slide01.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Contact details */

.contact-details-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: 24px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    min-width: 0;
    padding: 20px 0;
    color: #fff;
    text-decoration: none;
}

    .contact-info-item + .contact-info-item {
        border-top: 1px solid rgb(255 255 255 / 13%);
    }

.contact-info-icon {
    display: flex;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    color: #351019;
    background: #f1dfbd;
    border-radius: 50%;
}

    .contact-info-icon svg {
        width: 21px;
        height: 21px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.7;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

.contact-info-item > div:last-child {
    min-width: 0;
}

.contact-info-label {
    display: block;
    margin: 0 0 7px;
    color: #e6c294;
    font-family: var(--font-navigation, sans-serif);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.4px;
    line-height: 1.6;
    text-transform: uppercase;
}

.contact-info-item strong {
    display: block;
    color: #fff;
    font-family: var(--font-heading, Georgia, serif);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.contact-address p {
    margin: 4px 0 0;
    color: #e5d4d7;
    font-family: var(--font-body, sans-serif);
    font-size: 13px;
    line-height: 1.7;
}

.contact-info-link {
    border-radius: 6px;
    transition: background-color 0.2s ease;
}

    .contact-info-link:hover {
        background: rgb(255 255 255 / 5%);
    }

/* Directions button */

.contact-directions-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    max-width: 100%;
    margin-top: 16px;
    padding: 12px 16px;
    color: #fff;
    background: var(--color-primary, #D10023);
    border: 1px solid rgb(255 255 255 / 15%);
    border-radius: 5px;
    font-family: var(--font-body, sans-serif);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

    .contact-directions-btn:hover {
        color: #fff;
        background: #a9001c;
    }

    .contact-directions-btn:focus-visible,
    .contact-info-link:focus-visible {
        outline: 2px solid #e6c294;
        outline-offset: 3px;
    }

/* Google map */

.contact-map {
    position: relative;
    min-width: 0;
    min-height: 600px;
    overflow: hidden;
    background: #eee8e2;
    border: 1px solid #eadfe0;
    border-radius: 14px;
    box-shadow: 0 12px 35px rgb(53 16 25 / 7%);
}

    .contact-map iframe {
        position: absolute;
        inset: 0;
        display: block;
        width: 100%;
        height: 100%;
        border: 0;
    }

/* Tablet */

@media (max-width: 1000px) {
    .contact-section {
        padding: 65px 20px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-details {
        grid-template-columns: minmax(150px, 0.65fr) minmax(0, 1.35fr);
    }

    .contact-details-content {
        padding: 24px 30px;
    }

    .contact-map {
        min-height: 400px;
    }
}

/* Mobile */

@media (max-width: 600px) {
    .contact-section {
        padding: 48px 16px;
    }

    .contact-header {
        margin-bottom: 28px;
    }

        .contact-header > p {
            font-size: 14px;
        }

    .contact-grid {
        gap: 18px;
    }

    .contact-details {
        grid-template-columns: 1fr;
    }

    .contact-details-image {
        min-height: 190px;
        background-position: center 45%;
    }

    .contact-details-content {
        padding: 10px 22px 18px;
    }

    .contact-info-item {
        gap: 12px;
        padding: 17px 0;
    }

    .contact-info-icon {
        flex-basis: 38px;
        width: 38px;
        height: 38px;
    }

        .contact-info-icon svg {
            width: 19px;
            height: 19px;
        }

    .contact-info-item strong {
        font-size: 17px;
    }

    .contact-map {
        min-height: 340px;
    }
}

@media (max-width: 360px) {
    .contact-details-content {
        padding-inline: 16px;
    }

    .contact-info-item {
        gap: 10px;
    }

    .contact-info-label {
        font-size: 9px;
        letter-spacing: 1px;
    }

    .contact-info-item strong {
        font-size: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .contact-info-link,
    .contact-directions-btn {
        transition: none;
    }
}



/* Professional typography for Contact Section */

.contact-section,
.contact-section h2,
.contact-section p,
.contact-section strong,
.contact-section a,
.contact-section span {
    font-family: var(--font-body, "DM Sans"), sans-serif;
}

.contact-header h2 {
    font-size: clamp(34px, 4vw, 46px);
    font-weight: 700;
    letter-spacing: -0.8px;
}

.contact-info-item strong {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.6;
}

.contact-info-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
}

.contact-header > p,
.contact-address p {
    font-size: 14px;
    line-height: 1.8;
}

.contact-directions-btn {
    font-size: 13px;
    font-weight: 600;
}
