/* Smooth scroll */
html {
  scroll-behavior: smooth;
}

/* Body padding navbar için */
body {
  padding-top: 70px;
  font-family: 'Arial', sans-serif;
}

/* Hero görseller */
.hero-img {
  height: 80vh; /* 100vh yerine biraz daha küçük */
  object-fit: cover; /* Resim orantılı, taşmasın */
}

/* Hero caption */
.carousel-caption h1 {
  background: rgba(0, 0, 128, 0.5); /* yarı şeffaf mavi arka plan */
  display: inline-block;
  padding: 10px 20px;
  border-radius: 10px;
}

.carousel-caption p {
  background: rgba(0, 0, 128, 0.5);
  display: inline-block;
  padding: 5px 15px;
  border-radius: 8px;
}

/* Hakkımızda ve Hizmetler görselleri */
.img-fluid {
  max-height: 4400px; /* Çok büyük olmasını önler */
  object-fit: cover;
}

/* Kart görselleri */
.card-img-top {
  max-height: 250px;
  object-fit: cover;
}

/* Buton hover efekti */
.btn-primary:hover {
  background-color: #004080;
  border-color: #004080;
  transition: 0.3s;
}

/* Footer */
footer {
  font-size: 0.9rem;
}

/* Logo boyutu ve köşe yumuşatma */
.logo {
  width: 60px;      /* Daha büyük logo */
  height: 60px;     
  border-radius: 12px;  /* Köşeleri yuvarlat */
  object-fit: cover;
  transition: transform 0.3s;
}

/* Hover efekti isteğe bağlı */
.logo:hover {
  transform: scale(1.05);
}

/* Firma adı yazısı */
.brand-name {
  font-size: 1.1rem;   /* Daha büyük yazı */
  font-weight: 500;
  color: #fff;
}

/* ===================== */
/* Video container ayarı */
/* ===================== */
.video-container {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0,0,0,0.2);
  max-width: 350px;       /* çok geniş olmasın */
  margin: 0 auto 20px;    /* ortala ve alta boşluk bırak */
  aspect-ratio: 9/16;     /* dikey format */
  background: #000;       /* yüklenmeden önce siyah */
}

.video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;      /* yan boşlukları kırp */
}

/* Video kutuları */
.video-wrapper {
  position: relative;
  width: 200px;         /* kutu genişliği */
  aspect-ratio: 9/16;   /* dikey video oranı */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;    /* kutuyu doldurur */
}

video {
  border-radius: 10px;
  object-fit: cover;
}
/* Sosyal medya ikonları alt alta */
.social-link {
  display: flex;           /* ikon ve yazıyı yatay hizala */
  align-items: center;
  color: #fff;
  text-decoration: none;
  margin-bottom: 8px;      /* alt boşluk */
}

.social-link:hover {
  color: #ffd700;
}

.social-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
  border-radius: 4px;
  margin-right: 8px;       /* ikon ve yazı arasına boşluk */
}

/* Performance note: keep animations GPU-accelerated (transform/opacity) if you later add animations.
   Avoid expensive properties (width/height/box-shadow changes) in animations for smoother experience. */
