/* ---------- GENEL AYARLAR ---------- */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #fff;
  color: #4B0082;
  line-height: 1.6;
}

a {
  color: #7B68EE;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #4B0082;
}

/* ---------- NAVBAR ---------- */
.navbar {
  background: linear-gradient(90deg, #7B68EE, #4B0082);
  padding: 12px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(75, 0, 130, 0.3);
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.8rem;
  color: white;
  cursor: pointer;
  user-select: none;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
}

.nav-menu li {
  position: relative;
}

.nav-menu li a {
  color: white;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 8px;
  display: inline-block;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Aktif bağlantı */
.nav-menu li a.active {
  background-color: white;
  color: #7B68EE;
  font-weight: 700;
  pointer-events: none;
}

/* Diğer linklerin varsayılan rengi mor, aktif olan beyaz */
.nav-menu li a:not(.active) {
  color: #EEE9FF;
}

.nav-menu li a:hover {
  background-color: white;
  color: #7B68EE;
}

/* ---------- DROPDOWN MENÜ ---------- */
.nav-menu li.dropdown > a {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #6f42c1;
  min-width: 160px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
  z-index: 1000;
  top: 100%;
  left: 0;
  border-radius: 4px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.dropdown-content li a {
  display: block;
  padding: 10px 16px;
  color: white;
}

.dropdown-content li a:hover {
  background-color: white;
  color: #6f42c1;
}

.nav-menu li.dropdown:hover .dropdown-content {
  display: block;
}

/* ---------- SEARCH BOX ---------- */
.search-wrapper {
  position: relative;
}

.search-box {
  padding: 6px 14px;
  border-radius: 20px;
  border: none;
  outline: none;
  width: 160px;
  transition: width 0.4s ease;
}

.search-wrapper.active .search-box {
  width: 240px;
}

.search-btn {
  background: transparent;
  border: none;
  color: #7B68EE;
  cursor: pointer;
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
}

/* Dropdown menü için temel stiller */
.nav-menu li {
  position: relative;
}

.nav-menu li.dropdown > a {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Dropdown içerik */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #6f42c1;
  min-width: 160px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
  z-index: 1000;
  top: 100%;
  left: 0;
  border-radius: 4px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.dropdown-content li a {
  display: block;
  padding: 10px 14px;
  color: white;
  text-decoration: none;
  transition: background 0.3s ease;
}

.dropdown-content li a:hover {
  background-color: white;
  color: #6f42c1;
}

/* Açık olduğunda görünür */
.dropdown-content.show {
  display: block;
}

/* ---------- İÇERİK GENEL ---------- */
.content-wrapper {
  max-width: 960px;
  margin: 60px auto 40px;
  padding: 0 20px;
  text-align: center;
}

/* Başlıklar */
h1, h2, h3 {
  color: #4B0082;
  margin-bottom: 12px;
  font-weight: 800;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.5rem; }

/* Paragraflar */
p {
  font-size: 1.1rem;
  color: #6A5ACD;
  opacity: 0.85;
  margin-bottom: 24px;
  line-height: 1.5;
}

/* ---------- ÖZEL BLOKLAR (INDEX & HAKKIMDA) ---------- */
.about-blocks {
  display: flex;
  justify-content: space-around;
  margin-top: 30px;
  gap: 20px;
  flex-wrap: wrap;
}

.block {
  background-color: #904ce3; /* Açık mor */
  color: white;
  padding: 20px;
  border-radius: 10px;
  width: 250px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}

.block:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 15px rgba(255, 25, 25, 0.3);
}

.block h3 {
  margin-bottom: 15px;
  font-weight: 700;
  color: rgb(255, 255, 255);
}

.block p {
  font-size: 14px;
  line-height: 1.4;
  color: rgb(255, 255, 255);
}

/* ---------- GALERİ CAROUSEL ---------- */
.carousel-inner img {
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(75, 0, 130, 0.25);
  max-height: 400px;
  object-fit: cover;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(40%) sepia(85%) saturate(500%) hue-rotate(240deg) brightness(100%) contrast(95%);
}

/* ---------- SOSYAL MEDYA BAR ---------- */
.social-bar {
  max-width: 960px;
  margin: 0 auto 40px;
  padding: 0 20px;
  text-align: center;
}

.social-icon {
  color: #7B68EE;
  margin: 0 12px;
  font-size: 1.8rem;
  position: relative;
  text-decoration: none;
  transition: color 0.3s ease;
}

.social-icon:hover {
  color: #4B0082;
}

.tooltip-text {
  visibility: hidden;
  background-color: #4B0082;
  color: white;
  text-align: center;
  border-radius: 4px;
  padding: 4px 7px;
  position: absolute;
  bottom: 130%;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 0.75rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.social-icon:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}

/* ---------- İLETİŞİM FORMU ---------- */
form {
  max-width: 500px;
  margin: 0 auto 40px;
  background-color: #f5f0ff;
  padding: 30px 25px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(123, 104, 238, 0.2);
  text-align: left;
}

form label {
  display: block;
  margin-bottom: 8px;
  color: #4B0082;
  font-weight: 600;
}

form input[type="text"],
form input[type="email"],
form textarea {
  width: 100%;
  padding: 10px 14px;
  margin-bottom: 20px;
  border: 1.5px solid #7B68EE;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

form input[type="text"]:focus,
form input[type="email"]:focus,
form textarea:focus {
  border-color: #4B0082;
  outline: none;
}

form textarea {
  resize: vertical;
  min-height: 100px;
}

form button {
  background: linear-gradient(90deg, #7B68EE, #4B0082);
  color: white;
  border: none;
  padding: 12px 25px;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 25px;
  cursor: pointer;
  transition: background 0.3s ease;
}

form button:hover {
  background: linear-gradient(90deg, #4B0082, #7B68EE);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
  .about-blocks {
    flex-direction: column;
    align-items: center;
  }

  .block {
    width: 90%;
  }

  .nav-menu {
    gap: 16px;
    flex-direction: column;
  }

  .search-box {
    width: 100px;
  }

  .search-wrapper.active .search-box {
    width: 180px;
  }
}
.about-blocks {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 40px;
}

.block {
  background-color: #7B68EE !important;
  color: white !important;
  padding: 20px;
  border-radius: 12px;
  width: 300px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1) !important;
  text-align: center;
  transition: transform 0.3s ease !important;
}

.block:hover {
  transform: scale(1.05) !important;
}

.custom-block {
  display: block;
  background-color: #f5f5dc !important;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
  text-align: center;
  color: #333 !important;
  text-decoration: none;
  transition: all 0.3s ease !important;
  width: 640px;
}

.custom-block:hover {
  background-color: #7B68EE !important;
  color: rgb(199, 66, 239) !important;
  transform: translateY(-5px) !important;
  box-shadow: 0 8px 16px rgba(0,0,0,0.2) !important;
}
 .social-bar {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 40px;
  }

  .social-icon-mor {
    background-color: #6f42c1;
    color: white;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s, transform 0.3s;
    text-decoration: none;
  }

  .social-icon-mor:hover {
    background-color: #5a32a3;
    transform: scale(1.1);
  }

  footer {
    background-color: #6f42c1;
    color: white;
    text-align: center;
    padding: 15px 10px;
    margin: 0;
  }