:root {
    --dark-color: #664738;
    --less-dark-color: #846852;
    --brown: #664738;
    --link-color: #664738;
    --fc-border-color: #e0e0e0;
    --fc-event-border-color: var(--dark-color);
    --fc-daygrid-event-dot-width: 10px;
    /* Toolbar buttons */
    --fc-button-bg-color: var(--less-dark-color);
    --fc-button-active-bg-color: var(--dark-color);
    --fc-button-hover-bg-color: var(--dark-color);
    --fc-button-border-color: #2C3E50;
    --fc-event-bg-color: #E6E2E1;
    --fc-event-text-color: black;
    /* Today's highlight */
    --fc-today-bg-color: rgba(255, 220, 40, 0.15);
}

/* --- Modern Reset --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: system-ui, sans-serif;
    line-height: 1.6;
    /*background: #f7f7f7;*/
    color: #222;
}

img {
    max-width: 100%;
    display: block;
}

/* --- Layout --- */
header {
    background: var(--dark-color);
    color: white;
    padding: 1rem;
}

    header h1 {
        font-size: 1.6rem;
    }

h1 {
    color: #808080;
    font-family: 'Arvo', serif;
}

a {
    color: var(--dark-color);
}

/* Standard state */
#QuickLinks a {
    color: #ffffff;
    text-decoration: none; /* Removes the default underline */
    transition: color 0.3s ease; /* Smooth fade effect */
}

    /* Hover and Active states */
    #QuickLinks a:hover,
    #QuickLinks a:active {
        color: #333333;
    }

    /* Visited state (Optional) */
    /* If you want visited links to stay white instead of turning purple */
    #QuickLinks a:visited {
        color: #ffffff;
    }

nav {
    margin-top: 0.0rem; /*0.75rem;*/
}

    nav ul {
        list-style: none;
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

        nav ul.level3-list {
            gap: 0;
        }

    nav a {
        color: #6f6f6f;
        text-decoration: none;
        font-weight: 600;
    }


.hero-section {
    width: 100%;
    height: 500px; /* Or use 100vh for full screen height */
    background-image: url('/media/qmbjup4q/home-1500.jpg');
    background-size: cover; /* Scales the image to fill the area */
    background-position: center; /* Keeps the subject centered */
    background-repeat: no-repeat;
}

.section-nav li.level3 {
    margin-bottom: 0;
}

.container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

/* --- Responsive Sidebar Layout --- */
.layout {
    display: grid;
    gap: 2rem;
}

@media (min-width: 800px) {
    .layout {
        grid-template-columns: 250px 1fr;
    }
}

/* Sidebar */
.sidebar {
    background: white;
    padding: 1rem;
    border-radius: 6px;
}

    .sidebar h2 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

    .sidebar ul {
        list-style: none;
    }

    .sidebar li {
        margin-bottom: 0.5rem;
    }

    .sidebar a {
        text-decoration: none;
        color: var(--link-color);
        font-weight: 600;
    }

/* Main Content */
main {
    background: white;
    padding: 2rem;
    border-radius: 6px;
}

    main h2 {
        margin-bottom: 1rem;
        font-size: 1.5rem;
    }

    main p {
        margin-bottom: 1rem;
    }

footer {
    background: #664738;
    color: #333;
    text-align: center;
    /*padding: 1rem;*/
    /*margin-top: 3rem;*/
}



/* NAV WRAPPER */
.main-nav {
    position: relative;
    /*padding: 0.5rem 1rem 0.0rem 1rem;*/
    padding: 0.5rem 20px 0.0rem 20px;
}

.nav-subitem {
    background-color: #939284;
    opacity: 0.84;
}

/* HAMBURGER BUTTON */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

    .nav-toggle span {
        width: 25px;
        height: 3px;
        background: var(--dark-color);
        display: block;
        transition: 0.3s ease;
    }

/* NAV LEVEL 1 */
.nav-level-1 {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
    border-bottom: 2px solid var(--dark-color);
    padding-left: 210px;
}

.nav-item {
    position: relative;
}

    .nav-item > a {
        display: block;
        padding: 0.5rem 0.9rem;
        color: #6f6f6f;
        text-decoration: none;
        font-weight: 600;
        border-radius: 0; /*4px;*/
        transition: background-color 0.2s ease;
    }

    /* ACTIVE + HOVER */
    .nav-item:hover > a,
    .nav-item.active > a {
        background-color: var(--dark-color);
        color: #ffffff;
    }

/* DROPDOWN MENU */
.nav-level-2 {
    list-style: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--nav-bg);
    padding: 2px 0;
    margin: 0;
    min-width: 180px;
    border-radius: 0; /*4px;*/
    display: none;
    /*box-shadow: 0 2px 6px rgba(0,0,0,0.15);*/
}

