/********** Template CSS **********/

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

.lilita-one-regular {
  font-family: "Lilita One", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.logo {
    font-family: "Lilita One", sans-serif;
    font-weight: 400;
    font-size: 38px;
    font-style: normal;
}

@media (min-width: 1210px) {
    .logo  {
        font-size: 48px;
    }
}

@media (max-width: 992px) {
    .logo  {
        font-size: 28px;
    }
}

h1,
h2,
h3,
.font-heading {
    font-family: "Emblema One", system-ui;
    font-weight: 400;
    font-style: normal;
}

h4,
h5,
h6,
.font-body {
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-style: normal;
    color: white;
}

@media (min-width: 992px) {
    .display-1 {
        font-size: 7rem;
    }
}

.btn {
    font-family: "Emblema One", system-ui;
    transition: .5s;
}

.btn-primary {
    color: #FFFFFF;
}

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

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

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

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

.back-to-top {
    position: fixed;
    display: none;
    right: 8px;
    bottom: 0;
    border-radius: 0;
    z-index: 99;
}

.navbar-dark .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 40px 0;
    color: var(--bs-secondary);
    font-size: 17px;
    outline: none;
}

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

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

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: .5s;
        opacity: 0;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}

.section-title {
    color: var(--bs-primary);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: .5rem;
}

.animate-up-down {
    position: relative;
    animation: animateUpDown 1s ease infinite;
}

@keyframes animateUpDown { 
    0% { 
        top: 0px;
    }
    50% { 
        top: 10px;
    }
    100% { 
        top: 0px;
    } 
}

.animate-rotate {
    position: absolute;
    animation: animateRotate 8s linear infinite;
}

@keyframes animateRotate { 
    100% { 
        transform: rotate(360deg); 
    } 
}

.bg-hero {
    background: linear-gradient(rgba(34, 36, 41, .8), rgba(34, 36, 41, .8)), url(../img/carousel-1.jpg) top center no-repeat;
    background-size: cover;
}

.feature {
    margin-bottom: 135px;
}

.feature::after {
    position: absolute;
    content: "";
    width: 100%;
    height: calc(100% - 45px);
    top: 135px;
    left: 0;
    background: var(--bs-dark);
    z-index: -1;
}

.feature .feature-item {
    background: linear-gradient(var(--bs-light) 50%, var(--bs-dark));
}

.feature .feature-item h3 {
    font-size: 20px;
}

.testimonial-carousel .owl-nav {
    margin-top: 30px;
    display: flex;
    justify-content: start;
}

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

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--bs-dark);
}

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

.blog-item img {
    transition: .5s;
}

.blog-item:hover img {
    transform: scale(1.2);
}

.instagram img {
    transition: .5s;
}

.instagram img:hover {
    opacity: .9;
}

@media (min-width: 991.98px) {
    .credit {
        background: #111111;
    }
}

    .compare-container {
      position: relative;
      width: 100%;
      height: 400px;
      overflow: hidden;
      cursor: ew-resize;
      border: 2px solid #ccc;
      margin-bottom: 20px;
    }

    .compare-container img {
      position: absolute;
      top: 0;
      left: 0;
      height: 100%;
      width: 100%;
      object-fit: cover;
      user-select: none;
      pointer-events: none;
    }

    .after-img {
      z-index: 2;
      clip-path: inset(0 0 0 50%);
    }

    .slider {
      position: absolute;
      top: 0;
      bottom: 0;
      width: 4px;
      background: #000;
      z-index: 3;
      left: 50%;
      transform: translateX(-50%);
      display: flex;
      justify-content: center;
      align-items: center;
    }

    .slider::after {
      content: "⇆";
      font-size: 24px;
      color: #000;
      background: #fff;
      padding: 5px 8px;
      border-radius: 50%;
      box-shadow: 0 0 5px rgba(0,0,0,0.2);
      pointer-events: none;
    }

    .compare-container::before {
      content: "";
      position: absolute;
      top: 0; left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0);
      transition: background 0.3s;
      z-index: 4;
      pointer-events: none;
    }

    .compare-container:hover::before {
      background: rgba(0, 0, 0, 0.3);
    }

    .label {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      color: #fff;
      font-size: 18px;
      background: rgba(0, 0, 0, 0.4);
      padding: 5px 10px;
      border-radius: 4px;
      z-index: 5;
      opacity: 0;
      transition: opacity 0.3s;
      pointer-events: none;
    }

    .label.left {
      left: 20px;
    }

    .label.right {
      right: 20px;
    }

    .compare-container:hover .label {
      opacity: 1;
    }

    .compare-container.no-hover::before {
      background: rgba(0, 0, 0, 0) !important;
    }

    .compare-container.no-hover .label {
      opacity: 0 !important;
    }

.slides {
    padding: 0;
    margin: 0;
    list-style: none;
    height: 100vh;
    width: 100%; 
    overflow: hidden;
}

.slide {
    height: 100dvh;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.slide img {
    width: 100%;
    height: 100dvh;
    object-fit: cover;
    display: block;
}

@media (max-width: 768px) {
 .slide img {
    width: 100%;
    height: 100%;
    }
} 

.heroo {
    position: absolute;
    top: 40%;
    left: 25%; /* ekranın sol tarafının ortası için, 0% sol, 50% tam orta, biz 25% verdik */
    transform: translate(-50%, -50%);
    color: white;
    background: rgba(0,0,0,0.7); /* istersen yazının arkasına transparan koy */
    padding: 20px;
    border-radius: 40px;
    max-width: 500px;
    text-align: center;
}

/* 768px ve altı için */
@media (max-width: 991px) {
    .heroo {
        top: 40%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 90%; /* tüm ekranı kullansın ama kenarlardan taşmasın */
        max-width: none; /* 300px sınırını kaldır */
        padding: 10px 15px; /* mobilde padding'i biraz azalt */
    }
}

.heroo h1 {
    color: white;
}

.heroo p {
    font-size: 19px;
}

    .video-section {
      position: relative;
      width: 100%;
      height: 100vh;
      overflow: hidden;
    }

    video {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4); /* 0.4 ile hafif karartma, gerekirse 0.5-0.6 yap */
  z-index: 1;
}

@media (max-width: 991px) {
    .video-section {
      width: 100%;
      height: 50vh; 
    }
}