/* =========================================================
   GLOBAL RESET
   ========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* =========================================================
   COLOR VARIABLES
   Helmet Cafe - Green Signature Theme
   ========================================================= */

:root {
    --ink: #26382d;
    --muted: #68756c;
    --cream: #e7ede7;
    --paper: #fffefa;
    --accent: #607d68;
    --line: #d7ddd7;
}


/* =========================================================
   HTML & BODY
   ========================================================= */

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: var(--cream);
    color: var(--ink);
    line-height: 1.5;
}


/* =========================================================
   GENERAL LINKS
   ========================================================= */

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


/* =========================================================
   NAVIGATION BAR
   ========================================================= */

.navbar {
    height: 78px;
    padding: 0 7%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-bottom: 1px solid rgba(38, 56, 45, 0.12);
    background: rgba(231, 237, 231, 0.96);
}

.logo {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -1.3px;
}

.logo span,
.footer-logo span {
    font-weight: 400;
}


/* Navigation Links */

.navbar nav {
    display: flex;
    gap: 34px;
}

.navbar nav a {
    position: relative;

    font-size: 13px;
    color: var(--muted);
}

.navbar nav a.active,
.navbar nav a:hover {
    color: var(--ink);
}


/* Active Navigation Underline */

.navbar nav a.active::after {
    content: "";

    position: absolute;
    left: 0;
    right: 0;
    bottom: -7px;

    height: 1px;
    background: var(--ink);
}


/* Navigation Button */

.nav-button {
    padding: 12px 19px;

    background: var(--ink);
    color: #fff;

    font-size: 12px;
    border-radius: 3px;
}


/* =========================================================
   HERO SECTION
   ========================================================= */

.hero {
    min-height: 650px;
    padding: 55px 7% 80px;

    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 80px;
    align-items: center;
}


/* Hero Text */

.hero-text {
    padding-top: 15px;
}

.eyebrow {
    margin-bottom: 18px;

    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2.1px;

    color: var(--accent);
}

.eyebrow span {
    display: inline-block;

    width: 28px;
    height: 1px;

    margin-right: 8px;

    background: var(--accent);

    vertical-align: middle;
}


/* Hero Heading */

.hero h1 {
    margin-bottom: 27px;

    font-size: 76px;
    line-height: 0.94;
    font-weight: 700;
    letter-spacing: -4px;
}

.hero h1 em,
.about-text h2 em {
    font-family: Georgia, serif;
    font-weight: 400;
    color: var(--accent);
}


/* Hero Description */

.hero-description {
    max-width: 390px;

    font-size: 14px;
    line-height: 1.8;

    color: var(--muted);
}


/* Hero Buttons */

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 25px;

    margin-top: 31px;
}

.primary-button {
    padding: 14px 21px;

    background: var(--ink);
    color: #fff;

    font-size: 13px;
    border-radius: 3px;
}

.secondary-button {
    padding-bottom: 4px;

    font-size: 13px;

    border-bottom: 1px solid var(--ink);
}

.secondary-button span {
    margin-left: 5px;
}


/* Hero Meta Information */

.hero-meta {
    display: flex;
    gap: 35px;

    margin-top: 55px;
    padding-top: 18px;

    border-top: 1px solid var(--line);
}

.hero-meta div {
    display: flex;
    flex-direction: column;
}

.hero-meta strong {
    font-size: 15px;
}

.hero-meta span {
    margin-top: 3px;

    font-size: 8px;
    letter-spacing: 1.5px;

    color: var(--muted);
}


/* Hero Image */

.hero-visual {
    position: relative;

    height: 520px;

    overflow: hidden;

    /* Hero image background */
    background: #dce2da;
}

.hero-visual > img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
}


/* Image Label */

.image-note {
    position: absolute;
    left: 20px;
    bottom: 20px;

    padding: 13px 16px;

    display: flex;
    align-items: center;
    gap: 15px;

    background: var(--paper);
}

.image-note span {
    font-size: 10px;
    font-weight: 700;

    color: var(--accent);
}

.image-note p {
    font-size: 10px;
    line-height: 1.4;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}


/* =========================================================
   INTRO STRIP
   ========================================================= */

.intro-strip {
    padding: 65px 7%;

    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 40px;
    align-items: center;

    background: var(--ink);
    color: #fff;
}

.intro-strip p {
    font-size: 9px;
    letter-spacing: 2px;

    color: #b7c2b9;
}

.intro-strip h2 {
    font-size: 31px;
    font-weight: 500;
    letter-spacing: -1px;
}

.intro-strip a {
    justify-self: end;

    padding-bottom: 5px;

    font-size: 12px;

    border-bottom: 1px solid #738477;
    color: #d5ddd6;
}


/* =========================================================
   FAVOURITES / FOOD SECTION
   ========================================================= */

.favourites {
    padding: 95px 7%;

    background: var(--paper);
}


/* Section Heading */

.section-heading {
    margin-bottom: 42px;

    display: flex;
    align-items: end;
    justify-content: space-between;
}

.section-heading h2 {
    font-size: 38px;
    letter-spacing: -1.7px;
}

.view-menu {
    padding-bottom: 4px;

    font-size: 12px;

    border-bottom: 1px solid var(--ink);
}


/* Food Grid */

