/* --- Variables and Basic Setup --- */
:root {
    /* New Green, Red, Black Palette */
    --primary-color: #007A5E;
    /* Palm Tree Green */
    --secondary-color: #D9433A;
    /* Lighter Red */
    --accent-color: #D9433A;
    /* Lighter Red (for actions) */
    --bg-color: #FAF3E0;
    /* A slightly different, darker cream */
    --bg-highlight: #FFF8E7;
    /* Warm Cream for specific sections */
    --text-color: #333333;
    /* Dark Grey */
    --light-text: #ffffff;
    /* White */
    --footer-bg: #1C1C1C;
    /* Near Black */

    --heading-font: 'TAN', cursive;
    --body-font: 'Montserrat', sans-serif;

    --navbar-height: 70px;
    /* Adjust as needed */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: 'TAN';
    src: url('fonts/TAN.woff2') format('woff2'),
        url('fonts/TAN.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'TANNIMBUS';
    src: url('fonts/TANNIMBUS.woff2') format('woff2'),
        url('fonts/TANNIMBUS.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

h1,
h2,
h3,
li {
    font-family: 'TAN', cursive;
}

body,
p,
a,
button,
input,
textarea {
    font-family: var(--body-font);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--navbar-height);
    /* Offset scroll target for sticky nav */
}

body {
    font-family: var(--body-font);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    display: flex;
    /* Make body a flex container */
    flex-direction: column;
    /* Arrange children in a column */
    min-height: 100vh;
    /* Ensure body takes at least full viewport height */
}

h1,
h2 {
    font-family: var(--heading-font);
    color: var(--primary-color);
    line-height: 1.2;
}

h3 {
    font-family: var(--heading-font);
    color: var(--secondary-color);
    line-height: 1.2;

}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

/* Slightly more margin for main section titles */
h3 {
    font-size: 1.8rem;
}

/* Removed specific color here to use primary for events */

p {
    margin-bottom: 0.8rem;
    /* Reduced margin */
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    /* Consistent rounded corners for images */
}

/* Visually hide text meant only for screen readers */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* --- Sections --- */
.full-page-section {
    min-height: auto;
    /* Allow sections to be shorter if content is less */
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* Reduced top and bottom padding */
    padding: 40px 20px;
    /* Consistent padding for sections */
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    /* Subtle separator */
    position: relative;
    flex-grow: 1;
    /* Allow sections to grow and push footer down */
}

/* Add a bit more padding to the first section after nav if needed */
#home {
    min-height: 100vh;
    /* Ensure home takes full viewport height */
    justify-content: flex-start;
    /* Align content to the top */
    padding-top: calc(var(--navbar-height) + 40px);
    /* Adjust space from top */
}


.content-container {
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
}

/* --- Navigation Bar --- */
#navbar {
    background-color: var(--primary-color);
    color: var(--text-color);
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    height: var(--navbar-height);
    transition: background-color 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo-link {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    /* Reduced gap for a more compact look */
}

.logo {
    font-family: var(--heading-font);
    font-size: 1.5rem;
    /* Reduced font size to save space */
    color: var(--bg-color);
    white-space: nowrap;
    /* Prevents the brand name from wrapping to a new line */
}

.logo-img {
    height: 40px;
    width: 40px;
    /* Set width to match height for a perfect circle */
    border-radius: 50%;
    /* Makes the image circular */
    object-fit: cover;
    /* Prevents image distortion */
}

#nav-links {
    list-style: none;
    display: flex;
}

#nav-links li {
    margin-left: 25px;
}

#nav-links a {
    font-family: var(--heading-font);
    color: var(--bg-color);
    /* font-weight: bold; */
    padding: 5px 0;
    position: relative;
    text-decoration: none;
}

#nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    display: block;
    margin-top: 5px;
    right: 0;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

#nav-links a:hover::after {
    width: 100%;
    left: 0;
    background: var(--secondary-color);
}

