/* Reset & Temel */
* {
  margin: 0; padding: 0; box-sizing: border-box;
}
body {
  font-family: 'Inter', sans-serif;
  background: linear-gradient(to bottom, #f5f7fa, #ffffff);
  color: #333;
  line-height: 1.6;
  overflow-x: hidden;
}
a {
  text-decoration: none;
  cursor: pointer;
}
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 0;
}

/* Header */
#header-container > header {
  position: sticky;
  top: 0;
  z-index: 9999;
  background-color: #0c4076;
  color: white;
  padding: 0 40px; /* Sağı solu artır */
  width: 100%;
  box-shadow: 0 2px 8px rgb(0 0 0 / 0.15);
  height: 65px;
  display: flex;
  align-items: center;
  /* overflow: hidden;  -- kaldır */
}

.navbar {
  display: flex;
  justify-content: space-between;  /* Logo sola, menü sağa */
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;             /* Ortala */
  padding: 0 20px;                 /* Sağ-sol iç boşluk */
  gap: 20px;                       /* Mobilde çakışmaları engeller */
  flex-wrap: nowrap;              /* Tek satır kal */
  overflow-x: hidden;             /* Taşmaları engelle */
}


.site-logo {
  margin-left: 0;         /* Soldan boşluk kaldırıldı */
  flex-shrink: 0;
  display: flex;          /* Yatayda hizalama için */
  justify-content: flex-start;
  align-items: center;
}

.site-logo img {
  width: 200px;
  height: auto;           /* Otomatik oran koruma */
  margin-top: 6px;
  margin-bottom: 2px;
  margin-left: 0;         /* Gereksiz boşluk varsa */
  transition: transform 0.3s ease;
}



@media (max-width: 1024px) {
  .site-logo img {
    width: 150px;
  }
}

@media (max-width: 480px) {
  .site-logo {
    margin-left: 0;
    align-items: flex-start;
    justify-content: flex-start;
  }

  .site-logo img {
    width: 150px;
    margin-left: 0;
  }
}

.site-logo img:hover {
  transform: scale(1.05);
}


.nav-links {
  list-style: none;
  display: flex;
  flex-wrap: nowrap;     /* Tek satır */
  margin: 0;
  padding: 0;
  overflow: visible;     /* Kaydırma yok */
}

.nav-links > li + li {
  margin-left: 24px;
}

.nav-links li a {
  color: white;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 4px;
  white-space: nowrap;
  transition: background-color 0.3s ease;
}

.nav-links li a:hover,
.nav-links li a:focus {
  background-color: #c6363c;
  color: white;
  outline: none;
}


.sticky-social-right-bottom {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 10000;
  background: rgba(255, 255, 255, 0.05);
  padding: 8px;
  border-radius: 12px;
  backdrop-filter: blur(6px);
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

.sticky-social-right-bottom a {
  display: block;
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: brightness(85%);
}

.sticky-social-right-bottom a:hover,
.sticky-social-right-bottom a:focus {
  transform: scale(1.15);
  filter: brightness(110%);
}

.sticky-social-right-bottom img {
  width: 48px;
  height: 48px;
  max-width: 100%;
}

/* Mobilde daha küçük ikonlar */
@media (max-width: 480px) {
  .sticky-social-right-bottom img {
    width: 36px;
    height: 36px;
  }

  .sticky-social-right-bottom {
    bottom: 16px;
    right: 16px;
    gap: 10px;
    padding: 6px;
  }
}



/* Hero */
.hero {
  background: url('../img/hero-bg.jpg') no-repeat center center/cover;
  color: white;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(12, 64, 118, 0.6);
  z-index: 0;
}
.hero > .container {
  position: relative;
  z-index: 1;
  max-width: 700px;
}
.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(0,0,0,0.6);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s ease forwards;
  animation-delay: 0.3s;
}
.hero p {
  font-size: 1.4rem;
  margin-bottom: 30px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.5);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s ease forwards;
  animation-delay: 0.6s;
}
.btn-primary {
  background-color: #c6363c;
  color: white;
  padding: 15px 40px;
  font-weight: 700;
  border-radius: 6px;
  box-shadow: 0 6px 12px rgba(198, 54, 60, 0.5);
  transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;

  display: block;                /* Ortalamaya uygun hale getir */
  width: fit-content;            /* İçeriğe göre genişlik */
  margin: 30px auto 0;           /* Üstten boşluk + yatay ortalama */

  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s ease forwards;
  animation-delay: 0.9s;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: #9e2b2f;
  box-shadow: 0 8px 20px rgba(158, 43, 47, 0.7);
  transform: translateY(-3px);
  outline: none;
}