.food-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}


/* Food Card */

.food-card {
    overflow: hidden;

    background: var(--cream);
}


/* Food Image */

.food-image {
    position: relative;

    height: 300px;

    overflow: hidden;
}

.food-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition: transform 0.45s;
}

.food-card:hover .food-image img {
    transform: scale(1.03);
}


/* Food Category Label */

.food-image span {
    position: absolute;
    top: 14px;
    left: 14px;

    padding: 5px 7px;

    background: var(--paper);

    font-size: 9px;
}


/* Food Information */

.food-info {
    padding: 19px 20px;

    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 20px;
}

.food-info h3 {
    margin-bottom: 4px;

    font-size: 16px;
}

.food-info p {
    font-size: 10px;

    color: var(--muted);
}

.food-info strong {
    font-size: 13px;
    white-space: nowrap;
}


/* =========================================================
   ABOUT PREVIEW SECTION
   ========================================================= */

.about-preview {
    padding: 110px 7%;

    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 95px;
    align-items: center;
}


/* About Image */

.about-image {
    position: relative;

    height: 510px;
}

.about-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* Photo Label */

.photo-label {
    position: absolute;
    left: 15px;
    bottom: 15px;

    padding: 8px 11px;

    background: var(--paper);

    font-size: 8px;
    letter-spacing: 1.2px;
}


/* About Text */

.about-text h2 {
    font-size: 60px;
    line-height: 0.95;
    letter-spacing: -3px;
}

.about-text > p:not(.eyebrow) {
    max-width: 410px;

    margin: 25px 0 30px;

    font-size: 14px;
    line-height: 1.8;

    color: var(--muted);
}


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

.visit {
    padding: 80px 7%;

    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 70px;
    align-items: center;

    /* Visit section */
    background: #e4e9e1;
}


/* Visit Title */

.visit-title h2 {
    font-size: 50px;
    line-height: 0.95;
    letter-spacing: -2.5px;
}


/* Visit Details */

.visit-details {
    padding-top: 20px;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;

    border-top: 1px solid #cbd6cd;
}

.visit-details small {
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 1.5px;

    color: var(--accent);
}

.visit-details p {
    margin-top: 10px;

    font-size: 12px;
    line-height: 1.7;

    color: #68756c;
}


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

footer {
    padding: 45px 7% 25px;
    /* Footer */
    background: #1f2d24;
    color: #fff;
}


/* Footer Top */

.footer-top {
    padding-bottom: 35px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-bottom: 1px solid #3d5146;
}

.footer-logo {
    font-size: 23px;
    font-weight: 700;
}

.footer-top > p {
    font-size: 11px;

    color: #b7c2ba;
}


/* Footer Bottom */

.footer-bottom {
    padding-top: 22px;

    display: flex;
    justify-content: space-between;

    font-size: 9px;

    color: #9eaaa2;
}

.footer-links {
    display: flex;
    gap: 20px;
}


/* =========================================================
   GOOGLE MAP
   ========================================================= */

.map-container {
    width: 100%;

    overflow: hidden;

    border-radius: 20px;
}

.map-container iframe {
    width: 100%;
    height: 400px;

    display: block;

    border: 0;
}


/* =========================================================
   RESPONSIVE DESIGN
   ========================================================= */

@media (max-width: 850px) {

    /* Navigation */

    .navbar {
        padding: 0 5%;
    }

    .navbar nav {
        display: none;
    }


    /* Hero */

    .hero {
        padding: 45px 5% 60px;

        grid-template-columns: 1fr;
        gap: 45px;
    }

    .hero h1 {
        font-size: 58px;
    }

    .hero-visual {
        height: 430px;
    }


    /* Intro Strip */

    .intro-strip {
        padding: 50px 5%;

        grid-template-columns: 1fr;
        gap: 20px;
    }

    .intro-strip a {
        justify-self: start;
    }


    /* Favourites */

    .favourites {
        padding: 70px 5%;
    }

    .food-grid {
        grid-template-columns: 1fr;
    }


    /* About */

    .about-preview {
        padding: 70px 5%;

        grid-template-columns: 1fr;
        gap: 50px;
    }

    .about-image {
        height: 400px;
    }

    .about-text h2 {
        font-size: 50px;
    }


    /* Visit */

    .visit {
        padding: 60px 5%;

        grid-template-columns: 1fr;
        gap: 45px;
    }

    .visit-details {
        grid-template-columns: 1fr;
    }


    /* Footer */

    .footer-top {
        align-items: flex-start;
        flex-direction: column;
        gap: 15px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
    }
}

.customer-greeting {
    margin-left: auto;
    font-size: 14px;
    color: var(--ink);
    white-space: nowrap;
}

.customer-greeting + .nav-button {
    margin-left: 18px;
}

.website-link {
    text-decoration: none;
    color: #607d68;
    font-weight: bold;
    padding: 8px 14px;
    border: 1px solid #607d68;
    border-radius: 6px;
}

.website-link:hover {
    background: #607d68;
    color: white;
}

.admin-login {
    color: #9eaaa2;
    text-decoration: none;
    font-size: 11px;
    opacity: 0.6;
    margin-left: 15px;
}

.admin-login:hover {
    opacity: 1;
    color: var(--accent);
}