.mobile-nav-toggle {
    display: none;
    /* Hidden on desktop */
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    /* Ensure it's above mobile nav links */
}

.hamburger-icon {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 25px;
    height: 20px;
    /* Adjusted height for 3 lines */
    position: relative;
}

.hamburger-line {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--text-color);
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
}

/* Mobile menu toggle animation for X 
.mobile-nav-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-nav-toggle.active .hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-nav-toggle.active .hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
} 
Commented out for now because it doesn't work   */


/* --- Buttons --- */
.button {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--light-text);
    padding: 12px 25px;
    border: none;
    border-radius: 25px;
    /* Rounded buttons */
    font-weight: bold;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-decoration: none;
    margin: 5px;
    /* Add small margin for spacing if buttons wrap */
}

.button:hover {
    background-color: #B93A31;
    /* Darker shade of red */
    color: var(--light-text);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.call-button {
    background-color: var(--secondary-color);
    color: var(--light-text);
    margin-left: 20px;
}

.call-button:hover {
    background-color: #B93A31;
    /* Darker red */
    color: var(--light-text);
}

/* --- Home Section --- */
#home {
    background: url('images/background.jpeg') no-repeat center center/cover;
    color: var(--light-text);
    text-align: center;
    position: relative;
    /* Ensure no overlap with the next section by taking full viewport height */
    height: 100vh;
    min-height: 600px;
    /* Fallback for very small screens */
}

#home .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

#home .home-content {
    position: relative;
    z-index: 2;
}


.home-logo {
    height: 300px;
    width: 300px;
    /* Set width equal to height for a perfect circle */
    object-fit: cover;
    /* Ensures the image covers the area without distortion */
    border-radius: 50%;
    /* Makes the image circular */
    margin: 0 auto 2rem;
    /* Centers the logo and adds more space below */
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.5));
    /* Matches the text-shadow on the heading */
}


#home h1 {
    font-size: 4.5rem;
    /* Slightly reduced for balance */
    color: var(--light-text);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 0.5rem;
}

#home .slogan {
    font-size: 1.7rem;
    /* Slightly reduced */
    font-family: var(--heading-font);
    margin-top: 5px;
    color: var(--light-text);
    /* Changed to white for high contrast */
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    /* Matched shadow to h1 */
}

/* --- About Us Section --- */
#about {
    background-color: var(--bg-color);
}

.about-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    max-width: 700px;
    /* Controls the width of the entire card */
    margin: 0 auto;
    /* Centers the card */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-image img {
    width: 100%;
    /* Make image fill the card width */
    border-radius: 0;
    /* Remove radius from image so card's radius applies */
}

.about-text {
    padding: 2rem;
    text-align: center;
}

.photo-caption {
    text-align: center;
    /* Centers the text horizontally */
    font-weight: bold;
    /* Makes the text bold */
    font-size: 1.2em;
    /* Makes the font 20% larger than the normal text */
    margin-bottom: 1rem;
    /* Adds some space between the caption and the paragraph below */
    color: var(--primary-color);
    /* Uses your primary color to make it pop */
}

/* Events Section Styling */
.events-section {
    margin-top: 2rem;
    width: 100%;
    text-align: center;
}

.events-section h3 {
    margin-bottom: 1.5rem;
    color: var(--accent-color);
    /* Apply primary color to upcoming events title */
}

.event-item {
    display: flex;
    flex-direction: column;
    /* Default stack for mobile */
    align-items: center;
    gap: 20px;
    text-align: left;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
}

.event-image {
    flex: 1;
    max-width: 100%;
}

.event-image img {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
}

.event-details {
    flex: 2;
}


/* --- Menu Section --- */
#menu {
    background-color: var(--bg-highlight);
}

.menu-intro {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 2rem;
    /* Add space between this text and the grid */
    max-width: 600px;
    /* Constrain width for better readability */
    margin-left: auto;
    margin-right: auto;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    /* Responsive columns */
    gap: 25px;
}

