/* ==========================================
   CAFFÈ LUME — VISIT US PAGE
   Complete responsive stylesheet
   ========================================== */

/* ---------- Theme Variables ---------- */

:root {
    --bg: #F5E8D2;
    --surface: #FFF9F0;
    --text: #30231E;
    --muted: #75665C;
    --primary: #4C3028;
    --primary-dark: #342019;
    --border: #E5D5C2;
    --ring: rgba(76, 48, 40, 0.28);
    --radius: 12px;
    --shadow: 0 8px 24px rgba(48, 35, 30, 0.10);
    --container: 1240px;
}


/* ---------- Reset and Base ---------- */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 85px;
}

body {
    margin: 0;
    font-family: "Nunito", sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea {
    font: inherit;
    -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--ring);
    outline-offset: 3px;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    font-family: "Nunito", sans-serif;
    color: var(--primary);
}

h1 {
    font-size: clamp(2.25rem, 4vw, 3.5rem);
    font-weight: 600;
    line-height: 1.12;
}

h2 {
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    font-weight: 600;
    line-height: 1.25;
    margin-bottom: 12px;
}

h3 {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 12px;
}

p {
    color: var(--muted);
    margin-bottom: 14px;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: 24px;
}


/* ==========================================
   HEADER AND NAVIGATION
   ========================================== */

header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 12px rgba(48, 35, 30, 0.04);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 68px;
    color: var(--primary);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    font-family: "Inria Serif", Georgia, serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary);
}

.brand:hover {
    color: var(--primary-dark);
}

.brand .logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    overflow: hidden;
}

.brand .logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

#desktopNav {
    display: block;
}

#desktopNav ul {
    display: flex;
    align-items: center;
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0;
}

#desktopNav a {
    display: block;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 1rem;
    color: var(--text);
    transition: color 0.2s ease, background 0.2s ease;
}

#desktopNav a:hover,
#desktopNav a[aria-current="page"] {
    color: var(--primary);
    background: var(--surface);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.find_us-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 20px;
    border: 1px solid var(--primary);
    border-radius: 24px;
    background: var(--primary);
    color: #FFFFFF;
    font-weight: 700;
    transition: background 0.2s ease, transform 0.2s ease;
}

.find_us-button:hover {
    background: var(--primary-dark);
    color: #FFFFFF;
    transform: translateY(-1px);
}

.hamburger {
    display: none;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
    color: var(--primary);
    cursor: pointer;
    font-size: 21px;
}

.mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 100;
    flex-direction: column;
    padding: 10px 24px;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.mobile-menu[hidden] {
    display: none !important;
}

.mobile-menu:not([hidden]) {
    display: flex;
}

.mobile-menu a {
    display: block;
    padding: 13px 8px;
    color: var(--text);
    border-bottom: 1px solid var(--border);
}

.mobile-menu a:last-child {
    border-bottom: 0;
}

.mobile-menu a:hover,
.mobile-menu a[aria-current="page"] {
    color: var(--primary);
    background: rgba(76, 48, 40, 0.05);
}


/* ==========================================
   VISIT US HERO
   ========================================== */

.visit-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 340px;
    overflow: hidden;
    background-color: var(--primary);
    background-image: linear-gradient(90deg, rgba(32, 20, 15, 0.68), rgba(32, 20, 15, 0.08)), url(../hero_background.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #FFFFFF;
}

.hero-content {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding: 56px 24px;
    color: #FFFFFF;
}

.hero-eyebrow {
    display: block;
    margin-bottom: 12px;
    color: #F5E8D2;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hero-content h1 {
    max-width: 700px;
    margin-bottom: 16px;
    color: #FFFFFF;
    font-size: clamp(2.5rem, 5vw, 4rem);
}

.hero-content p {
    max-width: 600px;
    margin-bottom: 24px;
    color: #FFFFFF;
    font-size: 1.05rem;
    line-height: 1.8;
}

.explore-menu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 24px;
    border: 1px solid #FFFFFF;
    border-radius: var(--radius);
    background: #FFFFFF;
    color: var(--primary);
    font-weight: 700;
    transition: background 0.2s ease, transform 0.2s ease;
}

.explore-menu-button:hover {
    background: #F5E8D2;
    color: var(--primary);
    transform: translateY(-2px);
}


/* ==========================================
   VISIT DETAILS SECTION
   ========================================== */

.section_2 {
    padding: 48px 0 56px;
    background: var(--bg);
}

.section-heading {
    margin-bottom: 28px;
}

.section-heading h2 {
    margin-bottom: 10px;
}

.section-heading p {
    max-width: 600px;
    margin-bottom: 0;
}

.section-eyebrow {
    display: block;
    margin-bottom: 8px;
    color: #92704F;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}


/* ---------- Responsive Content Grid ---------- */

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 24px;
    padding: 0;
}

.hero-box {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: 0 4px 16px rgba(48, 35, 30, 0.04);
}

.photo-box,
.map-box,
.contact-box {
    display: flex;
    flex-direction: column;
}

.portrait {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: #E8D8C3;
}

.portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.box-content {
    padding: 22px 24px 0;
}

.box-content p {
    line-height: 1.8;
}

