/* Font Definitions */
@font-face {
  font-family: 'SairaSemiCondensed';
  src: url('font/SairaSemiCondensed-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'DINbek Black';
  src: url('/font/DINbekBlack.ttf');
}

@font-face {
  font-family: 'SairaSemiCondensed ExtraBold';
  src: url('/font/SairaSemiCondensed-ExtraBold.ttf');
}

/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}





body {
  font-family: 'SairaSemiCondensed', sans-serif !important;
  background: rgb(245, 245, 245) !important;
  padding-top: 80px;
  text-rendering: optimizeLegibility;
}

/* Navbar Styles */
.navbar {
  background-color: #15022E;
  box-shadow: rgba(0, 0, 0, 0.2) 0px 6px 5px -2px;
  height: 10vh;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 9999;
  display: flex;
  justify-content: space-between;
  padding: 0 2vw;
  overflow: hidden;
  transition: height 0.3s ease, padding 0.3s ease;
}

.navbar-nav {
  display: flex;
  align-items: center;
  height: 100%;
}

.navbar-nav .nav-item {
  color: #DDDDDD;
  display: block;
  height: 100%;
  position: relative;
}

.navbar-nav .nav-item a {
  color: #DDDDDD;
  font-size: 18px;
  text-transform: uppercase;
  margin: 0 33px;
  padding: 10px 0;
  display: block;
  height: 100%;
  text-align: center;
  line-height: 80px;
  font-weight: bold;
  text-rendering: optimizeLegibility;
  white-space: nowrap;
  overflow: hidden;
}

.navbar-nav .nav-item a::before {
  font-family: 'SairaSemiCondensed', sans-serif;
  content: attr(data-icon);
  font-size: 24px;
  display: block;
  margin-bottom: 5px;
}

.navbar-toggler-container {
  display: flex;
  align-items: center;
  gap: 0;
}

.navbar-toggler {
  order: 1;
  margin-left: 2vh;
}

.navbar-nav .nav-item:hover {
  background-color: #33204C;
}

.navbar-nav .nav-link:hover {
  color: #ffffff;
}

.navbar-nav .nav-link:hover::before {
  color: #fff;
}



.logo {
  height: auto;
  width: 10vw;
  max-width: 150px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  transition: all 0.3s ease-in-out;
}

.social-icons {
  display: flex;
  justify-content: flex-end;
  margin-right: -2vh;
  align-items: center;
}

.social-icons a {
  color: #fff;
  display: inline-flex;
  margin: 5px;
  font-size: 18px;
  border-radius: 50%;
  border: 2px solid #ddd;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  width: 32px;
  height: 32px;
  transition: background-color 0.3s, transform 0.3s, border-color 0.3s;
}

.social-icons a:hover {
  background-color: white;
}

.social-icons a i {
  color: var(--text);
  border: 2px solid var(--text);
  border-radius: 50%;
  cursor: pointer;
  width: 16px;
  height: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
}

.social-icons a.facebook:hover i {
  color: #3b5998;
}

.social-icons a.youtube:hover i {
  color: #FF0000;
}

.social-icons a.instagram:hover i {
  color: #833AB4;
}

.social-icons a.linkedin:hover i {
  color: #0072b1;
}

.social-icons a.twitter:hover i {
  color: #1DA1F2;
}

.social-icons a.tiktok:hover i {
  color: #000000;
}

.switch {
  display: flex;
  visibility: visible !important;
  position: relative;
  width: 60px;
  height: 34px;
  margin-right: 0;
  cursor: pointer;

}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: white;
  transition: 0.4s;
  border-radius: 34px;
}

.slider:before {
  content: "TR";
  position: absolute;
  height: 26px;
  width: 26px;
  border-radius: 50%;
  left: 4px;
  bottom: 4px;
  background-color: #4CC9FE;
  color: white;
  transition: 0.4s;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  font-family: 'SairaSemiCondensed', sans-serif;
  font-weight: bold;
}

