.top-bar {
  background-color: #f39c12;
  font-size: 11px;          /* küçültüldü */
  padding: 7px 0;           /* daha ince üst bar */
}

.navbar-logo {
    height: 60px; /* Navbar yüksekliğini zorlamayacak bir değer */
    width: auto;
    object-fit: contain;
    /* Logonun etrafındaki boşlukları CSS ile "yok saymak" için negatif margin kullanıyoruz */
    margin-top: -15px; 
    margin-bottom: -15px;
    /* Logoyu kendi içinde büyütür ama kapladığı alanı (box) sabit tutar */
    transform: scale(1.3); 
    transition: transform 0.3s ease;
}

.navbar-brand {
    display: flex;
    align-items: center;
    overflow: hidden; /* Logonun navbar dışına taşan boşluklarını gizler */
    max-height: 80px; /* Navbar'ın maksimum yüksekliğini sabitler */
}

.hero {
  min-height: 85vh;
  background: linear-gradient(
      rgba(0, 0, 0, 0.55),
      rgba(0, 0, 0, 0.55)
    ),
    url("https://www.future-events.cl/wp-content/uploads/2021/03/COM4_Comex-Logistica-Transporte-Contenedores.jpg");
  background-size: cover;
  background-position: center;
}

/* =================================================================================== */
.services {
  background-color: #fff;
}

.brand-title {
  color: #f39c12;
  font-weight: 600;
  letter-spacing: 2px;
  font-size: 14px;
  display: inline-block;
  margin-bottom: 10px;
}

.main-title {
  font-size: 42px;
  font-weight: 800;
  color: #212529;
}

.service-card {
  background: #fff;
  border: 1px solid #f7d3a0;
  padding: 20px;
  text-align: center;
  height: 100%;
  transition: all 0.3s ease;
}

.service-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  margin-bottom: 20px;
}

.service-card h4 {
  font-weight: 700;
  margin-bottom: 15px;
}

