/********** Template CSS **********/
:root {
    --primary: #06A3DA;
    --secondary: #F57E57;
    --light: #EEF9FF;
    --dark: #091E3E;
}

body {
    margin: 0;
    font-family: "Open Sans", sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #d8d8df;
    min-height: 100vh;
    background: linear-gradient(rgba(0, 24, 72, 0.774), rgba(0, 24, 72, 0.781)), 
                url("/img/casino-bg.jpg") no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}


h1{
   color: #C9A500!important;
    font-weight: 700;
    font-size: 36px;
    text-transform: uppercase;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(255, 215, 0, 0.5);
    letter-spacing: 1p 
}

h1,
h2,
.font-weight-bold {
    font-weight: 700 !important;
        color: #d8d8df;
}

h3,
h4,
.font-weight-semi-bold {
        color: #d8d8df;
    font-weight: 600 !important;
}

h5,
h6,
.font-weight-medium {
       color: #d8d8df;
    font-weight: 500 !important;
}

.btn {
    font-family: 'Jost', sans-serif;
    font-weight: 600;
    transition: .5s;
}

.btn-primary,
.btn-secondary {
    color: #FFFFFF;
}

.btn-primary:hover {
    background: var(--secondary);
    border-color: var(--secondary);
}

.btn-secondary:hover {
    background: var(--primary);
    border-color: var(--primary);
}

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

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

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

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

#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;
}

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

.top-shape::before {
    position: absolute;
    content: "";
    width: 35px;
    height: 100%;
    top: 0;
    left: -17px;
    background: var(--primary);
    transform: skew(40deg);
}

.navbar-light .navbar-nav .nav-link {
    font-family: 'Jost', sans-serif;
    padding: 35px 15px;
    font-size: 18px;
    color: rgba(235, 174, 7, 0.712);
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 20px 15px;
}

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

@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link,
    .sticky-top.navbar-light .navbar-nav .nav-link {
        padding: 10px 0;
    }
}

.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(9, 30, 62, .85);
    z-index: 1;
}

@media (max-width: 576px) {
    .carousel-caption h5 {
        font-size: 14px;
        font-weight: 500 !important;
    }

    .carousel-caption h1 {
        font-size: 30px;
        font-weight: 600 !important;
    }
}

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

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

@media (min-width: 991.98px) {
    .banner {
        position: relative;
        margin-top: -90px;
        z-index: 1;
    }
}

.section-title h5::before {
    position: absolute;
    content: "";
    width: 45px;
    height: 3px;
    right: -55px;
    bottom: 11px;
    background: var(--primary);
}

.section-title h5::after {
    position: absolute;
    content: "";
    width: 15px;
    height: 3px;
    right: -75px;
    bottom: 11px;
    background: var(--secondary);
}

.twentytwenty-wrapper {
    height: 100%;
}

.hero-header {
    background: linear-gradient(rgba(9, 30, 62, 0.459), rgba(9, 30, 62, 0.541)), url(../img/.jpg) center center no-repeat;
    background-size: cover;
}

.bg-appointment {
    background: linear-gradient(rgba(9, 30, 62, .85), rgba(9, 30, 62, .85)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.appointment-form {
  
}

.service-item img,
.service-item .bg-light,
.service-item .bg-light h5,
.team-item .team-text {
    transition: .5s;
}

.service-item:hover img {
    transform: scale(1.15);
}

.team-item .team-text::after,
.service-item .bg-light::after {
    position: absolute;
    content: "";
    top: 50%;
    bottom: 0;
    left: 15px;
    right: 15px;
    border-radius:100px / 15px;
    box-shadow: 0 0 15px rgba(0, 0, 0, .7);
    opacity: 0;
    transition: .5s;
    z-index: -1;
}

.team-item:hover .team-text::after,
.service-item:hover .bg-light::after {
    opacity: 1;
}

.bg-offer {
    background:url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.offer-text {
    background: rgba(6, 163, 218, .85);
}

.price-carousel .owl-nav {
    position: absolute;
    width: calc(100% + 45px);
    height: 45px;
    top: calc(50% - 22.5px);
    left: -22.5px;
    display: flex;
    justify-content: space-between;
    opacity: 0;
    transition: .5s;
}

.price-carousel:hover .owl-nav {
    opacity: 1;
}

.price-carousel .owl-nav .owl-prev,
.price-carousel .owl-nav .owl-next {
    position: relative;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 2px;
    font-size: 22px;
    transition: .5s;
}

.price-carousel .owl-nav .owl-prev:hover,
.price-carousel .owl-nav .owl-next:hover {
    background: var(--secondary);
}

.bg-testimonial {
    background: url(../img/carousel-2.jpg) center center no-repeat;
    background-size: cover;
}

.testimonial-carousel {
    background: rgba(6, 163, 218, .85);
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: calc(100% + 46px);
    height: 46px;
    top: calc(50% - 23px);
    left: -23px;
    display: flex;
    justify-content: space-between;
    z-index: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 2px;
    font-size: 22px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--secondary);
}

.testimonial-carousel .owl-item img {
    width: 120px;
    height: 120px;
}





.styled-section {
    background: rgba(255, 255, 255, 0.425); /* мек светъл фон върху тъмното */
    border-radius: 15px;
    padding: 40px 20px;
    margin: 60px auto;
    text-align: center!important;
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.15);
    color: #f0f0f0; /* текстът да изпъква на тъмния фон */
}

/* Заглавия */
.styled-section h2, 
.styled-section h3 {
    color: #FFD700; /* златисто за контраст */
    margin-bottom: 20px;
    animation: glowText 3s ease-in-out infinite alternate;
    text-align: center;
}

/* Параграфи */
.styled-section p {

    line-height: 1.8;
    color: #e0e0e0;
    text-align: justify;
}

/* Keyframes за заглавията */
@keyframes glowText {
    0% {
        text-shadow: 0 0 5px rgba(255, 215, 0, 0.6),
                     0 0 10px rgba(255, 215, 0, 0.5);
        transform: scale(1);
    }
    100% {
        text-shadow: 0 0 15px rgba(255, 215, 0, 0.9),
                     0 0 25px rgba(255, 215, 0, 0.8);
        transform: scale(1.05);
    }
}


.custom-section {
    background: rgba(255, 255, 255, 0.05); /* леко светъл слой върху тъмносиния фон */
    border-radius: 20px;
    padding: 50px 20px;
    margin: 60px auto;
   
    box-shadow: inset 0 0 30px rgba(255, 217, 0, 0.863), 
                0 8px 25px rgba(0, 0, 0, 0.6);
    color: #e8e8e8;
    position: relative;
    overflow: hidden;
}


.custom-section::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(to bottom, #FFD700, #C9A500);
    border-radius: 8px;
}

.styled-img{
    display: block;
    max-width: 100%;
    height: auto;
    box-shadow: 0 10px 20px rgba(255, 215, 0, 0.7), 0 6px 6px rgba(201, 165, 0, 0.5);
    border-radius: 8px; 
}




/* Заглавия */
.custom-section h2, 
.custom-section h3 {
    color: #C9A500; /* тъмно жълто */
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(255, 215, 0, 0.5);
    letter-spacing: 1px;
  
}

/* малка светлинка под заглавията */
.custom-section h2::after,
.custom-section h3::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 4px;
    background: #FFD700;
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.7);
}