.menu-item {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.menu-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.12);
}

.menu-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.menu-item .caption {
    padding: 15px;
    /* font-weight: bold;  Removed to keep text consistent */
    text-align: center;
    color: var(--text-color);
    flex-grow: 1;
    margin-bottom: 0;
}

/* --- Full Menu Section --- */
.full-menu-container {
    width: 100%;
    max-width: 1600px;
    /* A wider container for the full menu */
    margin: 4rem auto 0;
    /* Adds space above and centers the container */
    text-align: center;
    /* Centers the heading and the image */
}


.full-menu-container h3 {
    margin-bottom: 1.5rem;
    /* Space between heading and image */
}

.full-menu-image {
    max-width: 800px;
    /* Set a max-width for very large screens */
    width: 100%;
    /* Responsive width */
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    margin-left: auto;
    margin-right: auto;
}

.full-menu-images {
    display: flex;
    justify-content: center;
    gap: 2rem;
    /* Adjust the space between menus */
    flex-wrap: wrap;
    /* Allows menus to stack on smaller screens */
}

.full-menu-images .full-menu-image {
    max-width: 700px;
    /* Adjust as needed */
    width: 100%;
    height: auto;
    object-fit: contain;
    /* The following properties are inherited from the original .full-menu-image style */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}



/* index catering section styling */
.catering-preview {
    background-color: var(--bg-highlight);
    padding: 60px 20px;
    text-align: center;
}

.catering-preview h2 {
    margin-bottom: 10px;
}

.catering-preview p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 20px;
}

.catering-preview .button {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--light-text);
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 30px;
    transition: background-color 0.3s ease;
}

.catering-preview .button:hover {
    background-color: #B93A31;
    /* Darker red */
}


/* --- Catering Menu Section --- */
#catering-menu {
    background-color: var(--bg-highlight);
    padding: 60px 20px 10px 20px;
}

#catering-menu .menu-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    /* Mobile fallback */
    gap: 20px;
    max-width: 1700px;
    margin: 0 auto;
}

/* Medium screens */
@media (min-width: 600px) {
    #catering-menu .menu-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Large screens */
@media (min-width: 1024px) {
    #catering-menu .menu-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

#catering-menu .menu-item {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    padding: 10px;
    min-height: 340px;
}

#catering-menu .section-subtitle,
#catering-form .section-subtitle {
    font-size: 1.5rem;
    margin-bottom: 20px;

    text-align: center;
}

#catering-menu .intro-text {
    max-width: 800px;
    /* Constrain width */
    margin-left: auto;
    margin-right: auto;
}

.halal-notice {
    text-align: center;
    font-size: 1rem;
    font-style: italic;
    color: var(--text-color);
    margin-bottom: 40px;
    /* Space between text and menu grid */
    margin-top: -10px;
    /* Pull it closer to the subtitle */
}

#catering-menu .menu-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.12);
}

#catering-menu .menu-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 2px;
}

#catering-menu .caption {
    flex-grow: 1;
    text-align: center;
}

#catering-menu .caption h3 {
    font-size: 1.5rem;
    margin: 10px 0;
    color: #333;
}

#catering-menu .caption p {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

/* --- Catering Form Section --- */
#catering-form {
    background-color: var(--bg-highlight);
    padding: 10px 20px 60px 20px;
}

#catering-form .form-wrapper {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

#catering-form h2 {
    margin-bottom: 10px;
    color: #333;
}

#catering-form .form-description {
    font-size: 1rem;
    margin-bottom: 30px;
    color: #666;
}

#catering-form .form-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#catering-form input,
#catering-form textarea {
    padding: 12px 15px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    background: #fff;
    transition: border-color 0.3s ease;
}

#catering-form input:focus,
#catering-form textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

#catering-form .submit-btn {
    margin-top: 20px;
    background-color: var(--accent-color);
    color: var(--light-text);
    font-size: 1rem;
    padding: 12px 30px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease;
}

