body {
    background-color: rgb(250 250 250) !important;
}

.small-header {
  font-size: 1.2rem;
}

body, html {
    height: auto;   
    min-height: 100vh;
    overflow-x: clip;
  }


/* header nav ul li a{
    padding: 5px 10px !important;
} */

.add-room-btn {
  display: inline-block;
  padding: 8px 16px;
  background-color: #ffffff;
  color: rgb(0, 0, 0);
  border: 1px solid #000000;
  border-radius: 4px;
  font-family: 'Arial', sans-serif;
  font-size: 12px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.add-room-btn:hover {
  background-color: #000000;
  color: #ffffff;
  /* transform: translateY(-1px); */
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.add-room-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 3px rgba(0,0,0,0.2);
}

.add-room-btn i {
  margin-right: 4px;
  background-color: #000000;
  color: #ffffff;
  border-radius: 50%;
  padding:6px 6px;
}

.add-room-btn:hover i {
  margin-right: 4px;
  background-color: #ffffff;
  color: #000000;
  border-radius: 50%;
  padding:6px 6px;
}

.head-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  background-color: #ffffff;
  margin-top: 50px;
  width:  85%;
  margin-left: 7%;
  padding: 2rem;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
  gap: 20px;
}

.reservation-options {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-start;
  gap:10px;
  width: 100%;
}

.dates-container {
  display: flex;
  flex-direction: row;
  gap: 2vw;
  padding: 0rem 2rem;
}

.reservation-options select {
  width: 200px;
  height: 40px;
  
}

.options-container {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 1rem;
  width: 100%;
}

.option-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 5rem;
  padding: 1rem 0rem;
  width: 100%;
}

.selected-room {
  background-color: #f1f1f1;
  border-bottom: 1px solid gray;
}

.selected-room * {
  background-color: #f1f1f1;
}

.option-container select {
  width: 200px;
  height: 40px;
  padding: 5px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

.option-label {
  display: flex;
  flex-direction: column;
}

.delete-option {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #000000;
  padding: 0 0.5rem;
}

.delete-option:hover {
  color: #ff0000;
}

.reservation-label-container {
  display: grid;
  grid-template-columns: 2fr 3fr;
}

.option-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.rooms {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 5vw;
}

.reservation-header {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 5px 0px;
    max-height: 56px;
    width: 100%;
    margin: 25px 0;
    background-color: #ffffff;
    min-height: 56px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

.reservation-details {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5vw;
    background-color: #ffffff;
    padding: 5px 0px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

.reservation-detail {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 5px 20px;
    width: 100%;  
}

@keyframes l21{
  100%{background-position: left}
}

/* Add to room.css */
#booking-summary {
  overflow-y: auto;
  max-height: 600px;
  width: 100%;
  padding: 1rem;
}

.reservation-item {
  background: #f8f9fa;
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 4px;
}

.delete-booking {
  background: #ff6b6b;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 0.5rem;
}

.delete-booking:hover {
  background: #ff5252;
}

#confirmation-section {
  margin-top: 2rem;
  text-align: center;
}

.rooms-header {
    display: inline-flex;
    padding: 5px 0px;
    max-height: 56px;
    width: 80%;
    justify-content: center;
    align-items: center;
    margin: 50px 0;
    background-color: #ffffff;
    margin: 25px 0px; 
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

.rooms-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5vw;
}

.room{
    margin: 45px 0;
    padding-bottom: 25px;
    background: var(--dark);
    background-color: #ffffff;
    max-width: 80%;
    border-radius: 0.5rem;
    display: flex;
    flex-direction: column;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

.room-body {
    height: 85%;
    border-bottom:1px #000000;
    display: flex;
    flex-direction: row;
}

.room-body-img {
    max-width: 50%;
    margin: 20px;
    position: relative;
    overflow: hidden;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
}

.room-body-img img{
    max-width: 100%;
    max-height: auto;
    aspect-ratio: 3 /2;
    object-fit: cover;
}
.room-body img:hover{
    transform: scale(1.1);
    transition-duration: 0.5s;
}

.room-footer {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding-left: 15px;
    padding-right: 20px;
    padding-bottom: 10px;
}

.room-body .room-text{
    padding: 5px 20px;
}
.room-body .room-text h3{
    font-size: 24px;
}
.room-body .room-text ul{
    list-style-type: none;
    margin: 15px 0;
}
.room-body .room-text ul li{
    padding: 7px 0;
}
.room-body .room-text ul li i{
    color: var(--yellow);
    margin-right: 10px;
}
.rate{
    opacity: 0.8;
}
.rate span{
    font-size: clamp(1.25rem, 1.5vw, 1.5rem);
    font-weight: 900;
    color: var(--yellow);
}

hr {
    display: block;
    width: 95%;
    height: 1.5px;
    border: none;
    border-top: 1px solid #000000;
  }

@media(min-width: 1080px){
    .rooms-container{
        flex-direction: column;
        align-items: center;
    }
    .room{
        padding-bottom: 0;
        margin: 5px 0;
    }
    .room-body-img{
        flex: 1;
    }
    .room-body-img img{
        height: 100%;
    }
    .room-text{
        flex: 1;
    }
    .mobile-close {
      display: none;
    }
}

@media(max-width:1200px){
    .room {
        max-width: 90%;
    }
    
    .room-body{
        flex-direction: column;
    }
    
    .room-body-img{
        max-width: 100%;
    }    

}

@media screen and (min-width: 1440px){
    header nav .items{
        margin-left: 11rem;
    }
}

@media screen and (max-width: 768px){
  .black-btn {
    width: max-content;
  }
    header .mainNav{
        justify-content: space-between;
    }
    header .items{
        position: absolute;
        top: 57px;
        width: 100%;
        background-color: #E8F4FF;
        left: 0px;
    }
    header .items ul{
        display: flex;
        text-align: center;
        flex-direction: column !important;
        gap: 15px !important;
    }

    header nav > :last-child{
        position: absolute;
        top: 16.4rem;
        left: -6px;
        width: 100%;
        padding-top: 30px;
        padding-bottom: 30px;
        justify-content: center;
        margin-left: 10px;
        align-items: center;
        background-color: #E8F4FF;
    }
}

.reservation-summary {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    height: 100%;
}

.reservation-container {
    width: 73%;
    align-items: center;
    position: sticky;
    position: -webkit-sticky;
    top: 0;
    z-index: 100;
}


.black-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #000;               /* Black background */
    color: #fff;                          /* White text */
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    border: 2px solid transparent;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
  }
  
  .black-btn:hover {
    background-color: #fff;
    color: #000;
    border: 2px solid #000;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
  }
  
  @media (max-width: 600px) {
    .black-btn {        /* Full width on small screens */
      text-align: center;
      padding: 1rem 2.5rem 1rem 2.5rem;
      font-size: 1.1rem;
    }
  }


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

  .modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 2rem;
    border-radius: 12px;
    width: 100%;
    max-width: 1040px;
    position: relative;      
  }

