/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    width: 100%;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: url('../images/ahbeewebnav.avif') no-repeat center center;
    background-size: cover;
    position: relative;
}
}

.logo img {
    height: 50px;
}

/* Desktop menu - always visible */
.menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.menu li a {
    color: black;
    text-decoration: none;
    font-size: 1.5rem;
}

/* Hide hamburger and mobile menu on desktop */
.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    gap: 4px;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background: white;
    transition: 0.3s;
}

/* Hide mobile menu by default */
.mobile-menu {
    display: none;
}

/* Mobile styles */
@media (max-width: 768px) {
    /* Show hamburger */
    .hamburger {
        display: flex;
        z-index: 1000;
    }

    /* Hide desktop menu */
    .menu {
        display: none;
    }

    /* Show and style mobile menu */
    .mobile-menu {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: darkblue;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 999;
    }

    .mobile-menu.active {
        transform: translateX(0);
    }

    .mobile-menu a {
        color: white;
        text-decoration: none;
        font-size: 1.5rem;
        padding: 1rem 2rem;
        border: 2px solid white;
        border-radius: 8px;
        width: 200px;
        text-align: center;
    }

    /* Hamburger animation */
    .hamburger.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}

/* Smart Call Button Styles */
.call-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.desktop-contact-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.contact-options {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.contact-options h3 {
    margin-bottom: 1.5rem;
    color: #1e293b;
}

.contact-option {
    display: block;
    padding: 1rem;
    margin: 0.5rem 0;
    background: #f8fafc;
    border-radius: 8px;
    text-decoration: none;
    color: #1e293b;
    transition: background 0.3s ease;
    border: 1px solid #e2e8f0;
}

.contact-option:hover {
    background: #e2e8f0;
}

.close-overlay {
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background: #64748b;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

/* Footer Styles - targets both class and element */
footer,
.footer {
    background: #1e40af; /* Nice blue color */
    color: white;
    text-align: center;
    padding: 1.5rem 1rem;
    margin-top: auto;
    width: 100%;
}

footer p,
.footer p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
}

footer a,
.footer a {
    color: #bfdbfe;
    text-decoration: none;
}

footer a:hover,
.footer a:hover {
    text-decoration: underline;
}
