/* Genel yapı */
html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  font-family: sans-serif;
  
  box-sizing: border-box;
}

/* Arka plan video */
#myVideo {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

/* HEADER */
.headera {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: transparent; /* Şeffaf bırakın */
  transition: background 0.3s ease, backdrop-filter 0.3s ease;
  flex-wrap: wrap;
}

.headera.scrolled {
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(6px); /* Daha belirgin blur için artırıldı */
  -webkit-backdrop-filter: blur(6px);
}

/* Logo */
.logo {
  width: 50px;
  height: auto;
  flex-shrink: 0;
}

/* Navbar */
.navbara {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.navbara ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 24px;
  justify-content: center;
  align-items: center;
}

.navbara li a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
  padding: 12px 24px;
  border-radius: 6px;
}

.navbara li a:hover,
.navbara li a.active {
  color: #40404073;
}

main {
  flex: 1;
  position: relative;
  z-index: 1;
}

.container {
  max-width: 900px;
  margin: 150px 0 150px 10vw;
  padding: 32px;
  font-size: 40pt;
  color: #fff;
  text-shadow: 0 0 40px #000;
}

.container p {
  font-size: 35px;
}

footer {
  color: #fff;
  text-align: center;
  padding: 16px;
  background-color: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  z-index: 10;
}

/* Kartlar */
.container2 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  padding: 2rem;
}

.flip-card {
  background-color: transparent;
  width: 100%;
  max-width: 550px;
  height: 550px;
  perspective: 1000px;
  flex: 1 1 300px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 15px;
  overflow: hidden;
  backface-visibility: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.flip-card-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.flip-card-back {
  background-color: #222;
  color: #fff;
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  text-align: center;
}

/* Mobil Uyum */
@media (max-width: 768px) {
  .header {
    flex-direction: column;
    align-items: center;
  }

  .navbar {
    position: static;
    transform: none;
    margin-top: 12px;
  }

  .navbar ul {
    flex-direction: column;
    gap: 8px;
    align-items: center;
  }

  .navbar li a {
    font-size: 16px;
    padding: 10px 16px;
  }

  .container {
    margin: 100px 16px;
    font-size: 16pt;
    text-align: center;
  }

  .container p {
    font-size: 18px;
  }

  .container2 {
    flex-direction: column;
    align-items: center;
  }

  .flip-card {
    max-width: 90%;
    height: 250px;
  }

  .flip-card-back h1 {
    font-size: 1.2rem;
  }

  .flip-card-back p {
    font-size: 0.9rem;
  }
}
