* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Inter;
}

.hero-section {
  height: 300px;
  padding: 24px;
  color: white;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url(/images/rooms/hero.jpeg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  line-height: 1.4;
}

h1 {
  font-size: 32px;
  line-height: 1.3;
  margin-bottom: 16px;
}

.hero-section p {
  line-height: 1.8;
}

.room-types {
  padding: 0 24px;
  margin-top: 36px;
  font-weight: 500;
}
.room-types h2 {
  margin-bottom: 8px;
  font-size: 24px;
}

.switch {
  background-color: #f9f9f9;
  color: #000;
  margin-top: 16px;
  padding: 12px;
  border-radius: 8px;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.05),
    0 4px 12px rgba(0, 0, 0, 0.08);
  display: flex;
  /* gap: 40px; */
  justify-content: space-around;
}

.switch button {
  background-color: transparent;
  border: none;
  font-weight: 600;
  font-size: 16px;
  padding: 10px;
  border-radius: 8px;
  color: #000;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.switch button:hover {
  background-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-1px);
}

.room-category {
  display: none;
  margin-top: 30px;
}

.room-category.active {
  display: flex;
  flex-direction: column;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  /* background-color: red; */
}

.price-flex {
  display: flex;
  flex-direction: column;
  gap: 12px;
  /* justify-content: space-between; */
}

.room-price {
  display: flex;
  flex-direction: column;
  opacity: 1;
  transform: translateY(0);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.room-price.switching {
  opacity: 0;
  transform: translateY(20px);
}

.room-price.fade-in {
  animation: priceItemFadeIn 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

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

.tab-btn.active {
  background: white;
  text-decoration: none;
  color: #000;
  font-weight: 600;
  font-size: 18px;
  padding: 12px 18px !important;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.05),
    0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.schedule {
  display: flex;
  align-items: center;
  /* gap: 6px; */
  margin-bottom: 4px;
}

.schedule svg {
  display: none;
}

.room-price svg {
  height: 24px;
  width: 24px;
}
.room-price h5 {
  font-size: 16px;
  font-weight: 600;
}

.time-price {
  padding: 14px;
  font-size: 15px;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.05),
    0 4px 12px rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  color: #5f5f5f;
  flex: 1;
  flex-shrink: 0;
  display: flex;
  /* flex-direction: column; */
  gap: 6px;
}

.time-price span {
  font-size: 14px;
  font-weight: 700;
}

.media {
  background-color: white;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.05),
    0 4px 12px rgba(0, 0, 0, 0.08);
  /* height: 450px; */
  grid-column: 1 / span 3;
  display: flex;
  gap: 16px;
  flex-direction: column;
  /* padding: 13px; */
}
.media .main-picture {
  width: 100%;
  /* overflow: hidden; */
  /* height: 450px; */
  object-fit: contain;
  position: relative;
}
.room-label {
  position: absolute;
  z-index: 3000;
  left: 50%;
  transform: translateX(-50%);
  bottom: -15px;
  background-color: #904141;
  border-radius: 8px;
  color: white;
  padding: 8px 16px;
  font-weight: 600;
  font-size: 14px;
}

.media .main-picture img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: fill;
}

.media .book-room {
  padding: 12px 0px;
  margin-left: 12px;
}

.media .book-room button {
  background-color: #904141;
  border: none;
  padding: 8px 16px;
  color: white;
  border-radius: 6px;
  font-weight: 600;
  font-size: 17px;
  cursor: pointer;
  transition: all 0.3s;
}

.media .book-room button:hover {
  background-color: #7a3636;
}
.additional-pictures {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-left: 12px;
  margin-top: 26px;
}

.additional-pictures div {
  width: 50px;
  height: 50px;
  cursor: pointer;
  border: 3px solid transparent;
  transition: border-color 0.3s ease;
  flex-shrink: 1;
  min-width: 0;
  overflow: hidden;
  border-radius: 4px;
}

.additional-pictures div.active-image {
  border: 3px solid #904141;
}

.additional-pictures div img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.room-features {
  /* background-color: red; */
  /* height: 200px; */
  margin-top: 24px;
  color: #5f5f5f;
  font-size: 12px;
}
.room-features h3 {
  margin-bottom: 6px;
  color: black;
  font-size: 16px;
}
.room-features .benefits {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
}
.room-features .benefits svg {
  width: 24px;
  height: 24px;
}
.events {
  text-align: center;
  margin-top: 36px;
}

.events h2 {
  margin-bottom: 8px;
  font-size: 24px !important;
  font-weight: 600;
}

.events p {
  color: #5f5f5f;
  margin-bottom: 16px;
}

.events button {
  padding: 8px 16px;
  background-color: #904141;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  color: white;
  margin-top: 12px;
  font-size: 17px;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  background-color: #fff;
  margin: 5% auto;
  padding: 0;
  border-radius: 12px;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px 12px 24px;
  border-bottom: 1px solid #e0e0e0;
}

.modal-header h2 {
  margin: 0;
  font-size: 22px;
  color: #000;
}

.room-type-indicator {
  color: #5f5f5f;
  font-size: 14px;
  margin-top: 4px;
  font-weight: 400;
}

.close {
  color: #5f5f5f;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s;
}

.close:hover,
.close:focus {
  color: #000;
}

.modal-body {
  padding: 24px;
}