.calendar-container {
    display: flex;
    flex-direction: row;
    align-content: center;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-around;
    margin-top: 10px;
    align-items: flex-start;
}

.dates-box {
    border: 1px solid #ddd;
}

.month-name {
    background-color: #000;
    color: #ffffff;
    font-weight: bold;
    display: grid;
    grid-template-columns: 10% 80% 10%;
    height: 49.2px;
    font-weight: 600;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}
  .close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
  }

  .calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    margin-top: 10px;
  }

  .calendar-day {
    border: 1px solid #ddd;
    padding: 6px 4px;
    position: relative;
    min-height: 65px;
    background: white;
    font-size: 14px;
    cursor: pointer;
    aspect-ratio: 1/1;
  }

  .calendar-day.occupied {
    background-color: #ffe6e6;
    color: #cc0000;
    cursor: not-allowed;
  }

  .calendar-day .price {
    font-size: 10px;
    color: #444;
    margin-top: 4px;
  }

  .calendar-day .tag {
    font-size: 10px;
    color: red;
  }

  .calendar-day.selected {
    background-color: #333;
    color: #fff;
  }

  .room-body-img {
  position: relative;
  display: inline-block; /* or block, depending on layout */
  overflow: hidden;
}

.room-body-img img {
  display: block;
  width: 100%;
  height: auto;
  transition: all 0.3s ease; /* Smooth transition for hover effect */
}

/* Dark overlay effect */
.room-body-img a::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5)); /* Adjust opacity (0.3 and 0.5) as needed */
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* "View Room" text */
.view-room-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 1.2rem;
  font-weight: bold;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2; /* Ensure text appears above overlay */
}

/* Hover effects */
.room-body-img:hover img {
  filter: brightness(0.7); /* Optional: Darken image further */
}

.room-body-img:hover a::after,
.room-body-img:hover .view-room-text {
  opacity: 1;
}
.room-body-img:hover img {
  transform: scale(1.02);
}
.view-room-text {
  padding: 8px 16px;
  background: rgb(167, 167, 167, 0.7);
  border-radius: 4px;
}

  .hidden {
    display: none;
  }
  /* Custom date display card */
  .date-display {
    display: inline-block;
    width: 120px;
    border: 1px solid #ddd;
    border-radius: 6px;
    text-align: center;
    font-family: Arial, sans-serif;
    margin: 0.5rem;
    background-color: #fff;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    user-select: none;
  }
  .date-label {
    background-color: #1a1a1a;
    color: #fff;
    font-weight: bold;
    padding: 4px 0;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
  }
  .date-day {
    font-size: 2rem;
    font-weight: bold;
    color: #333;
    margin: 0.5rem 0 0.25rem;
  }
  .date-month-year {
    font-size: 0.85rem;
    font-weight: 600;
    color: #666;
  }
  .date-weekday {
    font-size: 0.75rem;
    color: #999;
    margin-bottom: 0.5rem;
  }

.form-group {
    display: inline-block;
  }

  /* Room specs overlay */