.service-card a {
  color: #f18c07;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}

.service-card a:hover {
  color: #000;
}

.service-card:hover {
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
  transform: translateY(-5px);
}
/* =================================================================================== */

/* Ana Kapsayıcı */
.custom-service-item {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

/* Siyah Metin Kutusu */
.service-content-box {
    background-color: #000; /* Siyah Arka Plan */
    color: #fff;
    padding: 50px;
    width: 45%;
    z-index: 5; /* Resmin önünde olması için */
    position: relative;
    transition: all 0.3s ease;
}

.service-content-box p {
    color: #b0b0b0;
    font-size: 0.95rem;
    line-height: 1.6;
}

.btn-read-more {
    color: #666;
    text-decoration: none;
    font-size: 0.85rem;
    margin-top: 20px;
    display: inline-block;
}

.btn-read-more:hover {
    color: #fff;
}

/* Resim Alanı */
.service-image-box {
    width: 55%;
    position: relative;
    margin-left: -60px; /* Siyah kutunun içine girmesini sağlar */
}

.service-image-box img {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 3;
}

/* Turuncu Çerçeve */
.orange-frame {
    position: absolute;
    top: 25px;
    left: 25px;
    right: -25px;
    bottom: -25px;
    border: 5px solid #ffa500; /* Turuncu renk */
    z-index: 1;
}

/* Hover Efekti: Siyah kutuyu hafifçe belirginleştirir */
.custom-service-item:hover .service-content-box {
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transform: translateY(-5px);
}



.navbar {
  transition: all 0.3s ease;
}

.navbar.scrolled {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* 🔹 Hero içeriğini biraz daha kontrollü yapalım */
.hero .container {
  padding-left: 80px; 
} 
/* 🔹 Marka adı (üstte küçük yazı) */
.hero .hero-brand {
  color: #f18c07;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}
/* 🔹 Neden Biz? yazı boyutu */
.hero h1 {
  font-size: 4.2rem;   /* DAHA BÜYÜK */
  font-weight: 800;    /* DAHA GÜÇLÜ */
  
}
/* 🔹 Alt açıklama yazıları (.lead) → daha okunaklı */
.hero .lead {
 font-size: 1.5rem;     /* belirgin büyüme */
  line-height: 1.6;     /* nefes aldırır */
  max-width: 720px;     /* başlıkla orantılı */
}
.btn-warning {
  background-color: #000000; /* siyah */
  color: #ffffff;           /* yazı beyaz */
  border-color: #000000;
}

.btn-warning:hover {
  background-color: #1a1a1a; /* hover’da hafif açık siyah */
  color: #ffffff;
  border-color: #1a1a1a;
}

/* 🔹 Bizimle İletişime Geçin Butonu */
.hero .btn-warning {
  background-color: #f18c07; /* siyah */
  color: #ffffff;           /* yazı beyaz */
  border-color: #f7981d;
}
.hero .btn-warning:hover {
  background-color: #f8d32c; /* hover'da hafif açılan siyah */
  color: #000000;
  border-color: #fff024;
}


.hero h1,
.hero p,
.hero a {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s ease forwards;
}

.hero p {
  animation-delay: 0.2s;
}

.hero a {
  animation-delay: 0.4s;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.service-img {
  width: 100%;
  height: 320px;        /* ikisi de aynı yükseklik */
  object-fit: cover;   /* taşanı kırp, oran bozulmasın */
}

.page-banner {
  min-height: 300px; /* YÜKSEKLİK ŞART */
  background: linear-gradient(
      rgba(0,0,0,0.6),
      rgba(0,0,0,0.6)
    ),
    url("../img/otobus.jpg")
    center / cover no-repeat;
} 
.page-banner-2 {
  min-height: 300px; /* YÜKSEKLİK ŞART */
  background: linear-gradient(
      rgba(0,0,0,0.6),
      rgba(0,0,0,0.6)
    ),
    url("../img/konteynir-amacok.jpg")
    center / cover no-repeat;
} 

.page-banner-3 {
  min-height: 300px; /* YÜKSEKLİK ŞART */
  background: linear-gradient(
      rgba(0,0,0,0.6),
      rgba(0,0,0,0.6)
    ),
    url("../img/kapi.jpg")
    center / cover no-repeat;
} 

.page-banner-4 {
  min-height: 300px; /* YÜKSEKLİK ŞART */
  background: linear-gradient(
      rgba(0,0,0,0.6),
      rgba(0,0,0,0.6)
    ),
    url("../img/sigorta-yapioz.jpg")
    center / cover no-repeat;
} 

.page-banner-5 {
  background: linear-gradient(
      rgba(0,0,0,0.6),
      rgba(0,0,0,0.6)
    ),
    url("../img/sanat-abi-bu.png")
    center / cover no-repeat;
} 

.page-banner-6 {
  background: linear-gradient(
      rgba(0,0,0,0.6),
      rgba(0,0,0,0.6)
    ),
    url("../img/iletisim.jpg")
    center / cover no-repeat;
} 

/* karayolu.img */
/* Görselin ana çerçevesi */
.service-image-wrapper {
  position: relative;
  padding: 20px;
  width: 100%;
}

/* Görselin kendisi */
.service-detail-img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  position: relative;
  z-index: 2; /* Görseli kutunun üstüne çıkarır */
  box-shadow: 0 15px 35px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}

/* Hover efekti: Mouse ile üzerine gelince hafif hareket eder */
.service-detail-img:hover {
  transform: translateY(-5px);
}

/* Görselin arkasındaki dekoratif turuncu kutu */
.image-accent-box {
  position: absolute;
  top: 0;
  right: 0;
  width: 70%;
  height: 80%;
  background: linear-gradient(135deg, #f39c12, #e67e22); /* Logonuzdaki turuncu tonları */
  border-radius: 12px;
  z-index: 1;
  opacity: 0.15; /* Çok baskın olmaması için şeffaflık */
}



/* ----------------------------------------------------------------------------------------------*\

/* ===== MISSION & VISION BLOKLARI ===== */
.mission-block, .vision-block {
  display: flex;
  flex-wrap: wrap;
  border-radius: 0;      /* sivri köşeler */
  overflow: hidden;
  min-height: 400px;     /* blok minimum yüksekliği */
}

/* Metin sütunu */
.text-col {
  flex: 1 1 50%;
  padding: 60px;          /* kenardan boşluk */
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
}

/* Görsel sütunu */
.image-col {
  flex: 1 1 50%;
  position: relative;      /* resim absolute için */
  padding: 0;
}

/* Görsel tam kaplama */
.image-col img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Metin renkleri */
.mission-block { background-color: #000; color: #fff; }
.mission-block p:first-child { color: #d1d5db; font-size:14px; letter-spacing:2px; text-transform:uppercase; }
.vision-block { background-color: #000000; color: #fff; }
.vision-block p:first-child { color: #d1d5db; font-size:14px; letter-spacing:2px; text-transform:uppercase; }

/* ------------------------------------------------------------------------------------*\


/* ===== TOP BAR LOGO ===== */
.top-logo {
  color: #f39c12;
  font-size: 22px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 1px;
}

.top-logo:hover {
  color: #fbbf24; /* hover sarı */
  text-decoration: none;
}

/* ===== TOP BAR CONTACT ===== */
.top-contact {
  font-size: 13px;
  line-height: 1;
  color: #ffffff;
  display: flex;        /* yan yana göster */
  gap: 12px;            /* telefon / e-mail arası boşluk */
  align-items: center;  /* dikey ortala */
  text-align: left;     /* e-mail ve telefon sola yaslı */
  flex-wrap: wrap;      /* dar ekranlarda alt satıra geçer */
}

.top-contact > div {
  margin: 0;
}

/* ===== NAVBAR MENU FONT ===== */
/*Anasayfa / Hakkımızda / Hizmetler / İletişim daha büyük Hover’da sarı*/
.navbar-nav .nav-link {
  font-size: 18px;      /* büyüttük */
  font-weight: 500;
  padding: 12px 18px;
  color: #111111;
}

.navbar-nav .nav-link:hover {
  color: #fbbf24;
}

/* Navbar renk spesifik kuralları: transparan/koyu üstlerinde beyaz, açık arka planda koyu */
.navbar.navbar-dark .nav-link,
.navbar.bg-transparent .nav-link {
  color: #020000;
}

.navbar.navbar-light .nav-link {
  color: #111111;
}

/* Üst bar içeriğini sola geri al (telefon/e-mail eski yerine dönsün) */
.top-bar .container {
  justify-content: flex-start !important;
}

.top-contact {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: flex-start; /* sola hizala */
}

/* Navbar içindeki menüyü sağa yasla (collapse içindeki ul için) */
.navbar .navbar-collapse {
  justify-content: flex-end;
}

/* Navbar-nav için Bootstrap mx-auto'yu geçersiz kıl */
.navbar-nav {
  margin-left: auto !important;
  margin-right: 0 !important;
}

/* Mobilde (küçük ekran) ortala, taşma olmasın */
@media (max-width: 576px) {
  .top-bar .container,
  .navbar .navbar-collapse {
    justify-content: center !important;
  }
  .navbar-nav {
    margin: 0 auto !important;
  }
}

/* Telefon ve e-mail metinlerini siyah yap */
.top-contact,
.top-contact a,
.top-contact span,
.top-contact i {
  color: #ffffff !important;
  font-weight: bold;
}

.top-contact a:hover {
  color: #fc0000 !important;
}

/* Reset ve layout: footer her zaman kesinlikle sayfanın en altında olur */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* içerik alanı kalan boşluğu kaplasın */
.page-content, main.page-content {
  flex: 1 0 auto;
}

/* footer doğal akışta en altta kalsın, yukarı itilmesin */
footer, #footer {
  background-color: #003366; /* marka arkaplan rengi */
  flex-shrink: 0;
  margin: 0;
  padding-bottom: 0;
}

/* Son iç öğelerin alt boşluklarını sıfırla (bazen section/container bottom margin boşluk bırakır) */
.page-content > *:last-child,
.page-content section:last-child,
.page-content .container:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
}

/* Güvenlik: iframe/map veya başka büyük öğeler alt boşluk ekliyorsa kontrol et */
iframe, .ratio {
  display: block;
  max-width: 100%;
}

.layout {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.content {
  flex: 1;
}

/* Hızlı Bilgi Paneli Tasarımı about.html */
.fact-card {
  transition: all 0.3s ease;
  border-bottom: 4px solid transparent;
}

.fact-card:hover {
  transform: translateY(-10px);
  border-bottom: 4px solid #f39c12; /* Logonuzun turuncu tonu */
}

.fact-card i {
  color: #f39c12; /* İkon rengi */
}

.fact-card h3 {
  font-size: 1.5rem;
  color: #003366; /* Logonuzun lacivert tonu */
}

.service-detail-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}



/* Facilities bölümündeki videoları küçült */
.facilities video {
  width: 500px; /* kırmızı kare kadar varsayıyorum, gerekirse ayarla */
  height: 500px;
  display: block;
  margin: 0 auto; /* merkezde */
  object-fit: cover;
}

/* DEPOMUZ metin alanının şeffaf gri arka planı */
.depo-bg, .ofis-bg {
  background-color: #003366; /* şeffaf gri */
  padding: 20px;
  border-radius: 8px;
}

/* DEPOMUZ ve OFİSİMİZ başlıklarının rengi */
.depo-title, .ofis-title {
  color: #f39c12;
}

.depo-text, .ofis-text {
  color:white;
}

.btn-bg {
  background-color: #f39c12;
  border-color: #f7c900;
  color: #ffffff;
}

/* MOBILDE HAMBURGER BUTONUNU GÖRÜNÜR YAP */
.navbar-toggler {
  background-color: #e5e5e5;   /* açık gri */
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 6px 10px;
}

/* Bootstrap ikonunu netleştir */
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 30 30' xmlns='https://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(0,0,0,0.7)' stroke-width='2' stroke-linecap='round' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* Tıklayınca mavi çerçeve çıkmasın */
.navbar-toggler:focus {
  box-shadow: none;
}
@media (max-width: 768px) {
  .navbar-toggler {
    min-width: 44px;
    min-height: 44px;
  }
}


/* =================================================================================== */
/* GALLERY MASONRY LAYOUT - RESPONSIVE */
/* =================================================================================== */

.gallery-container {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  padding: 20px 15px;
  max-width: 1400px;
  margin: 0 auto;
}

.gallery-item {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
  background: #f0f0f0;
  aspect-ratio: 1 / 1;
}

.gallery-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.gallery-item:hover .gallery-img {
  transform: scale(1.05);
}

/* === TABLET: 3 SÜTUN === */
@media (max-width: 1199px) {
  .gallery-container {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    padding: 18px 12px;
  }
}

/* === KÜÇÜK TABLET: 2 SÜTUN === */
@media (max-width: 768px) {
  .gallery-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 15px 10px;
  }
}

/* === MOBİL: 2 SÜTUN === */
@media (max-width: 480px) {
  .gallery-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 12px 8px;
  }

  .gallery-item {
    border-radius: 6px;
  }
}

/* === KÜÇÜK MOBİL: HEPSI YANYANA === */
@media (max-width: 360px) {
  .gallery-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 10px 5px;
  }
}

/* === MAİL MESAJ MODÜLÜ ALANI (demo)- Hatalıysa silinecek === */
.success-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.success-box {
  background: #fff;
  padding: 40px 30px;
  border-radius: 12px;
  text-align: center;
  width: 320px;
}

.check-wrapper {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto 15px;
}

.spinner {
  width: 80px;
  height: 80px;
  border: 4px solid #28a74533;
  border-top: 4px solid #28a745;
  border-radius: 50%;
  animation: spin 1.2s linear infinite;
}

.check {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 38px;
  color: #28a745;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}