.disclaimer {
  background-color: #fff3cd;
  color: #856404;
  padding: 12px;
  border-radius: 6px;
  margin-bottom: 20px;
  font-size: 14px;
  border-left: 4px solid #ffc107;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: #000;
  font-size: 14px;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  font-family: Inter;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: #904141;
}

.pool-access-group {
  background-color: #f9f9f9;
  padding: 16px;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-weight: 600;
  color: #000;
  font-size: 14px;
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #904141;
}

.checkbox-label span {
  user-select: none;
}

.pool-guests {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #e0e0e0;
}

.pool-guests label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #555;
  font-size: 13px;
}

.pool-guests input[type="number"] {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  font-family: Inter;
}

.pool-guests input[type="number"]:focus {
  outline: none;
  border-color: #904141;
}

.price-display {
  background-color: #f5f5f5;
  padding: 16px;
  border-radius: 6px;
  text-align: center;
  margin: 20px 0;
  font-size: 18px;
}

.price-display #totalPrice {
  color: #904141;
  font-size: 24px;
}

.modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.modal-actions button {
  flex: 1;
  padding: 12px;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-send {
  background-color: #904141;
  color: white;
}

.btn-send:hover {
  background-color: #7a3636;
}

.btn-cancel {
  background-color: #e0e0e0;
  color: #000;
}

.btn-cancel:hover {
  background-color: #d0d0d0;
}

/* Events Section */
.events {
  padding: 40px 24px;
  text-align: center;
  background-color: #f9f9f9;
}

.events h2 {
  color: #000;
  margin-bottom: 12px;
  font-size: 26px;
}

.events p {
  color: #5f5f5f;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.view-events-btn {
  background-color: #904141;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s;
}

.view-events-btn:hover {
  background-color: #7a3636;
}

/* Desktop Responsive Design */
@media (min-width: 991px) {
  /* Hero Section */
  .hero-section {
    height: 85vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .hero-section h1 {
    font-size: 50px;
    margin-bottom: 30px;
  }

  .hero-section p {
    font-size: 18px;
  }

  /* Room Types Section */
  .room-types {
    padding: 0 48px;
    margin-top: 48px;
  }

  .room-types h2 {
    font-size: 30px;
  }

  /* Hide mobile switch on desktop */
  .switch {
    display: none;
  }

  /* Room Content Grid Layout */
  .room-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 30px;
    background-color: #f9f9f9;
    padding: 24px;
    border-radius: 12px;
  }

  /* Show both room categories on desktop */
  .room-category {
    display: block !important;
    margin-top: 0;
  }

  /* Add section titles for desktop */
  .room-category#standard::before {
    content: "Standard Room";
    font-size: 18px;
    font-weight: 600;
    color: #000;
    margin-bottom: 16px;
    display: block;
  }

  .room-category#vip::before {
    content: "VIP Room";
    font-size: 18px;
    font-weight: 600;
    color: #000;
    margin-bottom: 16px;
    display: block;
  }

  /* Price Flex Layout */
  .price-flex {
    display: flex !important;
    gap: 30px;
    flex-direction: row;
    justify-content: space-between;
  }

  /* Room Price Cards */
  .room-category .room-price {
    margin-bottom: 0;
    background-color: white;
    padding: 14px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 150px;
    max-width: 180px;
  }

  .room-category .room-price:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
  }

  /* Schedule Section */
  .room-category .room-price .schedule {
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f0f0f0;
  }

  .room-category .room-price .schedule svg {
    width: 25px;
    height: 25px;
  }

  .room-category .room-price .schedule h5 {
    font-size: 16px;
    font-weight: 600;
    color: #000;
  }

  /* Time Price Section */
  .room-category .room-price .time-price {
    margin-top: 0;
    box-shadow: none;
    background-color: transparent;
    padding: 0;
    font-size: 16px;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }

  .room-category .room-price .time-price p {
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 4px;
    display: flex;
    flex-direction: column;
  }

  /* Hide pipe separators on desktop */
  .room-category .room-price .time-price p:nth-child(2n) {
    display: none;
  }

  .room-category .room-price .time-price span {
    font-size: 15px;
    font-weight: 700;
    color: #904141;
    margin-top: 4px;
  }

  .time-price {
    flex-direction: column;
  }

  /* Media Section */
  .media {
    grid-column: 1 / -1;
    margin-top: 16px;
    padding: 16px;
  }

  .media .main-picture {
    /* height: 50px; */
  }

  /* Room Features Section */
  .room-features {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 12px;
    background-color: #f9f9f9;
    border-radius: 12px;
    gap: 30px;
  }

  .room-features h3 {
    font-size: 18px;
  }

  .room-features .benefits {
    display: flex;
    gap: 60px;
  }

  .room-features .benefits svg {
    width: 25px;
    height: 25px;
    margin-bottom: 8px;
  }

  .room-features .benefits p {
    font-size: 14px;
  }

  /* Events Section */
  .events {
    background-color: white;
  }

  .events h2 {
    text-decoration: underline;
  }
}

/* footer */

.footer-main {
  line-height: 1.65;
}

footer h2 {
  color: #904141 !important;
  font-size: 28px;
  font-weight: 800 !important;
}
footer h4 {
  margin-bottom: 6px;
  color: white !important;
  font-weight: 700 !important;
  font-size: 19px;
}

footer .address {
  margin-bottom: 10px;
}

.quick-links {
  margin-top: 16px;
}
