* {
    margin: 0;
    padding: 0;
    font-family: sans-serif;
    box-sizing: border-box;
}
.background {
    min-height: 100vh;
    background-image: linear-gradient(rgba(0,0,0,0.7),rgba(0, 0, 0, 0.646)),url(room.webp);
    background-size: cover;
    background-position: center;
    animation: fadeIn 2s ease-in-out;
}

@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
  }

  .header {
    position: absolute;
    top: 0;
    width: 99.1rem;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.5);
  }

  .navbar a {
    color: white;
    margin: 0 10px;
    text-decoration: none;
    font-weight: bold;
    position: relative;
    display: inline-block;
  }

  .navbar a::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background: #fff;
    transition: width 0.3s ease;
  }

  .navbar a:hover::before {
    width: 100%;
  }


  .logo {
    height: 50px;
  }

.content {
    width: 100%;
    position: absolute;
    top: 50%;
    text-align: center;
    transform: translateY(-50%);
    color: #fff;
}
.content h1 {
    font-family: 'Cinzel', serif;
    font-size: 90px;
    margin-top: 80px;
}
.content h2 {
    margin: 20px auto;
    font-weight: 400;
    line-height: 25%;
    font-family: 'Montserrat', sans-serif;
}
button {
    width: 200px;
    padding: 15px 0;
    text-align: center;
    margin: 20px 100px;
    border-radius: 30px;
    font-weight: bold;
    border: 2px solid #fff ;
    background: transparent;
    color: #fff;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}
span {
    background: #385b4f;
    height: 100%;
    width: 100%;
    border-radius: 30px;
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: -5;
    transition: .5s;
}
button:hover span {
    width: 100%;
}
button:hover {
    border: none;
}
body {
    background: rgba(0,0,0,0.7);
}
.container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;

}
.card {
    background: white;
    width: 300px;
    height: 400px;
    margin: 15px;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card .description {
    font-size: 14px;
    padding: 0 15px;
    margin-bottom: 5px;
    color: #333;
    text-align: center;
}

.card:hover {
    background-color: #d3d3d3;
    cursor: pointer;
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.card-image {
    height: 100px;
    margin-bottom: 10px;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
}

.card:hover .card-image {
    transform: scale(1.05);
}
.car-1 {
    background-image: url(restful.webp);
}
.car-2 {
    background-image: url(nature.jpeg);
}
.car-3 {
    background-image: url(oasis.jpeg);
}
.card h3 {
    padding: 10px;
    font-size: 40px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}
.card p {
    padding: 10px;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.card:hover {

    background-color: gray;
    cursor: pointer;
    
}
.card a {
    background-color: #385b4f;
    color: white;
    padding: 15px 20px;
    display: block;
    text-align: center;
    margin: 20px 50px;
    position: relative;
    font-size: 18px;
    color: #fff;
    font-weight: 500;
    text-decoration: none;
    font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
   
}
.card a::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 0;
    height: 2px;
    background: #fff;
    transition: .5s;
}
.card a:hover::before {
    width: 100%;
}

.modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0; top: 0;
    width: 100%; height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.7);
  }

  .modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 30px;
    border-radius: 10px;
    width: 80%;
    max-width: 600px;
    text-align: center;
    position: relative;
  }

  .modal-content img {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 8px;
  }

  .modal-content ul {
    text-align: left;
    margin: 20px 0;
  }

  .modal-content ul li {
    margin-bottom: 10px;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
  }

  .modal-btn {
    display: inline-block;
    background-color: #385b4f;
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    margin-top: 20px;
  }

  .close {
    position: absolute;
    right: 20px;
    top: 10px;
    font-size: 28px;
    cursor: pointer;
  }

  .amenities-list {
    list-style: none;
    padding-left: 0;
    margin-top: 15px;
  }
  
  .amenities-list li {
    padding: 5px 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    color: #333;
  }
  
  
  @keyframes fadeInUp {
    from {
      transform: translateY(30px);
      opacity: 0;
    }
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }
  