/* ========== GENEL AYARLAR ========== */
:root {
  --brand: #0074D9;
  --dark: #111;
  --muted: #666;
}

html {
  overflow-y: scroll;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background-color: #f5f7fa;
  color: #222;
  line-height: 1.6;
}

/* ========== HEADER ========== */
header {
  background-color: var(--brand);
  color: white;
  padding: 18px 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 1000;
}

header .container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 0 18px;
  overflow: visible;
}

header h1,
header p {
  color: #fff !important;
}

header h1 {
  margin: 0;
  font-size: 20px;
}

header p {
  margin: 0;
  font-size: 13px;
  margin-top: 4px;
  color: #e6f2ff;
}

/* ========== NAVİGASYON ========== */
nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  padding: 8px 12px;
  border-radius: 4px;
  transition: background 0.2s ease, opacity 0.2s ease;
}

nav a:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* ========== DROPDOWN MENÜ ========== */
.dropdown {
  position: relative;
  display: inline-block;
  z-index: 2000;
}

/* Hover alanı kaybolmasın diye görünmez köprü alanı */
.dropdown::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 12px;
  top: 100%;
  background: transparent;
}

/* Buton */
.dropbtn {
  background: transparent;
  border: none;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  padding: 8px 12px;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.2s ease;
}

.dropbtn:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* Dropdown içeriği */
.dropdown-content {
  position: absolute;
  left: 0;
  background-color: #fff;
  min-width: 220px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
  border-radius: 6px;
  top: calc(100% + 10px);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

/* Menü göründüğünde */
.dropdown:hover .dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

/* Menü içi linkler */
.dropdown-content a {
  color: #111;
  padding: 10px 16px;
  display: block;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: background 0.1s ease;
}

.dropdown-content a:hover {
  background-color: #f0f0f0;
}

/* Hover kapanma gecikmesi */
.dropdown-content,
.dropdown:hover .dropdown-content {
  transition-delay: 0.1s;
}

/* ========== ANA İÇERİK ========== */
main {
  padding: 60px 20px;
  max-width: 1000px;
  margin: auto;
}

main h2 {
  color: var(--brand);
  font-size: 28px;
  margin-bottom: 15px;
}

main p {
  font-size: 17px;
  line-height: 1.6;
  color: #444;
}

/* ========== BUTON ========== */
.call-btn {
  display: inline-block;
  background: var(--brand);
  color: white;
  text-decoration: none;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 8px;
  margin: 20px 0;
  font-size: 18px;
  transition: background 0.3s ease;
}

.call-btn:hover {
  background: #005fa3;
}

/* ========== ÖZELLİK KUTULARI ========== */
.features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 30px;
}

.feature-box {
  flex: 1 1 calc(25% - 14px);
  min-width: 200px;
  max-width: 250px;
  background: #f7f9fc;
  border: 1px solid #e1e5ea;
  border-radius: 8px;
  text-align: center;
  padding: 14px 8px;
  font-weight: 600;
  color: #004a99;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.feature-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

/* ========== YORUMLAR ========== */
.reviews {
  margin-top: 40px;
  text-align: left;
}

.review {
  background: #fff;
  padding: 15px;
  margin-bottom: 12px;
  border-radius: 8px;
  border: 1px solid #e1e5ea;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.review strong {
  color: #0074D9;
}

.stars {
  color: gold;
  font-size: 16px;
}

/* ========== FOOTER ========== */
footer {
  background-color: var(--dark);
  color: #ddd;
  text-align: center;
  padding: 20px 10px;
  font-size: 14px;
  margin-top: 60px;
}

footer a {
  color: #fff;
  text-decoration: none;
  margin: 0 8px;
}

footer a:hover {
  text-decoration: underline;
}

/* ========== MOBİL UYUMLULUK ========== */
@media (max-width: 768px) {
  header .container {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  nav {
    justify-content: center;
    flex-wrap: wrap;
  }

  .dropdown-content {
    position: static;
    box-shadow: none;
    background: #fff;
    margin-top: 6px;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    pointer-events: auto !important;
  }

  .dropdown-content a {
    border-bottom: 1px solid #eee;
  }
}