.nav-item:hover .nav-level-2 {
    display: block;
}

.nav-level-2 li {
    border-bottom: 1px solid #6C6D67;
}

    .nav-level-2 li a {
        display: block;
        padding: 0.5rem 0.9rem;
        color: #fff; /* #6f6f6f;*/
        text-decoration: none;
        transition: background-color 0.2s ease;
    }

    .nav-level-2 li:hover > a,
    .nav-level-2 li.active > a {
        background-color: var(--dark-color);
        color: #ffffff;
    }

/* MOBILE STYLES */
@media (max-width: 800px) {

    .nav-toggle {
        display: flex;
    }

    .nav-level-1 {
        display: none;
        flex-direction: column;
        width: 100%;
        margin-top: 1rem;
    }
    .main-nav {
        margin-bottom: 20px;
    }

    .main-nav.open .nav-level-1 {
        display: flex;
        z-index: 1;
    }

    /* Dropdowns become inline collapsible lists */
    .nav-item:hover .nav-level-2,
    .nav-level-2 {
        position: static;
        box-shadow: none;
        display: none;
        background: var(--nav-bg);
    }

    .nav-item.open > .nav-level-2 {
        display: block;
    }

    .nav-item.has-children > a::after {
        content: "▾";
        float: right;
        margin-left: 0.5rem;
    }
}


/* MOBILE STYLES */
@media (max-width: 800px) {
    .nav-toggle {
        display: flex;
        /* FIX: Give the button a hit-area size */
        width: 30px;
        height: 25px;
        justify-content: space-between;
        z-index: 1000;
    }

        .nav-toggle span {
            /* FIX: Change background to your dark brown so it's visible on white */
            background: var(--dark-color);
            width: 100%;
            height: 3px;
            border-radius: 3px;
        }

    .nav-level-1 {
        display: none; /* Stays hidden until .open is added via JS */
        position: absolute;
        top: 100%;
        left: 0;
        background: white;
        width: 100%;
        padding-left: 20px; /* Remove that 210px desktop offset */
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }
}




.site-header {
    background: #ffffff;
    /*border-bottom: 1px solid #dcdcdc;*/
    padding: 0.75rem 1rem;
}

