@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@500;600&display=swap");

/* ==================================================
   Variables
================================================== */

:root {
    --visit-cream: #f1e8d8;
    --visit-gold: #b48a2b;
    --visit-light-gold: #ddcba9;
    --visit-white: #fffdf8;
    --visit-text: #20201e;
    --visit-black: #111111;
    --visit-max-width: 1640px;
}

/* ==================================================
   Base page styles
================================================== */

.visit-page {
    width: 100%;
    margin: 0;
    background: var(--visit-cream);
    color: var(--visit-text);
    font-family: "DM Sans", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
}

.visit-page *,
.visit-page *::before,
.visit-page *::after {
    box-sizing: border-box;
}

.visit-page h1,
.visit-page h2,
.visit-page h3,
.visit-page p {
    margin-top: 0;
}

.visit-page h1,
.visit-page h2,
.visit-page h3 {
    font-family: "Playfair Display", Georgia, serif;
    font-weight: 500;
}

.visit-page a {
    color: inherit;
    text-decoration: none;
}

/* ==================================================
   Shared alignment
================================================== */

.visit-hero-inner,
.visit-content {
    width: min(calc(100% - 15.2vw), var(--visit-max-width));
    margin-left: auto;
    margin-right: auto;
}

/* ==================================================
   Hero section
================================================== */

.visit-hero {
    position: relative;
    min-height: 398px;
    padding: 56px 0;
    display: flex;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
    background-color: var(--visit-black);
    color: var(--visit-white);
}

/*
    This assumes:

    css/visit.css
    images/visit-hero.jpg
*/
.visit-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;

    background-image: url("../images/visit-hero.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;

    filter: grayscale(100%);
    transform: scale(1.01);
}

/* Dark image overlay */
.visit-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.9) 0%,
            rgba(0, 0, 0, 0.7) 45%,
            rgba(0, 0, 0, 0.42) 100%
        );
}

.visit-hero-inner {
    position: relative;
    z-index: 1;
    text-align: left;
}

/* Breadcrumbs */
.visit-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 44px;
    color: var(--visit-white);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.7px;
    line-height: 1.4;
    text-transform: uppercase;
}

.visit-breadcrumbs a:hover {
    color: var(--visit-gold);
}

/* Gold label above heading */
.visit-eyebrow {
    margin-bottom: 12px;
    color: var(--visit-gold);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.7px;
    line-height: 1.3;
    text-transform: uppercase;
}

/* Hero heading */
.visit-hero h1 {
    margin: 0;
    color: var(--visit-white);
    font-size: clamp(58px, 6vw, 86px);
    line-height: 0.9;
    letter-spacing: -3px;
}

/* Hero description */
.visit-hero-description {
    max-width: 560px;
    margin: 24px 0 0;
    color: var(--visit-white);
    font-size: 16px;
    line-height: 1.55;
}

/* ==================================================
   Main content
================================================== */

.visit-content {
    padding-top: 98px;
    padding-bottom: 125px;
}

.visit-grid {
    display: grid;
    grid-template-columns: minmax(180px, 27%) minmax(0, 1fr);
    column-gap: 7.5vw;
    align-items: start;
}

/* ==================================================
   Contact card
================================================== */

.visit-contact-card {
    width: 100%;
    padding-top: 15px;
    border-top: 2px solid var(--visit-light-gold);
    color: var(--visit-text);
    font-size: 14px;
}

.visit-contact-title {
    margin-bottom: 14px;
    color: #90702d;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    line-height: 1.4;
    text-transform: uppercase;
}

.visit-contact-card p {
    margin: 0 0 18px;
}

.visit-contact-card p:last-child {
    margin-bottom: 0;
}

.visit-phone {
    color: #997529;
    font-weight: 700;
}

/* ==================================================
   Main visit content
================================================== */

.visit-main-content {
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
}

.visit-content-block {
    width: 100%;
    margin: 0;
    padding: 0 0 48px;
}

.visit-content-block + .visit-content-block {
    padding-top: 26px;
    border-top: 1px solid var(--visit-light-gold);
}

.visit-content-block h2 {
    margin: 0;
    color: var(--visit-text);
    font-size: clamp(42px, 4vw, 55px);
    line-height: 1;
    letter-spacing: -2px;
}

.visit-content-block p {
    max-width: 760px;
    margin: 18px 0 0;
    font-size: 16px;
    line-height: 1.55;
}

/* Spacing for the visiting information */
.visit-hours p {
    margin-top: 18px;
}

.visit-hours p + p {
    margin-top: 20px;
}

/* ==================================================
   Directions link
================================================== */

.visit-directions-link {
    width: 100%;
    max-width: 355px;
    margin-top: 18px;
    padding: 12px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid var(--visit-light-gold);
    color: var(--visit-text);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;
    transition:
        color 180ms ease,
        padding-left 180ms ease;
}

.visit-directions-link:hover {
    padding-left: 6px;
    color: var(--visit-gold);
}

.visit-arrow {
    flex: 0 0 auto;
    color: var(--visit-gold);
    font-size: 18px;
    font-weight: 400;
}

/* ==================================================
   Medium screens
================================================== */

@media (max-width: 1000px) {
    .visit-grid {
        grid-template-columns: minmax(170px, 25%) minmax(0, 1fr);
        column-gap: 5vw;
    }

    .visit-content-block h2 {
        font-size: clamp(38px, 5vw, 50px);
    }
}

/* ==================================================
   Tablet
================================================== */

@media (max-width: 850px) {
    .visit-hero {
        min-height: auto;
        padding: 52px 0 60px;
    }

    .visit-hero-inner,
    .visit-content {
        width: calc(100% - 14vw);
    }

    .visit-content {
        padding-top: 70px;
        padding-bottom: 85px;
    }

    .visit-grid {
        grid-template-columns: 1fr;
        row-gap: 45px;
    }

    .visit-contact-card,
    .visit-main-content {
        grid-column: 1;
    }

    .visit-contact-card {
        max-width: 280px;
    }

    .visit-hero h1 {
        font-size: clamp(54px, 10vw, 76px);
        letter-spacing: -2.5px;
    }
}

/* ==================================================
   Mobile
================================================== */

@media (max-width: 560px) {
    .visit-hero {
        padding: 44px 0 52px;
    }

    .visit-hero-inner,
    .visit-content {
        width: calc(100% - 12vw);
    }

    .visit-breadcrumbs {
        margin-bottom: 34px;
        font-size: 10px;
    }

    .visit-hero h1 {
        font-size: 54px;
        letter-spacing: -2px;
    }

    .visit-hero-description {
        font-size: 15px;
    }

    .visit-content-block h2 {
        font-size: 42px;
        letter-spacing: -1.5px;
    }

    .visit-content-block p {
        font-size: 15px;
    }

    .visit-directions-link {
        max-width: none;
    }

    .visit-content-block {
        padding-bottom: 40px;
    }
}
