/* General Styling */
body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  background-color: #f5f5f5;
  color: #333;
}

/* Hero Section */
.hero {
  position: relative;
  height: 90vh;
  background: url('../../assets/images/img-batch-2/51.jpeg') no-repeat center center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 3rem;
  text-align: center;
  color: #fff;
  transition: background-image 1s ease-in-out;
  animation: fadeInUp 1s forwards ease-out;
}

.hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.5);
}

.hero .content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  opacity: 0;
  transform: translateX(-100px);
  animation: slideInFromLeft 1s forwards ease-out;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0;
  animation: dropIn 1s forwards ease-out;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: dropIn 1s forwards ease-out;
}

.hero .btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: #ffdd57;
  color: #000;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s;
}

.hero .btn:hover {
  background-color: #ffc107;
}

/* Keyframe Animations */
@keyframes slideInFromLeft {
  from {
      opacity: 0;
      transform: translateX(-100px);
  }
  to {
      opacity: 1;
      transform: translateX(0);
  }
}

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

@keyframes fadeInDown {
  from {
      opacity: 0;
      transform: translateY(-30px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

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


/* Responsive Design */
@media (max-width: 768px) {
  .main-header {
      flex-direction: column;
      text-align: center;
  }

  .navigation ul {
      flex-direction: column;
      gap: 1rem;
  }

  .hero {
      height: 70vh;
      padding-left: 1rem;
  }

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

  .hero p {
      font-size: 1rem;
  }

  .tour-cards {
      grid-template-columns: 1fr 1fr;
  }

  .card {
      width: 100%;
  }
}

@media (max-width: 480px) {
  .main-header {
      padding: 1rem;
  }

  .hero {
      padding-left: 1rem;
      height: 60vh;
  }

  .hero h1 {
      font-size: 2rem;
  }

  .hero p {
      font-size: 0.9rem;
  }

  .tour-cards {
      grid-template-columns: 1fr;
  }
}

.rooms-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    padding: 40px;
}

.room-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.room-card img {
    width: 100%;
    height: 16rem;
    object-fit: cover;
}

.room-info {
    padding: 20px;
}

.room-meta {
    display: flex;
    justify-content: space-between;
    margin: 10px 0;
    color: #555;
}

.room-title {
    color: #005543;
    font-size: X-large;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: bold;
}

.price {
    color: #005543;
    font-size: large;
}

i {
    color: #1cc3b2;
}

.room-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.room-footer a {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
}

.book-btn {
    background: linear-gradient(135deg, #00303f, #1cc3b2);
    color: #fff;
    padding: 10px 18px;
    border: none;
    cursor: pointer;
    border-radius: 12px;
}

.booking-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: none;
    justify-content: center;
    align-items: center;
}

.booking-modal form {
    background: #fff;
    padding: 30px;
    width: 400px;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    cursor: pointer;
    font-size: 22px;
}
