/* ==========================================================================
   Greenview Cafe - Styles
   Recreated from https://greenviewcafe.co.nz/
   ========================================================================== */

/* --- Reset & Base --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #000000;
    background-color: #ffffff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

/* --- Section Containers --- */
.section-inner {
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.header {
    background-color: #ffffff;
    width: 100%;
    z-index: 2147483640;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
}

.header-row {
    padding-top: 15px;
}

.header-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    padding: 0 15px;
}

.header-left {
    display: flex;
    align-items: center;
}

.header-logo {
    max-width: 300px;
    margin-bottom: 10px;
}

.header-right {
    margin-left: auto;
}

.header-right.mobile-info {
    display: none;
}

.header-info {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.info-address {
    font-size: 16px;
    margin-bottom: 2px;
}

.info-hours {
    font-size: 16px;
    text-align: right;
    margin-bottom: 2px;
}

.info-phone {
    font-size: 16px;
    margin-bottom: 4px;
}

/* --- Order Button --- */
.order-button-wrap {
    display: flex;
    flex-direction: row;
    gap: 10px;
    margin-top: 10px;
}

.order-button {
    display: inline-block;
    text-align: center;
    text-decoration: none;
    background-color: #ed4609;
    border: 1px solid #ed4609;
    color: #ffffff;
    padding: 10px 16px;
    font-size: 21px;
    font-weight: 600;
    margin-bottom: 10px;
    transition: opacity 0.2s ease;
}

.order-button:hover {
    opacity: 0.88;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    width: 100%;
}

.hero-section .section-inner {
    padding: 0;
}

.hero-image {
    width: 100%;
    display: block;
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */
.about-section {
    background-color: #e8d5df;
    text-align: left;
    width: 100%;
}

.about-section .section-inner {
    align-items: center;
    padding: 40px 20px;
}

.about-text-block {
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}

.section-heading {
    font-family: 'Montserrat', 'Open Sans', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 12px;
    margin-left: 20px;
    margin-right: 20px;
    color: #000;
}

.section-subheading {
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 42px;
    color: #333;
}

/* --- Team / Chef --- */
.team-columns {
    display: flex;
    width: 100%;
    flex-direction: row;
    align-items: stretch;
    justify-content: center;
    flex-wrap: wrap;
}

.team-column {
    width: 25%;
}

.team-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.team-image {
    max-width: 241px;
    border-radius: 0;
}

.team-title {
    font-family: 'Montserrat', 'Open Sans', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    margin-top: 10px;
    color: #000;
}

/* ==========================================================================
   LOCATION SECTION
   ========================================================================== */
.location-section {
    width: 100%;
    text-align: left;
}

.location-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
}

.map-container {
    width: 80vw;
    height: 60vh;
    max-width: 100%;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer-section {
    background-color: #081118;
    text-align: left;
    width: 100%;
}

.footer-section .section-inner {
    padding: 0 20px;
    align-items: center;
}

.footer-columns {
    display: flex;
    width: 100%;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 17px;
}

.footer-left {
    width: 95.83%;
}

.footer-right {
    width: 4.17%;
    display: flex;
    justify-content: center;
}

.footer-copyright {
    margin-top: 20px;
    color: #fef8f6;
    font-size: 0.85rem;
    font-weight: 400;
    margin-bottom: 20px;
}

/* --- Social Icons --- */
.social-icons {
    display: flex;
    flex-direction: row;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    margin-bottom: 10px;
}

.social-icon {
    width: 50px;
    height: 50px;
    fill: #4e73e0;
    transition: opacity 0.2s ease;
}

.social-icon:hover {
    opacity: 0.8;
}

/* ==========================================================================
   MOBILE STICKY ORDER BUTTON
   ========================================================================== */
.mobile-order-section {
    display: none;
}

.mobile-order-section .section-inner {
    padding: 0;
}

.mobile-order-wrap {
    text-align: left;
    display: flex;
    flex-direction: row;
    gap: 10px;
    margin-top: 0;
}

.mobile-order-button {
    font-size: 28px;
    min-width: 100vw;
    margin-bottom: 0;
    font-weight: 700;
    padding: 17px 27.2px;
    text-align: center;
}

/* ==========================================================================
   RESPONSIVE - Tablet (max-width: 991px)
   ========================================================================== */
@media (max-width: 991px) {
    .team-column {
        width: 100% !important;
    }

    .section-heading {
        text-align: center;
    }

    .section-subheading {
        text-align: center;
    }

    .footer-left {
        display: none;
    }

    .footer-right {
        width: 100%;
        text-align: left;
        align-items: center;
        padding-top: 8px;
    }

    .social-icon {
        width: 23px;
        height: 23px;
    }

    .order-button {
        padding: 5px 8px;
    }
}

/* ==========================================================================
   RESPONSIVE - Small Tablet (max-width: 767px)
   ========================================================================== */
@media (max-width: 767px) {
    .header-container {
        flex-direction: column;
    }

    .header-container > div {
        justify-content: center;
    }

    .header-right {
        margin-left: 0;
    }

    .header-info {
        text-align: center;
        align-items: center;
    }

    .info-hours {
        text-align: center;
    }

    .section-subheading {
        margin-left: 20px;
        margin-right: 20px;
    }
}

/* ==========================================================================
   RESPONSIVE - Mobile (max-width: 479px)
   ========================================================================== */
@media (max-width: 479px) {
    body {
        /* No top margin on mobile - header not fixed */
    }

    .header {
        position: relative;
        box-shadow: none;
    }

    .header-row {
        padding-top: 0;
        padding-bottom: 20px;
    }

    .header-logo {
        width: 70%;
        margin-bottom: 3px;
    }

    .header-right.desktop-info {
        display: none;
    }

    .header-right.mobile-info {
        display: block;
        margin-left: 0;
    }

    .header-right.mobile-info .header-info {
        text-align: center;
        align-items: center;
        margin-top: 9px;
        min-width: 100vw;
    }

    .info-address,
    .info-hours,
    .info-phone {
        font-size: 20px;
    }

    .info-hours {
        text-align: center;
    }

    /* Hero hidden on mobile */
    .hero-section .section-inner {
        display: none;
    }

    .hero-section {
        visibility: visible;
    }

    /* Footer adjustments */
    .footer-columns {
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .footer-left {
        display: none;
    }

    .footer-right {
        width: 100%;
    }

    .social-icon {
        width: 16.5px;
        height: 16.5px;
    }

    /* Mobile sticky order button */
    .mobile-order-section {
        display: block;
        position: sticky;
        bottom: 0;
        z-index: 9999;
    }

    .mobile-order-button {
        font-size: 28px;
        min-width: 100vw;
        margin-bottom: 0;
        font-weight: 700;
        padding: 17px 27.2px;
        position: sticky;
        top: 0;
    }
}
