/* ─── Navbar Temel ─── */
.navbar {
   position: fixed;
  top: 0; left: 0; right: 0;
  /* eski: background: rgba(20, 10, 10, 0.85); */
  background: transparent;          /* ← burayı böyle değiştirin */
  /* dilerseniz aşağıdaki satırı da kaldırabilirsiniz: */
  /* backdrop-filter: blur(6px); */
  z-index: 1000;
}
/* Varsayılan görünürlük */
.logo-mobile {
  display: none;
}
.logo-desktop {
  display: block;
}

/* Scroll edildiyse desktop logosunu gizle, mobil logosunu göster */
.navbar.scrolled .logo-desktop {
  display: none;
}
.navbar.scrolled .logo-mobile {
  display: block;
  width: 65px !important;
}

/* Mobilde her zaman mobil logo görünsün */
@media (max-width: 768px) {
  .logo-desktop {
    display: none !important;
  }
  .logo-mobile {
    display: block !important;
  }
}



/* Kaydırma sonrası: beyaz arka plan ve gölge */
.navbar.scrolled {
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* Linkleri başlangıçta beyaz, scrolled sonrası koyu yap */
.nav-menu a {
  color: #fff;
  transition: color .3s;
}
.navbar.scrolled .nav-menu a {
  color: #333;
}

/* Logo’yu da isteğe bağlı küçültmek veya koyulaştırmak istersen: */
.navbar-brand img {
  transition: filter .3s;
}

.navbar .container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

/* Logo */
.navbar-brand img {
width: 120px;
}

/* Menü (ul) */
.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  margin-left: auto;            /* Menüyü sağa iter */
  gap: 1.5rem;
}

/* Menü bağlantıları */
.nav-menu a {
  display: flex;
  align-items: center;
  color: #fff;
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
}
.nav-menu a:hover {
  opacity: 0.8;
}

/* Dropdown */
.has-dropdown {
  position: relative;
}
.has-dropdown .dropdown {
  position: absolute;
  top: calc(100% + 0.25rem);
  left: 0;
  background: #2a1f1f;
  border-radius: 4px;
  list-style: none;
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s, visibility .2s;
  min-width: 150px;
}
.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
}
.dropdown li a {
  padding: 0.5rem 1rem;
  white-space: nowrap;
  color: #fff;
}
.dropdown li a:hover {
  background: rgba(255,255,255,0.05);
}

/* Hamburger butonu (mobil) */
.navbar-toggler {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: #fff;
  margin-left: auto;
  cursor: pointer;
}
/* 1) Önce ikonun normalde beyaz olmasını sağlayalım */
.navbar-toggler .bi-list {
  color: #fff;
  transition: color .3s;
}

/* 2) Sadece mobilde ve scrolled olduktan sonra siyaha dönsün */
@media (max-width: 768px) {
  .navbar.scrolled .navbar-toggler .bi-list {
    color: #000;
  }
}

