/* ---------------------------------------------------
   GLOBAL BODY
--------------------------------------------------- */
body {
    padding-bottom: 10px;
    background-image: url('/images/cwmmcc.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    font-size: 16px;
    line-height: 1.5;
}

/* Improve spacing with sticky footer layout */
main {
    padding: 1rem;
}

/* Mobile padding adjustment */
@media (max-width: 576px) {
    main {
        padding: 1rem .5rem;
    }
}

/* ---------------------------------------------------
   NAVBAR
--------------------------------------------------- */

.navbar-brand {
    font-weight: 600;
}

/* Make navbar full-width and allow logo + links to sit nicely */
.navbar .container {
    justify-content: flex-start !important;
    gap: 20px;
    max-width: 100% !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
}

.navbar {
    position: relative;
}

/* Ensure toggler aligns cleanly */
.navbar-toggler {
    position: relative !important;
}

/* Navbar link spacing */
.navbar-nav .nav-link {
    padding-left: .75rem;
    padding-right: .75rem;
    white-space: nowrap;
}

/* ---------------------------------------------------
   FOOTER
--------------------------------------------------- */
footer {
    width: 100%;
    text-align: center;
    padding: 1rem 0;
}

    footer small {
        font-size: 0.9rem;
    }

/* Mobile footer text slightly smaller */
@media (max-width: 576px) {
    footer small {
        font-size: 0.8rem;
    }
}
    /* ---------------------------------------------------
   FORM STYLING
--------------------------------------------------- */


.membership-options {
    border: 2px solid #ccc;
    padding: 1rem;
    border-radius: 10px;
    background-color: #f9f9f9;
    margin-bottom: 1.25rem;
}

    .membership-options legend {
        font-weight: 600;
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }

.membership-option {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 0.75rem 0.75rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #fff;
    margin-bottom: 0.6rem;
    transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

    .membership-option:hover {
        border-color: #bbb;
        box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    }

    .membership-option input[type="radio"] {
        margin-top: 0.2rem;
        transform: scale(1.2);
    }

    .membership-option label {
        margin: 0;
        color: #222;
    }

        .membership-option label strong {
            font-weight: 600;
            color: #111;
        }

/* Highlight selected option */
.membership-option-selected {
    border-color: #4169E1;
    box-shadow: 0 0 0 3px rgba(65,105,225,0.15);
    background-color: #f1f5ff;
}



    .form-box {
        background-color: #f8f9fa;
        padding: 15px;
        margin-bottom: 20px;
        border: 1px solid #ddd;
        border-radius: 6px;
    }

    .form-wrapper {
        background-color: rgba(255, 255, 255, 0.9);
        padding: 30px;
        border-radius: 10px;
        max-width: 700px;
        margin: 0 auto;
        box-shadow: 0 0 10px rgba(0,0,0,0.15);
    }

    .form-label {
        color: #333;
        font-weight: 500;
    }

/* ---------------------------------------------------
   TERMS CHECKBOX VISIBILITY
--------------------------------------------------- */
.terms-box input[type="checkbox"] {
    appearance: none;
    width: 24px;
    height: 24px;
    border: 2px solid #4169E1;
    border-radius: 4px;
    background-color: #fff;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
}

    .terms-box input[type="checkbox"]:hover {
        box-shadow: 0 0 0 3px rgba(65,105,225,0.2);
    }

    .terms-box input[type="checkbox"]:checked {
        background-color: #4169E1;
        border-color: #4169E1;
    }

        .terms-box input[type="checkbox"]:checked::after {
            content: "";
            position: absolute;
            top: 4px;
            left: 8px;
            width: 6px;
            height: 12px;
            border: solid white;
            border-width: 0 2px 2px 0;
            transform: rotate(45deg);
        }




    /* ---------------------------------------------------
   CAMPING PAGE OVERRIDES
--------------------------------------------------- */

    body.Camping {
        width: 100% !important;
        display: block !important;
    }

        body.Camping .form-wrapper {
            max-width: 1000px !important;
            width: 100% !important;
        }
    /* Tablet */
    @media (max-width: 992px) {
        body.Camping .form-wrapper {
            max-width: 700px !important;
        }
    }
    /* Mobile */
    @media (max-width: 576px) {
        body.Camping .form-wrapper {
            max-width: 95% !important;
            padding: 20px !important;
        }
    }
    /* ---------------------------------------------------
   CARDS & BANNERS
--------------------------------------------------- */

    .main-banner {
        background-color: rgba(0, 0, 0, 0.4) !important;
        color: #fff !important;
        padding: 60px 20px;
        text-align: center;
        width: 100%;
        margin: 0 auto 30px auto;
        border-radius: 10px;
        box-shadow: 0 0 12px rgba(0,0,0,0.25);
    }

    .next-event-card {
        background-color: #333;
        color: #fff;
        border-radius: 8px;
        padding: 50px;
    }

    .news-card {
        background-color: #444;
        color: #fff;
    }

    .contact-card {
        background-color: #555;
        color: #fff;
    }
    /* Buttons in cards */
    .card .btn {
        margin-top: 30px;
    }
    /* ---------------------------------------------------
   IMAGE HANDLING
--------------------------------------------------- */

    img {
        max-width: 100%;
        height: auto;
    }
    /* ============================================
   MOBILE NAVBAR FIX  
   - Logo on top left
   - Hamburger directly below logo
   ============================================ */
    @media (max-width: 576px) {
        /* Stack navbar content vertically on mobile */
        .navbar .container {
            display: flex !important;
            flex-direction: column !important;
            align-items: flex-start !important;
            gap: 0.5rem !important;
        }
        /* Allow brand (logo + text) to wrap so it doesn’t force full width */
        .navbar-brand {
            display: flex !important;
            flex-direction: row;
            align-items: center;
            flex-wrap: wrap !important;
            white-space: normal !important;
            width: auto !important;
            margin: 0 !important;
            padding: 0 !important;
        }
          
        /* Move hamburger under the logo */
        .navbar-toggler {
            align-self: flex-start !important;
            margin-left: 0 !important;
            margin-top: 0.25rem !important;
        }
        /* Ensure the collapse menu stretches full width */
        .navbar-collapse {
            width: 100% !important;
        }
        /* Left-align menu items */
        .navbar-nav {
            width: 100% !important;
        }
    }

    @media (max-width: 768px) {
        .navbar .container-fluid {
            flex-direction: column !important;
            align-items: flex-start !important;
        }

        .navbar-toggler {
            margin-top: 8px !important;
            align-self: flex-start !important;
        }
    }
/* --- NAVBAR COLORS --- */
.navbar-custom {
    background-color: #4169E1 !important; /* Your blue */
    width: 100%;
}

/* Logo size */
.navbar-logo {
    height: 80px;
    width: auto;
    margin-right: 10px;
}

/* Text */
.navbar-title {
    font-weight: 600;
    color: white;
    white-space: normal !important;
    line-height: 1.1;
}

/* Dropdown styling */
.navbar-custom .dropdown-menu {
    background-color: #3358C5 !important;
}

.navbar-custom .dropdown-item {
    color: white !important;
}

    .navbar-custom .dropdown-item:hover {
        background-color: #294AA5 !important;
        color: white !important;
    }

/* Fix nav links overflowing on mobile */
.navbar-nav .nav-link {
    white-space: normal !important;
}



    .navbar-logo {
        height: 84px !important;
    }
}
/* Prevent logo/title from forcing layout wide */
.navbar-brand {
    width: 100%;
}

/* Center hamburger if desired */
.navbar-toggler {
    align-self: center;
}

/* Enable nested dropdowns in Bootstrap 5 */
.dropdown-submenu {
    position: relative;
}

    .dropdown-submenu > .dropdown-menu {
        top: 0;
        left: 100%;
        margin-left: .1rem;
        margin-right: .1rem;
    }


.navbar-brand .navbar-title {
    font-size: 2.0rem !important;
    font-weight: 300 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff !important;
    line-height: 1.1;
    text-shadow: 0 2px 4px rgba(0,0,0,0.35);
}

@media (max-width: 576px) {
    .navbar-brand .navbar-title {
        font-size: 1.3rem !important;
        font-weight: 800 !important;
    }
}


/* MOBILE — MATCH DESKTOP STYLE BUT SCALED */
@media (max-width: 576px) {
    .navbar-brand .navbar-title {
        font-size: 1.2rem !important; /* SAME AS DESKTOP */
        font-weight: 300 !important; /* SAME AS DESKTOP */
        text-transform: uppercase;
        letter-spacing: 1px;
        color: #fff !important;
        line-height: 1.1;
        text-shadow: 0 2px 4px rgba(0,0,0,0.35);
    }

    .navbar-logo {
        height: 40px !important; /* Match desktop */
    }
}


