/* Reset basic styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-around!important;
    align-items: center;
    background: #333;
    padding: 10px 20px;
    flex-wrap: wrap;
  }
  
  .logo img {
    height: 100px;
    padding-left: 10px;
  }
  
  .nav-links {
    list-style: none;
    display: flex;
    flex-direction: row;
    gap: 15px;
  }
  
  .nav-links li a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
  }
  
  .nav-links li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 2px;
    background-color: white;
    transition: width 0.3s ease-in-out;
  }
  
  .nav-links li a:hover::after,
  .nav-links li a.active::after {
    width: 100%;
  }
  
  
  .reservation-btn {
    background-color: #111;
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
  }
  
  .reservation-btn:hover {
    background-color: #555;
  }
  
  /* Toggle button hidden by default */
  .toggle-btn {
    display: none;
    font-size: 28px;
    background: none;
    color: white;
    border: none;
    cursor: pointer;
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    .toggle-btn {
      display: block;
      /* order: -1; Move to the beginning in flexbox */
      margin-right: auto; /* Push it to the left */
      padding: 0 20px;
  }
  
  .navbar {
    flex-direction: row;
    flex-wrap: wrap;
  }
    .nav-links {
        flex-direction: column;
        width: 100%;
        display: none; /* Hidden initially */
        background-color: #333;
        padding: 10px 0;
    }
  
    .nav-links li {
        text-align: center;
        padding: 10px 0;
    }
  
    .nav-links.show {
        display: flex;
    }
  
    .reservation-btn {
        width: 100%;
        margin-top: 10px;
    }
  }


  /* hero_container */

  .hero_container, h1{
    /* font-size: 42px; */
    font-weight: 300;
    text-align: center;


  }


  /* rooms */

  .room-card {
    border: 1px solid #ddd;
    padding: 1rem;
    border-radius: 10px;
    transition: box-shadow 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .room-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }
  .room-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
  }
  .icon-group i {
    font-size: 1.1rem;
    margin-right: 10px;
    color: #444;
  }
  .btn-book {
    background-color: #f9c419;
    color: #000;
    font-weight: 600;
    border: none;
  }


  /* Footer styles */
.footer {
    background-color: #333;
    color: #eee;
    text-align: center;
    padding: 40px 20px 20px;
    margin-top: 60px;
  }
  
  .footer-top {
    margin-bottom: 20px;
  }
  
  .hotel-name {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 8px;
  }
  
  .hotel-address {
    font-size: 16px;
    margin-bottom: 20px;
  }
  
  .contact-info p {
    margin: 5px 0;
    font-size: 16px;
  }
  
  .social-icons {
    margin-top: 15px;
  }
  
  .social-icons a {
    display: inline-block;
    margin: 0 10px;
    background: #555;
    padding: 10px;
    border-radius: 50%;
    transition: background 0.3s ease;
  }
  
  .social-icons a:hover {
    background: #3498db;
  }
  
  .footer-bottom {
    border-top: 1px solid #555;
    padding-top: 15px;
    font-size: 14px;
    margin-top: 20px;
  }
  
  /* Responsive Footer */
  @media (max-width: 600px) {
    .contact-info, .social-icons {
      flex-direction: column;
    }
  }


  /* Small devices (landscape phones, ≥576px) */
@media (min-width: 576px) {
  .navbar {
    padding: 10px 20px;
  }
  
  .hero_container h1 {
    font-size: 28px;
  }
  
  .hero_container p {
    font-size: 18px;
  }
  
  .carousel-item img {
    height: 400px !important;
  }
  
  .room-card {
    padding: 20px;
  }
  
  .room-img {
    height: 220px;
  }
}

/* Medium devices (tablets, ≥768px) */
@media (min-width: 768px) {
  .navbar {
    flex-wrap: nowrap;
    padding: 10px 30px;
  }
  
  .logo img {
    height: 100px;
  }
  
  .nav-links {
    display: flex;
    flex-direction: row;
    width: auto;
    gap: 15px;
  }
  
  .nav-links li {
    padding: 0;
  }
  
  /* .nav-links li a {
    padding: 5px 10px;
  } */
  
  .toggle-btn {
    display: none;
  }
  
  .reservation-btn {
    display: block;
    padding: 8px 15px;
    font-size: 14px;
  }
  
  .hero_container {
    padding: 30px;
  }
  
  .hero_container h1 {
    font-size: 32px;
  }
  
  .carousel-item img {
    height: 500px !important;
  }
  
  .room-card {
    margin-bottom: 0;
    height: 100%;
  }
  
  .footer {
    padding: 30px;
  }
}

/* Large devices (desktops, ≥992px) */
@media (min-width: 992px) {
  .navbar {
    padding: 10px 40px;
  }
  
  .hero_container h1 {
    font-size: 36px;
  }
  
  .carousel-item img {
    height: 600px !important;
  }
  
  .room-img {
    height: 250px;
  }
  
  .icon-group i {
    font-size: 1.1rem;
  }
  
  .btn-book {
    padding: 10px;
    font-size: 16px;
  }
  
  .footer {
    padding: 40px;
  }
}

/* X-Large devices (large desktops, ≥1200px) */
@media (min-width: 1200px) {
  .navbar {
    padding: 10px 50px;
  }
  
  .hero_container {
    padding: 40px 50px;
  }
  
  .hero_container h1 {
    font-size: 40px;
  }
  
  .carousel-item img {
    height: 700px !important;
  }
  
  .room-card {
    padding: 25px;
  }
  
  .footer {
    padding: 50px;
  }
}

/* XX-Large devices (larger desktops, ≥1400px) */
@media (min-width: 1400px) {
  .navbar {
    padding: 15px 60px;
  }
  
  .hero_container {
    padding: 50px 60px;
  }
  
  .hero_container h1 {
    font-size: 42px;
  }
  
  .carousel-item img {
    height: 740px !important;
  }
  
  .room-img {
    height: 280px;
  }
  
  .footer {
    padding: 60px;
  }
}

/* Animation Classes */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 1s ease-out forwards;
}

/* Room-specific responsive adjustments */
@media (max-width: 767px) {
  .room-card {
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .room-img {
    height: 200px;
  }
}

/* Ensure proper spacing for room cards at all sizes */
.row.g-4 {
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

.row.g-4 > [class^="col-"] {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

/* Carousel controls visibility */
.carousel-control-prev,
.carousel-control-next {
  width: 8%;
}

/* Button hover effects */
.btn-book:hover {
  background-color: #e0b017;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}