body {
    font-family: 'Cavolini', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #A8D8FF; /* Pastel light blue background */
    color: #4a3b2d; /* Earthy brown for text */
    background-attachment: fixed; /* Ensures the background image stays fixed */
    background-size: cover; /* Ensures the background covers the whole page */
    height: 100%; /* Full height for flex layout */
    display: flex;
    flex-direction: column; /* Ensures the footer stays at the bottom */
    flex-grow: 1; /* Ensures body takes up all available space */
}

header {
    width: 100%;
    height: 180px; /* On smaller screens, maintain a bit more height */
    min-height: 300px;
    background-image: url("../images/mijosheaderindexone700.jpg");
    background-size: cover; /* Ensure background covers entire header */
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    margin-bottom: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

header h1 {
    font-size: 2.5em; /* Large text for header */
    color: white;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.4); /* Subtle shadow for better contrast */
    z-index: 2; /* Ensures text stays on top of the background image */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Centers the text */
    font-family: 'Cavolini', sans-serif;
}

/* Navigation Styling */
nav {
    width: 100%;
    text-align: center;
    background: #003841;
    padding: 15px 0;
    position: relative;
    z-index: 1;
    border-top: 3px solid #ffcc33;
    margin-top: 0px;
    margin-bottom: -55px;
}

nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    justify-content: space-evenly; /* Even spacing across the width */
    width: 100%;
}

nav ul li {
    display: inline-block;
    margin: 0 15px;
}

nav ul li a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    font-size: 1.2em;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s, transform 0.3s ease;
}

nav ul li a:hover {
    color: #ffcc33;
    transform: scale(1.1);
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #ffcc33;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

nav ul li a:hover::after {
    transform: scaleX(1);
}

/* About Us Section */
main {
    flex-grow: 1; /* Allows main content to take up remaining space */
    padding: 10px 20px;
    padding-top: 150px;
    background-color: white;
    display: flex;
    flex-direction: column;
}

/* Spacing and Dividers */
.catering-intro {
    margin-bottom: 70px; 
    padding-bottom: 20px;
    border-radius: 8px;
    transition: transform 0.3s ease-in-out;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.6);
}


/* Adjust Section Headings */
.catering h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #003841;
	padding-top: 50px;
	padding-bottom: 20px;
	text-align: center;
}

.catering p {
    font-size: 1.1em;
    color: black;
	padding-bottom: 50px;
	padding-left: 40px;
	padding-right: 40px;
	text-align: left;
	line-height: 1.8;
}

.catering-gallery .gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Evenly distribute images */
    gap: 30px; /* Increase gap to space out images */
    justify-content: center; /* Centers images in the container */
    align-items: center;
    padding: 20px; /* Adds some internal spacing */
}

.catering-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Responsive grid */
    gap: 20px;
}


.catering-gallery img {
    width: 100%; /* Ensure the images fill the grid cell */
    height: auto; /* Maintain the aspect ratio */
    object-fit: cover; /* Ensure the images cover the grid without distortion */
    border-radius: 8px; /* Optional: adds rounded corners */
    transition: transform 0.3s ease-in-out; /* Smooth zoom effect on hover */
}

.catering-gallery img:hover {
    transform: scale(1.05); /* Slight zoom effect on hover */
}

.catering-contact {
    margin-top: 70px; /* Pushes it down towards the footer */
	margin-bottom: 80px;
    border-radius: 8px;
    transition: transform 0.3s ease-in-out;
    border: 4px solid #FFCA00; /* Adds a top border */
}

.catering-contact a {
    color: #00BEDE;
    text-decoration: none;
    font-weight: bold;
}

.catering-contact a:hover {
    text-decoration: underline;
}

.catering-contact p {
	text-align: center;
}

.divider {
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, #ffcc33, #46B7D8);
    margin: 30px 0; /* Adds space above and below */
}

.hover-image-container {
    position: relative;
    overflow: hidden;
}

.hover-image-container img {
    width: 100%;
    display: block;
    transition: opacity 0.5s ease-in-out;
}

.hover-image-container .hover-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
}

.hover-image-container:hover .hover-image {
    opacity: 1;
}


