/* Cayu custom styles (loaded after main.css) */

/* ==========================================================================
   Brand palette – taken from the Cayu logo
   Primary:   logo purple  #3B088F
   Secondary: logo yellow  (golden, readable with white text)
   Accents:   logo red / blue / green
   ========================================================================== */
:root {
    /* Primary (buttons, links, highlights) – logo purple */
    --main-h: 263;
    --main-s: 89%;
    --main-l: 30%;

    /* Secondary (light backgrounds, secondary buttons) – logo yellow */
    --main-two-h: 46;
    --main-two-s: 97%;
    --main-two-l: 49%;

    /* Accent colours from the logo faces */
    --primary-600: #155398;
    --primary-50: #15539823;
    --pink-600: #E51D22;
    --pink-50: #e51d2220;
    --gren-600: #108940;
    --gren-50: #10894066;
    --gren-10: #1089402b;
    --purple-400: #3B088FDB;
    --purple-500: #3B088F;
    --purple-600: #6A2BC2;
    --purple-50: #6a2bc217;

    /* Text: deep "logo ink" purple instead of near-black */
    --neutral-950: #1F0B4A;
    --heading-color: #1F0B4A !important;
}

/* Yellow button: purple label for contrast, purple background on hover */
.btn-main {
    color: var(--main-600) !important;
}

.btn-main .button__label {
    font-weight: 700;
}

.btn-main:hover,
.btn-main:active {
    color: hsl(var(--white)) !important;
}

.btn-main img {
    filter: brightness(0);
}

.btn-main:hover img,
.btn-main:active img {
    filter: none;
}

/* Active navigation item in brand purple */
.nav-menu__item.activePage > .nav-menu__link,
.nav-menu__link:hover {
    color: var(--main-600) !important;
}

/* ==========================================================================
   Backgrounds
   ========================================================================== */
.bg-about-us {
    background-image: url(../images/new-images/about-bg.webp);
}

/* Decorative blobs re-coloured to the brand purple via an alpha mask */
.bg-get-start-three,
.bg-kindergarden-two-bottom {
    isolation: isolate;
}

.bg-get-start-three::before,
.bg-kindergarden-two-bottom::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-color: var(--main-600);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
}

.bg-get-start-three::before {
    -webkit-mask-image: url(../images/bg/get-start-three-bg-img.png);
    mask-image: url(../images/bg/get-start-three-bg-img.png);
}

.bg-kindergarden-two-bottom {
    border-radius: inherit;
}

.bg-kindergarden-two-bottom::before {
    border-radius: inherit;
    -webkit-mask-image: url(../images/bg/kindergarden-two-bottom-bg-img.png);
    mask-image: url(../images/bg/kindergarden-two-bottom-bg-img.png);
}

.bg-footer-bottom {
    background-image: url(../images/bg/footer-bottom-bg-img1.png);
}

/* ==========================================================================
   Calm, professional look – no floating / bouncing / rotating decoration
   ========================================================================== */
.animation-upDown,
.animation-scalation,
.animation-rotate,
.animation-rotate-right,
.animate__wobble__two,
.left-right-animation,
.animation-item:hover .animate__bounce,
.animation-item:hover .animate__wobble,
.animation-item:hover .animate__heartBeat,
.animation-item:hover .animate__flipInY,
.animation-item:hover .animate__swing {
    animation: none !important;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ==========================================================================
   Opening status bar (live "Gerade geöffnet" + Vienna clock)
   ========================================================================== */
.opening-bar {
    background-color: var(--main-600);
    color: hsl(var(--white));
    font-size: 0.9375rem;
    line-height: 1.4;
}

.opening-bar__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem 1.5rem;
    padding: 0.625rem 0;
}

.opening-bar__hours,
.opening-bar__clock {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.opening-bar__hours i,
.opening-bar__clock i {
    color: var(--main-two-600);
    font-size: 1.125rem;
}

.opening-bar__clock {
    margin-inline-start: auto;
}

.opening-bar__clock-label {
    opacity: 0.8;
}

.opening-bar__time {
    font-family: "Source Code Pro", ui-monospace, SFMono-Regular, Menlo, monospace;
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    font-size: 1.0625rem;
    letter-spacing: 0.04em;
    background-color: rgba(255, 255, 255, 0.12);
    border-radius: 0.5rem;
    padding: 0.125rem 0.625rem;
}

.opening-status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    border-radius: 999px;
    padding: 0.3125rem 0.875rem 0.3125rem 0.75rem;
}

.opening-status__dot {
    width: 0.625rem;
    height: 0.625rem;
    border-radius: 50%;
    background-color: currentColor;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.6);
}

.opening-status.is-open {
    background-color: #E7F6EC;
    color: #0B6E33;
}

.opening-status.is-closed {
    background-color: #FDE8E8;
    color: #B3141A;
}

@media (max-width: 767px) {
    .opening-bar {
        font-size: 0.875rem;
    }

    .opening-bar__hours {
        order: 3;
        flex-basis: 100%;
        justify-content: center;
    }

    .opening-bar__inner {
        justify-content: center;
    }

    .opening-bar__clock {
        margin-inline-start: 0;
    }
}
