
/* =========================================
   AUNTY'S CATERING
   MAIN WEBSITE STYLESHEET
========================================= */


/* =========================================
   1. COLOURS AND BRANDING
========================================= */

:root {

    --primary: #344C3C;
    --accent: #A45D3D;

    /* Main business background colour */

    --cream: rgb(235, 220, 198);

    /* Secondary colours */

    --paper: #F7F0E6;
    --ink: #292929;
    --white: #FFFFFF;
    --border: #D0BFA6;
    --gold: #956A20;

    /* Website fonts */

    --heading-font: Georgia, serif;
    --body-font: Arial, sans-serif;

    /* Maximum content width */

    --width: 1250px;

}


/* =========================================
   2. GENERAL WEBSITE SETTINGS
========================================= */

* {

    box-sizing: border-box;

}

html {

    scroll-behavior: smooth;
    scroll-padding-top: 130px;

}

body {

    margin: 0;
    padding: 0;

    background-color: var(--cream);
    color: var(--ink);

    font-family: var(--body-font);
    font-size: 16px;
    line-height: 1.75;

}

img {

    display: block;
    max-width: 100%;

}

a {

    color: inherit;
    text-decoration: none;

}

button {

    font: inherit;

}

.container {

    width: 90%;
    max-width: var(--width);

    margin: 0 auto;

}

.section {

    padding: 85px 0;
    text-align: center;

}

.alternate {

    background-color: var(--paper);

}

[hidden] {

    display: none !important;

}


/* =========================================
   3. HEADINGS AND TYPOGRAPHY
========================================= */

h1,
h2,
h3 {

    font-family: var(--heading-font);
    color: var(--primary);

    line-height: 1.2;

}

h1 {

    font-size: clamp(36px, 4.5vw, 68px);
    margin: 20px 0 25px;

}

h2 {

    font-size: clamp(30px, 4vw, 46px);
    margin: 0 0 25px;

}

h3 {

    font-size: 25px;
    margin: 0 0 15px;

}

p {

    margin: 0 0 20px;

}

.eyebrow {

    color: var(--accent);

    font-size: 12px;
    font-weight: bold;

    letter-spacing: 2px;
    text-transform: uppercase;

    margin-bottom: 15px;

}

.section-description {

    max-width: 850px;
    margin: 0 auto 25px;

}


/* =========================================
   4. NAVIGATION BAR
========================================= */

.header {

    position: sticky;

    top: 0;
    z-index: 1000;

    background-color: var(--cream);

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

}

.nav-row {

    display: flex;

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

    min-height: 120px;

    gap: 25px;

}


/* MAIN LOGO */

.brand img {

    height: 100px;
    width: auto;

    object-fit: contain;

}


/* NAVIGATION LINKS */

nav {

    display: flex;

    align-items: center;

    gap: 22px;

}

nav a {

    color: var(--primary);

    font-size: 15px;
    font-weight: bold;

    transition: color 0.2s ease;

}

nav a:hover {

    color: var(--accent);

}


/* MOBILE MENU */

.menu-toggle {

    display: none;

    background: transparent;
    color: var(--primary);

    border: 1px solid var(--primary);
    border-radius: 5px;

    padding: 8px 15px;

    cursor: pointer;

}


/* =========================================
   5. HOMEPAGE BANNER
========================================= */

.hero {

    background-color: var(--cream);
    padding: 75px 0;

}

.hero-grid {

    display: grid;

    grid-template-columns: 1fr 1.15fr;

    gap: 45px;

    align-items: center;

}

.hero-content {

    min-width: 0;

}

.hero-description {

    max-width: 600px;

    font-size: 18px;

}

.hero-buttons {

    display: flex;
    flex-wrap: wrap;

    gap: 12px;

    margin-top: 25px;

}


/* =========================================
   6. HOMEPAGE LOOPING VIDEO
========================================= */

.hero-image {

    position: relative;
    min-width: 0;

}

.hero-image video,
.hero-image img {

    display: block;

    width: 100%;

    aspect-ratio: 16 / 9;

    object-fit: contain;
    object-position: center;

    background-color: var(--cream);

    border-radius: 12px;

    box-shadow: 0 10px 30px
                rgba(0, 0, 0, 0.12);

}

.hero-image img {

    object-fit: cover;

}


/* VIDEO PLAY AND PAUSE BUTTON */

.video-toggle {

    position: absolute;

    right: 12px;
    bottom: 12px;

    padding: 7px 12px;

    color: white;

    background-color: rgba(0, 0, 0, 0.65);

    border: none;
    border-radius: 5px;

    font-size: 12px;

    cursor: pointer;

}

