﻿@font-face {
    font-family: 'roboto-black';
    src: url('lib/font/roboto-black.ttf') format('truetype');
}

@font-face {
    font-family: 'roboto-bold';
    src: url('lib/font/roboto-bold.ttf') format('truetype');
}

@font-face {
    font-family: 'roboto-extralight';
    src: url('lib/font/roboto-extralight.ttf') format('truetype');
}

@font-face {
    font-family: 'roboto-light';
    src: url('lib/font/roboto-light.ttf') format('truetype');
}

@font-face {
    font-family: 'roboto-medium';
    src: url('lib/font/roboto-medium.ttf') format('truetype');
}

@font-face {
    font-family: 'roboto-regular';
    src: url('lib/font/roboto-regular.ttf') format('truetype');
}

@font-face {
    font-family: 'roboto-thin';
    src: url('lib/font/roboto-thin.ttf') format('truetype');
}

:root {
    --wp-bg-color: #22282C;
    --white-text-color: #fff;
    --green-text-color: #009E86;
    --mobile-font-size: 1.4vh;
    --content-height-85: 85vh;
}


html, body {
    font-family: 'roboto-light', Helvetica, Arial, sans-serif;
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
}

.notfound {
    font-size: 200px;
    color: #009E86;
}

.center {
    text-align: center;
}

.alert {
    font-size: 18px;
    color: black;
}

.text-small{
    font-size: 12px;
    line-height: 5px;
}

.page-mode {
    width: 70%;
    margin: 0 auto;
}

.component-mode {
    width: 100%;
}


.btt {
    display: none;
    text-align: center;
    line-height: 50px;
    height: 50px;
    width: 50px;
    z-index: 9999;
    float: right;
    position: fixed;
    right: 30px;
    bottom: 30px;
    font-size: 22px;
    color: var(--green-text-color);
    border-radius: 50%;
    border: 1px solid #424242;
    transition: background-color 0.2s linear;
}

.btt-fill {
    display: none;
    text-align: center;
    line-height: 50px;
    height: 50px;
    width: 50px;
    z-index: 9999;
    float: right;
    position: fixed;
    right: 30px;
    bottom: 30px;
    font-size: 22px;
    color: #fff;
    border-radius: 50%;
    background: #424242;
    border: 1px solid #424242;
    transition: background-color 0.2s linear;
}

.gdpr-banner {
    display:flex;
    align-items:center;
}

.outline-0:hover, outline-0:focus {
    outline: 0 !important;
    border: 0 !important;
}

.title-sub-line {
    border-bottom: 3px solid #ddd;
    padding-bottom: 5px;
    border-bottom-color: var(--green-text-color);
    width: 11%;
    margin: 0 auto;
    display: block;
}

.border-2px-sq-price {
    border: 2px solid #ddd;
    min-width: 250px;
}

.border-2px-sq {
    border: 2px solid #ddd;
    min-width: 160px;
}

    .border-2px-sq:hover, .border-2px-sq-price:hover {
        background-color: whitesmoke;
    }

.border-gray {
    border: 1px solid #ccc;
}

.w-15 {
    width: 15%;
}

.w-20 {
    width: 20%;
}

.z-index-9999 {
    z-index: 9999;
}


.cursor-pointer {
    cursor: pointer;
}

.custom-gap-2 {
    gap: 0.5rem;
}

.bi, a.home {
    color: var(--green-text-color);
}

.bi-person-circle {
    font-size: 25px;
}

select {
    border-radius: 10px;
    height: 35px;
}

.price {
    font-size: 5vh;
}

