/* General Styles */
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);
}


main { padding-top: 100px;
padding-bottom: 50px;
background-color: white;

}

/* About Us Section */
.contact-form-section {
    padding-top: 40px;
	padding-bottom: 40px;
    max-width: 700px;
    margin: 0 auto;
    background: #fdfdfd;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.6);
}

.contact-form-section h1 {
    font-size: 2rem;
    color: #003841;
	padding-top: 20px;
	padding-bottom: 20px;
	text-align: center;
	margin: auto;
}

.contact-form-section p{ 
	padding-bottom: 60px;
	color: black;
	margin: auto;
	padding-left: 25px;
	padding-right: 25px;

}

.contact-form {
    display: flex;
    flex-direction: column;
   
}

.form-group {
    display: flex;
    flex-direction: column;
    margin: 10px 20px; /* Adds vertical spacing between groups */
}

.form-group label {
    font-weight: bold;
    margin-bottom: 5px; /* Only bottom margin to push label slightly above the input */
	color: black;
}

.form-group input,
.form-group textarea {
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    margin: 0; /* Remove the large margin that separates them from labels */
}


button[type="submit"] {
    background-color: #366C78;
    color: white;
    font-weight: bold;
    padding: 12px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button[type="submit"]:hover {
    background-color: #FFCA00;
}
/* Shadow box for the Contact Us description */
.contact-box-description {
    background-color: #fff; /* White background */
    padding-bottom: 40px;
	padding-left: 20px;
	padding-right: 20px;
    margin-top: 20px;
	margin-bottom: 75px;
	margin-left: 130px;
	margin-right: 40px;
    max-width: 800px;
    border-radius: 10px; /* Optional for rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.6); /* Soft shadow */
    transition: box-shadow 0.3s ease; /* Optional: smooth transition on hover */
	
}

.contact-box-description h1 {
	font-size: 2rem;
    margin-bottom: 15px;
    color: #003841;
	padding-bottom: 20px;
	text-align: center;
}

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

.contact-box-description:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2); /* Slightly stronger shadow on hover */
}

/* Shadow box for the form */
.contact-box-form {
    background-color: #fff; /* White background */
    padding-top: 50px;
	padding-bottom: 50px;
    margin-top: 75px;
	margin-bottom: 75px;
    max-width: 800px;
    border-radius: 10px; /* Optional for rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.6); /* Soft shadow */
    transition: box-shadow 0.3s ease; /* Optional: smooth transition on hover */
	margin-left: 150px;
	margin-right: 20px;
}

.contact-box-form:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.6)/* Slightly stronger shadow on hover */
}

.divider {
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, #ffcc33, #46B7D8);
    margin: 20px auto;
    border-radius: 10px;

}


















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%;
    margin: 0;
    padding: 0;
    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;
    }
}
