/* Global Ayarlar */
body {
  font-family: "Poppins", sans-serif;
  scroll-behavior: smooth;
}

/* Navbar */
.navbar {
  transition: 0.3s;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

.navbar a.nav-link {
  font-size: 17px;
  font-weight: 500;
}

#hero {
  height: 100vh;
  background: url("../projects/acelya-logo.png") center/contain no-repeat;
  background-color: #6b4226;
  padding: 0 20px;
  position: relative;
}

/* Hero karartma efekti */
#hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

#hero div {
  position: relative;
  z-index: 2;
}

/* Proje Kartları */
.project-card {
  background: #fff;
  padding: 10px;
  border-radius: 10px;
  transition: 0.3s;
  cursor: pointer;
  text-align: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.project-card img {
  /*
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 10px;
    transition: 0.3s;
    */

  display: block;
  width: 100%;
  height: 220px; /* daha dengeli yükseklik */
  max-height: 320px; /* çok büyük ekranlarda sınır */
  object-fit: cover;
  object-position: center;
  border-radius: 10px;
  transition: 0.3s;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.project-card:hover img {
  filter: brightness(0.7);
}

/* İletişim formu */
form input,
form textarea {
  border-radius: 8px;
  border: 1px solid #ccc;
  padding: 12px;
}

form button {
  padding: 12px;
  border-radius: 8px;
  font-size: 18px;
}

/* Footer */
footer {
  font-size: 15px;
}

/* Responsive Düzenlemeler */
@media (max-width: 768px) {
  #hero h1 {
    font-size: 32px;
  }

  .project-card img {
    height: 200px;
  }
}

@media (max-width: 576px) {
  #hero {
    height: 85vh;
  }

  #hero h1 {
    font-size: 26px;
  }

  .navbar-brand {
    font-size: 24px !important;
  }
}

/* Proje detay - küçük görseller */
.project-thumbnails {
  display: flex;
  flex-wrap: wrap; /* 🔥 taşmayı bitiren satır */
  gap: 10px;
  margin-bottom: 10px;
}

.project-thumbnails img {
  width: 110px;
  height: 80px;
  object-fit: cover;
  cursor: pointer;
}

/* İletişim Kartları */
.contact-card {
  display: block;
  background: #fff;
  padding: 30px 20px;
  border-radius: 12px;
  text-decoration: none;
  color: #000;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: 0.3s;
  height: 100%;              /* Kartlar eşit boy olsun */
  word-wrap: break-word;     /* Uzun kelimeleri kır */
  overflow-wrap: break-word; /* Modern tarayıcılar için */
  text-align: center;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  color: #000;
}

.contact-card h5 {
  font-weight: 600;
  margin-bottom: 10px;
}

.contact-card p {
  margin: 0;
  font-size: 15px;   /* 16 yerine 15 */
  color: #555;
  word-break: break-word; /* Mail ve Instagram için kırılma */
}

.contact-card .bi-instagram {
  color: #E1306C; /* Instagram pembe */
  margin-right: 6px;
  font-size: 20px;
  vertical-align: middle;
}

.whatsapp-icon {
  margin-left: 8px;
  color: #25D366; /* WhatsApp yeşili */
  font-size: 22px;
  vertical-align: middle;
  transition: 0.2s;
}

.whatsapp-icon:hover {
  color: #1ebe5d;
  transform: scale(1.1);
}

/* Tema değiştirme butonu */
/*.theme-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  border: none;
  background: #fff;
  color: #000;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  cursor: pointer;
  font-size: 20px;
  z-index: 9999;
  transition: 0.3s;
}*/

.theme-toggle:hover {
  transform: scale(1.05);
}

/* Dark mode genel */
body.dark-mode {
  background-color: #0f172a; /* koyu lacivertimsi */
  color: #e5e7eb;
}

/* Kartlar dark mode */
body.dark-mode .contact-card {
  background: #111827;
  color: #e5e7eb;
}

body.dark-mode .contact-card p {
  color: #cbd5f5;
}

/* Buton dark mode */
body.dark-mode .theme-toggle {
  background: #111827;
  color: #facc15; /* sarımsı güneş rengi */
}

/* Navbar tema butonu */
.theme-toggle-btn {
  border: none;
  background: transparent;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  padding: 6px 8px;
  border-radius: 6px;
  transition: 0.2s;
}

.theme-toggle-btn:hover {
  background-color: rgba(255,255,255,0.15);
}

/* Dark mode genel */
body.dark-mode {
  background-color: #0f172a;
  color: #e5e7eb;
}

body.dark-mode .contact-card {
  background: #111827;
  color: #e5e7eb;
}

body.dark-mode .contact-card p {
  color: #cbd5f5;
}

.project-info {
  display: none;
}