.logo-container {
    /*height: 100vh;*/
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.logo {
    max-width: 30vw;
    max-height: 30vh;
    margin-top: 10%;
    width: auto;
    height: auto;
}

.logo-top-row {
    max-height: 60px;
    padding: 5px 0;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}


.top-row-temp {
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
    padding: 15px 15px 0 0;
}

.top-row-global {
    min-height: 3.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ddd;
    padding: 0 10px 0 10px;
}

.category-row {
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: center;
    padding: 10px 0 20px 0;
}
.pop-banner {
    position: absolute;
    z-index: 9999;
    padding: 10px;
    top: 60px;
    right: 5px;
    border: 1px solid #009E86;
    border-radius: 10px;
    /*background-color: #e7fffb;*/
}

    /* Arrow in the top-right corner */
    .pop-banner::after {
        content: "";
        position: absolute;
        top: -6px; /* arrow above the banner */
        right: 12px; /* distance from right edge */
        width: 0;
        height: 0;
        border-left: 6px solid transparent;
        border-right: 6px solid transparent;
        border-bottom: 6px solid #009E86; /* matches border color */
    }


.page-row {
    padding: 0 10% 0 10%;
}


input {
    padding: 0 10px 0 10px;
    height: 35px;
    border-radius: 10px;
    border: 1px solid #ddd;
}

    input:active, input:focus {
        outline: none;
        border: 1px solid #258cfb;
    }

a, .btn-link {
    text-decoration: none;
    color: #000;
}

    a:hover, .btn-category:hover {
        color: var(--green-text-color);
    }

.info-button {
    border: 2px solid #000;
    width: 140px;
    text-align: center;
    cursor: pointer;
    padding: 5px 0 5px 0;
}

.align-right {
    text-align: right;
    display: block;
}

.btn-accept {
    width: 110px;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2 !important;
    border-color: #1861ac;
}

.bi-chevron-left, .bi-chevron-right {
    cursor: pointer;
    font-size: 35px;
    font-weight: 900;
    color: #fff;
}

/*.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}
*/
.btn:focus,
.btn:active,
.btn.show,
.btn:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJh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0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

/* TESTIMONIALS */
.testimonials-container {
    position: relative;
    width: 100%;
    height: 40vh;
    overflow: hidden;
    margin: auto;
    z-index: 1;
    background-color: var(--green-text-color);
}


.testimonials-content {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 2;
    color: #fff;
    font-size: 2.5vh;
    padding: 0 80px;
    line-height: 20px;

    /* centering */
    display: flex;
    justify-content: center; 
    align-items: center; 
    text-align: left; 
    flex-direction: column; /* vertical stacking */
}

    .testimonials-content.active {
        opacity: 1;
        z-index: 1;
    }

/* CAROUSEL */
.carousel-container {
    position: relative;
    width: 100%;
    height: 80vh;
    overflow: hidden;
    margin: auto;
    z-index: 2;
}

.carousel-image {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 1;
}

.carousel-image-content-wrapper {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 25%;
    z-index: 99;
    text-align: center;
}

.carousel-image-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    color: #fff;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.carousel-image.active {
    opacity: 1;
    z-index: 1;
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 50px;
    color: white;
    border: none;
    padding: 10px;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 1);
    cursor: pointer;
    z-index: 2;
}

    .carousel-button.left {
        left: 10px;
    }

    .carousel-button.right {
        right: 10px;
    }

/*SWITCH BUTTON*/
.switch-button {
    padding: 7px;
    font-size: 16px;
    width: 100px;
    border: none;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

    .switch-button.on {
        background-color: green;
    }

    .switch-button.off {
        background-color: red;
    }


.video-container {
    position: relative;
    width: 100%; /* container takes full width of parent */
    padding-bottom: 56.25%; /* 16:9 aspect ratio (9/16 = 0.5625) */
    height: 0; /* height zero, padding-bottom sets height */
    overflow: hidden;
}

    .video-container iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%; /* iframe fills container width */
        height: 100%; /* iframe fills container height */
        border: 0;
    }

.responsive-image {
    width: 100%;
    height: auto;
    display: block;
    overflow: hidden;
}

img {
    object-fit: contain; /* or cover, depending on desired behavior */
}