.video-toggle:hover {

    background-color: rgba(0, 0, 0, 0.85);

}


/* =========================================
   7. FOOD SAFETY RATING
========================================= */

.food-rating {

    display: flex;

    flex-direction: column;
    align-items: flex-start;

    width: fit-content;
    max-width: 100%;

    background-color: var(--paper);

    border: 1px solid var(--border);
    border-radius: 8px;

    padding: 15px 22px;

    margin: 25px 0;

}

.rating-stars {

    color: var(--gold);

    font-size: 32px;

    letter-spacing: 4px;
    line-height: 1.4;

    margin-bottom: 8px;

}

.food-rating strong {

    color: var(--primary);

    font-size: 17px;

}

.food-rating span {

    font-size: 12px;

    margin-top: 5px;

}

.food-rating small {

    font-size: 11px;

    margin-top: 3px;

}


/* =========================================
   8. BUTTONS AND LINKS
========================================= */

.button {

    display: inline-block;

    background-color: var(--accent);
    color: var(--white);

    padding: 13px 25px;

    border: 2px solid var(--accent);
    border-radius: 5px;

    font-size: 15px;
    font-weight: bold;

    text-align: center;

    cursor: pointer;

    transition: background-color 0.2s ease,
                transform 0.2s ease;

}

.button:hover {

    background-color: #81452C;
    border-color: #81452C;

    transform: translateY(-2px);

}

.button-outline {

    background: transparent;

    color: var(--primary);

    border-color: var(--primary);

}

.button-outline:hover {

    background-color: var(--primary);
    border-color: var(--primary);

    color: var(--white);

}

.text-link {

    display: inline-block;

    color: var(--accent);

    font-weight: bold;
    font-size: 14px;

    margin-top: 15px;

}

.text-link:hover {

    text-decoration: underline;

}

.section-button {

    margin-top: 40px;

}


/* =========================================
   9. INTRODUCTION AND BUSINESS STATISTICS
========================================= */

.intro {

    background-color: var(--paper);

}

.stats {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 25px;

    margin-top: 45px;

}

.stats > div {

    padding: 20px 10px;

}

.stats strong {

    display: block;

    color: var(--primary);

    font-family: var(--heading-font);

    font-size: clamp(25px, 3vw, 38px);

    line-height: 1.2;

    margin-bottom: 10px;

}

.stats span {

    display: block;

    font-size: 15px;

}


/* =========================================
   10. CATERING SERVICE CARDS
========================================= */

.service-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 25px;

    margin-top: 40px;

}

.card {

    display: flex;
    flex-direction: column;

    background-color: var(--paper);

    border: 1px solid var(--border);
    border-radius: 10px;

    overflow: hidden;

    text-align: left;

    transition: transform 0.3s ease,
                box-shadow 0.3s ease;

}

.card:hover {

    transform: translateY(-5px);

    box-shadow: 0 8px 20px
                rgba(0, 0, 0, 0.10);

}

.card img {

    width: 100%;
    height: 260px;

    object-fit: cover;

}

.card-body {

    display: flex;
    flex-direction: column;

    flex: 1;

    padding: 25px;

}

.card-body .text-link {

    margin-top: auto;
    padding-top: 15px;

}


/* =========================================
   11. OUR FAMILY STORY
========================================= */

.about-grid {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 60px;

    align-items: center;

    text-align: left;

}

.about-image img {

    width: 100%;

    max-height: 650px;

    object-fit: contain;

    border-radius: 10px;

}

.about-content p {

    margin-bottom: 20px;

}


/* =========================================
   12. INDIGENOUS HERITAGE
========================================= */

.indigenous-section {

    background-color: var(--cream);

}

.heritage-content {

    max-width: 950px;

}

.heritage-quote {

    max-width: 800px;

    margin: 35px auto;

    padding: 25px 15px;

    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);

    color: var(--primary);

    font-family: var(--heading-font);
    font-style: italic;

    font-size: clamp(24px, 3vw, 34px);

    line-height: 1.5;

}


/* =========================================
   13. WORKPLACE CATERING PARTNERSHIPS
========================================= */

.workplace-grid {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 20px;

    margin-top: 45px;

}

.workplace-grid article {

    background-color: var(--cream);

    border: 1px solid var(--border);
    border-radius: 10px;

    padding: 30px 20px;

    text-align: left;

}

.workplace-grid h3 {

    font-size: 23px;

}

.workplace-grid article p:last-child {

    margin-bottom: 0;

}

.feature-number {

    display: block;

    color: var(--accent);

    font-family: var(--heading-font);
    font-size: 32px;

    margin-bottom: 15px;

}


