/* ===============================
   GLOBAL STYLES
================================ */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #ffffff;
}

/* ===============================
   NAVBAR
================================ */
.navbar-brand {
  font-size: 1.4rem;
  letter-spacing: 0.5px;
}

html {
  scroll-behavior: smooth;
}

.nav-link {
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #ffc107 !important;
}

/* ===============================
   HERO SECTION
================================ */
.hero-section {
  min-height: 100vh;
  padding-top: 120px;
  padding-bottom: 80px;
  background: linear-gradient(
      rgba(0, 0, 0, 0.6),
      rgba(0, 0, 0, 0.6)
    ),
    url('../assets/images/hero-hotel.jpg') center/cover no-repeat;
}

.hero-section h1 {
  max-width: 900px;
  margin: auto;
}

.hero-section p {
  max-width: 750px;
  margin: auto;
  font-size: 1.1rem;
}

/* ===============================
   SECTION HEADINGS
================================ */
section h2 {
  font-size: 2rem;
  color: #222;
}

section p {
  font-size: 0.95rem;
}

/* ===============================
   CARDS
================================ */
.card {
  border: none;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.card h5 {
  font-weight: 600;
  margin-bottom: 10px;
}

/* ===============================
   BUTTONS
================================ */
.btn-warning {
  font-weight: 600;
  border-radius: 50px;
  padding: 10px 25px;
}

.btn-outline-dark {
  border-radius: 50px;
  font-weight: 500;
}

/* ===============================
   FOOTER
================================ */
footer {
  font-size: 0.9rem;
}

footer small {
  color: #bbb;
}

/* ===============================
   FORMS (NOC & CONTACT)
================================ */
form input,
form textarea {
  border-radius: 8px;
  padding: 10px 15px;
  font-size: 0.95rem;
}

form textarea {
  resize: none;
}

form button {
  border-radius: 50px;
  padding: 12px 30px;
  font-weight: 600;
}

/* ===============================
   RESPONSIVE DESIGN
================================ */
@media (max-width: 992px) {
  .hero-section h1 {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding-top: 100px;
  }

  section h2 {
    font-size: 1.6rem;
  }
}

@media (max-width: 576px) {
  .hero-section h1 {
    font-size: 1.6rem;
  }

  .hero-section p {
    font-size: 1rem;
  }
}

/* ===============================
   HERO SLIDER ANIMATION
================================ */

#heroCarousel .carousel-item {
  transition: opacity 1.2s ease-in-out;
}

#heroCarousel .carousel-item {
  opacity: 0;
}

#heroCarousel .carousel-item.active {
  opacity: 1;
}

/* TEXT ANIMATION */
.hero-animate h1,
.hero-animate p,
.hero-animate a {
  opacity: 0;
  transform: translateY(40px);
  animation-fill-mode: forwards;
}

.carousel-item.active .hero-animate h1 {
  animation: textFadeUp 1s ease forwards;
}

.carousel-item.active .hero-animate p {
  animation: textFadeUp 1s ease forwards;
  animation-delay: 0.3s;
}

.carousel-item.active .hero-animate a {
  animation: textFadeUp 1s ease forwards;
  animation-delay: 0.6s;
}

@keyframes textFadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