.row-content {
    display: flex;
}

.text-content-row {
    display: flex;
    flex-direction: column;
    width: 100%;
}




/*CATEGORIES*/
.navbar {
    /*min-height: 100px;*/
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    padding: 0.5rem 1rem;
    position: relative;
    overflow: hidden;
    z-index: 10;
}

/* Scrollable area */
.scroll-wrapper {
    display: flex;
    overflow-x: auto;
    overflow-y: visible;
    scroll-behavior: smooth;
    scrollbar-width: none;
    max-width: 50vw;
}

    .scroll-wrapper::-webkit-scrollbar {
        display: none;
    }

.dropdown-menu {
    position: fixed;
}

.dropdown-item {
    cursor: pointer;
}

    .dropdown-item:hover, .dropdown-item:active {
        color: var(--green-text-color);
        background-color: #FAFAFA;
    }

.nav-item {
    white-space: nowrap;
    text-decoration: none;
    color: black;
    padding-left: 0.5rem;
    pointer-events: auto;
}

/* Right area */
.nav-right {
    display: flex;
    align-items: center;
    white-space: nowrap;
}

/* Chevrons */
.chevron {
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0 0.25rem;
    user-select: none;
}

.chevron-left {
    order: -1;
}

.chevron-right {
    order: 1;
}

/* homepage menu burger (mobile)*/
/* Absolutely position the menu on top of everything */
.mobile-menu {
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background: white;
    z-index: 999;
    display: none;
    flex-direction: column;
    padding: 1rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

    .mobile-menu.open {
        display: flex;
        opacity: 1;
        pointer-events: auto;
    }

/* Burger button */
.burger {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1000;
}

.burger-line {
    width: 25px;
    height: 3px;
    background: var(--green-text-color);
    transition: transform 0.3s ease, opacity 0.3s ease;
    position: relative;
}

.burger.open .burger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger.open .burger-line:nth-child(2) {
    opacity: 0;
}

.burger.open .burger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Accordion */
.accordion-header, .accordion-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0.5rem;
    cursor: pointer;
    border: none;
}

    .accordion-header:hover, .accordion-item:hover {
        color: var(--green-text-color);
        background-color: #FAFAFA;
    }

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding-left: 1rem;
}

.accordion-toggle:checked + .accordion-header + .accordion-content {
    max-height: 500px;
    overflow: auto;
}



/* desktop min 999px */
@media (min-width: 999px) {
    .mobile-menu-div, .burger {
        display: none;
    }
}

/* mobile max 999px */
@media (max-width: 999px) {
    .scroll-wrapper,
    .nav-right,
    .chevron,
    .desktop-menu-div {
        display: none;
    }

    .top-row-global {
        font-size: 2vh;
    }

    .custom-gap-2 {
        gap: 1rem !important;
    }

    .social-name {
        display: none;
    }

    .row-content {
        flex-wrap: wrap;
    }

    .logo-top-row {
        position: center !important;
    }
}

/* FOOTER */
.footer-columns {
    width: 100%;
    min-height: 35vh;
    background-color: #333;
    display: flex;
    justify-content: space-between;
    text-align: center;
    flex-wrap: wrap;
    color: #fff;
    padding: 2% 6%;
}

.footer-column {
    text-align: left;
    display: flex;
    flex-direction: column;
}

.footer-button {
    color: #fff;
    cursor: pointer;
}

/* DASHBOARD MENU */
/* Hide checkbox */
#menuToggle {
    display: none;
}

/* Toggler container */
.dashboard-navbar-toggler {
    display: inline-block;
    cursor: pointer;
    padding: 0 10px 10px 10px;
    background-color: var(--wp-bg-color);
    color: var(--white-text-color);
}

