﻿
body {
    font-family: var(--bs-font-sans-serif);
    font-size: 1.0rem;
}

.body-wrapper {
    background-color: white !important;
}
.pagecontent-wrapper{

}
.pagecontent-wrapper a{
    text-decoration:none !important;
}

:root {
    --bs-font-sans-serif: 'Montserrat', system-ui, -apple-system, 'Helvetica',Arial,sans-serif;
}

.topbar-wrapper{

}

.header-wrapper{

}

.header-image{
    min-width:100%;
    max-width:100%;
    height:auto;
    margin-bottom:0px;
    padding-bottom:0px;
}

.navbar-wrapper{

}

.footer-wrapper{
   
    
}

.bottombar-wrapper{
   
    margin-bottom:12px;
}

.form-floating > label,
.form-floating > .form-control ~ label,
.form-floating > .form-select ~ label {
    font-weight: 600 !important;
}

.form-check-inline input[type="checkbox"] + label {
    margin-left: 6px;
}


.ambient-wrapper {
    position: relative;
    overflow: hidden; /* Keep animation inside image bounds */
}

.ambient-image {
    animation: ambientFloat 16s ease-in-out infinite;
    transform-origin: center center;
    will-change: transform;
}

.ambient-wrapper:hover .ambient-image {
    animation-play-state: paused; /* Pause on hover */
}

@keyframes ambientFloat {
    0% {
        transform: translate(0px, 0px) scale(1);
    }

    25% {
        transform: translate(-1px, 2px) scale(1.01);
    }

    50% {
        transform: translate(1px, -2px) scale(1.01);
    }

    75% {
        transform: translate(-2px, 1px) scale(1);
    }

    100% {
        transform: translate(0px, 0px) scale(1);
    }
}

.accordion-button-artsgreen {
    background-color: #77a75b !important;
    color: #fff !important; /* white text for contrast */
}

    .accordion-button-artsgreen:not(.collapsed) {
        background-color: #77a75b !important;
        color: #fff !important;
        box-shadow: none; /* optional: remove default shadow */
    }

    .accordion-button-artsgreen::after {
        filter: invert(1) grayscale(100%) brightness(200%);
        /* makes the accordion arrow visible on dark background */
    }

.accordion-button-artsgreen-outline {
    background-color: transparent !important;
    border: 1px solid #77a75b !important;
    color: #77a75b !important;
}

    .accordion-button-artsgreen-outline:not(.collapsed) {
        background-color: #77a75b !important;
        color: #fff !important;
    }

    .accordion-button-artsgreen-outline::after {
        filter: invert(44%) sepia(12%) saturate(1376%) hue-rotate(66deg) brightness(90%) contrast(85%);
        /* makes the chevron match the green shade */
    }
    .accordion-button-artsgreen:focus,
    .accordion-button-artsgreen-outline:focus {
        box-shadow: none !important;
        border-color: #77a75b !important; /* optional: keeps border in theme */
        outline: none !important;
    }

.bg-artsgreen {
    background-color: #77a75b !important; /* replace with your green */
}

.bg-artsgreen-50 {
    background-color: rgba(119, 167, 91, 0.50) !important;
}

.bg-artsgreen-25 {
    background-color: rgba(119, 167, 91, 0.25) !important;
}

.bg-artsgreen-10 {
    background-color: rgba(119, 167, 91, 0.10) !important;
}

text-bg-artsgreen {
    
    background-color: rgba(119, 167, 91, 0.50) !important;
}

.text-artsgreen {
    color: #77a75b;
}

