/* Header Navbar */
body, html {
  overflow-x: hidden;
}

.navbar {
  padding-top: 1rem;
  padding-bottom: 1rem;
  font-weight: 500;
  font-size: 1.05rem;
}

.navbar-brand img {
  max-height: 70px !important;
  height: auto !important;
  width: auto !important;
  object-fit: contain;
}

.nav-link {
  color: #212529 !important;
  padding: 0.75rem 1rem;
  font-size: 1.1rem;
  transition: all 0.2s ease-in-out;
}

.nav-link:hover,
.nav-link:focus,
.nav-link.active {
  color: #0d4e78 !important;
}

.dropdown-menu {
  border-radius: 0.5rem;
  box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.1);
  animation: fadeDown 0.2s ease-in-out;
  padding: 0.5rem 0;
}

.dropdown-item {
  padding: 0.5rem 1rem;
  font-size: 1rem;
  transition: background-color 0.2s ease;
}

.dropdown-item:hover {
  background-color: #f8f9fa;
}

/* Animasyon */
@keyframes fadeDown {
  0% { opacity: 0; transform: translateY(-10px); }
  100% { opacity: 1; transform: translateY(0); }
}
/* Dropdown menüler hover ile açılsın */
.nav-item.dropdown:hover .dropdown-menu {
  display: block;
  margin-top: 0; /* gecikme önler */
}

/* Dropdown animasyonu ekle */
.dropdown-menu {
  display: none;
  opacity: 0;
  transition: all 0.2s ease-in-out;
}

.nav-item.dropdown:hover .dropdown-menu {
  display: block;
  opacity: 1;
}
/* Hero bölümünde video üstü koyu overlay */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45); /* yarı saydam siyah */
  z-index: 1;
}

/* Hero butonları büyük ve estetik */
.hero-buttons .btn-hero {
  font-size: 1.2rem;
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: 2rem;
  background: white;
  color: #000;
  box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 2;
}

.hero-buttons .btn-hero:hover {
  transform: scale(1.05);
}

/* Hero yazıları görünür olsun */
.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
}
/* Hizmet Kartları */
.service-card {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  height: 350px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.1);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 40px rgba(0, 0, 0, 0.2);
}

.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.75);
  transition: filter 0.3s ease;
}

.service-card:hover img {
  filter: brightness(1);
}

.service-card .service-content {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
}

.service-card .service-content h5 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.service-card .service-content a {
  background-color: #0d4e78;
  color: white;
  font-weight: 500;
  padding: 0.6rem 1.5rem;
  border-radius: 30px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.service-card .service-content a:hover {
  background-color: #0041c2;
}
section img {
  transition: transform 0.3s ease;
}
section img:hover {
  transform: scale(1.02);
}
.newsSwiper .swiper-slide {
  width: auto;
  max-width: 320px;
}

.newsSwiper .card .ratio img {
  object-fit: cover;
  height: 100%;
}
.post-detail h1 {
  font-size: 2.5rem;
  color: #1e1e1e;
}

.post-image img {
  max-height: 500px;
  object-fit: cover;
}

.post-content {
  color: #333;
  line-height: 1.8;
  font-family: 'Segoe UI', sans-serif;
  text-align: justify;
}

@media (max-width: 768px) {
  .post-detail h1 {
    font-size: 1.8rem;
  }
}

        .history-content p {
  font-size: 1.1rem;
  line-height: 1.8;
}

.history-content img {
  max-width: 100%;
  margin: 1.5rem 0;
  border-radius: 8px;
}

.history-gallery img {
  transition: transform 0.3s ease;
  border-radius: 6px;
  cursor: zoom-in;
}

.history-gallery img:hover {
  transform: scale(1.03);
}
.btn-primary{
    
--bs-btn-bg:#0d4e78 !important;
--bs-btn-border-color:#0d4e78 !important;
}
.text-primary{
    color:#0d4e78 !important;
}



