/* ==========================================================================
   PAGE STYLES - Extends base.css
   ========================================================================== */

    font-family: 'Arial', sans-serif;
}

body {
    background-color: #ffffff;
    color: #333333;
    line-height: 1.6;
    padding-top: 80px;
    /* Add padding to prevent content from being hidden behind fixed navbar */
}

/* Menu Toggle (Hamburger) */
.menu-icon {
    display: none;
    font-size: 2rem;
    cursor: pointer;
    position: absolute;
    right: 1rem;
    top: 0.7rem;
}

.menu-toggle {
    display: none;
}

    align-items: center;
    justify-content: space-between;
    background-color: #ffffff;
    padding: 1rem 2rem;
    border-bottom: 1px solid #ddd;
    flex-wrap: wrap;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.navbar img.navlogo {
    height: 50px;
    width: auto;
    margin-right: 20px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 15px;
    list-style: none;
    flex-wrap: wrap;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-size: 14px;
    padding: 8px 12px;
    border: 1px solid #000000;
    border-radius: 20px;
    display: block;
    transition: background-color 0.3s, color 0.3s;
}

.nav-links a:hover {
    background-color: #000000;
    color: #ffffff;
}

/* Dropdown styling */
.dropdown {
    position: relative;
}

.dropdown>a::after {
    content: ' ▼';
    font-size: 10px;
    vertical-align: middle;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    min-width: 150px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    border-radius: 5px;
    overflow: hidden;
    flex-direction: column;
}

.dropdown-menu li a {
    color: #000000;
    padding: 10px 15px;
    text-decoration: none;
    display: block;
    font-size: 14px;
    border-bottom: 1px solid #ddd;
    border-radius: 0;
    border: none;
}

.dropdown-menu li a:hover {
    background-color: #000000;
    color: #ffffff;
}

.dropdown:hover .dropdown-menu {
    display: flex;
}

/* Main content styling */
main {
    width: 100%;
}

/* Content Wrapper for Desktop Layout */
.content-wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.main-content {
    width: 100%;
}

/* Desktop Layout - Main content and Sidebar */
@media (min-width: 1024px) {
    .content-wrapper {
        flex-direction: row;
        max-width: 1400px;
        margin: 0 auto;
        gap: 2rem;
        padding: 2rem;
    }

    .main-content {
        flex: 1;
        width: calc(100% - 400px);
    }

    .sidebar {
        flex: 0 0 380px;
        position: sticky;
        top: 100px;
        height: fit-content;
    }
}

/* Booking Form Section */
.booknow {
    background-color: #f8f9fa;
    padding: 2rem;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.booknow-content {
    max-width: 100%;
    margin: 0 auto;
}

.booknow h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.booknow p {
    margin-bottom: 1.5rem;
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
}

.booknow form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: left;
}

.booknow label {
    font-weight: bold;
    margin-bottom: 0.3rem;
    color: #333;
    font-size: 0.95rem;
}

.booknow input,
.booknow select,
.booknow textarea {
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background-color: #fff;
}

.booknow input:focus,
.booknow select:focus,
.booknow textarea:focus {
    outline: none;
    border-color: #000;
}

.booknow button {
    background-color: #000;
    color: #fff;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    transition: background-color 0.3s ease;
    margin-top: 1rem;
    align-self: center;
}

.booknow button:hover {
    background-color: #333;
}

/* Content Section */
.content-section {
    padding: 2rem;
}

.content-header {
    margin-bottom: 3rem;
}

.content-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: #333;
    line-height: 1.2;
}

.content-header h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #444;
    font-weight: normal;
}

.content-header .lead {
    font-size: 1.2rem;
    color: #555;
    line-height: 1.8;
}

/* Services Section */
.services-section {
    margin-bottom: 3rem;
}

.services-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #333;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.service-item {
    background-color: #f8f9fa;
    border-left: 4px solid #000;
    padding: 1.5rem;
    border-radius: 0 8px 8px 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.service-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: #333;
}

.service-item p {
    color: #555;
    line-height: 1.6;
    margin: 0;
}

.content-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.content-footer p {
    font-size: 1.1rem;
    color: #444;
    line-height: 1.8;
}

/* Contact Section */
.contact-us {
    background-color: #4a3f35;
    padding: 3rem 2rem;
    margin: 2rem -2rem 0;
    text-align: center;
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-us h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.contact-us p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #ffffff;
    line-height: 1.6;
}

.contact-button {
    display: inline-block;
    background-color: #ffffff;
    color: #4a3f35;
    padding: 0.75rem 2rem;
    border-radius: 20px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.contact-button:hover {
    background-color: #f0f0f0;
}

}

/* Mobile Layout */
@media (max-width: 1023px) {
    .content-wrapper {
        flex-direction: column;
    }

    .sidebar {
        order: -1;
        width: 100%;
    }

    .main-content {
        width: 100%;
    }

    .booknow {
        padding: 2.5rem 1.5rem;
        margin-bottom: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-icon {
        display: block;
    }

    .menu-toggle:checked+.menu-icon+.nav-links {
        display: flex;
        flex-direction: column;
        gap: 10px;
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: #ffffff;
        padding: 10px 0;
        z-index: 100;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }

    .navbar {
        flex-direction: column;
        align-items: flex-start;
        padding: 0.5rem 1rem;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

    .nav-links li {
        text-align: center;
        width: 100%;
    }

    .dropdown {
        position: static;
        width: 100%;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        border: 1px solid #ddd;
        display: none;
        width: 100%;
        margin-top: 5px;
        margin-bottom: 5px;
        background-color: #f5f5f5;
    }

    .dropdown>a::after {
        content: ' ▼';
        margin-left: 10px;
        transition: transform 0.3s ease;
    }

    .dropdown>a:focus::after {
        content: ' ▲';
    }

    .dropdown>a:focus+.dropdown-menu {
        display: flex;
    }

    .dropdown-menu li {
        width: 100%;
    }

    .dropdown-menu li a {
        padding: 12px 15px;
        text-align: center;
    }

    /* Content adjustments for mobile */
    .content-section {
        padding: 1.5rem;
    }

    .content-header h1 {
        font-size: 2rem;
    }

    .content-header h2 {
        font-size: 1.5rem;
    }

    .content-header .lead {
        font-size: 1.1rem;
    }

    .services-section h2 {
        font-size: 1.8rem;
    }

    .service-item {
        padding: 1.25rem;
    }

    .contact-us {
        padding: 2.5rem 1.5rem;
        margin: 1.5rem -1.5rem 0;
    }

    .contact-us h2 {
        font-size: 1.8rem;
    }

    /* Footer responsive adjustments */
    .footer-content {
        flex-direction: column;
    }

    .footer-office,
    .footer-contact {
        text-align: center;
        padding: 0 10px;
        margin-bottom: 20px;
    }

    .footer-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .footer-links li {
        margin-bottom: 0;
    }
}

@media (max-width: 480px) {
    .nav-links a {
        font-size: 12px;
        padding: 6px 10px;
    }

    .content-header h1 {
        font-size: 1.75rem;
    }

    .content-header h2 {
        font-size: 1.3rem;
    }

    .services-section h2 {
        font-size: 1.5rem;
    }

    .service-item h3 {
        font-size: 1.1rem;
    }

    .booknow h2 {
        font-size: 1.3rem;
    }
}