#catering-form .submit-btn:hover {
    background-color: #B93A31;
    /* Darker red */
}

#catering-form .privacy-link {
    margin-top: 20px;
    font-size: 0.9rem;
    color: #666;
}

#catering-form .privacy-link a {
    color: var(--primary-color);
    text-decoration: underline;
}

#catering-form .privacy-link a:hover {
    color: var(--accent-color);
}

/* --- Take-out Section --- */
#takeout {
    background-color: var(--bg-color);
}



.slideshow-wrapper {
    max-width: 600px;
    margin: 20px auto 0;
    text-align: center;
    /* Center the h3 */
}

.slideshow-container {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 10px;
    /* Space between h3 and image */
}

/* Apply border directly to images inside slideshow */
.slideshow-container img {
    border: 4px solid var(--primary-color);
    border-radius: 10px;
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.slideshow-container h3 {
    margin-bottom: 10px;
}


/* --- Contact Us Section --- */
#contact {
    background-color: var(--bg-highlight);
    padding-top: 50px;
}

.contact-flex {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    margin-top: 20px;
    text-align: left;
}

.map-container {
    flex: 1;
    min-width: 45%;
    height: 380px;
    border: 4px solid var(--primary-color);
    /* Added border to map container */
    border-radius: 10px;
    /* Added border-radius to map container */
    overflow: hidden;
    /* Added overflow hidden to map container */
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
}

.contact-details {
    flex: 1;
    min-width: 40%;
    text-align: center;
    /* Centered content within contact-details globally */
}

.contact-details h3 {
    font-family: var(--heading-font);
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.contact-details p {
    margin-bottom: 10px;
}

.contact-details strong {
    color: var(--text-color);
}

.contact-details a {
    font-family: var(--body-font);
    font-weight: bold;
}

.reviews-button {
    font: var(--body-font);
    margin-top: 15px;
    background-color: var(--secondary-color);
    color: var(--text-color);
}

.reviews-button:hover {
    background-color: #e6c300;
    color: var(--text-color);
}

/* Instagram Link Styling */
.social-media {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Center items horizontally */
    justify-content: center;
    /* Center items vertically if they were taking up full height */
}

.social-media p {
    margin-bottom: 8px;
    font-weight: bold;
}

.social-icon.instagram-icon {
    display: inline-block;
    color: var(--accent-color);
    transition: transform 0.3s ease;
}

.social-icon.instagram-icon:hover {
    transform: scale(1.1);
    color: var(--primary-color);
}

.social-icon.instagram-icon svg {
    vertical-align: middle;
}


/* --- Improved Footer --- */
footer {
    background-color: var(--footer-bg);
    color: var(--light-text);
    text-align: center;
    padding: 10px 20px;
    /* Reduced padding for thinner footer */
    font-size: 0.9rem;
    width: 100%;
    /* Changed to 100% for better compatibility, assuming body has no horizontal padding */
    box-sizing: border-box;
    margin-top: auto;
    /* Pushes the footer to the bottom */
}





/* --- Responsive Design --- */

/* Medium Screens (Tablets) */
@media (max-width: 992px) {
    h1 {
        font-size: 2.8rem;
    }

    h2 {
        font-size: 2rem;
    }

    #home h1 {
        font-size: 3.5rem;
    }

    #home .slogan {
        font-size: 1.4rem;
    }

    .home-logo {
        height: 130px;
        width: 130px;
    }

    .full-page-section {
        padding: calc(var(--navbar-height) + 15px) 15px 25px;
    }

    .menu-grid {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 20px;
    }

    .about-flex,
    .contact-flex {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .about-image,
    .about-text,
    .map-container,
    .contact-details {
        max-width: 100%;
        min-width: unset;
        flex: unset;
        width: 100%;
    }

    .about-text {
        margin-top: 20px;
    }

    .map-container {
        height: 320px;
    }

    .contact-details {
        margin-top: 25px;
    }

    .event-item {
        flex-direction: column;
        /* Ensure it stacks on tablet too if desired */
        align-items: center;
    }

    .event-image,
    .event-details {
        max-width: 90%;
        /* Or 100% if preferred */
        width: 100%;
    }

    .event-details {
        margin-top: 15px;
        text-align: center;
    }
}