/* ─── Mobil Düzenlemeleri ─── */
@media (max-width: 768px) {
  .navbar-toggler {
    display: block;
  }
  .nav-menu {
    position: fixed;
    top: 0;
     right: -100%;
    width: 240px;
    height: 100vh;
    flex-direction: column;
    background: white;
    padding-top: 4rem;
    gap: 1.25rem;
    transition: right .3s;
    z-index: 999;
    padding: 35px;
  }
  
  .nav-menu.open {
    right: 0;
    
  }
  .nav-menu.open li a {
  color: #111 !important;  /* koyu siyah */
}
  .navbar.scrolled {
    background: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  }
  .navbar.scrolled .nav-menu a {
    color: #333 !;
  }
  .nav-menu li {
    width: 100%;
    margin: 0;
  }
  /* Mobilde dropdown aç/kapa */
  .has-dropdown .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    display: none;
    background: none;
    box-shadow: none;
    padding: 0;
  }
  .has-dropdown.open .dropdown {
    display: block;
  }
}
@media (min-width: 769px) {
  .navbar.scrolled .nav-menu a {
    color: #333;
  }
}








    /* --- SIFIRLAMA --- */
  * { margin:0; padding:0; box-sizing:border-box; }
  html, body { width:100%; height:100%; font-family:'Poppins', sans-serif; }

  /* --- HERO --- */
  .hero {
    position: relative; width:100%; height:100vh;
    background: url('/images/haberler.png') center/cover no-repeat;
    overflow:hidden;
  }
  .hero::before {
    content:""; position:absolute; top:0; left:0;
    width:100%; height:100%; background:rgba(0,0,0,0.35);
    z-index:1;
  }
  .hero .content {
    position:absolute; top:50%; left:7%;
    transform:translateY(-50%); max-width:800px; width:80%;
    color:#fff; text-align:left; z-index:2;
  }
  .hero .content h1 { font-size:3.5rem; margin-bottom:.5rem; line-height:1.1; }
  .hero .content p {
    font-size:1.25rem; line-height:1.5;
    position:relative; padding-left:1.5rem;
  }
  .hero .content p::before {
    content:""; position:absolute; left:0; top:.2em;
    width:4px; height:1.2em; background:#cb7b7b;
  }
  @media(max-width:768px){
    .hero .content { left:5%; width:90%; }
    .hero .content h1 { font-size:2.5rem; }
    .hero .content p  { font-size:1rem; }
  }

  /* --- HİZMETLERİMİZ --- */
  .services-title {
    margin:2rem 0 1rem 3.5rem;
    font-size:25px; font-weight:600; color:#4c0c0c;
  }
  .cards-container {
    display:flex; overflow-x:auto; gap:2rem;
    padding:0 0 2rem 3.5rem; scroll-snap-type:x mandatory;
  }
  .cards-container::-webkit-scrollbar { display:none; }
  .card {
    flex:0 0 280px; border:1px solid #ccc6c6; border-radius:20px;
    box-shadow:0 4px 12px rgba(0,0,0,0.05); overflow:hidden;
    scroll-snap-align:start; transition:transform .3s, box-shadow .3s;
  }
  .card:hover { transform:translateY(-8px); box-shadow:0 8px 24px rgba(0,0,0,0.1); }
  .card img { width:100%; height:auto; object-fit:contain; }
  .card-body { padding:1rem; }
  .card-body h3 { font-size:1.125rem; margin-bottom:.75rem; color:#4c0c0c; }
  .card-body a { text-decoration:none; color:#4c0c0c; font-weight:500; }
  .card-body a::after { content:' ›'; }



  /* --- FOOTER --- */
  .site-footer {
    background:#4c0c0c; color:#fff; margin-top:3rem; font-size:.9rem;
  }
  .site-footer a { color:#fff; text-decoration:none; transition:color .2s; }
  .site-footer a:hover { color:#FFD100; }
  .footer-top {
    display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
    gap:2rem; padding:3rem 2rem 1rem;
  }
  .footer-logo img { max-width:80px; }
  .footer-nav { display:flex; gap:2rem; }
  .footer-nav ul { list-style:none; }
  .footer-nav li { margin-bottom:.75rem; }
  .social-icons a { color:#fff; margin-right:1rem; font-size:1.5rem; }
  .footer-bottom {
    border-top:1px solid rgba(255,255,255,.2);
    display:flex; justify-content:space-between; align-items:center;
    padding:1rem 2rem; font-size:.8rem;
  }



  /* Hizmet Kartları Container */
.cards-container {
  display: grid;
  gap: 1.5rem;
  /* Başlangıçta 1 sütun */
  grid-template-columns: repeat(1, 1fr);
  padding: 0 1rem;
  margin-bottom: 2rem;
}

/* Orta ekran – tablet: 2 sütun */
@media (min-width: 600px) {
  .cards-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    padding: 0 2rem;
  }
}

/* Geniş ekran – laptop/desktop: 4 sütun */
@media (min-width: 1024px) {
  .cards-container {
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
    padding: 0 3rem;
  }
}

/* Kartların iç stili */
.card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.card img {
  width: 100%;
  height: auto;
  display: block;
}
.card-body {
  padding: 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.card-body h3 {
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
  color: #333;
}
.card-body a {
  align-self: flex-start;
  text-decoration: none;
  font-weight: 600;
  color: #a71725;
  transition: opacity .2s;
}
.card-body a:hover {
  opacity: 0.8;
}

@media (max-width: 600px) {
  /* Kartlar arası boşluğu biraz azalt */
  .cards-container {
    gap: 1.25rem;       /* eskiden 1.5rem idi */
    padding: 0 1rem;    /* kenar boşluklarını hafifçe genişlettik */
  }

  /* Kart genişliği: ekranın %95’ini kaplasın */
  .card {
    width: 80%;
    margin: 0 auto;
  }

  /* Kart içi padding ve font ölçekleri */
  .card-body {
    padding: 0.9rem;    /* eskiden 1rem idi */
  }
  .card-body h3 {
    font-size: 1.08rem; /* eskiden 1.1rem idi */
    margin-bottom: 0.7rem;
  }
  .card-body a {
    font-size: 0.98rem; /* eskiden 1rem idi */
  }
}


/* ─── Ortak container ve grid ─── */
.info-section {
  padding: 4rem 1rem;
  background: #f9f9f9;
}
.info-section.alt {
  background: #f9f9f9;
}
.info-section .container {
  max-width: 1200px;
  margin: 0 auto;
}
.info-section .section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #333;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
}
.info-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(1, 1fr);
}
@media (min-width: 600px) {
  .info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .info-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ─── Ortak kart stili ─── */
.info-card {
  background: #fff;
  border-radius: 8px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: transform .2s, box-shadow .2s;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%; 
}
.info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.info-card i,
.info-card .step-number {
  font-size: 2.5rem;
  color: #a71725;
  margin-bottom: 1rem;
}
.info-card .step-number {
  display: inline-block;
  width: 3rem;
  height: 3rem;
  line-height: 3rem;
  border-radius: 50%;
  background: #a71725;
  color: #fff;
}

/* Kart başlığı ve açıklama */
.info-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.2rem;
  color: #222;
  font-family: 'Poppins', sans-serif;
}
.info-card p {
  margin: 0;
  font-size: 0.95rem;
  color: #555;
  line-height: 1.4;
  flex-grow: 1; /* Başlık ve açıklama arasındaki esnek boşluk */
}
/* ─── Ortak Container Ayarları ─── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ─── Biz Kimiz? ─── */
.about-section {
  background: transparent;
  padding: 3rem 0;
}
.about-flex {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
@media(min-width:768px){
  .about-flex {
    flex-direction: row;
    align-items: flex-start;
    gap: 3rem;
  }
}
.about-text, .about-image {
  flex: 1;
}
.about-title {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #222;
}
.about-text p {
  color: #555;
  line-height: 1.6;
  margin-bottom: 2rem;
}













/* Görsel */
.about-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* ─── Misyon & Vizyon ─── */
.mission-section {
  padding: 4rem 0;
  background: #f9f9f9;
}
.mission-flex {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
@media(min-width:768px){
  .mission-flex {
    flex-direction: row;
  }
}
.mission-item {
  flex: 1;
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.mission-item h3 {
  margin-bottom: .75rem;
  color: #222;
}

/* ─── Ekibimiz ─── */
.team-section {
  padding: 4rem 0;
}
.team-section .section-title {
  text-align: center;
  margin-bottom: 2rem;
  color: #222;
}
.team-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.team-member {
  text-align: center;
}
.team-member img {
  width: 100%;
  max-width: 140px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.team-member h4 {
  margin: .5rem 0 0.25rem;
  color: #222;
}
.team-member p {
  margin: 0;
  font-size: .9rem;
  color: #555;
}

/* ─── CTA ─── */
.cta-section {
  padding: 4rem 0;
  background: #4c0c0c ;
  color: #fff;
}
.cta-section h2 {
  text-align: center;
  margin-bottom: 1rem;
  color: #fff;
}
.cta-section p {
  text-align: center;
  margin-bottom: 1.5rem;
  color: #fff;
}
.cta-section .btn-primary {
  display: inline-block;
  background: #fff;
  color: #a71725;
  padding: .75rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: opacity .2s;
}
.cta-section .btn-primary:hover {
  opacity: .8;
}

/* CTA container’ını flex ile ortala */
.cta-section .container {
  display: flex;
  flex-direction: column;  /* Başlık, paragraf, buton alt alta */
  align-items: center;     /* Yatayda ortalar */
  text-align: center;      /* Başlık ve paragraf için garanti */
  gap: 1rem;               /* Elemanlar arası boşluk */
}

/* Butonu inline-block yap ve flex ile ortalandığı için margin sıfırla */
.cta-section .btn-primary {
  display: inline-block !important;
  margin: 0 !important;
}


/* ─── “Biz Kimiz?” Bölümü Güncellemesi ─── */
.about-section {
  background: #f9f9f9;      /* bölümü açık gri arkaplan yapar; isterseniz #fff de olur */
  padding: 100px 0 60px;    /* üstte 100px boşluk, altta 60px boşluk */
}

.about-section .container {
  padding: 0 1.5rem;        /* yatayda 24px’lik boşluk */
}

/* Başlık ve paragraf arasına ek boşluk */
.about-title {
  margin-top: 0;            /* zaten üst boşluk .about-section’dan geliyor */
  margin-bottom: 1.5rem;    /* başlık-altı paragraf mesafesi */
}
/* .about-text p {
  margin-bottom: 2rem;     
} */

.cta-section .btn-primary {
  display: inline-block;     /* inline-block olarak kalır */
  margin: 0 auto;            /* yanlardan otomatik boşluk */
}
















/* ─── HERO + BREADCRUMB ─── */
.page-hero {
  position: relative;
  /* 1) Burayı kendi dosya yolunuza göre güncelleyin: */
  background: url("{{ asset('images/iletisim-bg.png') }}") center/cover no-repeat;
  height: 320px;           
  overflow: hidden;
}

.page-hero__overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);  /* overlay şeffaflığı */
  display: flex;
  align-items: center;     /* içeriği dikey ortalar */
}

.page-hero__overlay .container {
  position: relative;
}

.page-hero__title {
  color: #fff;
  font-size: 2.75rem;
  margin: 0;
}

.page-hero__breadcrumb {
  background: #fff;
  display: inline-block;
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  font-size: 0.95rem;
}

.page-hero__breadcrumb a {
  color: #333;
  text-decoration: none;
  margin-right: 0.5rem;
}

.page-hero__breadcrumb span {
  margin: 0 0.5rem;
  color: #666;
}

/* Responsive */
@media (max-width:768px){
  .page-hero {
    height:240px;
  }
  .page-hero__title {
    font-size:2rem;
  }
  .page-hero__breadcrumb {
    padding:0.5rem 1rem;
    font-size:0.85rem;
  }
}









/* ----------  HERO  ---------- */
.services-hero{
  position:relative;height:45vh;min-height:300px;
  background:url('/images/services-hero.jpg') center/cover no-repeat;
}
.services-hero__overlay{
  position:absolute;inset:0;background:rgba(0,0,0,.55);
  display:flex;align-items:center;
}
.services-hero .container{max-width:1100px;margin:0 auto;padding:0 1.5rem;}
.services-hero h1{color:#fff;font-size:2.75rem;margin:0 0 .5rem;font-weight:700;}
.services-hero p{color:#fff;font-size:1.1rem;max-width:600px;line-height:1.5}

/* ----------  GRID  ---------- */
.services-grid-section{padding:4rem 0}
.section-title{text-align:center;font-size:2rem;margin-bottom:2.5rem;font-weight:600;color:#222}
.services-grid{
  display:grid;gap:2rem;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
}

/* ----------  KART  ---------- */
.svc-card{
  background:#fff;border-radius:10px;padding:2.25rem 1.75rem;
  box-shadow:0 4px 18px rgba(0,0,0,.05);
  display:flex;flex-direction:column;align-items:flex-start;
  transition:transform .25s,box-shadow .25s;
}
.svc-card:hover{transform:translateY(-6px);box-shadow:0 8px 24px rgba(0,0,0,.08);}
.svc-card i{
  font-size:2.5rem;margin-bottom:1rem;color:inherit;
}
.svc-card h3{margin:0 0 .75rem;font-size:1.25rem;font-weight:600;color:#222}
.svc-card p{flex-grow:1;margin:0 0 1.25rem;font-size:.95rem;line-height:1.45;color:#555}
.svc-card a{
  text-decoration:none;font-weight:600;
  border-bottom:2px solid currentColor;padding-bottom:2px;
}
/* ----------  RENK DİALER ---------- */
.accent-red   { color:#a71725 }
.accent-green { color:#008363 }
.accent-blue  { color:#0d6efd }
.accent-yellow{ color:#c58900 }
.accent-purple{ color:#7b2cbf }
.accent-teal  { color:#0aa5a5 }

/* ----------  RESPONSIVE tweak ---------- */
@media(max-width:768px){
  .services-hero h1{font-size:2.1rem}
  .services-hero p{font-size:1rem}
}



.contact-wrapper {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 1.25rem;
  }
  .contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
  }
  /* LEFT --------------------------------------------------------------- */
  .contact-left {
    background: #fff;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  }
  .contact-left h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary);
  }
  .contact-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
  }
  .contact-list li {
    margin-bottom: 0.75rem;
    font-size: 1rem;
    color: var(--text-dark);
  }
  .contact-list i {
    width: 22px;
    margin-right: 0.5rem;
    color: var(--primary);
  }
  .map-container {
    width: 100%;
    height: 260px;
    border-radius: 0.75rem;
    overflow: hidden;
  }
  .map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
  }
  /* RIGHT -------------------------------------------------------------- */
  .contact-form-wrapper {
    background: #fff;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  }
  .contact-form-wrapper h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary);
  }
  .form-group {
    margin-bottom: 1rem;
  }
  .form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 0.5rem;
  }
  .btn-primary {
    background: var(--primary);
    border: none;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    color: #fff;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background 0.3s ease;
  }
  .btn-primary:hover {
    background: #89121f;
  }

  /* Responsive tweaks */
  @media (max-width: 768px) {
    .contact-left h2,
    .contact-form-wrapper h2 {
      font-size: 1.5rem;
    }
  }


  /* Tüm cihazlarda varsayılan olarak hepsi gizli */
.logo-mobile,
.logo-desktop {
  display: none;
}

/* Mobil (lg altı) için mobil logoyu göster */
@media (max-width: 991.98px) {
  .logo-mobile {
    display: block;
    width: 75px !important;
    margin: 10px;
  }
}

/* Masaüstü (lg ve üstü) için masaüstü logoyu göster */
@media (min-width: 992px) {
  .logo-desktop {
    display: block;
    /* height: 50px; */
  }
}
