/* Base Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
}

header {
    background-color: #2a7a67;
    color: white;
    padding: 15px;
    text-align: center;
}

h1 .main-title {
    display: block; /* Ensures it appears on its own line */
    font-size: 2.5rem; /* Larger font size for the main title */
    color: #fff;
    font-weight: bold;
    margin-bottom: 5px; /* Space between main title and subtitle */
}

/* Subtitle (Alternative Health & Healing Pages) */
h1 .sub-title {
    display: block; /* Ensures it appears on its own line */
    font-size: 1rem; /* Smaller font size for the subtitle */
    color: #ccc; /* Gray color for the subtitle */
    font-weight: normal;
}

main {
    padding: 20px;
}

footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 10px 0;
}

/* Updated Navigation Styling */
nav {
    display: flex;
    flex-wrap: wrap; /* Allows items to wrap on smaller screens */
    gap: 15px;
    justify-content: center; /* Centers the navigation links */
    background-color: #2a7a67;
    padding: 10px 0;
}

nav a {
    margin: 0 10px;
    text-decoration: none;
    color: white;
    padding: 5px 10px;
    background-color: #2a7a67;
    border-radius: 5px;
    transition: background-color 0.3s ease; /* Smooth hover transition */
}

nav a:hover {
    background-color: #45a049; /* Slightly lighter green for hover */
}

/* Dropdown Styles */
nav .dropdown {
    position: relative;
    display: inline-block;
}

nav .dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    color: #333;
    min-width: 200px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    padding: 10px;
    border-radius: 5px; /* Smooth dropdown corners */
}

nav .dropdown-content a {
    color: #333;
    display: block;
    padding: 5px 10px;
    text-decoration: none;
}

nav .dropdown-content a:hover {
    background-color: #f1f1f1;
}

nav .dropdown:hover .dropdown-content {
    display: block;
}

.cities {
    margin-left: 10px;
}

.cities a {
    font-size: 0.9em;
    display: block;
    margin: 5px 0;
}

/* Mobile Navigation Styles */
.menu-toggle {
    display: none; /* Hide by default */
    font-size: 1.5rem;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    nav {
        display: none; /* Hide navigation by default */
        flex-direction: column; /* Stack links vertically */
        align-items: flex-start;
        padding: 10px;
    }

    nav.active {
        display: flex; /* Show navigation when active */
    }

    .menu-toggle {
        display: block; /* Show the menu toggle button */
        margin: 0 auto; /* Center the button */
    }

    nav .dropdown-content {
        position: relative; /* Make dropdowns stack inline */
        box-shadow: none;
        background-color: #2a7a67; /* Match mobile menu background */
        color: white;
        border-radius: 0; /* Remove extra styling for mobile */
        padding: 0;
    }

    nav .dropdown-content a {
        color: white; /* Make links white for mobile */
        padding: 10px;
        border-bottom: 1px solid #ffffff50; /* Divider between links */
    }

    nav .dropdown-content a:hover {
        background-color: #45a049;
    }
}

/* Business Listing Styles */
.business {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 15px;
    margin: 20px 0;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1); /* Subtle drop shadow */
    background-color: #fff; /* Ensure it has a white background */
}

.business h4 {
    margin: 0 0 10px;
    color: #2a7a67;
}

.business ul {
    padding-left: 20px; /* Indent list items */
}

.business p {
    margin: 10px 0;
}