input:checked+.slider:before {
  transform: translateX(26px);
  background-color: red;
  color: white;
  content: "EN";
}

/* MEDİA */
@media (max-width: 1000px) and (min-width: 400px) {
  .navbar {
    flex-direction: column;
    align-items: center;
    height: auto;
    padding: 20px;
  }

  .navbar-nav {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .navbar-nav .nav-item {
    margin: 10px 0;
  }

  .social-icons {
    margin-top: 20px;
    justify-content: center;
    width: 100%;
  }
}

@media (min-width: 1470px) {
  .navbar {
    padding: 0 30px;
  }

  .navbar-nav .nav-item a {
    font-size: 16px;
    margin: 0 20px;
  }

  .logo {
    width: 18vw;
    max-width: 180px;
  }
}

@media (min-width: 768px) and (max-width: 1470px) {
  .navbar {
    padding: 0 20px;
  }

  .navbar-nav .nav-item a {
    font-size: 14px;
    margin: 0 15px;
  }

  .logo {
    width: 20vw;
    max-width: 150px;
  }

  .navbar .social-icons {
    display: none !important;
  }
}

@media (min-width: 600px) and (max-width: 768px) {
  .navbar-nav .nav-item a {
    font-size: 18px;
    margin: 0 33px;
  }

  .logo {
    width: 30vw;
    max-width: 160px;
  }

  .navbar .social-icons {
    display: none !important;
  }
}

@media (max-width: 600px) {
  .navbar {
    padding: 10px 20px;
    height: auto;
  }

  .logo {
    width: 35vw;
    max-width: 160px;
    height: auto;
  }

  .navbar-nav .nav-item a {
    font-size: 18px;
    margin: 0 33px;
  }

  .navbar .social-icons {
    display: none !important;
  }
}

/* MOBİLE MENÜ */
.mobile-menu-items {
  position: fixed;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  background-color: rgba(21, 2, 46, 0.91);
  width: 70vw;
  max-width: 80vw;
  padding: 0;
  border-radius: 5px;
  text-align: center;
  top: 13vh;
  overflow-y: auto;
  max-height: 80vh;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease-out, transform 0.8s ease-out;
}

.mobile-menu-items.show {
  display: block;
  opacity: 1;
  transform: translateX(-50%) translateY(10%);
  pointer-events: all;
}

.mobile-menu-items.hide {
  opacity: 0;
  transform: translateX(-50%) translateY(-50%);
  pointer-events: none;
}

.mobile-menu-items ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.mobile-menu-items li {
  margin: 0;
  position: relative;
}

.mobile-menu-items li.active {
  background-color: #33204C;
}

.mobile-menu-items li::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background-color: #403250;
}

.mobile-menu-items li:last-child::after {
  display: none;
}

.mobile-menu-items a {
  color: white;
  text-decoration: none;
  font-size: 16px;
  display: block;
  padding: 10px;
  border-radius: 5px;
  transition: font-size 0.3s ease;
}

.mobile-menu-items a.expanded {
  font-size: 20px;
}

.mobile-menu-items a:hover {
  background-color: #33204C !important;
  width: 100% !important;
  max-width: 70vw !important;
}

.mobile-menu-toggle {
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
}

.mobile-menu {
  display: none;
}

@media (max-width: 991px) {
  .navbar-nav {
    display: none;
  }

  .mobile-menu {
    display: block;
  }
}

.tavla-01-container {
  background-image: url("Görsel/Tavla-Anasayfa.jpg");
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  height: 85vh;
  background-size: 100% 100%;
  overflow: visible;
}

#tavla {
  overflow: hidden;
}


.image-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
}

.image-container img {
  position: absolute;
  top: 0;
  width: 20vw;
  max-width: 200px;
  z-index: 1;
}

.download-qr-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.download-qr-hover {
  position: absolute;
  width: calc(10vh + 10vw);
}

.download-qr-hover.left {
  left: 0;
  bottom: 0;
  margin-left: 10px;
  margin-bottom: 10px;
}