/* dashboard Hamburger icon: 3 stacked bars */
.hamburger {
    display: inline-block;
    position: relative;
    width: 30px;
    height: 3px;
    background-color: var(--white-text-color);
    transition: background-color 0.3s ease;
}

    .hamburger::before,
    .hamburger::after {
        content: '';
        position: absolute;
        width: 30px;
        height: 3px;
        background-color: var(--white-text-color);
        transition: transform 0.3s ease, top 0.3s ease, opacity 0.3s ease;
    }

    .hamburger::before {
        top: -8px;
    }

    .hamburger::after {
        top: 8px;
    }

/* Animate to X */
#menuToggle:checked + .navbar-toggler .hamburger {
    background-color: transparent;
}

    #menuToggle:checked + .navbar-toggler .hamburger::before {
        transform: rotate(45deg);
        top: 0;
    }

    #menuToggle:checked + .navbar-toggler .hamburger::after {
        transform: rotate(-45deg);
        top: 0;
    }

/* Menu hidden by default (collapsible) */
.nav-scrollable {
    max-height: 0;
    overflow: hidden;
    background-color: var(--wp-bg-color);
    transition: max-height 0.4s ease;
}

/* Show when toggled */
/*#menuToggle:checked ~ .nav-scrollable {
    max-height: 500px;*/ /* or use auto with JS if needed */
/*}*/
.menu-toggler-wrapper:has(#menuToggle:checked) + .nav-scrollable {
    max-height: 500px;
}

.menu-toggler-wrapper {
    background-color: var(--wp-bg-color);
}

.dashboard-page {
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
}

.container-top-row-items {
    /*height: 40px;*/
    flex-shrink: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
    color: var(--white-text-color);
    background-color: var(--wp-bg-color);
}

    .container-top-row-items a {
        color: var(--white-text-color);
    }

.dashboard-container {
    display: flex;
    flex: 1;
    height: auto;
    /*overflow: hidden;*/
}

.desktop-side-menu {
    background-color: var(--wp-bg-color);
    width: 20%;
    height: 100%;
    overflow-y: auto;
}

.dashboard-body {
    flex: 1;
    overflow: auto;
    min-height: 0;
    padding: 30px 15px 50px 15px;
}

/* mobile max 641px */
@media (max-width: 641px) {

    .dashboard-container {
        overflow: auto !important;
        flex-direction: column; /* stack menu and body */
    }

    .desktop-side-menu {
        position: static !important; /* ← SCROLL FIX */
        width: 100%;
        height: auto;
        overflow: auto !important;
        background-color: unset !important;
    }

    .dashboard-body {
        overflow: auto;
    }

    .dashboard-desktop-menu {
        display: none;
    }
}


/* desktop min 641px */
@media (min-width: 641px) {
    .dashboard-container {
        height: 100vh;
    }

    .navbar-toggler, .nav-scrollable, .dashboard-navbar-toggler {
        display: none;
    }
}


/* slider button */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

    /* Hide the default checkbox */
    .switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

/* The slider background */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #FF5555; /* OFF state color */
    transition: 0.4s;
    border-radius: 34px;
}

    /* The circle inside the slider */
    .slider:before {
        position: absolute;
        content: "";
        height: 26px;
        width: 26px;
        left: 4px;
        bottom: 4px;
        background-color: white;
        transition: 0.4s;
        border-radius: 50%;
    }

/* When checked (ON), change background to green and move the circle */
input:checked + .slider {
    background-color: #55AA55; /* ON state color */
}

    input:checked + .slider:before {
        transform: translateX(20px);
    }


.unavailable {
    position: relative;
    overflow: hidden;
    pointer-events: none; /* disables clicks */
}

    .unavailable::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        backdrop-filter: blur(3px) brightness(0.8); /* frosty glass effect */
        background: rgba(255, 255, 255, 0.4);
        z-index: 1;
    }

    .unavailable::after {
        content: "Indisponibil";
        text-shadow: 1px 1px #fff;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        color: red;
        font-weight: bold;
        font-size: 1.5rem;
        z-index: 2; /* keeps text above blur */
    }