.header-top {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.site-logo {
    max-width: 100%;
    height: auto;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.header-phone {
    font-size: 1rem;
    color: #333;
}

    .header-phone .phone-label {
        font-weight: 600;
        margin-right: 0.25rem;
    }

    .header-phone .phone-number {
        color: var(--dark-color);
        font-weight: 700;
        text-decoration: none;
    }

.header-search {
    display: flex;
    align-items: center;
}

    .header-search input {
        padding: 0.45rem 0.6rem;
        border: 1px solid #ccc;
        border-right: none;
        border-radius: 4px 0 0 4px;
    }

/* Brown button with angled right edge */
.search-btn {
    position: relative;
    padding: 0.45rem 1.2rem;
    background: var(--dark-color);
    color: white;
    border: none;
    font-weight: 600;
    cursor: pointer;
    border-radius: 0 4px 4px 0;
    /* The magic: shallow diagonal cut */
    clip-path: polygon( 0 0, /* top-left */
    100% 0, /* top-right */
    calc(100% - 14px) 100%, /* diagonal bottom-right */
    0 100% /* bottom-left */
    );
    transition: background 0.2s ease;
}

    .search-btn:hover {
        background: #5e452f; /* darker brown */
    }



/* Responsive adjustments */
@media (max-width: 600px) {
    .header-right {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
        margin-top: 0.75rem;
    }
}





/* Hide section nav on mobile */
.left-nav {
    display: none;
}

/* Show on tablets and larger screens */
@media (min-width: 768px) {
    .left-nav {
        display: block;
    }
}


ul li p {
    display: inline;
    margin: 0;
}

main ul li {
    margin-left: 2rem;
}

.section-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.section-nav li {
    display: block; /* ensures vertical stacking */
    width: 100%; /* prevents inline behavior */
    margin-bottom: 6px;
}

.section-nav a {
    display: block; /* full-width clickable area */
    width: 100%; /* prevents side-by-side layout */
    padding: 10px 14px;
    background: #e6e6e6; /* default gray */
    color: #333;
    text-decoration: none;
    font-weight: 600;
    border-radius: 0; /*4px;*/
    transition: background 0.2s ease, color 0.2s ease;
}

/* Level 1 (top-level parent) */
.section-nav li.level1 a {
    background: #dcdcdc; /* slightly lighter gray */
}

.section-nav li.level1.active a {
    background: var(--dark-color);
    color: #fff;
}

/* Level 2 active */
.section-nav li.level2.active a {
    background: var(--dark-color);
    color: #fff;
    /*border-left: 4px solid #fff;*/
}

/* Level 3 items */
li.level3 {
    border-bottom: 1px solid var(--dark-color);
}

.section-nav li.level3 a, .section-nav li.level2 li.level3 a {
    background: #846852; /* lighter brown */
    /* margin-left: 20px;    indentation */
    padding: 2px 10px 2px 25px;
}

.section-nav li.level3 a {
    color: #fff;
}

/* Level 3 active */
.section-nav li.level3.active a {
    background: #b08f6a; /* darker shade of light brown */
    color: #aaa;
    /*border-left: 4px solid #fff;*/
}

/* Hover */
.section-nav a:hover {
    background: #d2d2d2;
}

/* Remove bottom margin on level 2 items when followed by level 3 */
.section-nav li.level2 {
    margin-bottom: 0;
}

/* Level 3 items should also have no top margin */
.section-nav li.level3 {
    margin-top: 0;
}






.site-footer {
    background: #fff;
    width: 90%;
    padding: 0 20px;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-breadcrumb {
    width: 60%;
}

.footer-copyright {
    font-size: 0.8em;
    color: #888;
}

/* Breadcrumb bar */
.breadcrumb-bar {
    background: var(--dark-color);
    padding: 10px 18px;
    color: white;
    position: relative;
    clip-path: polygon( 0 0, 100% 0, calc(100% - 20px) 100%, 0 100% );
    border-radius: 4px;
}

    .breadcrumb-bar ul {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
    }

    .breadcrumb-bar li {
        color: white;
        font-weight: 600;
    }

    .breadcrumb-bar a {
        color: white;
        text-decoration: none;
    }

        .breadcrumb-bar a:hover {
            text-decoration: underline;
        }

    .breadcrumb-bar .current {
        opacity: 0.85;
    }

/* Logo */
.footer-logo img {
    max-height: 50px;
    width: auto;
}











/* Hero / main picture section */
.hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    gap: 2.5rem;
    padding: 3.5rem 5vw 2.5rem;
    align-items: center;
    background: linear-gradient( 135deg, #f5f7fa 0%, #e9eef5 40%, #ffffff 100% );
}

.hero-content {
    max-width: 540px;
}

.hero-kicker {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.75rem;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.hero-title {
    font-size: clamp(2.1rem, 3vw, 2.8rem);
    line-height: 1.15;
    margin: 0 0 0.75rem;
    color: var(--primary);
}

.hero-subtitle {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 1.75rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.btn-primary, .btn-ghost {
    border-radius: 999px;
    padding: 0.7rem 1.4rem;
    font-size: 0.95rem;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.1s ease;
}

.btn-primary {
    background: var(--primary);
    color: #ffffff;
    box-shadow: var(--shadow-soft);
}

    .btn-primary:hover {
        background: #26475d;
        transform: translateY(-1px);
    }

.btn-ghost {
    background: transparent;
    color: var(--primary);
    border-color: #cfd5e2;
}

    .btn-ghost:hover {
        background: #f0f3f8;
    }

.hero-image-wrapper {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    background: #000;
    min-height: 260px;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-tag {
    position: absolute;
    left: 1.25rem;
    bottom: 1.25rem;
    background: rgba(0, 0, 0, 0.65);
    color: #ffffff;
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
/* Quick Links section */
.quick-links {
    padding: 2.5rem 5vw 3.5rem;
    background: var(--bg-light);
    border-top: 1px solid #e2e6ec;
    border-bottom: 1px solid #e2e6ec;
}

.quick-links-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.quick-links-title {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary);
}

.quick-links-subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.quick-link-card {
    background: #ffffff;
    border-radius: var(--radius);
    padding: 0.9rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    border: 1px solid #dde2ec;
    text-decoration: none;
    color: var(--text-main);
    font-size: 0.95rem;
    transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.08s ease, background 0.16s ease;
}

    .quick-link-card:hover {
        border-color: var(--primary);
        box-shadow: var(--shadow-soft);
        background: #f9fbff;
        transform: translateY(-1px);
    }

.quick-link-icon {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: #eef2f9;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: var(--primary);
    flex-shrink: 0;
}

.quick-link-label {
    font-weight: 500;
}

.quick-link-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
}
/* Footer placeholder */
.XXfooter {
    padding: 1.5rem 5vw 2rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: center;
}

@media (max-width: 800px) {
    .hero {
        grid-template-columns: minmax(0, 1fr);
        padding-top: 2.5rem;
    }

    .hero-image-wrapper {
        order: -1;
    }

    .quick-links-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

.float-img {
    width: 300px; /* adjust as needed */
    margin: 0 0 1rem 1rem;
    float: none; /* default for small screens */
    display: block;
    border: 13px solid #a4a398;
}

/* Medium and larger screens */
@media (min-width: 768px) {
    .float-img {
        float: right;
    }
}

/* 1. Fix: Force meeting titles (WaTech, DCYF, etc.) to wrap to new lines */
/*.wrapped-event {
    white-space: normal !important;
    word-wrap: break-word;
    line-height: 1.2;
    display: block;
    padding: 2px 4px;
}*/

/* 2. Fix: Allow the calendar grid cells to grow vertically for wrapped text */
/*.fc-daygrid-event {
    white-space: normal !important;
    align-items: flex-start !important;
    margin-top: 2px !important;
    margin-bottom: 2px !important;
}*/

/* 3. The "Room CLOSED" Banner Styling */
/*.closed-banner {
    background-color: #E6E2E1 !important;*/ /* The gray color from your original bar */
    /*border: 1px solid #d1d1d1 !important;
    border-radius: 4px;
    width: 100%;
    text-align: center;
    font-weight: bold;
    font-size: 0.85em;
    padding: 4px 0;
    color: #333;
    display: block;
}*/

/* 4. OPTIONAL: If you want the "Closed" bar to always sit at the bottom */
/*.fc-daygrid-day-events {
    display: flex;
    flex-direction: column;
}*/

/* This targets the closure events specifically if you use the groupId 'buildingClosed' */
/*.fc-event[data-groupid="buildingClosed"] {
    order: 99;*/ /* Higher number pushes it to the bottom of the day cell */
    /*margin-top: auto;
}*/

/* Remove margins so spanning events touch the edges of the day cells */
/*.fc-daygrid-event.spanning-closed-bar {
    margin-left: -1px !important;
    margin-right: -1px !important;
    margin-top: 0 !important;
    margin-bottom: 5px !important;*/ /* Spacing between bar and first meeting */
    /*border-radius: 0 !important;
    border: none !important;
}*/

/* Ensure the title is perfectly centered in the spanning bar */
/*.closed-banner {
    background-color: #E6E2E1 !important;
    width: 100%;
    text-align: center;
    padding: 4px 0;
    font-weight: bold;
    font-size: 0.85em;
    display: block;
}*/

/* Fix for the meeting titles wrapping */
/*.wrapped-event {
    white-space: normal !important;
    word-wrap: break-word;
}*/

/* 1. The "Magic Glue": Removes gaps between daily events to create a solid bar */
/*.perpetual-closed-bar {
    margin-left: -2px !important;*/ /* Pulls the left edge over the border */
    /*margin-right: -2px !important;*/ /* Pulls the right edge over the border */
    /*margin-top: 0 !important;
    margin-bottom: 4px !important;
    border-radius: 0 !important;*/ /* Makes the edges square so they meet perfectly */
    /*border: none !important;
    padding: 4px 0 !important;
    text-align: center;
    font-weight: bold;
    color: #333;
    display: block;
}*/

/* 2. Style for the meeting titles to ensure they wrap instead of overlapping */
/*.wrapped-event {
    white-space: normal !important;
    word-wrap: break-word;
    line-height: 1.2;
    padding: 2px 4px;
}*/

/* 3. Allow the calendar grid to expand vertically for wrapped text */
/*.fc-daygrid-event {
    white-space: normal !important;
}*/

/* 4. Hide the dots/bullets FullCalendar sometimes adds to all-day events */
/*.fc-daygrid-event-dot {
    display: none !important;
}*/