/* Google Font Import */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@700&display=swap');

/* General Body Styles */
:root { --brand-red: #D32F2F; --brand-red-light: #FF5252; --dark-gray: #2c2c2c; }
html { scroll-behavior: smooth; }

/* FIX: Added parallax background and new base color */
body { 
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; 
    margin: 0; 
    background-color: #fffff7; /* New background color */
    color: #333;
    /* Parallax background effect */
    background-image: url('img/background.jpg');
    background-attachment: fixed;
    background-position: bottom;
	background-size:100%;
    background-repeat: repeat-x;
}
body.lightbox-open { overflow: hidden; }

/* Animation Styles */
[data-animate] { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
[data-animate].visible { opacity: 1; transform: translateY(0); }

/* Preloader Styles */
#preloader { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background-color: var(--brand-red); z-index: 9999; display: flex; justify-content: center; align-items: center; transition: opacity 0.75s ease, visibility 0.75s ease; }
.preloader-logo { width: 150px; animation: pulse 1.5s infinite; }
@keyframes pulse { 0% { transform: scale(1); } 50% { transform: scale(1.1); } 100% { transform: scale(1); } }
#preloader.hidden { opacity: 0; visibility: hidden; }

/* Header & Navigation */
header { background: linear-gradient(0deg, var(--brand-red), var(--brand-red-light)); color: white; padding: 0.75rem 1rem; display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; z-index: 1001; box-shadow: 0 2px 4px rgba(0,0,0,0.1); }
#header-logo { padding-left: 30px; height: 70px; width: auto; }
.menu-icon { font-size: 1.5rem; cursor: pointer; display: none; display: block;}
nav#nav-menu { position: fixed; top: 86px; left: 0; right: 0; z-index: 1000; background-color: #3a3a3a; overflow: hidden; max-height: 0; transition: max-height 0.5s ease-out; box-shadow: 0 4px 8px rgba(0,0,0,0.2); }
nav#nav-menu.active { max-height: 500px; }
nav#nav-menu ul { list-style: none; margin: 0; padding: 0; }
nav#nav-menu li a { display: block; padding: 1rem 1.5rem; color: white; text-decoration: none; border-bottom: 1px solid #555; }
nav#nav-menu li a i { margin-right: 1rem; width: 20px; }

/* Main Content Styles */
main { max-width: 1200px; margin: 0 auto; padding: 1rem; overflow-x: hidden; background-color: rgba(255, 255, 247, 0.85); backdrop-filter: blur(4px); border-radius: 15px; }
section { padding: 2rem 0; }
h2 { text-align: center; font-size: 2.5rem; margin-bottom: 2rem; color: #333; }


/* Banner Slider Styles */
.banner-slider { padding: 0; margin: -1rem -1rem 2rem -1rem; height: 60vh; max-height: 500px;}
.banner-slider .swiper-slide { position: relative; display: flex; justify-content: center; align-items: center; text-align: center; }
.banner-slider .swiper-slide img { width: 100%; height: 100%; object-fit: cover; }
.banner-text { position: absolute; color: white; padding: 1rem; }
.banner-text h1 { margin: 0; font-family: 'Cormorant Garamond', serif; font-size: 4rem; text-shadow: 2px 2px 8px rgba(0,0,0,0.7); }
.banner-slider .swiper-pagination-bullet { background: white; opacity: 0.7; }
.banner-slider .swiper-pagination-bullet-active { background: var(--brand-red); opacity: 1; }

/* Menu Section */
.menu-slider .swiper-slide { position: static; /* FIX: Removed sticky position */ }

/* FIX: Responsive Map & Contact Section */
.map-contact-section { 
    display: flex; 
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    gap: 2rem; 
    align-items: flex-start; 
}
.map-container, .contact-info-container { 
    flex: 1 1 400px; /* Allow items to grow, shrink, with a base width */
    min-width: 300px; /* Prevent items from getting too small */
}
.map-container h2, .contact-info-container h2 { text-align: left; }
.driver-finder { padding: 1rem 0; background: none; margin: 0; text-align: left; }
#map { height: 400px; width: 100%; border-radius: 12px; }
#contact-info { background: #fff; padding: 2rem; border-radius: 12px; box-shadow: 0 4px 15px rgba(0,0,0,0.1); }
#contact-info p { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
#contact-info p i { color: var(--brand-red); font-size: 1.2rem; }
#contact-info a { text-decoration: none; color: #333; word-break: break-all; }

/* Other styles from previous version (no changes needed) */
.banner-slider .swiper-slide { position: relative; display: flex; justify-content: center; align-items: center; text-align: center; }
.banner-slider .swiper-slide img { width: 100%; height: 100%; object-fit: cover; }
.banner-text { position: absolute; color: white; padding: 1rem; }
.banner-slider .swiper-pagination-bullet { background: white; opacity: 0.7; }
.banner-slider .swiper-pagination-bullet-active { background: var(--brand-red); opacity: 1; }
.swiper-container { position: relative; }
.swiper-pagination { position: absolute; text-align: center; z-index: 10; bottom: 10px; left: 0; width: 100%; }
.menu-section { text-align: center; padding-bottom: 2rem; }
.menu-slider { padding-bottom: 2rem; }
.menu-slider .swiper-slide { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.1); display: flex; flex-direction: column; height: auto; }
.menu-slider .menu-item-img { width: 100%; height: 220px; object-fit: cover; }
.menu-slider .menu-item-content { padding: 1rem; text-align: center; flex-grow: 1; }
.menu-slider .item-name { font-weight: bold; font-size: 1rem; margin: 0 0 0.5rem 0; color: #333; }
.menu-slider .item-price { color: var(--brand-red); font-weight: bold; }
.menu-slider .swiper-pagination-bullet-active { background: var(--brand-red); }
.menu-slider .swiper-slide:hover .menu-item-img { transform: scale(1.1); }
#testimonials { text-align: center; padding-bottom: 2rem; }
.testimonials-slider { padding-bottom: 3rem; }
.testimonials-slider .swiper-slide { background: #fff; border-radius: 12px; padding: 2rem; width: 80%; box-shadow: 0 4px 15px rgba(0,0,0,0.1); text-align: center; }
.testimonial-img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; margin: 0 auto 1rem auto; }
.testimonial-quote { font-style: italic; color: #555; }
.testimonial-name { font-weight: bold; color: var(--brand-red); }
#testimonials .swiper-pagination-bullet-active { background-color: var(--brand-red); }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1rem; }
.gallery-grid .gallery-item { width: 100%; height: 250px; object-fit: cover; border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.1); cursor: pointer; }
.gallery-item:hover img { transform: scale(1.1); }
#lightbox { display: none; position: fixed; z-index: 1002; padding-top: 60px; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.9); justify-content: center; align-items: center; }
.lightbox-content { margin: auto; display: block; max-width: 80%; max-height: 80vh; animation: zoomIn 0.6s; }
@keyframes zoomIn { from {transform:scale(0)} to {transform:scale(1)} }
.lightbox-close { position: absolute; top: 15px; right: 35px; color: #f1f1f1; font-size: 40px; font-weight: bold; }
.lightbox-close:hover { color: #bbb; cursor: pointer; }
#footer-block { background-color: var(--dark-gray); color: #f4f4f4; padding: 3rem 1rem; }
.footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; max-width: 1200px; margin: 0 auto; }
.footer-col h3 { color: var(--brand-red-light); }
.footer-col a { color: #ccc; }
.social-icons a { color: #f4f4f4; font-size: 1.5rem; margin-right: 1rem; }
.footer-bottom { text-align: center; border-top: 1px solid #444; margin-top: 2rem; padding-top: 2rem; }

/* Responsive Media Queries */
@media (max-width: 992px) {
    .menu-icon { display: block; }
}
@media (max-width: 768px) {
    .banner-text h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
}