.download-qr-hover.right {
  right: 0;
  bottom: 0;
  margin-right: 10px;
  margin-bottom: 10px;
}




.download-qr {
  margin-right: 8vh;
  margin-left: 8vh;
  width: 85%;
  height: auto;
  margin-bottom: 0;
}



.container {
  max-width: 90% !important;
}



.container.container.mt-5 {
  margin-left: auto;
  margin-right: auto;
  background-color: white;
  margin-top: 0 !important;
  padding: 20px;
}

.col-md-6 {
  position: relative;
}

.col-md-6 img {
  object-fit: cover;
}


/* GÖRSELLER */

.image-1 {
  margin-right: 8vh;
  margin-left: 8vh;
  width: 85%;
  height: auto;
  margin-bottom: 0;
  background: none;
  opacity: 0;
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
  transform: translateX(1000px);
}

.image-1.show {
  opacity: 1;
  transform: translateX(0);
}

.animated-img-1 {
  position: relative;
}


@keyframes slideInFromRight {
  0% {
    transform: translateX(100%);
    opacity: 0;
  }

  100% {
    transform: translateX(0);
    opacity: 1;
  }
}




.image-2 {
  margin-right: 8vh;
  margin-left: 8vh;
  width: 85%;
  height: auto;
  margin-bottom: 0;
  display: block;
}


/* TAVLA KUTULARI */

.image1-top-left-1 {
  top: -5vw;
  left: 5vw;
  transform: rotate(-15deg);
  opacity: 0;
  transition: all 1s ease;
  position: absolute;
  width: 10.5vw;
  height: auto;
}

.image1-top-left-2 {
  top: -4vw;
  left: 10vw;
  transform: rotate(15deg);
  opacity: 0;
  transition: all 1s ease;
  position: absolute;
  width: 9vw;
  height: auto
}

.image1-bot-right-1 {
  bottom: 4vw;
  left: 35vw;
  transform: rotate(-20deg);
  opacity: 0;
  transition: all 1s ease;
  position: absolute;
  width: 9vw;
  height: auto;
}

.image1-bot-right-2 {
  bottom: -1vw;
  left: 35vw;
  transform: rotate(20deg);
  opacity: 0;
  transition: all 1s ease;
  position: absolute;
  width: 10.5vw;
  height: auto;
}



.image-3 {
  margin-right: 8vh;
  margin-left: 8vh;
  width: 85%;
  height: auto;
  margin-bottom: 0;
}

.animated-img-3 {
  width: 100%;
  max-width: 700px;
  display: block;
  margin: auto;
  opacity: 0;
  transform: perspective(800px) rotateX(100deg) scale(0.8);
  transition: transform 1s ease-in-out, opacity 1s ease-in-out;
}

.animated-img-3.visible {
  opacity: 1;
  transform: perspective(800px) rotateX(0deg) scale(1);
}

/* OKAY TAŞLARI  image-4*/

.image-4 {
  margin-right: 8vh;
  margin-left: 8vh;
  width: 85%;
  height: auto;
  margin-bottom: 0;
}

.image4-top-left-1 {
  top: 0vw;
  left: 2vw;
  transform: rotate(-15deg);
  opacity: 0;
  transition: all 1s ease;
  position: absolute;
  width: 5.5vw;
  height: auto;

}

.image4-top-left-2 {
  top: 0vw;
  left: 0vw;
  transform: rotate(15deg);
  opacity: 0;
  transition: all 1s ease;
  position: absolute;
  width: 5vw;
  height: auto;

}

.image4-bot-right-1 {
  bottom: 4vw;
  left: 1vw;
  transform: rotate(20deg);
  opacity: 0;
  transition: all 1s ease;
  position: absolute;
  width: 5vw;
  height: auto;
  z-index: 2;
}

.image4-bot-right-2 {
  bottom: -1vw;
  left: 3vw;
  transform: rotate(20deg);
  opacity: 0;
  transition: all 1s ease;
  position: absolute;
  width: 5.5vw;
  height: auto;
}

