/********** Template CSS **********/
:root {
    --primary: #D4AF37;
    --secondary: #a1660d;
    --light: #D8CFB2;
    --dark: #a1660d;
    --burgundy: #5A0F24;
    --green: #123D2E;
    --ivory: #F8F1DE;
    --blue: #081526;
}

body {
    color: var(--light);
    background-color: var(--dark);
}

a {
    color: var(--primary);
}

a:hover {
    color: #F0D675;
}

.text-primary {
    color: var(--primary) !important;
}

.text-light {
    color: var(--ivory) !important;
}

.bg-secondary {
    background-color: var(--secondary) !important;
}

.bg-dark {
    background-color: var(--dark) !important;
}

.btn-primary {
    color: #000000;
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover,
.btn-primary:focus {
    color: #000000;
    background-color: #F0D675;
    border-color: #F0D675;
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    color: #000000;
    background-color: var(--primary);
    border-color: var(--primary);
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/*** Navbar ***/
.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 40px 0;
    color: var(--light);
    font-family: 'Oswald', sans-serif;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link,
    .navbar.shadow-sm .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        margin-top: 8px;
        border-top: 1px solid var(--light);
    }
}

@media (min-width: 992px) {
    .navbar.shadow-sm .navbar-nav .nav-link {
        padding: 20px 0;
    }

    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, .92), rgba(8, 21, 38, .86), rgba(90, 15, 36, .58));
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .86), rgba(8, 21, 38, .90)), url(../img/offline-casino-hero.jpg) center center no-repeat;
    background-size: cover;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--light);
}


/*** Service ***/
.service-item .btn {
    position: absolute;
    right: -50px;
    bottom: -50px;
    width: 50px;
    height: 50px;
    color: var(--primary);
    background: var(--dark);
    opacity: 0;
}

.service-item:hover .btn {
    right: 0;
    bottom: 0;
    opacity: 1;
}


/*** Team ***/
.team-item .team-img::before,
.team-item .team-img::after {
    position: absolute;
    content: "";
    width: 0;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, .85);
    transition: .5s;
}

.team-item .team-img::after {
    left: auto;
    right: 0;
}

.team-item:hover .team-img::before,
.team-item:hover .team-img::after {
    width: 50%;
}

.team-item .team-img .team-social {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .5s;
    z-index: 3;
    opacity: 0;
}

.team-item:hover .team-img .team-social {
    transition-delay: .3s;
    opacity: 1;
}

.team-item .team-social .btn {
    display: inline-flex;
    margin: 0 3px;
    color: var(--primary);
    background: var(--dark);
}

.team-item .team-social .btn:hover {
    color: #FFFFFF;
    background: var(--primary);
}


/*** Carousel Dots ***/
.testimonial-carousel {
    max-width: 700px;
    margin: 0 auto;
}

.testimonial-carousel .owl-dots {
    margin-top: 35px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-carousel .owl-dots .owl-dot {
    width: 60px;
    height: 60px;
    margin: 0 5px;
    padding: 10px;
    background: var(--secondary);
    transition: .5s;
}

.testimonial-carousel .owl-dots .owl-dot.active {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .owl-dots .owl-dot img {
    opacity: .1;
    transition: .5s;
}

.testimonial-carousel .owl-dots .owl-dot.active img {
    opacity: 1;
}


/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--light);
    font-size: 15px;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 1.5rem;
    font-size: 15px;
    background: var(--dark);
}

.footer .copyright a {
    color: var(--light);
}

.footer .copyright a:hover {
    color: var(--primary);
}


/*** Casino Theme ***/
.site-brand {
    font-size: clamp(1.25rem, 2vw, 2.4rem);
    white-space: nowrap;
}

.carousel-item img,
.page-header {
    min-height: 520px;
    object-fit: cover;
}

.service-item {
    border-left: 3px solid rgba(212, 175, 55, .45);
}

.service-item p,
.legal-content p,
.responsible-note p,
.contact-list span {
    color: var(--light);
}

.service-item .fs-4 {
    font-size: 1.65rem !important;
}

.responsible-note {
    border: 1px solid rgba(212, 175, 55, .35);
}

.age-notice {
    display: flex;
    gap: 18px;
    align-items: center;
    padding: 18px 22px;
    color: var(--ivory);
    background: rgba(18, 61, 46, .75);
    border: 1px solid rgba(212, 175, 55, .35);
}

.age-notice strong {
    display: inline-flex;
    width: 58px;
    height: 58px;
    align-items: center;
    justify-content: center;
    color: #000000;
    background: var(--primary);
    font-family: 'Oswald', sans-serif;
    font-size: 1.4rem;
}

.legal-content {
    border-left: 4px solid var(--primary);
}

.legal-content h2 {
    color: var(--primary);
    font-size: 1.35rem;
}

.form-control {
    color: var(--ivory);
    border-color: rgba(212, 175, 55, .35);
}

.form-control:focus {
    color: var(--ivory);
    background-color: transparent;
    border-color: var(--primary);
    box-shadow: 0 0 0 .25rem rgba(212, 175, 55, .15);
}

.form-floating > label {
    color: var(--light);
}

.form-message {
    min-height: 26px;
    color: var(--primary);
}

.form-message.error {
    color: #F4A6A6;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 12px;
    background: var(--secondary);
    border: 1px solid rgba(212, 175, 55, .22);
}

.faq-question {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 22px 26px;
    color: var(--ivory);
    background: transparent;
    border: 0;
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    text-align: left;
    text-transform: uppercase;
}

.faq-question::after {
    content: "\f107";
    flex: 0 0 auto;
    color: var(--primary);
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    transition: .3s;
}

.faq-item.active .faq-question::after {
    transform: rotate(180deg);
}

.faq-answer {
    display: none;
    padding: 0 26px 24px;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-answer p {
    margin-bottom: 0;
}

.cookie-banner {
    position: fixed;
    right: 24px;
    bottom: 24px;
    left: 24px;
    z-index: 1000;
    display: none;
    max-width: 900px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin: 0 auto;
    padding: 20px 24px;
    color: var(--ivory);
    background: rgba(8, 21, 38, .98);
    border: 1px solid rgba(212, 175, 55, .35);
    box-shadow: 0 18px 60px rgba(0, 0, 0, .45);
}

.cookie-banner.show {
    display: flex;
}

.cookie-banner p {
    margin-bottom: 0;
}

@media (max-width: 991.98px) {
    .site-brand {
        font-size: 1.25rem;
    }

    .carousel-caption .display-2 {
        font-size: 2.35rem;
    }
}

@media (max-width: 575.98px) {
    .cookie-banner {
        right: 12px;
        bottom: 12px;
        left: 12px;
        flex-direction: column;
        align-items: stretch;
    }

    .age-notice {
        align-items: flex-start;
        flex-direction: column;
    }
}