/* Section Titles */
.section-title {
  font-size: 2.6rem;
  text-align: center;
  color: #0c4076;
  margin-bottom: 50px;
  font-weight: 700;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.section-title.active {
  opacity: 1;
  transform: translateY(0);
}

/* Hizmet Kartları */
.card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  justify-content: center;
  margin-bottom: 50px;
}
.card {
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgb(0 0 0 / 0.1);
  padding: 25px 20px 35px;
  flex: 1 1 280px;
  max-width: 300px;
  text-align: center;
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1), box-shadow 0.4s ease, border-color 0.4s ease;
  cursor: default;
  will-change: transform;
}
.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 35px rgba(198,54,60,0.3);
  border: 2px solid #c6363c;
}

.card img {
  width: 60px;
  margin-bottom: 20px;
  filter: brightness(0) invert(0.4); /* gri ton, hover efektiyle renk verilebilir */
  transition: filter 0.3s ease;
}

.card:hover img {
  filter: none;
}

.card h3 {
  color: #0c4076;
  margin-bottom: 15px;
  font-weight: 700;
  font-size: 1.4rem;
}

.card p {
  font-size: 1rem;
  color: #444;
  line-height: 1.5;
  font-weight: 500;
}
.btn-secondary {
  background-color: #0c4076;
  color: white;
  padding: 10px 28px;
  border-radius: 5px;
  font-weight: 600;
  box-shadow: 0 4px 8px rgba(12,64,118,0.4);
  transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
  display: inline-block;
}
.btn-secondary:hover,
.btn-secondary:focus {
  background-color: #08426a;
  box-shadow: 0 6px 14px rgba(8,66,106,0.6);
  transform: translateY(-3px);
  outline: none;
}

