/* ===== FEEDBACK SECTION ===== */
.feedback {
  padding: 8rem 0;
  background: transparent;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

/* Parallax Background */
.feedback::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('../images/1774406312_dddd.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  transform: scale(1.1);
  will-change: transform;
  z-index: -2;
}

/* Overlay for better text visibility */
.feedback::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0.8) 100%);
  pointer-events: none;
  z-index: -1;
}

.feedback .section-header h2,
.feedback .section-header p {
  color: #ffffff !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  position: relative;
  z-index: 1;
}

/* ===== FEEDBACK DISPLAY - ONE AT A TIME ===== */
.feedback-display {
  position: relative;
  max-width: 600px;
  margin: 4rem auto 0;
  z-index: 1;
  text-align: center;
  overflow: hidden;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feedback-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feedback-item {
  flex: 0 0 auto;
  width: 100%;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInSlide 0.8s ease forwards;
}

@keyframes fadeInSlide {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.guest-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  color: white;
  background: linear-gradient(135deg, #d4af37 0%, #ffd700 50%, #b8860b 100%);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
  overflow: hidden;
  border: 4px solid rgba(255, 255, 255, 0.9);
  transition: transform 0.3s ease;
}

.guest-avatar:hover {
  transform: scale(1.05);
}

.guest-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.guest-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  margin-bottom: 0.5rem;
}

.guest-rating {
  font-size: 1.5rem;
  color: #ffd700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.guest-feedback {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #ffffff;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  font-style: italic;
  position: relative;
  max-width: 500px;
  margin: 0 auto;
}

.guest-feedback::before,
.guest-feedback::after {
  content: '"';
  font-size: 2rem;
  color: rgba(255, 215, 0, 0.6);
  font-family: Georgia, serif;
}

.guest-feedback::before {
  position: absolute;
  top: -10px;
  left: -20px;
}

.guest-feedback::after {
  position: absolute;
  bottom: -30px;
  right: -20px;
}

.read-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #d4af37 0%, #ffd700 50%, #b8860b 100%);
  border: none;
  color: #1a1a1a;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
  margin-top: 1rem;
}

.read-more-btn:hover {
  background: linear-gradient(135deg, #b8860b 0%, #d4af37 50%, #8b6914 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
  .feedback {
    padding: 6rem 0;
  }
  
  .feedback-display {
    max-width: 500px;
    height: 350px;
  }
  
  .feedback-item {
    padding: 1.5rem;
    gap: 1rem;
  }
  
  .guest-avatar {
    width: 80px;
    height: 80px;
    font-size: 1.5rem;
  }
  
  .guest-name {
    font-size: 1.25rem;
  }
  
  .guest-rating {
    font-size: 1.25rem;
  }
  
  .guest-feedback {
    font-size: 1rem;
    max-width: 400px;
  }
}

@media (max-width: 480px) {
  .feedback-display {
    max-width: 400px;
    height: 320px;
  }
  
  .feedback-item {
    padding: 1rem;
    gap: 0.75rem;
  }
  
  .guest-avatar {
    width: 70px;
    height: 70px;
    font-size: 1.25rem;
  }
  
  .guest-name {
    font-size: 1.1rem;
  }
  
  .guest-rating {
    font-size: 1.1rem;
  }
  
  .guest-feedback {
    font-size: 0.95rem;
  }
  
  .guest-feedback::before,
  .guest-feedback::after {
    font-size: 1.5rem;
  }
  
  .guest-feedback::before {
    left: -15px;
  }
  
  .guest-feedback::after {
    right: -15px;
  }
}

/* Enhanced User-Friendly Design */
.feedback-stats {
  display: flex;
  justify-content: center;
  gap: 4rem;
  margin-bottom: 4rem;
  position: relative;
  z-index: 1;
}

.stat-item {
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.stat-label {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

/* Bootstrap Utility Classes Override */
.feedback .text-center {
  color: #ffffff !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.feedback .mb-4 {
  margin-bottom: 2rem !important;
}

.feedback .mt-4 {
  margin-top: 2rem !important;
}

/* Bootstrap Responsive Design */
@media (max-width: 768px) {
  .feedback-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .stat-number {
    font-size: 2rem;
  }
}

/* Additional styles for better visibility */
.feedback-item {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 2rem;
}

.feedback-item:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-5px);
}