.room-specs {
  top: 15px;
  left: 15px;
  background: rgba(0,0,0,0.33);
  color: white;
  padding: 8px 12px;
  border-radius: 4px;
  display: grid;
  grid-template-columns: 2fr 2fr;
  gap: 5px;
  font-size: 14px;
}

.spec-item {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.spec-item i {
  width: 16px;
  text-align: center;
  color: #ffffff;
}

/* Room metadata */
.room-meta {
  margin: 10px 0 15px;
}

.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f5f5f5;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 14px;
}

/* Amenities grid */
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 15px;
}

.amenity {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  padding: 5px 0;
  border-bottom: 1px solid #eee;
}

.amenity i {
  width: 20px;
  text-align: center;
  color: #333;
}

/* Price styling */
.rate span {
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.5px;
}

/* View Room text */
.view-room-text {
  /* Keep your existing styles */
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

.bed-modal-content {
  background-color: white;
  margin: 10% auto;
  padding: 20px;
  width: 400px;
  max-width: 90%;
  border-radius: 8px;
}

.bed-options {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

.bed-option {
  text-align: center;
  width: max-content;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  width: 45%;
  cursor: pointer;
  transition: all 0.3s;
}

.bed-option:hover {
  border-color: #ffac00;
}

.bed-option div {
  display: flex;
  align-items: center;
  justify-content: center;
}

.bed-option i {
  color: #333;
  display: block;
  margin-bottom: 10px;
}

.bed-close-modal {
  float: right;
  font-size: 24px;
  cursor: pointer;
}

.bed-icon img {
  display: block;
  margin: 0 auto;
  object-fit: contain;
}

/* Mobile-specific styles */
@media (max-width: 600px) {
    /* Adjust modal content for smaller screens */
    .modal-content {
      margin: 10% auto;
      padding: 1rem;
    }
    
    .reservation-options {
      flex-direction: column;
      align-items: center;
    }
    
    .option-container {
      flex-direction: column;
      gap: 0;
      width: 100%;
    }

    .head-container {
      width: 100%;
      padding: 1rem;
      margin: 0;
    }

    /* Stack calendar months vertically or let them wrap */
    .calendar-container {
      flex-direction: column;
      flex-wrap: wrap;
      justify-content: center;
    }
    
    /* Slightly reduce the month-name bar size */
    .month-name {
      height: 40px;
      grid-template-columns: 15% 70% 15%;
    }
    
    /* Reduce font sizes in the grid */
    .calendar-grid {
      font-size: 12px;
    }
    
    .calendar-day {
      padding: 4px 2px;
      min-height: 50px;
      font-size: 12px;
    }
    
    /* Scale down the custom date display card */
    .date-display {
      width: 7rem;
      margin: 0.5rem;
      font-size: 0.9rem;
    }
    
    .date-day {
      font-size: 1.5rem;
    }
    
    .date-month-year {
      font-size: 0.75rem;
    }
    
    .date-weekday {
      font-size: 0.65rem;
    }
  }

main {
  display:grid; 
  grid-template-columns: 70% 30%;
  justify-items: start;
}

@media (max-width: 768px) {
  .reservation-details, .reservation-header{
    width: 90%;
  }
  .dates-container {
    width: 100%;
    padding: 0;
    justify-content: space-between;
  }

  .date-display {
    min-width: 40%;
  }

  .room {
    margin: 20px 0;
  }
}

  @media (max-width: 1080px) {
  main {
    display: flex;
    flex-direction: column;
  }
  .rooms-header {
    width: 90%;
  }
  .reservation-container {
    width: 100%;
  }
  .reservation-summary {
    overflow-y: auto;
  }

  .reservation-container {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    background-color: rgba(0, 0, 0, 0.6);
    flex-direction: column  ;
    justify-content: center;
  }
  .reservation-header {
    margin: 0;
    box-shadow: none;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    padding: 0 1rem;
    border-radius: 1rem 1rem 0 0;
    max-height: fit-content;
  }

  .reservation-details {
    border-radius: 0 0 1rem 1rem;
    box-shadow: none;
  }
  .rooms-container {
    gap: 2vw;
  }

  .summary {
    z-index: 1000;
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
    margin: 0 0 -2% 0;
    padding-bottom: 1px;
    min-height: 60px;
    background-color: #000;
    color: #ffff;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 15px;
    padding-right: 1rem;
  }
  .summary * {
    font-size: 1.5rem;
  }
}

@media (min-width: 768px) and (max-width: 1080px) {
  .reservation-details, .reservation-header {
    width: 60%;
  }
  .reservation-options {
    flex-direction: column;
  }
  .option-container {
    gap: 1.5rem;
  }
  .option-label {
    width: 30%;
  }
  .option-label > * {
    max-width: 80%;
  }

  .dates-container {
    padding-left: 0;
    width: 100%;
  }
  .date-display {
    width: 25%;
  }
  .head-container {
      width: 90%;
      padding: 1rem;
      margin-left: 5%;
    }
  
  .room-body-img {
    max-height: 350px;
    display: flex;
    justify-content: center;
  }
}