/* Small Screens (Mobiles) */
@media (max-width: 768px) {
    :root {
        --navbar-height: 60px;
    }

    .nav-container {
        position: relative;
    }

    #nav-links {
        display: flex;
        position: absolute;
        top: var(--navbar-height);
        left: 0;
        width: 100%;
        background-color: var(--bg-highlight);
        flex-direction: column;
        padding: 10px 0;
        box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
        /* Enhanced shadow for better depth */
        border-top: 1px solid rgba(0, 0, 0, 0.1);
        max-height: calc(100vh - var(--navbar-height));
        overflow-y: auto;
        z-index: 999;
        transform: translateX(-100%);
        transition: transform 0.35s ease-in-out;
    }

    #nav-links.active {
        transform: translateX(0);
    }

    #nav-links li {
        margin: 0;
        width: 100%;
        text-align: center;
    }

    #nav-links a {
        display: block;
        padding: 12px 20px;
        color: var(--text-color);
        /* Make text visible on light mobile menu */
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }

    #nav-links a::after {
        display: none;
    }

    #nav-links li:last-child a {
        border-bottom: none;
    }

    .call-button {
        display: none;
    }

    a.call-button {
        display: none;
    }

    .mobile-nav-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        padding: 8px;
    }

    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    #home h1 {
        font-size: 2.8rem;
    }

    #home .slogan {
        font-size: 1.2rem;
    }

    .home-logo {
        height: 110px;
        width: 110px;
    }

    .full-page-section {
        padding: calc(var(--navbar-height) + 15px) 10px 20px;
    }

    .menu-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .menu-item img {
        height: 180px;
    }

    .takeout-buttons .button {
        padding: 10px 18px;
        font-size: 0.9rem;
    }

    .delivery-buttons {
        display: flex;
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }

    .delivery-buttons .button {
        width: 90%;
        max-width: 280px;
    }

    .slideshow-container img {
        height: 280px;
    }

    .map-container {
        height: 250px;
    }

    .event-item {
        padding: 15px;
    }

    .event-image img {
        max-height: 200px;
    }

    /* Removed redundant text-align from here, as it's now global in .contact-details */
    /* .contact-details {
      text-align: center;
    } */
    .social-media {
        margin-top: 15px;
    }

    footer {
        padding: 8px 15px;
        /* Further reduce padding on small screens */
    }
}

/* Larger screen adjustments for event section if image and text should be side-by-side */
@media (min-width: 769px) {
    .event-item {
        flex-direction: row;
        /* Side-by-side on larger screens */
        text-align: left;
    }

    .event-image {
        max-width: 40%;
        /* Adjust width as needed */
    }

    .event-details {
        margin-top: 0;
        text-align: left;
    }
}

/* --- Order Form Styles --- */
#order-form {
    text-align: left;
    max-width: 700px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

#order-form .form-group {
    margin-top: 15px;
    margin-bottom: 15px;
}

#order-form h3 {
    color: var(--primary-color);
    text-align: center;
}

#order-form input,
#order-form select {
    width: 100%;
    padding: 10px;
    font-size: 1rem;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 6px;
}

.order-row select {
    flex: 2;
}

.order-row input[type=\"number\"] {
    width: 70px;
}

.order-row .button {
    padding: 8px 15px;
    font-size: 0.9rem;
    background-color: #aaa;
}



/* --- Improved Order Row Layout --- */
.order-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 10px;
    background-color: #fff;
}

.order-row .menu-select {
    flex: 2 1 300px;
    min-width: 250px;
    font-size: 1rem;
    padding: 8px;
    border-radius: 6px;
}

