:root {
    --brand: #0a891b;
    /* Accent */
    --brand-dark: #0a891b;
    --brand-hover: #000;
    /* Accent hover */
    --ink: #00000;
    /* Headings */
    --muted: #334155;
    /* Body text */
    --bg: #f8fafc;
    /* Page bg */
    --panel: #ffffff;
    /* Card bg */
    --hero-image-url: url('/images/the-coffee-shop-main.jpeg');
    /* Replace with your beach/bus image */
    --max-width: 1080px;
    --radius: 16px;
    --shadow: 0 10px 30px rgba(2, 6, 23, .08);
    --phone-number: '+1';
    /* <— Replace with your number (digits only, include country code) */
    --order-url: 'https://thecoffeeshop.dinerbitesnj.com/';
}

/* Base */
* {
    box-sizing: border-box
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial, sans-serif;
    color: var(--muted);
    background: var(--bg);
    line-height: 1.5;
}

a {
    color: var(--brand);
    text-decoration: none
}

a:hover {
    color: var(--brand-hover)
}

.wrap {
    max-width: var(--max-width);
    margin-inline: auto;
    padding-inline: 20px
}

/* Hero */
.hero {
    position: relative;
    min-height: 70svh;
    display: grid;
    place-items: center;
    text-align: center;
    color: #fff;
    background-image:
        linear-gradient(to bottom, rgba(2, 6, 23, .55), rgba(2, 6, 23, .35) 40%, rgba(2, 6, 23, .65)),
        var(--hero-image-url);
    background-size: cover;
    background-position: center;
}

/* Centered logo block */
header {
    position: relative;
    inset: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    margin-bottom: 10px;
}

.logo {
    width: 300px;
    height: 300px;
    border-radius: 20px;
    background: #ffffffcc;
    display: grid;
    place-items: center;
    box-shadow: var(--shadow);
    overflow: hidden;
}

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

.brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.brand .name {
    font-weight: 800;
    font-size: 1.6rem;
    letter-spacing: .2px;
    color: #fff;
}

.brand .tag {
    font-size: 1rem;
    opacity: .95;
    color: #f0f9ff;
}

.hero h1 {
    font-size: clamp(1.9rem, 3.5vw + 1rem, 3.25rem);
    margin: 10px 0 10px;
    letter-spacing: .3px;
}

.hero p.lead {
    margin: 0 0 22px;
    font-size: clamp(1rem, .7vw + .8rem, 1.25rem);
    opacity: .95;
}

.cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--brand);
    color: #fff;
    padding: 14px 18px;
    margin-bottom: 10px;
    border-radius: 999px;
    font-weight: 700;
    box-shadow: var(--shadow);
}

.cta:hover {
    background: var(--brand-dark)
}

.cta small {
    font-weight: 500;
    opacity: .9
}

/* Main panel */
.panel {
    margin-top: 15px;
    background: var(--panel);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 24px;
}

.grid {
    display: grid;
    gap: 22px;
}

@media (min-width: 900px) {
    .grid {
        grid-template-columns: 1.2fr .8fr;
        align-items: start;
    }
}

h2 {
    color: var(--ink);
    margin: 0 0 10px;
    font-size: 1.4rem
}

.card {
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 16px;
}

.steps {
    display: grid;
    gap: 12px;
    padding-left: 0;
    list-style: none;
    margin: 10px 0 0;
}

.steps li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.steps .num {
    background: #e2f2fb;
    color: #075985;
    font-weight: 800;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    flex: 0 0 28px;
}

.badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px
}

.badge {
    border: 1px solid #e5e7eb;
    padding: 8px 12px;
    border-radius: 999px;
    font-weight: 600;
    background: #f8fafc;
}

.contact {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 12px
}

.contact a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    background: #fff;
}

.muted {
    opacity: .8
}

footer {
    padding: 28px 0 120px;
    text-align: center;
    font-size: .9rem;
    color: #64748b
}

/* Mobile sticky bar */
.sticky-cta {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 50;
    display: none;
    background: #ffffffea;
    backdrop-filter: saturate(160%) blur(6px);
    border-top: 1px solid #e5e7eb;
}

.sticky-cta .bar {
    max-width: var(--max-width);
    margin: auto;
    padding: 12px 16px;
    display: flex;
    gap: 10px
}

.sticky-cta a {
    flex: 1;
    text-align: center;
    padding: 14px 18px;
    border-radius: 12px;
    font-weight: 800;
    background: var(--brand);
    color: #fff;
}

.sticky-cta a:hover {
    background: var(--brand-dark)
}

@media (max-width: 860px) {
    footer {
        padding-bottom: 84px
    }

    .sticky-cta {
        display: block
    }
}

