/* === RESET & TEMEL === */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Outfit', sans-serif;
  background: #fafafa;
  color: #333;
  overflow-x: hidden;
}
a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}
a:hover {
  color: #e63946;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* === CONTAINER === */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* === HEADER === */
.header {
  background: #fff;
  border-bottom: 2px solid #e63946;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  padding-top: 1rem;
  padding-bottom: 1rem;
}

/* --- ÜST KISIM --- */
.header-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
  margin-bottom: 1rem;
}
.header-top .logo {
  height: 80px;
}
.header-top .logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: #e63946;
  text-transform: uppercase;
  white-space: nowrap;
}

/* --- NAVBAR --- */
.navbar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  background: #fff;
  border: 2px solid #e63946;
  border-radius: 10px;
  padding: 0.75rem 1rem;
}

/* Menü listesi */
.nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: center;
  align-items: center;
  flex: 1;
}

/* Menü linkleri */
.nav-list a {
  font-size: 1rem;
  font-weight: 600;
  position: relative;
  padding-bottom: 0.25rem;
  white-space: nowrap;
  color: #333;
}
.nav-list a::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0%;
  height: 2px;
  background: #e63946;
  transition: width 0.3s;
}
.nav-list a:hover::after,
.nav-list a.active::after {
  width: 100%;
}

/* === DROPDOWN CONTAINER === */
.dropdown {
  position: relative;
}

/* Başlık linki (toggle) */
.dropdown > a {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 0.75rem;
  font-weight: 600;
  color: #333;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.2s;
}
.dropdown > a:hover {
  color: #e63946;
}

/* Ok işaretine dönüş animasyonu */
.dropdown > a .arrow {
  display: inline-block;
  transition: transform 0.2s;
}

/* Menü başlangıçta gizli */
/* Menü başlangıçta gizli */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;             /* BAŞLIĞIN TAM ALTINA */
  left: 0;
  background: #fff;
  border: 1px solid #e63946;
  border-radius: 6px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  padding: 0.5rem 0;
  min-width: 200px;
  z-index: 1000;
  animation: fadeIn 0.2s ease-out;
}

/* Hover’la gösterme */
@media (hover: hover) {
  .dropdown:hover .dropdown-menu {
    display: block;
  }
}

/* Menü öğeleri */
.dropdown-menu li {
  list-style: none;
}
.dropdown-menu li + li {
  margin-top: 0.25rem;
}
.dropdown-menu li a {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.95rem;
  color: #333;
  transition: background 0.2s, color 0.2s;
}
.dropdown-menu li a:hover {
  background: rgba(230,57,70,0.1);
  color: #e63946;
}

/* Masaüstü hover ile gösterme */

/* Dokunmatik cihazlarda tıklama için "open" sınıfı kullan */
.dropdown.open .dropdown-menu {
  display: block;
}
.dropdown.open > a .arrow {
  transform: rotate(180deg);
}

/* Fazla geniş ekranlarda taşmayı önle */
.dropdown-menu {
  max-height: 70vh;
  overflow-y: auto;
}

/* Mobilde menüyü akışın içinde göster */
@media (max-width: 768px) {
  .dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 0;
    max-height: none;
  }
  .dropdown-menu li + li {
    margin-top: 0;
  }
  .dropdown-menu li a {
    padding: 0.75rem 0;
    border-bottom: 1px solid #eee;
  }
}
 
