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

/* About Us Section */
.about-us {
    padding: 10px 20px;
	padding-top: 150px;
    background-color: white; /* Gradient from header blue to white */
}


.about-us .text-box {
    background-color: rgba(255, 255, 255, 0); /* Fully transparent */
    border-radius: 8px;
    padding: 60px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .6); /* Increased shadow for better depth */
    max-width: 900px; /* Ensures it doesn’t stretch too wide on large screens */
    margin: 0 auto; /* Centers the box */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth hover transition */
}

/* Hover effect for text box */
.about-us .text-box:hover {
    transform: translateY(-10px); /* Makes the text box pop out */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15); /* Softer, more subtle shadow */
}

/* Center the h1 inside the text box with a gradient */
.about-us .text-box h1 {
    font-size: 1.5em; /* Adjust font size as needed */
    font-weight: bold;
    color: #003841; /* Make text color transparent */
    text-align: center; /* Centers the text */
}


.section-title {
    font-family: 'Cavolini', sans-serif;
    font-size: 3em;
    color: 333;
    margin-bottom: 60px;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    padding-bottom: 10px;
    position: relative;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    margin-top: 100px; /* Added margin-top to push it lower from the tabs */
}

.text-box p {
    font-size: 1.1em;
    line-height: 1.8;
    color: black; /* Dark text for readability */
}

/* Hover effect for CTA text box */
.cta-text {
    text-align: center;
    font-weight: bold;
    color: black;
    padding-top: 70px;
	font-size: 2em;
    background-color: rgba(255, 255, 255, 0); /* Fully transparent */
    border-radius: 8px;
    display: inline-block;
  }
  
.slideshow {
    position: relative;
    width: 100%;
    max-width: 800px;
	height: auto;
    margin: 100px auto; /* Keeps space above, reduces space below */
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.3);
    border: 3px solid #ffcc33;
	padding-top: 100px;
	padding-bottom: 100px;

}

.divider {
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, #ffcc33, #46B7D8);
    margin: 80px auto -40px auto; /* Reduces space below */
    border-radius: 5px;
}


.slides {
    position: relative;
    display: flex;
    width: 100%;
    height: 400px;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 1 !important;
    visibility: visible !important;
}

.slide.active {
    opacity: 1; /* Show only the active slide */
    visibility: visible; /* Ensure the active slide is visible */
    z-index: 1;
}


.slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
}

.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 10px;
    font-size: 2em;
    cursor: pointer;
    z-index: 2;
}

.arrow-left {
    left: 10px;
}

.arrow-right {
    right: 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;
    }
}