.hero-box-text {
    padding: 26px;
}

.hero-box-text h3 {
    margin-bottom: 20px;
}

.contact-item {
    margin-bottom: 14px;
}

.contact-label {
    display: block;
    margin-bottom: 3px;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 700;
}

.contact-item p {
    margin-bottom: 0;
    line-height: 1.7;
}

.contact-item a {
    color: var(--muted);
    overflow-wrap: anywhere;
    transition: color 0.2s ease;
}

.contact-item a:hover {
    color: var(--primary);
    text-decoration: underline;
}

.text-link {
    display: inline-block;
    align-self: flex-start;
    margin: 0 24px 24px;
    color: var(--primary);
    font-weight: 700;
}

.text-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}


/* ---------- Map ---------- */

.map-box .box-content {
    padding-bottom: 16px;
}

.map {
    width: 100%;
    min-height: 280px;
    margin-top: auto;
    overflow: hidden;
    background: #E8D8C3;
}

.map iframe {
    display: block;
    width: 100%;
    height: 500px;
    border: 0;
}


/* ==========================================
   CONTACT FORM
   ========================================== */

.contact-box .box-content {
    padding-bottom: 4px;
}

.contact-box form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 12px 24px 24px;
    margin: 0;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-field label {
    padding: 0;
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 700;
}

.form-field input,
.form-field textarea {
    display: block;
    width: 100%;
    min-width: 0;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #FFFFFF;
    color: var(--text);
    font-size: 1rem;
}

.form-field input {
    min-height: 46px;
}

.form-field textarea {
    min-height: 140px;
    resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: #96877C;
}

.form-field input:focus,
.form-field textarea:focus {
    outline: 3px solid var(--ring);
    outline-offset: 1px;
    border-color: var(--primary);
}

.form-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    min-height: 46px;
    padding: 12px 24px;
    border: 1px solid var(--primary);
    border-radius: var(--radius);
    background: var(--primary);
    color: #FFFFFF;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

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


/* ==========================================
   FOOTER
   ========================================== */

.site-footer {
    padding: 30px 0;
    border-top: 1px solid var(--border);
    background: var(--bg);
    text-align: center;
}

.footer-brand {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--primary);
    font-family: "Inria Serif", Georgia, serif;
    font-size: 1.3rem;
    font-weight: 700;
}

.footer-brand:hover {
    color: var(--primary-dark);
}

.site-footer p {
    margin-bottom: 5px;
    font-size: 0.85rem;
}


/* ==========================================
   TABLET LAYOUT
   601px–900px
   ========================================== */

@media (max-width: 900px) {
    .nav {
        gap: 16px;
    }

    #desktopNav {
        display: none;
    }

    .hamburger {
        display: inline-flex;
        flex-shrink: 0;
    }

    .mobile-menu {
        padding-inline: 28px;
    }

    .visit-hero {
        min-height: 310px;
    }

    .hero-content {
        padding: 44px 28px;
    }

    .section_2 {
        padding: 40px 0 48px;
    }

    .projects-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }

    .hero-box-text {
        padding: 22px;
    }

    .portrait {
        height: 220px;
    }

    .map iframe {
        height: 280px;
    }

    .contact-box form {
        padding-inline: 20px;
    }
}


/* ==========================================
   MOBILE LAYOUT
   600px and below
   ========================================== */

@media (max-width: 600px) {
    .container {
        padding-inline: 20px;
    }

    /* Header */

    .nav {
        min-height: 62px;
        gap: 10px;
    }

    .brand {
        gap: 8px;
        font-size: 1.1rem;
    }

    .brand .logo {
        width: 32px;
        height: 32px;
    }

    .nav-actions {
        gap: 8px;
    }

    .find_us-button {
        display: none;
    }

    .hamburger {
        width: 40px;
        height: 40px;
    }

    .mobile-menu {
        padding: 8px 20px;
    }

    /* Hero */

    .visit-hero {
        min-height: 290px;
        background-position: 58% center;
    }

    .hero-content {
        padding: 36px 20px;
    }

    .hero-content h1 {
        font-size: clamp(2.2rem, 9vw, 2.8rem);
    }

    .hero-content p {
        font-size: 1rem;
        line-height: 1.7;
    }

    /* Visit details */

    .section_2 {
        padding: 30px 0 36px;
    }

    .section-heading {
        margin-bottom: 22px;
    }

    .section-heading h2 {
        font-size: 1.7rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .portrait {
        height: 230px;
    }

    .hero-box-text {
        padding: 22px;
    }

    .box-content {
        padding: 20px 20px 0;
    }

    .contact-item {
        margin-bottom: 16px;
    }

    /* Map */

    .map {
        min-height: 250px;
    }

    .map iframe {
        height: 260px;
    }

    /* Contact form */

    .contact-box form {
        gap: 14px;
        padding: 12px 20px 22px;
    }

    .form-field input {
        min-height: 46px;
    }

    .form-field textarea {
        min-height: 130px;
    }

    .form-submit {
        width: 100%;
    }

    /* Footer */

    .site-footer {
        padding: 26px 0;
    }
}


/* ==========================================
   REDUCED MOTION
   ========================================== */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}