.btn-stretch {
    position: absolute;
    inset: 0; /* top/right/bottom/left: 0 */
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-artsgreen {
    background-color: #77a75b;
    color: #ffffff;
    border-color: #77a75b; /* Match border color with background */
}

    .btn-artsgreen:hover {
        background-color: #689b4f; /* Slightly darker for hover effect */
        border-color: #689b4f; /* Match hover border color */
        color: #ffffff;
    }

    .btn-artsgreen:focus, .btn-artsgreen:active {
        background-color: #5c8d45; /* Even darker for focus/active */
        border-color: #5c8d45;
        box-shadow: 0 0 0 0.25rem rgba(119, 167, 91, 0.5); /* Match Bootstrap focus style */
    }

.input-group .form-floating .form-control,
.input-group .btn {
    height: calc(3.5rem + 2px); /* Match Bootstrap's default floating height */
    line-height: 1.25;
}
/* Make sure the built-in cancel button appears and is clickable */
input[type="search"]::-webkit-search-cancel-button {
    -webkit-appearance: searchfield-cancel-button;
}
.form-control[type="search"] {
    padding-right: 1rem;
}

.text-bg-artsgreen {
    color: #fff !important; /* force white text */
    background-color: #77a75b !important; /* artsgreen */
}

.mega-menu child a {
    padding: 0px;
}

.navbar .mega-menu {
    padding: 1rem;
}

/* ============ desktop view ============ */
@media all and (min-width: 992px) {
    .navbar .has-mega-menu {
        position: static !important;
        margin-top: 0px;
        width: 100%;
    }

    .navbar .mega-menu {
        left: 0;
        right: 0;
        width: 100%;
        border-color: #666666;
        border-width: 1px;
        border-top-width: 0px;
        margin-top: 0px;
        min-width: 100%;
    }
}


/* ============ mobile view ============ */
@media(max-width: 991px) {
    .navbar.fixed-top .navbar-collapse, .navbar.sticky-top .navbar-collapse {
        overflow-y: auto;
        max-height: 100vh;
        margin-top: 12px;
    }
}

.navbar .dropdown-menu {
    border-radius: 0px;
    margin-top: 6px;
    border-color: #666666 ;
    border-width:1px;
    border-top-width: 0px;
}

.navbar .dropdown-toggle::after {
    margin-left: 0.5em;
}

.mega-menu > .row {
    margin-left: 0;
    margin-right: 0;
}

.mega-menu-child-column {
    padding-left: 0rem;
    padding-right: 0rem;
}

    .mega-menu-child-column > div > a {
        margin-left: 0px;
        padding-left: 0px;
        text-align: left;
        font-weight: 600;
        
    }

        .mega-menu-child-column > div > a:hover {
            margin-left: 0px;
            padding-left: 0px;
            text-align: left;
            font-weight: 600;
            background-color: #ffffff !important;
        }

.dropdown-menu li a.dropdown-item:hover {
    background-color: #ffffff;
    text-decoration: underline;
}
/* Headings inside columns */
.mega-menu h6,
.mega-menu .dropdown-header {
    font-size: 1.0rem !important;
    margin-bottom: 0.2rem;
    color: #242a20;
    text-align: left;
}

.dropdown-header {
    font-weight: bolder;
    font-size: 1.0rem !important;
    margin-bottom: 0.2rem;
    color: #141a10;
    text-align: left;
}

/* Grandchild links */
.mega-menu ul {
    padding-left: 0;
}

    .mega-menu ul.list-unstyled li {
        margin-bottom: 0.25rem;
    }

        .mega-menu ul.list-unstyled li a {
            color: #212529;
            text-decoration: none;
            display: block;
            padding: 0.0rem 0;
        }

            .mega-menu ul.list-unstyled li a:hover {
                text-decoration: underline;
            }

.hx-divider {
    display: flex;
    align-items: center; /* vertically center line vs. text */
    gap: .75rem; /* space between text and line */
    margin-bottom: 1.25rem;
}

    .hx-divider::after {
        content: "";
        display: block; /* ensure height is respected */
        flex: 1 1 auto; /* fill to the container's right edge */
        height: 2px; /* line thickness */
        background: var(--bs-border-color, #dee2e6); /* fallback color */
        opacity: .8; /* soften; raise to 1 for solid */
    }

.form-floating > label {
    font-weight: 400; /* semibold by default */
    color: var(--bs-emphasis-color); /* darker than default secondary */
    opacity: .9; /* less faded than the default */
}

/* When the input has focus or a value (label is floated) */
.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label,
.form-floating > .form-select ~ label,
.form-floating > textarea.form-control:focus ~ label,
.form-floating > textarea.form-control:not(:placeholder-shown) ~ label {
    font-weight: 500; /* bolder when active */
    color: var(--bs-emphasis-color);
    opacity: 1;
}


/* Vertical Carousel Override */
.carousel.carousel-vertical .carousel-inner {
    height: 22px; /* match your image height */
}

.carousel.carousel-vertical .carousel-item {
    transition: transform 0.6s ease-in-out;
}

.carousel.carousel-vertical .carousel-item-next,
.carousel.carousel-vertical .carousel-item-start {
    transform: translateY(100%);
}

.carousel.carousel-vertical .carousel-item-prev,
.carousel.carousel-vertical .carousel-item-end {
    transform: translateY(-100%);
}

.gentle-expand {
    transition: transform 0.3s ease, box-shadow 0.3s ease;

}

    .gentle-expand:hover {
        transform: scale(1.03);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    }


/* Base (fallback / JS-driven mode) */
.aos-group .animate-on-scroll {
    opacity: 0;
    transform: translateY(120px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, transform;
}

    /* When visible (JS will add .is-visible) */
    .aos-group .animate-on-scroll.is-visible {
        opacity: 1;
        transform: translateY(0);
    }

    /* Stagger defaults for fallback mode.
   We'll assign delays in JS, but if JS fails for some reason,
   you still get a light stagger via nth-child.
*/
    .aos-group .animate-on-scroll:nth-child(1) {
        transition-delay: 0ms;
    }

    .aos-group .animate-on-scroll:nth-child(2) {
        transition-delay: 300ms;
    }

    .aos-group .animate-on-scroll:nth-child(3) {
        transition-delay: 500ms;
    }

    .aos-group .animate-on-scroll:nth-child(4) {
        transition-delay: 700ms;
    }

    .aos-group .animate-on-scroll:nth-child(5) {
        transition-delay: 900ms;
    }

    .aos-group .animate-on-scroll:nth-child(6) {
        transition-delay: 1100ms;
    }
/* add more if you routinely show longer grids */

@supports (animation-timeline: view()) {
    @keyframes fadeUp {
        from {
            opacity: 0;
            transform: translateY(100px); /* start lower */
        }

        to {
            opacity: 1;
            transform: translateY(0); /* move up */
        }
    }

    .aos-group .animate-on-scroll {
        opacity: 1; /* prevent flash before anim starts */
        animation-name: fadeUp;
        animation-duration: 0.8s;
        animation-timing-function: ease-out;
        animation-fill-mode: both;
        animation-timeline: view();
        animation-range: entry 0% cover 30%;
    }
        /* stagger */
        .aos-group .animate-on-scroll:nth-child(1) {
            animation-delay: 0ms;
        }

        .aos-group .animate-on-scroll:nth-child(2) {
            animation-delay: 200ms;
        }

        .aos-group .animate-on-scroll:nth-child(3) {
            animation-delay: 400ms;
        }

        .aos-group .animate-on-scroll:nth-child(4) {
            animation-delay: 600ms;
        }

        .aos-group .animate-on-scroll:nth-child(5) {
            animation-delay: 800ms;
        }
}

.input-group > .input-group-text {
    display: flex;
    align-items: center;
    justify-content: center;
}

.input-group .form-check-input {
    margin: 0;
    flex-shrink: 0;
}

.input-group-sm .input-group-text {
    display: flex;
    align-items: center;
    justify-content: center;
}

    .input-group-sm .input-group-text input[type="checkbox"] {
        margin: 0;
        vertical-align: middle;
    }

.inventory-box {
    border: 1px solid #d8dde2;
    border-radius: 3px;
    background-color: #fff;
    padding: 6px 10px;
    min-height: 72px;
    height: 100%;
    cursor: text;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}

    /* Card label */
    .inventory-box label {
        display: block;
        margin: 0;
        font-size: 16px;
        font-weight: 700;
        line-height: 1.2;
        color: #495057;
        text-align: left;
        cursor: text;
    }

    /* Editable inventory value */
    .inventory-box .form-control {
        display: block;
        width: 100%;
        height: 26px;
        min-height: 26px;
        margin-top: 4px;
        padding: 0 4px;
        border: none;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        font-size: 14px;
        font-weight: 400;
        line-height: 26px;
        text-align: center;
        color: #212529;
    }

    /* Highlight card when editing */
    .inventory-box:focus-within {
        border-color: #86b7fe;
        background-color: #f8fbff;
        box-shadow: 0 0 0 1px rgba(13, 110, 253, 0.08);
    }

    /* Remove standard Bootstrap textbox focus */
    .inventory-box .form-control:focus {
        border: none;
        outline: none;
        box-shadow: none;
        background: transparent;
    }

    /* Disabled textbox */
    .inventory-box .form-control:disabled {
        background: transparent;
        color: #6c757d;
    }

    /* Hide number input spinners */
    .inventory-box input[type="number"]::-webkit-inner-spin-button,
    .inventory-box input[type="number"]::-webkit-outer-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }

    .inventory-box input[type="number"] {
        -moz-appearance: textfield;
        appearance: textfield;
    }


.image-hover-container {
    position: relative;
    display: inline-block;
    vertical-align: top;
}

.image-hover-toolbar {
    position: absolute;
    top: 5px;
    right: 5px;
    display: flex;
    gap: 12px; /* Space between icons */
    padding: 6px 10px; /* Space around toolbar edges */
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(3px);
    border-radius: 5px;
    z-index: 1000;
    /* Hidden by default */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.image-hover-container:hover .image-hover-toolbar {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.image-hover-btn {
    color: white;
    font-size: 16px;
    text-decoration: none;
}

    .image-hover-btn:hover {
        color: #ffc107;
    }




.border-solid {
    border-style: solid !important;
}

.border-dashed {
    border-style: dashed !important;
}

.border-dotted {
    border-style: dotted !important;
}

.hero-carousel,
.hero-carousel .carousel-inner,
.hero-carousel .carousel-item {
    height: clamp(178px, 37.1354vw, 713px);
}

    .hero-carousel .carousel-item {
        position: relative;
        isolation: isolate;
        overflow: hidden;
    }

/* Carousel images */
    .hero-carousel .hero-carousel-image {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: block;
        z-index: 1;
        object-fit: cover;
        object-position: left center;
        animation: heroAmbient 18s ease-in-out infinite alternate;
    }

/* Background gradient overlay */
.hero-overlay {
    position: absolute;
   
    top: 0;
    left: 0;
    right: 0px;
    bottom: 0px;
    z-index: 2;
 
    width:100%;
    height:100%;
}

/* Overlay content */
.hero-carousel .hero-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    color: #fff;
    justify-content: center !important;
    align-items: flex-start !important;
    /* Responsive padding */
    padding: clamp(0.5rem, 1.67vw, 2rem) clamp(0.75rem, 2.5vw, 3rem);
    box-sizing: border-box;
    width: 100%;
    max-width: none;
   
}

.hero-carousel .stretched-link::after {
    z-index: 4;
    cursor: pointer;
}

/* Carousel indicators remain visible but below hero content */
.hero-carousel .carousel-indicators {
    z-index: 10;
}

/* Previous / Next controls */
.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
    z-index: 10;
}

.hero-content-inner a {
    position: relative;
    pointer-events: auto;
    z-index: 5;
}

.hero-content-inner {
    display: flex;
    flex-direction: column;
    width: 100%;
    z-index: 4;
}

.hero-left .hero-content-inner {
    align-items: flex-start;
    text-align: left;
}

/* Centre aligned hero content */
.hero-center .hero-content-inner {
    align-items: center;
    text-align: center;
}

/* Right aligned hero content */
.hero-right .hero-content-inner {
    align-items: flex-end;
    text-align: right;
}

.hero-overlay.overlay-none {
    background: none;
}

/* Left gradient */
.hero-overlay.overlay-left {
    background: linear-gradient(to right, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.35), transparent);
}

/* Centre gradient */
.hero-overlay.overlay-center {
    background: linear-gradient(to right, transparent, rgba(0, 0, 0, 0.65), transparent);
}

/* Right gradient */
.hero-overlay.overlay-right {
    background: linear-gradient(to left, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.35), transparent);
}

