/* ====== YORUM BAŞLIĞI ====== */
.comments-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 25px;
}

/* ====== YORUM EKLE BUTONU ====== */
.add-comment-btn {
  font-family: "Cardo", serif;
  font-size: 18px;
  font-weight: bold;
  color: white;
  border: none;
  border-radius: 50px;
  background: linear-gradient(to right, #a5acb9, #303643);
  padding: 8px 20px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.add-comment-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* ====== YORUM KARTLARI ====== */
.comment-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 10px;
}

.comment-card {
  background: linear-gradient(to bottom, #d6d6d6, #bdbdbd);
  padding: 15px 20px;
  border-radius: 10px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.comment-card a {
  text-decoration: underline;
  color: #000;
  font-weight: bold;
  margin-bottom: 8px;
}

.comment-card h4 {
  font-weight: bold;
  margin-bottom: 8px;
}

.comment-date {
  display: block;
  margin-top: 5px;
  font-size: 13px;
  opacity: 0.7;
}

/* ====== MODAL ====== */
.comment-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  z-index: 2000;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s ease;
}

.comment-modal.active {
  display: flex;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* ====== MODAL İÇİ ====== */
.comment-modal-content {
  background: linear-gradient(to bottom right, #ffffff, #e8e8e8);
  padding: 35px 40px;
  border-radius: 18px;
  width: 420px;
  max-width: 90%;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  position: relative;
  animation: scaleUp 0.25s ease;
}

@keyframes scaleUp {
  from {
    transform: scale(0.85);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Kapatma tuşu */
.close-modal {
  position: absolute;
  right: 18px;
  top: 12px;
  font-size: 30px;
  color: #731919;
  cursor: pointer;
  font-weight: bold;
  transition: 0.2s ease;
}

.close-modal:hover {
  transform: scale(1.15);
  color: #e52b2b;
}

/* Form Elemanları */
#comment-form textarea {
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  border: none;
  margin-bottom: 20px;
  font-family: "Cardo", serif;
  background: linear-gradient(to bottom, #dfdcda, #b0aca7);
  outline: none;
  resize: none;
}

.submit-comment-btn {
  border: none;
  padding: 12px 30px;
  border-radius: 50px;
  background: linear-gradient(to right, #ff3131, #ff914d);
  color: #fff;
  font-weight: bold;
  font-size: 17px;
  cursor: pointer;
  transition: 0.2s ease;
}

.submit-comment-btn:hover {
  transform: scale(1.08);
}