/* Параграфи */
.custom-section p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #dcdcdc;
    margin-bottom: 20px;
}



.styled-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.styled-list li {
    background: rgba(255, 255, 255, 0.08); 
    border-radius: 12px;
    padding: 12px 18px 12px 45px;
    margin-bottom: 12px;
    color: #f1f1f1;
    font-size: 1.05rem;
    position: relative;
    display: flex;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Tikche emoji */
.styled-list li::before {
    content: "✔";
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    color: #FFD700; /* жълто тикче */
}

/* Hover ефект */
.styled-list li:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}



.faq {
   
    margin: 60px auto;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05); 
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.6);
    color: #ddd;
    font-family: "Open Sans", sans-serif;
}

.faq > h2 {
    color: #FFD700; /* жълто */
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
    position: relative;
}

.faq > h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: #FFD700;
    margin: 12px auto 0;
    border-radius: 2px;
}

.faq h3 {
    color: #C9A500; 
    margin: 25px 0 12px;
    padding-left: 30px;
    position: relative;
    font-size: 1.2rem;
    font-weight: 700;
}

.faq h3::before {
    content: "❓";
    position: absolute;
    left: 0;
    top: 0;
    color: #FFD700;
    font-size: 1.2rem;
}


.faq p {
    margin: 0 0 20px;
    line-height: 1.8;
    color: #e6e6e6;
    font-size: 1rem;
    padding-left: 30px;
    border-left: 3px solid rgba(201, 165, 0, 0.3);
}

.faq h3:hover {
    color: #FFD700;
    cursor: default;
}



.section-styled {
  position: relative;
  background: #0b1d3a; /* тъмен син фон */
  align-items: center;
  justify-content: center;
  color: #fff;
  overflow: hidden;
  padding: 60px 20px;
}

/* Прозрачни кутии на фона */
.section-styled::before,
.section-styled::after {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  animation: moveBox 20s infinite linear alternate;
  z-index: 0;
}

.section-styled::before {
  top: 10%;
  left: -80px;
}

.section-styled::after {
  bottom: 15%;
  right: -100px;
  animation-duration: 25s;
}

@keyframes moveBox {
  0%   { transform: translateY(0) rotate(0deg); }
  50%  { transform: translateY(-40px) rotate(20deg); }
  100% { transform: translateY(0) rotate(0deg); }
}

/* съдържанието е най-отгоре */
.section-styled .content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 20px;
}

/* H2 и H3 в прозрачни кутии */
.section-styled h2,
.section-styled h3 {
  display: inline-block;
  padding: 12px 20px;
  margin: 20px 0;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 8px;
  color: #d4af37; /* тъмно жълто */
  animation: floatGlow 6s infinite ease-in-out;
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.2);
}

@keyframes floatGlow {
  0%   { transform: translateY(0); box-shadow: 0 0 6px rgba(212,175,55,0.3); }
  50%  { transform: translateY(-8px); box-shadow: 0 0 18px rgba(212,175,55,0.7); }
  100% { transform: translateY(0); box-shadow: 0 0 6px rgba(212,175,55,0.3); }
}

@media (max-width: 768px) {
  h1{
    font-size: 28px!important;
  }
  h2{
    font-size: 26px!important;
  }
  h3{
    font-size: 24px!important;
  }
}







a {
    color: #da9b06;
    text-decoration: none;
}


.page-error {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 85vh;
  text-align: center;
}

.error-heading {
  margin-bottom: 1rem;
}

.error-text {
  margin-bottom: 2rem;
}

.error-link {
  padding: 0.75rem 1.5rem;
  background-color: #0a0438;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.error-link:hover {
  background-color: #b198ec;
  color: #fff;
}