/* Uniform overlay */
.hero-overlay.overlay-full {
    background: rgba(0, 0, 0, 0.40);
}

/* Bottom gradient */
.hero-overlay.overlay-bottom {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75), transparent);
}

/* Top gradient */
.hero-overlay.overlay-top {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.75), transparent);
}





/* =========================================
   RESPONSIVE TYPOGRAPHY
   ========================================= */

.hero-carousel .hero-content h1 {
    font-size: clamp(2.4rem, 5vw, 9rem);
    line-height: 1.15;
    margin-bottom: clamp(0.25rem, 0.8vw, 1rem);
    margin-left: 6px;
}

.hero-carousel .hero-content h3 {
    font-size: clamp(1.5rem, 2.5vw, 4rem);
    line-height: 1.25;
    margin-bottom: clamp(.25rem, 0.8vw, 1rem);
    margin-left: 6px;
}

.hero-carousel .hero-content p {
    font-size: clamp(1rem, 1.4vw, 1.8rem);
    line-height: 1.4;
    margin-bottom: clamp(0.25rem, 1vw, 1.25rem);
    margin-left: 6px;
}

.hero-content h1,
.hero-content h2,
.hero-content h3,
.hero-content h4,
.hero-content h5,
.hero-content h6,
.hero-content p {
    white-space: normal;
    overflow-wrap: break-word;
    word-break: normal;
    max-width: 960px;
    text-wrap: balance;
}

