/* Reset and base styles */
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Roboto', sans-serif;
    background-color: lightgray;
    color: #333;
    line-height: 1.6;
}

/* Flexbox layout for sticky footer */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header styles */
header {
    background: linear-gradient(to right, #001279, #0047ab);
    color: white;
    padding: 20px 10px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.header-content img.logo {
    height: 170px;
    width: 1000px;
}
/* Ensure the link is highlighted */
.enlarge-link {
    color: purple; /* Bright yellow highlight */
    font-weight: bold;
    text-decoration: underline;
    cursor: pointer; /* Ensures it's clickable */
    display: inline-block;
    transition: color 0.3s ease-in-out;
}

/* Change color on hover */
.enlarge-link:hover {
    color: blue; /* Orange on hover */
    text-decoration: underline;

}
/* Flex container for button and map */
.parking-container {
    display: flex;
    align-items: center; /* Centers button vertically */
    justify-content: center;
    gap: 30px; /* Space between map and button */
    margin: 20px auto;
    max-width: 80%;
}

/* Style for the parking map */
.parking-map {
    max-width: 60%; /* Adjust width */
    height: auto;
    border-radius: 10px; /* Smooth edges */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Fun Button Styling */
.fun-button {
    background: linear-gradient(135deg, #001279, #0047ab); /* Fun gradient */
    color: white;
    font-size: 1.5em;
    font-weight: bold;
    padding: 20px 35px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.2s ease-in-out, background 0.3s;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    white-space: nowrap; /* Prevents text wrapping */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Fun hover effect */
.fun-button:hover {
    background: linear-gradient(135deg, #ff9900, #ff4400);
    transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .parking-container {
        flex-direction: column; /* Stack items vertically on smaller screens */
        align-items: center;
    }

    .parking-map {
        max-width: 90%;
    }

    .fun-button {
        width: 80%; /* Make button bigger on smaller screens */
        text-align: center;
        margin-top: 15px;
    }
}

/* Navigation styles */
nav#main-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

nav#main-nav ul li a {
    padding: 10px 15px;
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

nav#main-nav ul li a:hover, 
nav#main-nav ul li a.active {
    color: #ffdd00;
    text-decoration: underline;
}

/* Main content styles */
main {
    flex-grow: 1;
    padding: 20px;
    margin: auto;
    max-width: 960px;
}

/* Footer styles */
footer {
    width: 100%;
    background-color: #002244;
    color: white;
    text-align: center;
    padding: 20px 0;
    margin-top: auto;
}

/* Weather and contact popup styles */
.weather-info, .contact-popup {
    text-align: center;
    padding: 10px;
    background-color: #7BAFD4;
    color: white;
    font-size: 18.5px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.contact-popup {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 300px;
    background-color: #dc3545;
    border-radius: 5px;
    display: none;
}

.close-btn {
    position: absolute;
    top: 5px;
    right: 10px;
    font-size: 20px;
    color: #fff;
    cursor: pointer;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .header-content, nav#main-nav ul {
        flex-direction: column;
    }

    .header-content img.logo {
        width: 320px;
    }

    nav#main-nav ul li {
        margin-top: 10px;
    }
}

@media (max-width: 600px) {
    nav#main-nav ul {
        flex-direction: column;
    }

    nav#main-nav ul li {
        margin-bottom: 10px;
    }
}

/* Form styles */
form {
    max-width: 400px;
    margin: auto;
}

label {
    display: block;
    margin-bottom: 5px;
}

input[type="text"], input[type="email"], textarea {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
}

button {
    background-color: #0047ab;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
}

button:hover {
    background-color: #003087;
}

/* Product grid styles */
.product-container {
    width: 95%;
    max-width: 1200px;
    margin: auto;
    padding: 20px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.product-item {
    border: 1px solid #ccc;
    padding: 10px;
    text-align: center;
}

.product-item img {
    width: 100%;
    height: auto;
}

/* Clickable phone links */
a[href^="tel:"] {
    color: #0047ab;
    text-decoration: none;
    font-weight: bold;
}

a[href^="tel:"]:hover {
    color: #002244;
    text-decoration: underline;
}

/* FAQ Section */
#faq h2, .delivery-info h2 {
    color: #00447c;
    padding-bottom: 10px;
    border-bottom: 2px solid #dee2e6;
}

.faq-section, .schedule-details {
    margin-top: 20px;
    background: #f8f9fa;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.faq-section h3, .delivery-info h3 {
    color: #003366;
}

.faq-section p, .delivery-info p {
    color: #333;
}

/* Content Wrapper */
.content-wrapper {
    max-width: 960px;
    margin: auto;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Location and Social Media */
.location, .social-media {
    background-color: #f8f9fa;
    padding: 15px;
    margin-top: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Hamburger menu button */
.hamburger {
    display: none;
    font-size: 30px;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
}

/* Navigation links hidden on mobile */
.nav-links {
    display: flex;
    list-style: none;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-links {
        position: fixed;
        background-color: #333;
        height: 100vh;
        width: 100%;
        top: 0;
        left: -100%;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        margin: 15px 0;
    }
}

/* Gallery */
.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 20px;
}

.gallery h1 {
    width: 100%;
    text-align: center;
    margin-bottom: 20px;
}

.gallery ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    width: 100%;
}

.gallery li {
    flex: 1 1 200px;
    max-width: 200px;
    margin: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.gallery img {
    width: 100%;
    height: auto;
    transition: opacity 0.3s ease;
}

.gallery li:hover {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .gallery li {
        flex-basis: 100%;
    }
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.lightbox img {
    max-width: 90%;
    max-height: 80%;
}
/* Make images larger on index.html */
.index-page .gallery ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(600px, 1fr)); /* Doubled width */
    gap: 20px;
}

.index-page .gallery ul li {
    display: flex;
    justify-content: center;
    align-items: center;
}

.index-page .gallery ul li img {
    width: 100%; /* Fills container */
    height: auto; /* Maintains aspect ratio */
    max-height: 90vh; /* Ensures images do not become too tall */
    object-fit: cover; /* Scales images correctly */
    border-radius: 8px;
    transition: transform 0.3s ease-in-out;
}

/* Enhance hover effect */
.index-page .gallery ul li img:hover {
    transform: scale(1.05);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .index-page .gallery ul {
        grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); /* Smaller for tablets */
    }
}

@media (max-width: 768px) {
    .index-page .gallery ul {
        grid-template-columns: repeat(auto-fit, minmax(100%, 1fr)); /* Full width for mobile */
    }
}

