.hero-section {
  /* Background will be set via inline styles in PHP */
  height: 100vh;
  display: flex;
  align-items: center;
  color: white;
  position: relative;
  overflow: hidden;
  padding-top: 120px; /* Add padding to account for floating navbar */
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    45deg,
    rgba(40, 167, 69, 0.1),
    rgba(0, 123, 255, 0.1)
  );
  animation: gradientShift 8s ease-in-out infinite;
}

@keyframes gradientShift {
  0%,
  100% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.1;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  animation: fadeInUp 1.2s ease-out;
}

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

.hero-title {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  letter-spacing: -1px;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.3rem;
  font-weight: 300;
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-hero {
  padding: 15px 35px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
}

.btn-hero-primary {
  background: linear-gradient(135deg, #28a745, #20c997);
  border: 2px solid transparent;
  color: white;
}

.btn-hero-primary:hover {
  background: linear-gradient(135deg, #20c997, #28a745);
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(40, 167, 69, 0.4);
  color: white;
}

.btn-hero-outline {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
}

.btn-hero-outline:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: white;
  transform: translateY(-3px);
  color: white;
}

.hero-features {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 3rem;
  color: white;
  z-index: 2;
}

.hero-feature-item {
  text-align: center;
  animation: fadeInUp 1.2s ease-out 0.5s both;
}

.hero-feature-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: #28a745;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-feature-text {
  font-size: 0.9rem;
  font-weight: 500;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.navbar-modern {
  background: rgba(33, 37, 41, 0.95) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.navbar-brand {
  font-weight: bold;
  font-size: 1.5rem;
  background: linear-gradient(135deg, #28a745, #20c997);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.navbar-nav .nav-link {
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.navbar-nav .nav-link:hover {
  color: #28a745 !important;
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(135deg, #28a745, #20c997);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after {
  width: 80%;
}

@media (max-width: 768px) {
  .hero-section {
    background-attachment: scroll; /* Fixed attachment mobilde sorun çıkarabilir */
    height: 100vh;
    min-height: 600px; /* Minimum yükseklik ekle */
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn-hero {
    width: 280px;
    justify-content: center;
  }

  .hero-features {
    flex-direction: column;
    gap: 1rem;
    bottom: 20px;
  }

  .hero-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 0, 0, 0.3);
    padding: 10px 15px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
  }

  .hero-feature-icon {
    font-size: 1.5rem;
    margin-bottom: 0;
  }
}

@media (max-width: 991.98px) {
  .hero-section {
    padding-top: 80px;
    min-height: 100vh; /* Ensure full height on mobile */
  }
}

.section-padding {
  padding: 80px 0;
}

.feature-icon {
  font-size: 3rem;
  color: #28a745;
  margin-bottom: 1rem;
}

.room-card {
  transition: transform 0.3s;
  border: none;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.room-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.contact-info {
  background-color: #f8f9fa;
}

/* Additional modern styles */
.card {
  border: none;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.card:hover {
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.btn {
  border-radius: 25px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-success {
  background: linear-gradient(135deg, #28a745, #20c997);
  border: none;
}

.btn-success:hover {
  background: linear-gradient(135deg, #20c997, #28a745);
  transform: translateY(-2px);
}

.form-control {
  border-radius: 10px;
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: #28a745;
  box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

.alert {
  border-radius: 10px;
  border: none;
}

/* Footer styles */
footer {
  background: linear-gradient(135deg, #212529, #495057) !important;
}

.social-links a {
  display: inline-block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: #28a745;
  transform: translateY(-3px);
}
