/* Final professional theme - mavi-gri-beyaz */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');
:root{--primary:#0b4fa1;--dark:#0c2b44;--muted:#6b7380;--bg:#f6f8fa;--card:#fff;--radius:12px}
*{box-sizing:border-box}body{font-family:'Poppins',sans-serif;margin:0;background:var(--bg);color:#102027}
.container{max-width:1200px;margin:0 auto;padding:2px;text-align: justify;}

.flex-between{display:flex;align-items:center;justify-content:space-between}
.site-header .topbar{background:var(--card);padding:55px 0  0;box-shadow:0 6px 24px rgba(10,20,40,0.04)}
.brand img{height:150px}
.main-nav a{color:var(--dark);text-decoration:none;margin:0 12px;font-weight:600}
.main-nav .btn{background:var(--primary);color:#fff;padding:8px 12px;border-radius:8px;text-decoration:none}

/* Hero */
.hero{position:relative;overflow:hidden;border-bottom-left-radius:16px;border-bottom-right-radius:16px;margin-top:-105px}
.hero-slider{position:relative;height:560px;background:#0b4fa1}
.hero-slider .slide{position:absolute;inset:0;opacity:0;transition:opacity .8s ease;will-change:opacity}
.hero-slider .slide img{width:100%;height:560px;object-fit:cover;display:block}
.hero-slider .slide.active{opacity:1;z-index:2}
.hero-caption{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);color:#fff;text-align:center;z-index:3;max-width:900px;padding:20px}
.hero-caption h1{font-size:40px;margin:0 0 10px;letter-spacing:-0.5px}
.hero-caption p{margin:0 0 16px;color:rgba(255,255,255,0.95)}
.hero-caption .btn{background:#ffd27a;color:#102027;padding:10px 18px;border-radius:8px;text-decoration:none;font-weight:700}

/* sections */
.section{margin:40px 0}
.section-head h2{margin:0;color:var(--dark)}
.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.card{background:var(--card);border-radius:12px;padding:14px;box-shadow:0 10px 30px rgba(10,20,40,0.05)}
.card img{width:100%;height:180px;object-fit:cover;border-radius:8px}
.card h3{margin:12px 0 6px}
.card p{color:var(--muted);font-size:14px}

/* refs */
.refs-row{display:flex;gap:14px;align-items:center;flex-wrap:wrap}
.ref img{height:70px;object-fit:contain;background:#fff;padding:8px;border-radius:8px}

/* footer */
.site-footer{background:#0b2b44;color:#fff;padding:36px 0;margin-top:40px}
.site-footer h4{margin:0 0 8px}

/* utilities */
.hidden{display:none}

/* responsive */
@media (max-width:1000px){ .grid{grid-template-columns:repeat(2,1fr)} .hero-slider{height:420px} .hero-slider .slide img{height:420px} .hero-caption h1{font-size:28px} }
@media (max-width:680px){ .grid{grid-template-columns:1fr} .hero-slider{height:240px} .hero-slider .slide img{height:240px} .brand img{height:44px} .main-nav{display:none} .container{padding:16px} }

.page-container {
    max-width: 1100px;
    margin: 40px auto;
    padding: 20px;
}

.page-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 15px;
}

.page-description {
    font-size: 16px;
    color: #444;
    line-height: 1.6;
    margin-bottom: 30px;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.gallery-item img:hover {
    transform: scale(1.05);
}

/* ==========================
   Genel Ayarlar
========================== */
body {
  font-family: 'Segoe UI', Tahoma, sans-serif;
  background-color: #f8f9fa;
  margin: 0;
  color: #333;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px;
}

.section-title {
  font-size: 32px;
  color: #0d6efd;
  text-align: center;
  margin-bottom: 30px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.contact-info-card {
  background: #ffffff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-info-card h3 {
  margin-top: 0;
  color: #0d6efd;
  font-size: 24px;
}

.contact-info-card p {
  font-size: 16px;
  line-height: 1.5;
}

.contact-icons {
  margin-top: 10px;
  font-size: 20px;
  display: flex;
  gap: 15px;
}

.contact-form-card {
  background: #ffffff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 15px;
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #ced4da;
  font-size: 16px;
  resize: vertical;
}

.contact-form textarea {
  min-height: 120px;
}

.btn.primary-btn {
  display: inline-block;
  background-color: #0d6efd;
  color: #fff;
  padding: 12px 25px;
  border-radius: 8px;
  border: none;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.btn.primary-btn:hover {
  background-color: #0b5ed7;
}

.map-wrapper {
  margin-top: 20px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}


.page-header_O {
    background: linear-gradient(rgba(26, 58, 92, 0.9), rgba(26, 58, 92, 0.9)),
                url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?w=1600') center/cover;
    color: white;
    padding: 100px 0;
    text-align: center;
margin:0 0 20px 0;
}

.page-header_O h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}
.container_O {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header ve Navigasyon */
header_O {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar_O {
    padding: 1rem 0;
}

.navbar .container__O {
    display: flex;
    justify-content: space-between;
    align-items: center;
}



.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    display: block;
    transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 12px;
    background: rgba(0,0,0,0.5);
    color: #fff;
    text-align: center;
}

.gallery-caption h3 {
    margin: 0;
    font-size: 16px;
}

/* Responsive */
@media(max-width:768px){
    .gallery-container {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    .gallery-item img {
        height: 150px;
    }
}
/* Lightbox overlay ayarları */
.lightboxOverlay {
    background: rgba(0, 0, 0, 0.85) !important;
    z-index: 9999 !important;
}

/* Lightbox caption yazısı */
.lightbox .lb-caption {
    font-size: 14px;
    color: #fff;
    text-align: center;
    margin-top: 8px;
}

/* Lightbox resim boyutu mobil uyumlu */
@media (max-width: 768px) {
    .lightbox .lb-image {
        max-width: 90% !important;
        max-height: 70vh !important;
    }
}

/* Grid’deki görseller hover efekti */
.grid a .card img {
    transition: transform 0.3s ease;
}

.grid a .card img:hover {
    transform: scale(1.05);
}

.references-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.references-grid .gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

.references-grid .gallery-item h3 {
    text-align: center;
    margin-top: 8px;
    font-size: 16px;
    color: #333;
}

@media (max-width: 1000px) {
    .references-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 680px) {
    .references-grid {
        grid-template-columns: 1fr;
    }
}

#scroll-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(11, 79, 161, 0.95);
  color: #fff;
  text-align: center;
  padding: 15px 0;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 1px;
  z-index: 9999;
  opacity: 0;
  transform: translateY(-100%);
  transition: all 0.4s ease;
}

#scroll-header.show {
  opacity: 1;
  transform: translateY(0);
}
/* ==============================
   Başlık ikonları ve animasyon
============================== */
.section-title i {
  color: #0b4fa1;
  margin-right: 10px;
  font-size: 30px;
  vertical-align: middle;
  transition: transform 0.4s ease, color 0.3s;
}

.section-title:hover i {
  transform: rotate(15deg) scale(1.15);
  color: #007bff;
}
/* ============================
   Profesyonel Footer Tasarımı
============================ */
.site-footer {
  background: #0b2b44;
  color: #fff;
  padding: 50px 0 20px;
  font-family: 'Poppins', sans-serif;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.site-footer h4 {
  color: #ffd27a;
  margin-bottom: 15px;
  font-size: 20px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-footer p {
  font-size: 15px;
  line-height: 1.6;
  color: #f0f0f0;
}

.footer-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-menu ul li {
  margin-bottom: 8px;
}

.footer-menu ul li a {
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-menu ul li a:hover {
  color: #ffd27a;
  transform: translateX(5px);
}

.social-links {
  margin-top: 15px;
  display: flex;
  gap: 12px;
}

.social-links a {
  background: rgba(255,255,255,0.1);
  color: #fff;
  padding: 10px;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: #ffd27a;
  color: #0b2b44;
  transform: scale(1.1);
}

.copy {
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 40px;
  padding-top: 15px;
  font-size: 14px;
  color: #bbb;
}
/* ============================
   Yukarı Çık Butonu
============================ */
#backToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #ffd27a;
  color: #0b2b44;
  border: none;
  outline: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  z-index: 999;
}

#backToTop:hover {
  background: #0b2b44;
  color: #ffd27a;
  transform: translateY(-4px);
}

#backToTop.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
/* Sayfa ve body yüksekliğini %100 yap */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

/* Sayfa içeriğini kapsayan container */
.page-wrapper {
    min-height: 100%;       /* Tüm sayfa yüksekliği */
    display: flex;
    flex-direction: column; /* Header, main, footer dikey hizalanacak */
}

/* Ana içerik alanı footer dışında kalan kısmı kaplasın */
.page-content {
    flex: 1;                /* Esnek alan: footer hariç tüm alanı kaplar */
}