/* Cards grid */
.grid {
    padding-top: 25px;
    display: grid;
    gap: 22px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    align-items: stretch;
}

.card {
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    text-align: center;
    background: #fff;
}

.card-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 12px;
}

.card-img-b {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 12px;
}

.card h2 {
    flex-grow: 1;
    color: var(--ink);
    font-size: 1.2rem;
    margin: 10px 0;
}

.btn {
    display: inline-block;
    padding: 12px 18px;
    border-radius: 8px;
    background: var(--brand);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    margin-top: auto;
    transition: background 0.3s ease;
}

.btn:hover {
    background: var(--brand-dark);
}

.one-col {
    padding-top: 25px;
}

/* Two-column section */
.two-col {
    display: grid;
    gap: 24px;
    margin-top: 40px;
    align-items: center;
}

.two-col-img img {
    width: 100%;
    border-radius: 16px;
    object-fit: cover;
}

.two-col-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--muted);
}

.hours-section {
    margin-top: 22px;
    padding: 18px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    box-shadow: var(--shadow);
}

.hours-section h2 {
    color: var(--ink);
    font-size: 1.35rem;
    margin: 0 0 12px;
    text-align: center;
}

.hours-section p {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    margin: 8px 0;
    padding: 10px 0;
    border-bottom: 1px solid #e5e7eb;
    font-size: 1rem;
    line-height: 1.4;
}

.hours-section p:last-child {
    border-bottom: none;
}

.hours-section strong {
    color: var(--ink);
}

@media (max-width: 600px) {
    .hours-section p {
        display: block;
        text-align: center;
    }

    .hours-section strong {
        display: block;
        margin-bottom: 4px;
    }
}

h1 {
    text-align: center;
}

.two-col-img-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.two-col-img-grid img {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
}



@media (min-width: 900px) {
    .two-col {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 860px) {
    .hide-mobile {
        display: none !important;
    }
}

/* === New: Map section === */
.map-section {
    margin-top: 40px;
    background: var(--panel);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 20px;
}

.map-section h2 {
    margin: 0 0 6px;
    font-size: 1.4rem;
    color: var(--ink);
}

.map-subtext {
    margin: 0 0 12px;
    color: var(--muted);
    font-size: .95rem;
}

.map-card {
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
}

.map-card iframe {
    width: 100%;
    /* keep a clean 16:9 frame */
    aspect-ratio: 16 / 9;
    height: auto;
    border: 0;
    display: block;
}

.map-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.btn.btn-outline {
    background: #fff;
    color: var(--brand);
    border: 1px solid #e5e7eb;
}

.btn.btn-outline:hover {
    background: #f8fafc;
}

/* ===================== */
/* Navigation Bar Styles */
/* ===================== */

.navbar {
    background: var(--panel);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-block: 10px;
}

.nav-logo img {
    height: 60px;
    border-radius: 12px;
}

.nav-links {
    display: flex;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li a {
    text-decoration: none;
    color: var(--ink);
    font-weight: 600;
    padding: 8px 12px;
    border-radius: 8px;
    transition: background 0.3s ease, color 0.3s ease;
}

.nav-links li a:hover,
.nav-links li a.active {
    background: var(--brand);
    color: #ffffff;
}

.nav-toggle {
    display: none;
    font-size: 1.8rem;
    background: none;
    border: none;
    color: var(--ink);
    cursor: pointer;
}

/* Responsive: Mobile Navigation */
@media (max-width: 860px) {
    .nav-links {
        display: none;
        flex-direction: column;
        background: #ffffffee;
        position: absolute;
        top: 70px;
        right: 20px;
        width: 200px;
        border: 1px solid #e5e7eb;
        border-radius: 12px;
        box-shadow: var(--shadow);
        padding: 12px;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-toggle {
        display: block;
    }

    .nav-links li a {
        padding: 10px;
        text-align: right;
    }
}

/* ========================= */
/* Contact Form              */
/* ========================= */

.contact-form {
    display: grid;
    gap: 14px;
    margin-top: 10px;
}

.contact-form label {
    font-weight: 600;
    color: var(--ink);
    font-size: 0.95rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #e5e7eb;
    border-radius: var(--radius);
    background: #fff;
    font-family: inherit;
    font-size: 1rem;
    color: var(--muted);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    box-shadow: var(--shadow);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(25, 110, 47, 0.15);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn {
    justify-self: start;
    margin-top: 4px;
    border: none;
    cursor: pointer;
}

.contact-form .btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Feedback text */
#formStatus {
    margin-top: 8px;
    font-size: 0.95rem;
    color: var(--muted);
}

/* Optional: animation for success/error */
#formStatus.success {
    color: var(--brand);
}

#formStatus.error {
    color: #b91c1c;
}