/* Tarayıcı uyumluluğu için genel sıfırlama */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Flexbox uyumluluğu için modern tarayıcı desteği */
.flipdown {
    margin: 20px auto;
    display: flex;
    justify-content: center;
}

.flipdown__theme-dark .rotor-group-heading {
    font-size: 1rem;
    margin-top: 10px;
}

.flipdown__theme-dark {
    text-align: center;
}

/* Responsive design ve eski tarayıcı desteği için background properties */
section.text-center {
    background-size: cover;
    background-position: center;
}

.scrollToTop {
    width: 70px;
    height: 70px;
    padding: 10px;
    text-align: center;
    background: whiteSmoke;
    font-weight: bold;
    color: #444;
    text-decoration: none;
    position: fixed;
    bottom: 10px;
    right: 10px;
    display: none;
    background: url(../images/arrow_up.png) no-repeat 0px 20px;
    background-size: contain;
}

.scrollToTop:hover, .scrollToTop:focus {
    text-decoration: none;
}

.img-container {
    overflow: hidden;
    position: relative;
}

.card-img-top {
    transition: transform 0.3s ease-in-out;
    width: 100%;
    height: auto;
}

.card:hover .card-img-top, .card:focus .card-img-top {
    transform: scale(1.3);
}

.container2 {
    position: relative;
    width: 50%;
}

.image {
    opacity: 1;
    display: block;
    width: 100%;
    height: auto;
    transition: opacity 0.5s ease;
    backface-visibility: hidden;
}

.middle {
    transition: opacity 0.5s ease;
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.container2:hover .image, .container2:focus .image {
    opacity: 0.3;
}

.container2:hover .middle, .container2:focus .middle {
    opacity: 1;
}

.text2 {
    background-color: #214976;
    color: white;
    font-size: 16px;
    padding: 16px 32px;
}

.committee-card {
    position: relative;
    overflow: hidden;
    text-align: center;
}

.committee-card img {
    width: 100%;
    transition: transform 0.3s ease, filter 0.3s ease;
    transform-origin: bottom center;
}

.committee-card h2 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    z-index: 1;
    margin: 0;
    transition: transform 0.3s ease;
}

.committee-card .btn {
    position: absolute;
    background-color: #214976;
    top: 70%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    z-index: 1;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.committee-card:hover img, .committee-card:focus img {
    transform: scale(1.1);
    filter: brightness(0.6);
}

.committee-card:hover h2, .committee-card:focus h2 {
    transform: translate(-50%, -80%);
}

.committee-card:hover .btn, .committee-card:focus .btn {
    opacity: 1;
    transform: translate(-50%, -80%);
}

.active {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.beyaz {
    filter: brightness(0) invert(1);
}

/* Media Queries for responsiveness */
@media (max-width: 768px) {
    .container2 {
        width: 100%;
    }

    .scrollToTop {
        width: 50px;
        height: 50px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .card-img-top, .image, .middle, .btn {
        transition: none;
    }
}

.bg-TALMUN {
    background-color: #1a3758;
}

.outline-text {
  font-size: clamp(2rem, 8vw, 9rem);
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 2px white;
  text-transform: uppercase;
  display: inline-block;
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: break-word;
  text-align: center;
}

@media (max-width: 576px) {
  .outline-text {
    font-size: 4rem; /* telefonlarda daha küçük */
    -webkit-text-stroke: 1px white; /* stroke da incelsin */
  }
}

/* Telefon ve tüm cihazlarda video tam ekran görünsün */
video {
  object-fit: cover;
  width: 100%;
  height: 100%;
  max-width: 100vw;
  max-height: 100vh;
}

/* Yan kaymayı engelle */
html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
  padding-top: 80px; /* header yüksekliğine göre ayarlayın */
}