/* EXISTING WORKPLACE CUSTOMERS */

.client-section {

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

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

}

.client-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;

    margin-top: 30px;

}

.client-grid > div {

    display: flex;

    justify-content: center;
    align-items: center;

    min-height: 100px;

    padding: 20px;

    background-color: var(--cream);

    color: var(--primary);

    font-family: var(--heading-font);
    font-size: 22px;

    border: 1px solid var(--border);
    border-radius: 8px;

}


/* =========================================
   14. FOOD AND DESSERT GALLERIES
========================================= */

.gallery-grid {

    display: grid;

    /* Number of photographs per row */

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;

    margin-top: 40px;

}

.gallery-item {

    display: block;

    width: 100%;

    padding: 0;

    background-color: var(--paper);

    border: 1px solid var(--border);
    border-radius: 10px;

    overflow: hidden;

    cursor: zoom-in;

    transition: transform 0.3s ease,
                box-shadow 0.3s ease;

}

.gallery-item:hover {

    transform: translateY(-5px);

    box-shadow: 0 8px 20px
                rgba(0, 0, 0, 0.12);

}

.gallery-item img {

    width: 100%;

    aspect-ratio: 4 / 3;

    object-fit: cover;
    object-position: center;

}

.corporate-grid {

    grid-template-columns: repeat(3, 1fr);

}

.gallery-note {

    color: var(--primary);

    font-size: 13px;
    font-style: italic;

    margin: 25px 0 0;

}


/* MISSING PHOTO MESSAGE */

.image-unavailable {

    display: grid;

    place-items: center;

    min-height: 180px;

    padding: 15px;

    background-color: var(--paper);

    color: var(--ink);

    font-size: 13px;

}


/* =========================================
   15. FOOD SAFETY AND QUALITY
========================================= */

.quality-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 25px;

    margin-top: 40px;

}

.quality-grid article {

    background-color: var(--cream);

    border: 1px solid var(--border);
    border-radius: 10px;

    padding: 35px 25px;

}

.quality-grid article p:last-child {

    margin-bottom: 0;

}


/* =========================================
   16. CONTACT INFORMATION
========================================= */

.contact {

    background-color: var(--cream);

}

.contact-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 25px;

    margin-top: 40px;

}

.contact-card {

    background-color: var(--paper);

    border: 1px solid var(--border);
    border-radius: 10px;

    padding: 30px 20px;

    overflow-wrap: anywhere;

}

.contact-card h3 {

    margin-bottom: 25px;

}

.contact-card p {

    margin-bottom: 15px;

}

.contact-label {

    font-size: 13px;

    font-weight: bold;

    text-transform: uppercase;

    letter-spacing: 1px;

    margin: 15px 0 5px !important;

}

.contact-link {

    display: block;

    color: var(--primary);

    font-size: 17px;
    font-weight: bold;

    margin-bottom: 15px;

}

.contact-link:hover {

    color: var(--accent);

    text-decoration: underline;

}

.contact-card address {

    font-style: normal;

    line-height: 1.9;

}

.contact-buttons {

    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 15px;

    margin-top: 40px;

}

.closing-slogan {

    font-family: var(--heading-font);

    color: var(--primary);

    font-style: italic;

    font-size: 25px;

    margin: 50px 0 0;

}


/* =========================================
   17. WEBSITE FOOTER
========================================= */

.footer {

    background-color: var(--cream);

    color: var(--primary);

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

    padding: 50px 0 30px;

    text-align: center;

    font-size: 14px;

}


/* LOGO5 */

.footer-logo {

    width: 320px;

    max-width: 85%;

    height: auto;

    object-fit: contain;

    margin: 0 auto 25px;

}

.footer-slogan {

    font-family: var(--heading-font);

    font-size: 23px;

    font-style: italic;

}

.footer p {

    margin: 10px 0;

}

.footer-contact {

    display: flex;

    flex-wrap: wrap;

    align-items: center;
    justify-content: center;

    gap: 12px;

    margin: 25px 0 15px;

}

.footer-contact a {

    font-weight: bold;

    overflow-wrap: anywhere;

}

.footer-contact a:hover {

    color: var(--accent);

    text-decoration: underline;

}

.footer-divider {

    color: var(--border);

}

.footer-address {

    font-size: 13px;

}

.copyright {

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

    padding-top: 25px;

    margin-top: 30px !important;

    font-size: 12px;

}


/* =========================================
   18. FULL-SCREEN IMAGE VIEWER
========================================= */