footer {
    background-color: rgba(0, 0, 0, 0.7); /* Dark blue background */
    color: white;
    padding: 20px 0; /* Increased padding to add more height to the footer */
    text-align: center;
    font-size: 1em;
    position: relative;
    min-height: 100px; /* Ensures the footer has a minimum height */
    width: 100%;
    flex-shrink: 0; /* Prevents footer from shrinking */
    margin-top: auto; /* Pushes footer to the bottom */
    border-top: 3px solid #ffcc33; /* Yellow line above the footer */
}

/* Ensures the footer stays at the bottom */
html, body {
    height: 100%;
    display: flex;
    flex-direction: column;
}


body {
    flex-grow: 1; /* Ensures body takes up all available space */
}

/* Footer Content Adjustments */
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* Aligns content at the top to ensure consistent height */
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    z-index: 2;
}

.footer-left, .footer-middle, .footer-right {
    flex: 1;
    padding: 10px;
    min-width: 200px;
}

.footer-left h3 {
    font-size: 1.3em;
    margin-bottom: 10px;
	margin-top: -1px;
}

.footer-middle h4, .footer-right h4 {
    font-size: 1.3em;
    margin-bottom: 5px;
	margin-top: -1px;
}

.footer-middle ul {
    list-style: none;
    padding: 0;
}

.footer-middle ul li {
    margin-bottom: 5px;
}

.footer-middle ul li a {
    text-decoration: none;
    color: white;
    transition: color 0.3s;
}

.footer-middle ul li a:hover {
    color: #ffcc33;
}

.footer-content .social-icons a {
    margin-right: 10px;
    font-size: 30px;
    transition: color 0.3s;
}

.footer-content .social-icons a:hover {
    color: #ffcc33;
}

.social-icons i {
    color: white;
    transition: color 0.3s;
}

.footer-bottom {
    margin-top: 20px;
    font-size: 1em; /* Same size as 'Mijo's Food Truck' */
    font-weight: normal; /* Lighter text for hierarchy */
    margin-bottom: 0;
	color:#ACACAC;
}

.footer-bottom span {
    font-size: 1em; /* Same size as 'Mijo's Food Truck' */
    font-weight: normal; /* Ensure the same size and hierarchy */
    display: block; /* Makes it appear as a separate line */
}

.footer-bottom .designer {
    font-size: 0.6em; /* Slightly smaller to distinguish it from the copyright text */
    font-style: italic; /* To add a subtle distinction */
    margin-top: 5px; /* Adds some space between copyright and designer text */
    color: #bbb; /* Lighter color for the designer credit */
    letter-spacing: 1px; /* Adds a bit of spacing for clarity */
}

/* Apply gradient color to footer titles */
.footer-left h3,
.footer-middle h4,
.footer-right h4 {
    background: linear-gradient(to right, #ffcc33, #46B7D8); /* Gradient colors */
    -webkit-background-clip: text; /* Makes gradient apply to text */
    color: transparent; /* Makes the text color transparent to show the gradient */
    font-weight: bold; /* Keeps the text bold for emphasis */
    transition: background 0.3s ease-in-out; /* Smooth transition if desired */
}

/* Adjustments for alignment of "Follow Us" */
.footer-middle h4,
.footer-right h4 {
    margin-top: 0; /* Removes any extra margin that may push it down */
}

.footer-right {
    display: flex;
    flex-direction: column; /* Ensures the title and icons stack vertically */
    justify-content: flex-start; /* Aligns content at the top */
    margin-top: -1px; /* Moves the "Follow Us" section up */
}

.footer-right h4 {
    margin-bottom: 10px; /* Adds space below the "Follow Us" title */
}

.footer-right .social-icons {
    margin-top: 0; /* Remove any margin pushing the icons down */
}

/* Media Queries for Responsive Design */
@media (max-width: 768px) {
    header {
        height: 250px;
    }

    .about-us {
        padding: 20px;
    }

    .section-title {
        font-size: 2em; /* Adjust font size for smaller screens */
    }

    .intro-box,
    .growth-box,
    .expansion-box,
    .cta-text {
        font-size: 0.9em;
    }

    nav ul {
        flex-direction: column; /* Stack nav items vertically */
    }

    .footer-content {
        flex-direction: column; /* Stack footer items vertically on smaller screens */
        text-align: center;
    }
}
