/* ==========================================
   ONMOVE RESPONSIVE & MOBILE STYLESHEET
   ========================================== */

/* --- Navigation & Navbar Layout --- */
.navbar {
    position: relative;
    background: var(--navy-dark, #001f3f);
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: var(--radius, 8px);
    margin-bottom: 20px;
    z-index: 1000;
}

.nav-brand {
    display: flex;
    align-items: center;
}

.nav-brand img {
    height: 40px;
    width: auto;
}

/* CSS-only Hamburger Menu Mechanism */
.menu-toggle {
    display: none; /* Hide checkbox toggle */
}

.hamburger-icon {
    display: none; /* Hidden on desktop */
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.hamburger-icon span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #ffffff;
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
}

/* Desktop Navigation Links */
.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 20px;
}

.nav-menu li a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: color 0.2s ease;
}

.nav-menu li a:hover {
    color: var(--onmove-red, #d32f2f);
}

/* --- Mobile / Small Screen Breakpoint --- */
@media screen and (max-width: 768px) {
    body {
        padding: 10px 5px !important;
    }

    /* Reveal Hamburger Icon */
    .hamburger-icon {
        display: flex;
    }

    /* Transform Nav Links into Dropdown Menu */
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #001f3f;
        flex-direction: column;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-in-out;
        border-radius: 0 0 8px 8px;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    }

    .nav-menu li {
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-menu li a {
        display: block;
        padding: 15px;
        width: 100%;
    }

    /* Toggle Logic via :checked state */
    .menu-toggle:checked ~ .nav-menu {
        max-height: 350px; /* Expands open */
    }

    /* Animated Hamburger to "X" */
    .menu-toggle:checked ~ .hamburger-icon span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .menu-toggle:checked ~ .hamburger-icon span:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle:checked ~ .hamburger-icon span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    /* Flexible Layout Corrections */
    #bookingForm, 
    .main-container, 
    .onmove-logo, 
    .onmove-bannerx, 
    .contact-module {
        width: 100% !important;
        max-width: 100% !important;
        padding: 15px !important;
        box-sizing: border-box;
    }

    .contact-module {
        flex-direction: column;
        border-radius: 12px;
        gap: 10px;
    }

    .contact-url {
        font-size: 16px;
        text-align: center;
        padding: 5px 0;
    }

    .contact-trigger {
        width: 100%;
        justify-content: center;
    }

    .form-two-col {
        grid-template-columns: 1fr !important;
    }

    .btn-location, 
    .btn-preview, 
    .blockx {
        width: 100% !important;
    }
}



/*

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>OnMove | 24/7 Vehicle Recovery & Roadside Assistance</title>
    <meta name="description" content="Stranded? Need fast breakdown recovery or roadside assistance? OnMove provides 24/7 vehicle recovery across London.">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="robots" content="index, follow">
    <meta name="author" content="OnMove Recovery Marc Dzapasi">
    <link rel="icon" type="image/x-icon" href="https://onmove.co.uk/includes/images/favi_con.jpg">
    
    <!-- Link the Responsive Stylesheet -->
    <link rel="stylesheet" href="responsive.css">
</head>
<body>

    <!-- Responsive Navigation Bar with Hamburger Toggle -->
    <nav class="navbar">
        <div class="nav-brand">
            <a href="https://onmove.co.uk/">
                <img src="images/ONMV.png" title="Home" alt="OnMove Logo" />
            </a>
        </div>

        <!-- Hidden Checkbox for Toggle State -->
        <input type="checkbox" id="menu-toggle" class="menu-toggle">

        <!-- Hamburger Icon Button -->
        <label for="menu-toggle" class="hamburger-icon" aria-label="Toggle navigation">
            <span></span>
            <span></span>
            <span></span>
        </label>

        <!-- Navigation Menu -->
        <ul class="nav-menu">
            <li><a href="https://onmove.co.uk/">Home</a></li>
            <li><a href="#bookingForm">Book Recovery</a></li>
            <li><a href="tel:0800000000">Emergency Call</a></li>
            <li><a href="https://onmove.co.uk/custport/login.php">Customer Portal</a></li>
        </ul>
    </nav>

*/