/* Neden Sırbistan ve İletişim Arka Planları */
.neden-sirbistan, .iletisim-bilgileri {
  background-color: #f0f4f8;
  padding: 60px 0 80px;
  border-radius: 12px;
  box-shadow: inset 0 0 50px #d7dde3;
  margin-bottom: 50px;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.neden-sirbistan.active,
.iletisim-bilgileri.active {
  opacity: 1;
  transform: translateY(0);
}
.neden-sirbistan ul {
  list-style-type: disc;
  padding-left: 25px;
  color: #444;
  max-width: 650px;
  margin: 0 auto 35px auto;
  font-size: 1.1rem;
  line-height: 1.5;
}
.neden-sirbistan a.btn-primary {
  display: inline-block;
  margin-top: 10px;
}

/* Sosyal Medya */
.sosyal-medya {
  padding-bottom: 80px;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.sosyal-medya.active {
  opacity: 1;
  transform: translateY(0);
}
/* Social Icons */
.social-icons {
  display: flex;
  align-items: center;
  margin-left: auto;
}
.social-icons > a + a {
  margin-left: 20px;
}
.social-icons a img {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}
.social-icons a:hover img {
  transform: scale(1.1);
}

/* Mobilde sosyal ikonlar */
.mobile-social-icons {
  display: flex;
  justify-content: center;
}
.mobile-social-icons > a + a {
  margin-left: 20px;
}
.mobile-social-icons a img {
  width: 28px;
  height: 28px;
}


html {
  scroll-padding-top: 70px; /* Menü yüksekliğine göre ayarla */
}

.social-icons {
  display: flex;
  gap: 15px;
  align-items: center;
  margin-left: auto; /* Menüden sağa yaslamak için */
}

.social-icons a img {
  width: 24px;
  height: 24px;
  /* filter satırını kaldırın */
  transition: transform 0.3s ease;
}

.social-icons a:hover img {
  transform: scale(1.1); /* isteğe bağlı büyütme efekti */
}


/* Mobilde sosyal ikonlar */
.mobile-social-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 1rem 0;
}

.mobile-social-icons a img {
  width: 28px;
  height: 28px;
}


/* İletişim Bilgileri */
.iletisim-bilgileri ul {
  list-style: none;
  max-width: 400px;
  margin: 20px auto 0 auto;
  font-weight: 600;
  color: #0c4076;
}
.iletisim-bilgileri ul li {
  margin-bottom: 12px;
  font-size: 1.1rem;
}
.iletisim-bilgileri a {
  color: #c6363c;
  transition: color 0.3s ease;
}
.iletisim-bilgileri a:hover {
  color: #9e2b2f;
  text-decoration: underline;
}

.social-previews {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin-top: 2rem;
}

.social-card {
  background: #f0f4f8;
  border-radius: 8px;
  padding: 1rem;
  width: 350px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  min-height: 500px; /* Hepsi aynı yükseklikte olsun */
}

.social-card h3 {
  margin-bottom: 0.5rem;
  color: #0c4076;
}

.social-card p {
  margin-bottom: 1rem;
  font-weight: 500;
}

.social-card iframe,
.social-card blockquote {
  width: 100%;
  aspect-ratio: 9 / 16;
  border: none;
  border-radius: 6px;
  margin-bottom: 1rem;
}

.social-card .btn-secondary {
  display: inline-block;
  margin-top: auto;
  padding: 0.5rem 1rem;
  background-color: #c6363c;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease;
}

.social-card .btn-secondary:hover {
  background-color: #9e2b2f;
}



/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  z-index: 1001;
  user-select: none;
}
.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: white;
  border-radius: 2px;
  transition: 0.3s ease;
  margin-bottom: 5px;
}
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 900px) {
  .hamburger {
    display: flex;
  }
  .desktop-menu {
    display: none;
  }
}

/* Mobil Menü */
.mobile-menu {
  max-height: 0;
  overflow: hidden;
  background-color: #0c4076;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  transition: max-height 0.35s ease;
  z-index: 1000;
}
.mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}
.mobile-menu ul li {
  margin: 12px 0;
}
.mobile-menu ul li a {
  color: white;
  font-weight: 600;
  font-size: 1.1rem;
}
.mobile-menu.active {
  max-height: 400px;
  padding: 20px 0;
}

/* Responsive */
@media (max-width: 900px) {
  .hamburger {
    display: flex;
  }
  .desktop-menu {
    display: none;
  }
}


/* Footer */
footer {
  background-color: #0c4076;
  color: white;
  padding: 30px 20px;
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.15);
  user-select: none;
}
footer .footer-content p {
  margin: 8px 0;
}
footer .footer-content a {
  color: #c6363c;
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 600;
}
footer .footer-content a:hover,
footer .footer-content a:focus {
  color: #9e2b2f;
  text-decoration: underline;
  outline: none;
}
footer .footer-content p + p {
  margin-top: 12px;
}

/* Animasyon Keyframes */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 900px) {
  .hero h1 {
    font-size: 2.8rem;
  }
  .hero p {
    font-size: 1.2rem;
  }
  .section-title {
    font-size: 2.2rem;
  }
  .card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  margin-bottom: 50px;
}
  .card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgb(0 0 0 / 0.12);
  padding: 30px 25px;
  flex: 1 1 280px;
  max-width: 320px;
  text-align: center;
  transition: transform 0.35s cubic-bezier(0.22,1,0.36,1), box-shadow 0.35s ease;
  cursor: default;
}
  .social-icons {
    gap: 30px;
  }
}
@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }
  .hero p {
    font-size: 1rem;
  }
  .btn-primary {
    padding: 12px 28px;
  }
  .section-title {
    font-size: 1.8rem;
  }
  footer .footer-content {
    font-size: 0.9rem;
  }
}
