/* styles.css */

/* 1) Temel HTML ve BODY ayarları */
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow-x: hidden;
  font-family: Arial, sans-serif;
}

/* 2) Body => Flex Container (Footer alta sabitlemek) */
body {
  display: flex;
  flex-direction: column;
  /* Arka plan resmi */
  background: url("background-image.webp") center center / cover no-repeat;
  color: #fff;
  position: relative;
}

/* 3) Overlay */
body::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.7);
  pointer-events: none;
  z-index: 0;
}

/* 4) Header */
header {
  position: relative;
  z-index: 1;
  width: 100%;
  background-color: rgba(0,0,50,0.7);
  border-bottom: 1px solid rgba(0,0,50,0.7);
}

/* 4.1) İçerik: max-width ile ortalama */
.header-content {
  max-width: 1200px;   /* Sayfa genişliği izin verdiği kadar */
  margin: 0 auto;      /* Ortalar */
  padding: 10px 20px;

  display: flex;
  align-items: center;
  justify-content: space-between; /* Logo solda, menü sağda */
}

/* Logo Container */
.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-container svg {
  width: 48px;
  height: 48px;
  fill: #49A9EB;
}

.logo-text {
  font-size: 24px;
  font-weight: bold;
  color: #fff;
}

/* Navigation */
nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  padding: 0;
  margin: 0;
}

nav ul li a {
  text-decoration: none;
  color: #fff;
  font-size: 16px;
  padding: 5px 10px;
  border-radius: 5px;
  border: 1px solid rgba(255,255,255,0.3);
  transition: background-color 0.3s;
}

nav ul li a:hover {
  background-color: rgba(255,255,255,0.2);
}

nav ul li.active a {
  background-color: rgba(255,255,255,0.4);
  color: #fff;
}

/* Main içerik */
main {
  position: relative;
  z-index: 1;
  flex: 1 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
}

/* Metinlere gölge */
main h1,
main p,
main li {
  text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

/* İletişim sayfası metin kutusu */
.contact-content {
  display: flex;
  flex-direction: column; /* Paragraflar üst üste sıralansın */
  gap: 1rem;              /* Paragraflar arasında boşluk */
  max-width: 800px;       /* Metin genişliği sınırlı */
  margin: 0 auto;         /* Ortaya al */
  text-align: left;       /* Paragraflar sola dayalı */
}


/* Footer alta sabit */
footer {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  background-color: rgba(0, 0, 50, 0.7);
  border-top: 1px solid rgba(0, 0, 50, 0.7);
  padding: 15px;
  text-align: center;
}

/* Sosyal Medya */
.social-media {
  margin-top: 8px;
  display: flex;
  justify-content: center;
  gap: 12px;
}
.social-media a {
  text-decoration: none;
  color: #fff;
  transition: color 0.3s;
  display: flex;
  align-items: center;
}
.social-media a:hover {
  color: #f0f0f0;
}
.social-media svg {
  width: 32px;
  height: 32px;
}

/* .btn-download (örnek buton) */
.btn-download {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 12px;
  background-color: rgba(40,167,69,0.8);
  color: #fff;
  border-radius: 4px;
  text-decoration: none;
  transition: background-color 0.3s;
}
.btn-download:hover {
  background-color: rgba(33,136,56,0.8);
}

/* Responsive */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    gap: 10px;
  }
  nav ul {
    flex-wrap: wrap;
    justify-content: center; /* Menü ortalansın */
    gap: 10px;
  }
  main {
    padding: 10px;
    flex-direction: column;
  }
}