/* Küçük fade-in animasyonu */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* CTA butonu */
.header-cta {
  background: #e63946;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.5rem 1.2rem;
  text-transform: uppercase;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(230,57,70,0.3);
  white-space: nowrap;
  transition: background 0.2s, transform 0.2s;
  margin-left: auto;
}
.header-cta:hover {
  background: #d62828;
  transform: translateY(-2px);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .header-top .logo {
    height: 40px;
  }
  .header-top .logo-text {
    font-size: 1.25rem;
  }
  .navbar {
    flex-direction: column;
    gap: 0.75rem;
  }
  .nav-list {
    flex-direction: column;
    gap: 1rem;
  }
  .header-cta {
    width: 100%;
    text-align: center;
    margin-left: 0;
  }
}

 .contact-section {
      padding: 60px 0;
    }
    .contact-section h2 {
      font-size: 2.2rem;
      color: #e74c3c;
      text-align: center;
      margin-bottom: 20px;
    }
    .contact-section p {
      text-align: center;
      margin-bottom: 40px;
      font-size: 1.1rem;
      color: #555;
    }
    .contact-wrapper {
      display: flex;
      flex-wrap: wrap;
      gap: 40px;
      justify-content: space-between;
    }
    .contact-form {
      flex: 1 1 55%;
      display: flex;
      flex-direction: column;
      gap: 20px;
    }
    .contact-form input,
    .contact-form textarea {
      padding: 15px;
      font-size: 1rem;
      border: 1px solid #ccc;
      border-radius: 6px;
      outline: none;
      transition: border-color 0.3s ease;
    }
    .contact-form input:focus,
    .contact-form textarea:focus {
      border-color: #e74c3c;
    }
    .contact-form button {
      background-color: #e74c3c;
      color: #fff;
      border: none;
      padding: 12px;
      font-size: 1rem;
      border-radius: 6px;
      cursor: pointer;
      transition: background 0.3s ease;
    }
    .contact-form button:hover {
      background-color: #c0392b;
    }
    .contact-info {
      flex: 1 1 40%;
      background-color: #fff;
      padding: 30px;
      border-radius: 8px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }
    .contact-info h3 {
      font-size: 1.5rem;
      margin-bottom: 20px;
      color: #e74c3c;
    }
    .contact-info p {
      margin-bottom: 12px;
      font-size: 1rem;
      color: #444;
    }
    @media (max-width: 768px) {
      .contact-wrapper {
        flex-direction: column;
      }
    }


/* === SOSYAL MEDYA İKONLARI (Opsiyonel) === */
.social-icons {
  display: flex;
  gap: 12px;
  align-items: center;
}
.social-icons a {
  font-size: 18px;
  color: #333;
  transition: color 0.3s ease;
}
.social-icons a:hover {
  color: #e74c3c;
}

/* SECTION & CONTENT */
.form-section {
  padding: 60px 0;
}

.form-section h2 {
  font-size: 28px;
  margin-bottom: 15px;
  color: #333;
  text-align: center;
}

.form-section p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
  text-align: justify;
}

.form-section ul {
  list-style: disc inside;
  padding-left: 20px;
  margin-bottom: 20px;
}

.form-section ul li {
  margin-bottom: 10px;
}

.card {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  margin-bottom: 20px;
}

/* FORM BÖLÜMÜ (Form sayfaları için) */
.form-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}

.form-grid input,
.form-grid textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
}

.form-grid button {
  padding: 12px;
  background: #0073e6;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.form-grid button:hover {
  background: #005bb5;
}

/* FOOTER */
.footer {
   background-color: red;
  color: #fff;
  padding: 40px 0;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.footer-col {
  flex: 1;
  min-width: 200px;
}

.footer-col h3 {
  margin-bottom: 15px;
  font-size: 18px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a,
.footer-col p,
.footer-col a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
}

.footer-col a:hover {
  text-decoration: underline;
}

.footer-logo img {
  max-width: 150px;
  margin-bottom: 15px;
}

.social-icons {
  margin-top: 10px;
  display: flex;
  gap: 10px;
}

.social-icons a {
  background: #fff;
  color: #333;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s, background 0.3s;
}

.social-icons a:hover {
  background: #ff3333;
  color: #fff;
  transform: scale(1.1);
}

.footer-bottom {
  text-align: center;
  padding: 15px 0;
  background: #c0392b;
  font-size: 14px;
}