/* =========================================
   RESPONSIVE BUTTONS
   ========================================= */

.hero-carousel .hero-content .btn {
    font-size: clamp(0.65rem, 0.85vw, 1rem);
    padding: clamp(0.3rem, 0.5vw, 0.65rem) clamp(0.5rem, 1vw, 1.25rem);
    border-radius: 0.75rem;
    z-index: 21;
    margin-left: 6px;
}


@keyframes heroAmbient {
    0% {
        transform: scale(1.00) translate(0, 0);
    }

    100% {
        transform: scale(1.06) translate(-1%, -1%);
    }
}

/* =========================================
   MOBILE ADJUSTMENTS
   ========================================= */

@media (max-width: 575.98px) {

    /* Disable image animation on mobile */
    .hero-carousel .hero-carousel-image {
        animation: none;
        transform: none;
    }


    .hero-carousel .hero-overlay {
        background: linear-gradient( 90deg, rgba(0,0,0,.90) 0%, rgba(0,0,0,.70) 20%, rgba(0,0,0,.50) 40%, rgba(0,0,0,.30) 60%, rgba(0,0,0,.10) 80%, rgba(0,0,0,0) 100% );
    }
}

/* =========================================
   ACCESSIBILITY
   ========================================= */

@media (prefers-reduced-motion: reduce) {

    .hero-carousel .hero-carousel-image {
        animation: none;
        transform: none;
    }
}

.btn-outline-subtle {
    --bs-btn-color: #6c757d;
    --bs-btn-bg: #f8f9fa;
    --bs-btn-border-color: #dee2e6;
    --bs-btn-hover-color: #343a40;
    --bs-btn-hover-bg: #e9ecef;
    --bs-btn-hover-border-color: #ced4da;
    --bs-btn-active-color: #212529;
    --bs-btn-active-bg: #dee2e6;
    --bs-btn-active-border-color: #adb5bd;
    --bs-btn-focus-shadow-rgb: 108, 117, 125;
}