* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100vh;
    touch-action: manipulation; /* Improve touch responsiveness */
}

/* Header Styles */
.site-header {
    background: #333;
    height: 50px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

/* Logo Placeholder */
.logo-placeholder {
    height: 100%;
    display: flex;
    align-items: center;
}

.logo {
    height: 40px;
    width: auto;
}

/* Hamburger Menu Styles */
.hamburger-menu {
    z-index: 1001;
}

#menu-toggle {
    display: none;
}

.menu-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 48px; /* Larger touch target */
    height: 48px;
    cursor: pointer;
    background: #555;
    border-radius: 8px;
}

.menu-btn span,
.menu-btn span:before,
.menu-btn span:after {
    background: #fff;
    display: block;
    position: absolute;
    width: 28px;
    height: 4px;
    transition: transform 0.3s;
}

.menu-btn span:before {
    content: '';
    top: -10px;
}

.menu-btn span:after {
    content: '';
    top: 10px;
}

#menu-toggle:checked + .menu-btn span {
    transform: rotate(45deg);
}

#menu-toggle:checked + .menu-btn span:before {
    top: 0;
    transform: rotate(0deg);
}

#menu-toggle:checked + .menu-btn span:after {
    top: 0;
    transform: rotate(90deg);
}

.menu-box {
    display: none;
    position: absolute;
    top: 60px;
    right: 10px;
    background: #333;
    list-style: none;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

#menu-toggle:checked ~ .menu-box {
    display: block;
}

.menu-item {
    display: block;
    padding: 15px 25px;
    color: #fff;
    text-decoration: none;
    font-size: 18px; /* Larger for touch */
}

.menu-item:hover {
    background: #555;
}

/* Zoom Controls */
.zoom-controls {
    position: fixed;
    top: 70px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 999;
}

.zoom-controls button {
    width: 48px;
    height: 48px;
    background: #333;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.zoom-controls button:hover {
    background: #555;
}

/* Map Container */
#map {
    flex: 1;
    width: 100%;
    margin-top: 50px;
    margin-bottom: 50px;
    padding: 10px; /* Prevent content cutoff */
}

/* Footer Styles */
.site-footer {
    background: #333;
    height: 50px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 1000;
}

.footer-left, .footer-right {
    color: #fff;
    font-size: 14px;
}

.footer-link {
    color: #fff;
    text-decoration: none;
}

.footer-link:hover {
    text-decoration: underline;
}

/* Lightbox Image Styles */
.lightbox img {
    max-width: 95vw;
    max-height: 85vh;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        overflow-y: auto; /* Allow scrolling if needed */
    }

    .site-header, .site-footer {
        padding: 0 15px;
    }

    .site-header {
        height: 60px; /* Slightly taller for touch */
    }

    .site-footer {
        height: 60px;
    }

    #map {
        margin-top: 60px;
        margin-bottom: 60px;
        padding: 15px;
    }

    .logo {
        height: 35px;
    }

    .menu-btn {
        width: 44px;
        height: 44px;
    }

    .menu-btn span,
    .menu-btn span:before,
    .menu-btn span:after {
        width: 24px;
        height: 3px;
    }

    .menu-btn span:before {
        top: -8px;
    }

    .menu-btn span:after {
        top: 8px;
    }

    .menu-item {
        font-size: 16px;
        padding: 12px 20px;
    }

    .zoom-controls {
        top: 80px;
        right: 15px;
    }

    .zoom-controls button {
        width: 44px;
        height: 44px;
        font-size: 20px;
    }

    .footer-left, .footer-right {
        font-size: 13px;
    }

    /* Adjust Google Maps controls for touch */
    .gm-style .gm-style-iw {
        font-size: 14px !important;
        max-width: 250px !important;
    }

    .gm-style .gm-style-iw-d {
        overflow-y: auto !important;
        max-height: 200px !important;
    }
}