.order-row .item-quantity {
    flex: 0 0 60px;
    font-size: 1rem;
    padding: 6px;
    text-align: center;
}


/* --- Open/Closed Status Banner --- */
.status-banner {
    text-align: center;
    font-size: 1.4rem;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    /* Center the banner */
    margin-bottom: 35px;
    /* Add space below the banner */
}

.status-banner.open {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.status-banner.closed {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* --- Privacy Policy Page --- */
#privacy-policy .content-container {
    text-align: left;
    max-width: 800px;
}

#privacy-policy h1 {
    text-align: center;
    margin-bottom: 2rem;
}

#privacy-policy h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
    text-align: left;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

#privacy-policy ul {
    list-style-position: inside;
    padding-left: 1rem;
}

/* --- Keyframe Animations --- */
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    50% {
        transform: scale(1.03);
        box-shadow: 0 6px 20px rgba(0, 122, 94, 0.3);
        /* Pulse with new green */
    }

    100% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }
}

/* --- Takeout Section Button Styling --- */
.direct-buttons,
.delivery-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    margin: 20px 0;
}

.direct-buttons .button {
    background-color: var(--primary-color);
    color: var(--light-text);
    font-size: 2rem;
    /* Increased font size */
    padding: 20px 40px;
    /* Increased padding */
    max-width: 380px;
    /* Increased max-width */
    width: 100%;
    border-radius: 30px;
    font: var(--body-font);
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    animation: pulse 2.5s infinite ease-in-out;
}

.direct-buttons .button:hover {
    background-color: #005C48;
    /* darker shade of green */
    color: var(--light-text);
    animation: none;
    /* Stop the pulse on hover */
    transform: translateY(-3px) scale(1.02);
    /* Make it pop a bit more on hover */
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    /* Enhance shadow on hover */
}

.delivery-buttons .button {
    background-color: var(--secondary-color);
    font: var(--body-font);
    font-weight: bold;
    color: var(--light-text);
    font-size: 1rem;
    padding: 12px 24px;
    max-width: 280px;
    width: 100%;
    border-radius: 25px;
}

.delivery-buttons .button:hover {
    background-color: #B93A31;
    /* Darker red */
    color: var(--light-text);
}


.order-confirmation {
    border: 1px solid #e0cfa9;
    border-radius: 8px;
    padding: 30px;
    margin: 40px auto;
    max-width: 600px;
    text-align: center;
    font-family: var(--font-family, sans-serif);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.order-confirmation h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #4b4b4b;
}

.order-confirmation p {
    font-size: 1.1rem;
    color: #333;
    line-height: 1.6;
}

.confirmation-buttons {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.confirmation-buttons .btn {
    background-color: var(--accent-color);
    color: var(--light-text);
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.confirmation-buttons .btn:hover {
    background-color: #B93A31;
    /* Darker red */
}

.hidden {
    display: none;
}

/* --- Watermark Styles --- */
.menu-item,
.about-image,
.event-image {
    position: relative;
}

.menu-item::after,
.about-image::after,
.event-image::after {
    content: "";
    /* Empty content for image */
    position: absolute;
    /* --- CONTROLS DISTANCE FROM BOTTOM --- */
    bottom: 60px;
    /* Increased to move it up further */
    right: 5px;
    width: 60px;
    /* Slightly larger for better visibility */
    height: 60px;
    background-image: url('images/logo no background.png');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.4;
    /* Reduced opacity for subtlety */
    pointer-events: none;
    /* Allows clicks to pass through */
    z-index: 10;
}

/* FIX: Use TOP positioning for menu items to handle variable card heights */
.menu-item::after {
    bottom: auto;
    /* Override generic bottom */
    top: 130px;
    /* Aligns with bottom of 200px image */
    right: 10px;
}

/* Adjust for Catering Menu Items (taller images + padding) */
#catering-menu .menu-item::after {
    bottom: auto;
    /* Adjusting for 220px image + 10px padding */
    top: 170px;
    right: 10px;
}