/* Reset */
body, h1, h2, h3, p, ul, li, a, nav, header, main, footer, section, div {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    color: var(--text-color);
    font-family: var(--font-family);
    background-color: #f0f8ff; /* Fallback bg-color */
    background-color: var(--bg-color, #f0f8ff);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

:root {
    --bg-color: #f0f8ff; /* Light Blue */
    --text-color: #333333;
    --link-color: #ff7f50; /* Coral */
    --accent-color: #4682b4; /* Steel Blue */
    --font-family: 'M PLUS Rounded 1c', sans-serif;
    --light-gray-bg: #f8f9fa;
}

/* Global Styles */
a {
    text-decoration: none;
    color: var(--link-color);
}

.button {
    display: inline-block;
    background-color: var(--accent-color);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    margin-top: 20px;
    transition: background-color 0.3s ease;
}

.button:hover {
    background-color: #5a9bd4; /* Slightly darker steel blue */
}

/* Main Content */
main {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
}

section {
    padding: 50px 40px;
    margin-bottom: 0;
    border-radius: 0;
    box-shadow: none;
}

main > section:nth-of-type(odd) {
    background-color: #ffffff;
}
main > section:nth-of-type(even) {
    background-color: var(--light-gray-bg);
}

section h2 {
    color: var(--accent-color);
    font-size: 2.2em;
    margin-bottom: 30px;
    text-align: center;
    display: inline-block;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--accent-color);
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

/* Hero Section */
#hero {
    padding: 0;
    margin-bottom: 0;
    background: none;
    border-radius: 8px;
    overflow: hidden;
}

#hero .slider-container {
    max-width: none;
    width: 100%;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
}

#hero .hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 20;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 30px 40px;
    border-radius: 8px;
    text-align: center;
    width: 90%;
    max-width: 700px;
}

#hero .hero-text h2 {
    font-size: 1.8em; /* Reduced size for small screens */
    color: white;
    margin-bottom: 15px;
    border-bottom: none;
    text-align: center;
}

#hero .hero-text p {
    font-size: 1em; /* Reduced size for small screens */
    color: white;
    text-align: center;
}

/* Footer */
footer {
    background-color: var(--accent-color);
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 0;
}

/* Slider Styles */
.slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.slider-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slider-slide {
    min-width: 100%;
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.slider-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.slider-caption {
    display: none; /* Caption is replaced by hero-text overlay */
}

.slider-prev,
.slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 1.5em;
    z-index: 30; /* Above hero-text */
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.slider-prev:hover,
.slider-next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.slider-prev { left: 10px; }
.slider-next { right: 10px; }

/* News List Styling */
.news-list { list-style: none; padding: 0; margin-top: 20px; }
.news-list li { background-color: #fdfdfd; border: 1px solid #eee; border-radius: 5px; margin-bottom: 10px; padding: 15px; display: flex; align-items: center; }
.news-date { font-weight: bold; color: var(--accent-color); margin-right: 15px; min-width: 100px; }
.news-title { flex-grow: 1; color: var(--text-color); }

/* Header Styles */
header {
    background-color: #ffffff;
    color: var(--text-color);
    padding: 10px 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo img { height: 50px; width: auto; }

.main-nav { display: none; }
.main-nav a { color: var(--text-color); margin: 0 15px; font-weight: bold; transition: color 0.3s ease; position: relative; padding-bottom: 5px; }
.main-nav a:hover { color: var(--accent-color); }
.main-nav a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background-color: var(--accent-color); transition: width 0.3s ease; }
.main-nav a:hover::after { width: 100%; }

/* Mobile Menu Button (Hamburger) */
.mobile-menu-button { display: flex; flex-direction: column; justify-content: space-around; width: 30px; height: 24px; background: transparent; border: none; cursor: pointer; padding: 0; z-index: 1010; }
.mobile-menu-button span { width: 30px; height: 3px; background-color: var(--accent-color); border-radius: 3px; transition: all 0.3s linear; position: relative; transform-origin: 1px; }
.mobile-menu-button.is-active span:nth-child(1) { transform: rotate(45deg); }
.mobile-menu-button.is-active span:nth-child(2) { opacity: 0; transform: translateX(20px); }
.mobile-menu-button.is-active span:nth-child(3) { transform: rotate(-45deg); }

/* Mobile Menu Panel */
.mobile-menu { 
    position: fixed; 
    top: 60px; /* Adjusted to not cover the header */
    left: 0; 
    width: 100%; 
    min-height: calc(100vh - 60px); /* Full height minus header height */
    background-color: white; 
    display: flex; 
    flex-direction: column; 
    z-index: 1005; 
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out; 
    transform: translateX(-100%); 
    opacity: 0; 
    overflow-y: auto; /* Add scroll for long menus */
}
.mobile-menu.is-open { 
    transform: translateX(0); 
    opacity: 1; 
}
.mobile-menu a { 
    display: block;
    padding: 15px 20px; 
    color: var(--accent-color); 
    font-size: 1.2em; 
    font-weight: bold; 
    text-decoration: none;
    border-bottom: 1px solid #eee; /* Add separator between menu items */
    transition: background-color 0.3s ease;
}
.mobile-menu a:hover {
    background-color: #f8f9fa; /* Add background on hover */
}

/* About Section Styles */
#about .about-container { display: flex; flex-direction: column; align-items: center; gap: 30px; }
#about .about-image img { width: 100%; max-width: 400px; height: auto; border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
#about .about-text { text-align: center; }

/* Responsive Design for Mobile and Tablets */
@media (max-width: 767px) {
    .logo img {
        height: 40px; /* Slightly smaller logo on mobile */
    }

    .slider-slide {
        aspect-ratio: 4 / 3; /* Make hero image taller on mobile */
    }

    #hero .hero-text {
        padding: 20px;
        width: 85%;
    }

    #hero .hero-text h2 {
        font-size: 1.5em; /* Smaller title on mobile */
    }

    #hero .hero-text p {
        font-size: 0.9em; /* Smaller paragraph on mobile */
    }

    section {
        padding: 40px 20px;
    }

    section h2 {
        font-size: 1.8em;
    }

    .mobile-menu a {
        font-size: 1.4em;
    }
}

/* Responsive Design - Desktop */
@media (min-width: 768px) {
    .main-nav { display: flex; align-items: center; }
    .mobile-menu-button { display: none; }
    #hero .hero-text h2 { 
        font-size: 2.5em; 
    }
    #hero .hero-text p {
        font-size: 1.2em;
    }
    #about .about-container { flex-direction: row; text-align: left; }
    #about .about-image { flex: 0 0 40%; }
    #about .about-text { flex: 1; text-align: left; }
}

/* Image Gallery */
.image-gallery {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.gallery-item {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.gallery-item a {
    display: block;
}

.gallery-item img {
    max-width: 100%;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

#business-details .content-wrapper {
    margin-bottom: 40px;
}

#business-details h3 {
    font-size: 1.8em;
    color: var(--accent-color);
    margin-bottom: 20px;
    padding-bottom: 5px;
    border-bottom: 2px solid var(--accent-color);
    display: inline-block;
}