.lightbox {

    position: fixed;

    width: fit-content;

    max-width: 95vw;
    max-height: 95vh;

    background-color: #181818;

    color: var(--white);

    border: none;
    border-radius: 10px;

    padding: 45px 45px 15px;

    text-align: center;

}

.lightbox::backdrop {

    background-color: rgba(0, 0, 0, 0.90);

}

.lightbox img {

    max-width: calc(95vw - 100px);

    max-height: 75vh;

    width: auto;
    height: auto;

    object-fit: contain;

    margin: 0 auto;

}

.close-lightbox {

    position: absolute;

    top: 0;
    right: 12px;

    background: transparent;
    color: var(--white);

    border: none;

    font-size: 35px;

    cursor: pointer;

}

.lightbox-arrow {

    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    background-color: rgba(0, 0, 0, 0.6);

    color: var(--white);

    border: none;
    border-radius: 5px;

    padding: 12px;

    font-size: 22px;

    cursor: pointer;

}

.previous-image {

    left: 5px;

}

.next-image {

    right: 5px;

}

.lightbox-arrow:hover {

    background-color: rgba(255, 255, 255, 0.2);

}

.lightbox p {

    margin: 15px 0 0;

    font-size: 14px;

}

body.lightbox-open {

    overflow: hidden;

}


/* =========================================
   19. TABLET RESPONSIVE DESIGN
========================================= */

@media (max-width: 1050px) {

    .menu-toggle {

        display: block;

    }

    .nav-row {

        flex-wrap: wrap;

    }

    nav {

        display: none;

        width: 100%;

        flex-direction: column;
        align-items: stretch;

        gap: 0;

        padding-bottom: 15px;

    }

    nav.open {

        display: flex;

    }

    nav a {

        padding: 12px 0;

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

    }

    .hero-grid {

        gap: 30px;

    }

    .about-grid {

        gap: 35px;

    }

    .workplace-grid {

        grid-template-columns: repeat(2, 1fr);

    }

    .service-grid,
    .quality-grid,
    .contact-grid {

        gap: 15px;

    }

    .card-body {

        padding: 20px;

    }

}


/* =========================================
   20. MOBILE PHONE RESPONSIVE DESIGN
========================================= */

@media (max-width: 700px) {

    html {

        scroll-padding-top: 100px;

    }

    .section {

        padding: 50px 0;

    }

    .nav-row {

        min-height: 85px;

    }

    .brand img {

        height: 70px;

    }

    .hero {

        padding: 45px 0;

    }

    .hero-grid,
    .about-grid,
    .service-grid,
    .quality-grid,
    .contact-grid,
    .workplace-grid,
    .client-grid {

        grid-template-columns: 1fr;

    }

    .hero-description {

        font-size: 17px;

    }

    .hero-image video {

        width: 100%;

        aspect-ratio: 16 / 9;

    }

    .food-rating {

        padding: 12px 18px;

    }

    .stats {

        grid-template-columns: repeat(2, 1fr);

        gap: 15px;

    }

    .stats strong {

        font-size: 28px;

    }

    .stats span {

        font-size: 13px;

    }

    .gallery-grid,
    .corporate-grid {

        grid-template-columns: repeat(2, 1fr);

        gap: 12px;

    }

    .about-grid {

        gap: 30px;

    }

    .about-image img {

        max-height: 400px;

    }

    .card img {

        height: 240px;

    }

    .closing-slogan {

        font-size: 21px;

    }

    .footer-logo {

        width: 250px;

    }

    .footer-contact {

        flex-direction: column;

        gap: 8px;

    }

    .footer-divider {

        display: none;

    }

    .footer-slogan {

        font-size: 20px;

    }

    .lightbox {

        padding: 40px 30px 15px;

    }

    .lightbox img {

        max-width: calc(95vw - 60px);

    }

    .lightbox-arrow {

        padding: 7px;

        font-size: 17px;

    }

}


/* =========================================
   21. SMALL MOBILE SCREENS
========================================= */

@media (max-width: 400px) {

    .hero-buttons,
    .contact-buttons {

        flex-direction: column;

    }

    .hero-buttons .button,
    .contact-buttons .button {

        width: 100%;

    }

    .brand img {

        max-width: 180px;

        height: auto;

        max-height: 70px;

    }

    .rating-stars {

        font-size: 26px;

    }

    .stats strong {

        font-size: 23px;

    }

}


/* =========================================
   22. ACCESSIBILITY
========================================= */

a:focus-visible,
button:focus-visible {

    outline: 3px solid var(--accent);

    outline-offset: 4px;

}

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

    html {

        scroll-behavior: auto;

    }

    * {

        transition: none !important;

    }

}