/* OKAY TAŞLARI DOMİNO  image-5*/

.image-5-container {
  display: flex;
  align-items: center;
  position: relative;
}

.image5-top-left-1,
.image5-top-left-2,
.image5-bot-right-1,
.image5-bot-right-2 {
  width: 16%;
  height: auto;
  transform-origin: bottom center;
  margin-left: 16px;
  margin-right: 16px;
  margin-bottom: 16px;
}

.image5-top-left-1.animate {
  animation: domino-fall 2s forwards;
  animation-delay: 0.3s;
}

.image5-top-left-2.animate {
  animation: domino-fall 2s forwards;
  animation-delay: 0.6s;
}

.image5-bot-right-1.animate {
  animation: domino-fall 2s forwards;
  animation-delay: 0.9s;
}

.image5-bot-right-2.animate {
  animation: domino-fall 2s forwards;
  animation-delay: 1.2s;
}

@keyframes domino-fall {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(90deg);
  }
}


#m-a-n-c {
  overflow: hidden;
  height: 100%; /* Kapsayıcının yüksekliğini sabit tutun */
  width: 100%;
  position: relative; /* Animasyon sırasında taşan öğeyi tutabilmesi için */
}




.image-7, .image-8, .mobile-glass {
  opacity: 0;
  transform: translateY(50%); /* Başlangıçta daha yakın bir konum */
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.image-7.animate {
  animation: slideUp 1.5s forwards, rotateAndEnlarge 1s forwards 2s;
}

.image-8.animate {
  animation: fadeIn 1s forwards 1.5s, growImage8 1s forwards 2s;
}

.mobile-glass.animate {
  animation: slideUp 1.5s forwards, changeBackground 1s forwards 1s, 
             rotateAndEnlarge 1s forwards 2s, showImage 1s forwards;
}
.image-7 {
  position: relative;
  width: 35%;
  height: 96%;
  top: 2%;
  left: 20%;
  clip-path: inset(0 0 0 0); 
  z-index: 10;
}

.image-8 {
  position: relative;
  width: 25%;
  height: 20%;
  top: 3%;
  left: -27%; 
  transform-origin: center;
  opacity: 0;
  z-index: 2;
}

.mobile-glass {
  width: 30%;
  height: 96%;
  top: 1%;
  left: 41%;
  border-radius: 12%;
  background-color: black;
  z-index: 1;
  position: absolute;
  transform-origin: center;
}

@keyframes slideUp {
  0% {
    transform: translateX(-50%) translateY(50%); 
    opacity: 0;
  }
  100% {
    transform: translateX(-50%) translateY(0); 
    opacity: 1;
  }
}


@keyframes changeBackground {
  0% {
    background-color: black;
  }
  100% {
    background-color: #252161;
  }
}

@keyframes showImage {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes rotateAndEnlarge {
  0% {
    transform: translateX(-50%) rotate(0deg) scale(1);
  }
  100% {
    transform: translateX(-50%) rotate(-90deg) scale(1.2);
  }
}

@keyframes growImage8 {
  0% {
    transform: translateX(-50%) scale(1);
  }
  100% {
    transform: translateX(0%) scale(2.5); 
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}



p {
  margin-right: 8vh;
  margin-left: 8vh;
  font-family: 'SairaSemiCondensed' !important;
  font-size: calc(0.3vw + 14px);
  text-align: justify;
}

.alt-title-main {
  font-size: calc(1.5vw + 1vh + 10px);
  font-weight: bold;
  margin-left: 7vh;
}

.alt-title {
  font-size: calc(1.5vw + 1vh + 10px);
  font-weight: bold;
  margin-left: 25%;
}

.horizontal-line {
  border-top: 1px solid #ddd;
  width: 80%;
  margin: 20px auto;
}

.ratio {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
}

.ratio video {
  margin-left: 8vh;
  position: absolute;
  top: 0;
  left: 0;
  width: auto;
  height: 85%;
  object-fit: contain;
}


.img-rummıkub-logo.mb-3 {
  height: calc(3.5vw + 5.5vh);
  padding-bottom: calc(.8vh + .8vw);
  text-align: center;
  display: block;
  margin-left: auto;
  margin-right: auto;
}


.img-okay-logo.mb-3 {
  height: calc(2.5vw + 4.5vh);
  padding-bottom: calc(.8vh + .8vw);
  text-align: center;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.img-tavla-logo.mb-3 {
  height: calc(2.5vw + 4.5vh);
  padding-bottom: calc(.8vh + .8vw);
  text-align: center;
  display: block;
  margin-left: auto;
  margin-right: auto;
}


.image-wrapper {
  position: relative;
  z-index: 1;
  height: 400px;
  max-height: 400px;
  object-fit: contain;
}



hr.line {
  width: 80%;
  margin: 0 auto;
  border: 1.5px solid #919090dd;
  margin-top: 2vh;
  margin-bottom: 2vh;
}

.phone-mockup {
  width: 85%;
  height: auto;
  margin-bottom: 0;
}

.more-info {
  color: #000;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease, letter-spacing 0.3s ease;
}

.more-info:hover {
  color: #000026;
  letter-spacing: 1px;
  opacity: 0.5;
}

/* FAQ Styles */
.faq-question {
  display: flex;
  flex-direction: row;
  font-size: calc(0.3vw + 16px);
  font-weight: 800;
  padding-bottom: 0.5vw;
  cursor: pointer;
  user-select: none;
  margin-bottom: 1vh;
  margin-left: 25%;
}

.faq-question i {
  font-size: calc(0.4vw + 10px);
  transition: 0.2s cubic-bezier(0.215, 0.610, 0.355, 1) all;
  margin-left: 4px;
}

.faq-answer {
  margin-top: 10px;
  font-size: calc(0.3vw + 14px);
  line-height: 1.6;
  margin-left: 25%;

}




.img-sorular {
  margin-left: 8vh;

  max-width: 90%;
  height: auto;
  margin-top: 5%;
}

/* Footer Styles */
footer {
  background-color: #15022E;
  padding: 20px 0;
}

footer .container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 20px;
}

footer .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

footer .col {
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

footer img {
  max-width: 80%;
  height: auto;
  margin: 0 auto;
  filter: grayscale(100%) brightness(80%);
  transition: filter 0.2s ease;
  padding: 3px;
  display: grid;
}

footer img:hover {
  filter: grayscale(0%) brightness(100%);
}

.faq-answer {
  font-size: 2vh;
  max-height: 200px;
  overflow-y: auto;
  margin-top: 20px;
  margin-bottom: 20px;
}

button {
  color: black;
}

.hamb {
  display: none;
  background: none;

}

@media (max-width: 991px) {
  .hamb {
    display: block;
    border: none;

  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.hamb .ham {
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

.hamb .ham {
  height: 60px;
  width: 60px;
  cursor: pointer;
  transition-duration: .3s;
  border: none;
}

.hamb .ham .top {
  stroke-dasharray: 40 160;
}

.hamb .ham .middle {
  transform-origin: 50%;
  stroke-dasharray: 40 142;
}

.hamb .ham .bottom {
  transform-origin: 50%;
  stroke-dasharray: 40 85;
}

.hamb .line {
  fill: none;
  stroke: white;
  stroke-width: 5;
  transition-duration: .3s;
  stroke-linecap: round;
}

.hamb.active svg {
  --tw-rotate: 45deg;
  transform: rotate(var(--tw-rotate));
}

.hamb.active svg .top {
  stroke-dashoffset: -64px;
}

.hamb.active svg .middle {
  --tw-rotate: 90deg;
  transform: rotate(var(--tw-rotate));
}

.hamb.active svg .bottom {
  stroke-dashoffset: -64px;
}