/* ========== GLOBAL STYLES ========== */
:root {
  --primary-color: #311815;       /* Dark Brown */
  --secondary-color: #5D4037;    /* Medium Brown */
  --accent-color: #D7CCC8;        /* Light Beige */
  --text-color: #EFEBE9;          /* Off-White */
  --highlight-color: #8D6E63;     /* Warm Brown */
  --success-color: #5D8435;       /* Olive Green */
  --warning-color: #FFB74D;       /* Amber */
  --danger-color: #E53935;        /* Red */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
}

body {
  background-color: #1E110E;
  color: var(--text-color);
  line-height: 1.7;
  font-size: 1.1rem;
}

h1, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* ========== SECTION HEADINGS ========== */
h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  font-weight: 600;
  color: var(--accent-color);
  text-align: center;
  margin: 0 auto 3rem;
  padding-bottom: 1.5rem;
  position: relative;
  width: fit-content;
  letter-spacing: 0.5px;
  line-height: 1.3;
  text-transform: capitalize;
}

h2::before,
h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  height: 3px;
  background: var(--highlight-color);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
}

h2::before {
  left: 0;
  width: 25%;
}


h2::after {
  right: 0;
  width: 25%;
}

h2:hover::before,
h2:hover::after {
  width: 40%;
}

/* Special styling for contact section */
.contact-section h2 {
  color: var(--accent-color);
}

.contact-section h2::before,
.contact-section h2::after {
  background: var(--accent-color);
}

/* Responsive adjustments */
@media (max-width: 992px) {
  h2 {
    font-size: 2.4rem;
    margin-bottom: 2.5rem;
  }
}

@media (max-width: 768px) {
  h2 {
    font-size: 2rem;
    padding-bottom: 1rem;
  }
  
  h2::before,
  h2::after {
    height: 2px;
  }
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: white;
}

/* ========== HEADER & NAVIGATION ========== */
header {
  background: linear-gradient(rgba(49, 24, 21, 0.9), rgba(49, 24, 21, 0.7)), 
              url('https://images.unsplash.com/photo-1560448204-e02f11c3d0e2?ixlib=rb-4.0.3&auto=format&fit=crop&w=1470&q=80');
  background-size: cover;
  background-position: center;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  animation: fadeIn 1.5s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ========== NAVBAR MOBILE ========== */

.hamburger {
  display: none; 
  cursor: pointer;
  font-size: 1.8rem;
  color: var(--accent-color);
  background: transparent;
  border: none;
  z-index: 1001;
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    left: -100%;
    transition: left 0.3s ease;
  }

  .nav-links.active {
    left: 0;
  }

  .hamburger {
    display: block;
  }
}


/* CSS untuk judul "Bustami Kost" */
.logo {
  font-size: 1.2rem; /* Ukuran sedang */
  font-weight: 600; /* Ketebalan sedang */
  font-family: 'Playfair Display', serif; /* Font elegan */
  color: var(--accent-color); /* Warna sesuai tema */
  letter-spacing: 1px; /* Spasi huruf yang nyaman */
  text-transform: uppercase; /* Huruf kapital semua */
  margin-bottom: 1rem;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3); /* Shadow halus */
  transition: all 0.3s ease;
}

/* Untuk hover effect jika diperlukan */
.logo:hover {
  color: white;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.tagline {
  font-size: 1.5rem;
  margin-bottom: 3rem;
  max-width: 70%;
  line-height: 1.6;
  font-style: italic;
}

.cta-button {
  padding: 15px 40px;
  background-color: var(--highlight-color);
  color: white;
  border: 2px solid var(--accent-color);
  border-radius: 0;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.4s;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cta-button:hover {
  background-color: var(--secondary-color);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Navigation */

/* Tampilkan hanya di mobile */

nav {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: rgba(49, 24, 21, 0.9);
  padding: 1.5rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  transition: all 0.4s;
  border-bottom: 1px solid rgba(215, 204, 200, 0.2);
}

nav.scrolled {
  padding: 1rem 3rem;
  background-color: var(--primary-color);
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 2.5rem;
  position: relative;
}

.nav-links a {
  color: var(--accent-color);
  font-size: 1.1rem;
  letter-spacing: 1px;
  padding: 0.5rem 0;
}

.nav-links a:hover {
  color: white;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--accent-color);
  transition: width 0.3s;
}

.nav-links a:hover::after {
  width: 100%;
}

@media (max-width: 768px) {
  .nav-links li:has(a[href="|"]) {
    display: none;
  }
}

/* ========== MAIN CONTENT ========== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

section {
  padding: 6rem 0;
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease-out;
}

section.visible {
  opacity: 1;
  transform: translateY(0);
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.5rem;
  color: var(--accent-color);
  position: relative;
  padding-bottom: 1rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background-color: var(--highlight-color);
}

/* ========== ENHANCED BOOKING SECTION ========== */
.booking-section {
  background-color: rgba(49, 24, 21, 0.95);
  padding: 5rem 0;
  border-top: 1px solid var(--highlight-color);
  border-bottom: 1px solid var(--highlight-color);
}

.booking-section h2 {
  font-family: 'Playfair Display', serif;
  color: var(--accent-color);
  margin-bottom: 3rem;
  position: relative;
  padding-bottom: 1rem;
}

.booking-section h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--highlight-color);
}

.booking-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ========== ENHANCED FILTER DESIGN ========== */
.booking-filter {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.filter-group {
  position: relative;
  min-width: 220px;
}

.filter-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: #D7CCC8; /* Light beige */
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.filter-select {
  width: 100%;
  padding: 0.8rem 1.2rem;
  background-color: rgba(49, 24, 21, 0.8); /* Dark brown */
  border: 1px solid #5D4037; /* Medium brown */
  color: #EFEBE9; /* Off-white */
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  border-radius: 4px;
  cursor: pointer;
  appearance: none;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: relative;
}

/* Dropdown arrow */
.filter-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23D7CCC8' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 12px;
}

/* Hover Effects */
.filter-select:hover {
  border-color: #8D6E63; /* Warm brown */
  background-color: rgba(49, 24, 21, 0.9);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Focus State */
.filter-select:focus {
  outline: none;
  border-color: #FFD700; /* Gold */
  box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.2);
  background-color: rgba(49, 24, 21, 1);
}

/* Options Styling */
.filter-select option {
  background-color: #311815; /* Dark brown */
  color: #EFEBE9; /* Off-white */
  padding: 0.5rem;
}

.filter-select option:hover {
  background-color: #5D4037 !important; /* Medium brown */
}

/* Animation for label when select is focused */
.filter-select:focus + label {
  color: #FFD700; /* Gold */
  transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .booking-filter {
    flex-direction: column;
    gap: 1rem;
  }
  
  .filter-group {
    min-width: 100%;
  }
}

/* Room Grid */
.room-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.room-card {
  background-color: rgba(93, 64, 55, 0.5);
  border: 1px solid var(--highlight-color);
  border-radius: 3px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.room-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.room-number {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--accent-color);
  margin-bottom: 0.8rem;
}

.room-type {
  background-color: var(--highlight-color);
  color: var(--primary-color);
  padding: 0.5rem 1rem;
  border-radius: 3px;
  font-size: 0.9rem;
  display: inline-block;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.room-status {
  padding: 0.5rem 1rem;
  border-radius: 3px;
  font-size: 0.9rem;
  display: inline-block;
  color: white;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.status-available {
  background-color: var(--success-color);
}

.status-booked {
  background-color: var(--warning-color);
  color: var(--primary-color);
}

.status-occupied {
  background-color: var(--danger-color);
}

.room-price {
  font-weight: bold;
  color: var(--accent-color);
  margin: 1rem 0;
  font-size: 1.2rem;
}

.room-ac {
  position: absolute;
  top: 1rem;
  right: 1rem;
  color: #2196F3;
  font-size: 1.5rem;
}

.book-btn, .cancel-btn {
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 3px;
  margin-top: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  font-weight: 500;
  width: 100%;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.book-btn {
  background-color: var(--highlight-color);
  color: white;
}

.book-btn:hover {
  background-color: #5D4037;
}

.cancel-btn {
  background-color: var(--danger-color);
  color: white;
}

.cancel-btn:hover {
  background-color: #C62828;
}

/* Booking Info */
.booking-info {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.status-indicator {
  width: 20px;
  height: 20px;
  border-radius: 50%;
}

.available {
  background-color: var(--success-color);
}

.booked {
  background-color: var(--warning-color);
}

.occupied {
  background-color: var(--danger-color);
}

.ac {
  background-color: #2196F3;
}

/* Booking Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-content {
  background-color: var(--primary-color);
  margin: 5% auto;
  padding: 3rem;
  border: 1px solid var(--highlight-color);
  border-radius: 3px;
  width: 90%;
  max-width: 600px;
  position: relative;
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from { transform: translateY(-50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.close-modal {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 1.8rem;
  color: var(--accent-color);
  cursor: pointer;
  transition: all 0.3s ease;
}

.close-modal:hover {
  color: white;
  transform: rotate(90deg);
}

.modal-content h3 {
  font-family: 'Playfair Display', serif;
  color: var(--accent-color);
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.price-display {
  text-align: center;
  font-size: 1.3rem;
  color: var(--accent-color);
  margin-bottom: 2rem;
  font-weight: bold;
}

#bookingForm {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

#bookingForm .form-group {
  margin-bottom: 0;
}

#bookingForm label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--accent-color);
  font-size: 1rem;
}

#bookingForm input,
#bookingForm select,
#bookingForm textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  background-color: rgba(215, 204, 200, 0.1);
  border: 1px solid var(--highlight-color);
  color: var(--text-color);
  font-size: 1rem;
  border-radius: 3px;
  transition: all 0.3s ease;
}

#bookingForm input:focus,
#bookingForm select:focus,
#bookingForm textarea:focus {
  outline: none;
  border-color: #FFD700;
  background-color: rgba(215, 204, 200, 0.2);
}

#bookingForm textarea {
  min-height: 100px;
  resize: vertical;
}

#bookingForm .submit-button {
  background: linear-gradient(135deg, var(--highlight-color), #5D4037);
  color: white;
  border: none;
  padding: 1rem;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 1rem;
  border-radius: 3px;
}

#bookingForm .submit-button:hover {
  background: linear-gradient(135deg, #5D4037, var(--highlight-color));
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .booking-filter {
    flex-direction: column;
    align-items: center;
  }
  
  .filter-group {
    width: 100%;
    max-width: 300px;
  }
  
  .room-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  }
}

@media (max-width: 768px) {
  .booking-section {
    padding: 3rem 0;
  }
  
  .modal-content {
    padding: 2rem;
  }
}

@media (max-width: 480px) {
  .room-grid {
    grid-template-columns: 1fr;
  }
  
  .modal-content {
    width: 95%;
    padding: 1.5rem;
  }
}

/* ========== MODAL STYLES ========== */
/* ========== SCROLLABLE MODAL FIX ========== */
.modal-content {
  max-height: 80vh; /* Membatasi tinggi maksimal */
  overflow-y: auto; /* Mengaktifkan scroll vertikal */
  padding: 2rem;
}

/* Optional: Style scrollbar untuk tampilan lebih baik */
.modal-content::-webkit-scrollbar {
  width: 8px;
}

.modal-content::-webkit-scrollbar-track {
  background: rgba(93, 64, 55, 0.5);
}

.modal-content::-webkit-scrollbar-thumb {
  background: var(--highlight-color);
  border-radius: 4px;
}

/* Pastikan form tidak melebihi container */
#bookingForm {
  max-width: 100%;
  overflow: hidden;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .modal-content {
    max-height: 90vh; /* Lebih tinggi di mobile */
    padding: 1.5rem;
  }
}
/* ========== OTHER SECTIONS ========== */
/* About Section */
.about-content {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.about-text {
  flex: 1;
}

.about-text p {
  margin-bottom: 1.5rem;
  text-align: justify;
  font-size: 1.1rem;
}

.about-image {
  flex: 1;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 20px 20px 0 var(--highlight-color);
  transition: transform 0.4s;
  height: 400px; /* Tambahkan fixed height */
  position: relative; /* Untuk positioning image */
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%; /* Fokus pada bagian tengah gambar */
  transition: transform 0.4s ease;
}



/* ========== LOCATION SECTION ========== */
.location-container {
  display: flex;
  gap: 4rem;
  align-items: flex-start; /* Align items to top */
}

.location-map {
  flex: 1;
  height: 450px;
  border: 1px solid var(--highlight-color);
  box-shadow: 15px 15px 0 rgba(93, 64, 55, 0.2);
  transition: all 0.4s ease;
}

.location-map:hover {
  box-shadow: 10px 10px 0 rgba(93, 64, 55, 0.3);
}

.location-info {
  flex: 1;
  padding: 2rem;
  background-color: rgba(49, 24, 21, 0.8);
  border: 1px solid var(--highlight-color);
  position: relative;
}

.location-info::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 10px;
  right: -10px;
  bottom: -10px;
  background: rgba(93, 64, 55, 0.3);
  z-index: -1;
  transition: all 0.4s ease;
}

.location-info:hover::before {
  top: 15px;
  left: 15px;
  right: -15px;
  bottom: -15px;
}

.location-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: var(--accent-color);
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--highlight-color);
}

.location-info p {
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  font-size: 1.1rem;
  line-height: 1.8;
}

.location-info i {
  margin-right: 15px;
  color: var(--accent-color);
  font-size: 1.3rem;
  min-width: 25px;
  text-align: center;
}

.direction-button {
  display: inline-flex;
  align-items: center;
  padding: 12px 25px;
  background-color: var(--highlight-color);
  color: white;
  text-decoration: none;
  border-radius: 0;
  margin-top: 1.5rem;
  transition: all 0.3s ease;
  border: 1px solid transparent;
  font-weight: 500;
}

.direction-button:hover {
  background-color: transparent;
  color: var(--accent-color);
  border-color: var(--accent-color);
}

.direction-button i {
  margin-right: 10px;
  font-size: 1.2rem;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
  .location-container {
    gap: 2rem;
  }
}

@media (max-width: 992px) {
  .location-container {
    flex-direction: column;
  }
  
  .location-map, 
  .location-info {
    width: 100%;
  }
  
  .location-info {
    margin-top: 2rem;
  }
}

@media (max-width: 768px) {
  .location-map {
    height: 350px;
  }
  
  .location-info {
    padding: 1.5rem;
  }
  
  .location-info h3 {
    font-size: 1.5rem;
  }
}

/* Facilities Section */
.facility-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.facility-card {
  background-color: var(--secondary-color);
  border-radius: 0;
  padding: 2rem;
  text-align: center;
  transition: all 0.4s;
  border: 1px solid var(--highlight-color);
}

.facility-card:hover {
  transform: translateY(-10px);
  background-color: var(--primary-color);
}

.facility-icon {
  font-size: 3rem;
  color: var(--accent-color);
  margin-bottom: 1.5rem;
}

/* Gallery Section */
/* GALLERY STYLES */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 2fr));
  gap: 1.5rem;
  padding: 1rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  height: 300px; /* Lebih rendah untuk fokus pada konten */
  border: 1px solid var(--highlight-color);
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%; /* Fokus pada bagian tengah gambar */
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.03); /* Zoom yang lebih halus */
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(49,24,21,0.9), transparent);
  color: white;
  padding: 1.5rem 1rem 1rem;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-caption {
  transform: translateY(0);
}

.gallery-caption h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--accent-color);
}

.gallery-caption p {
  font-size: 0.9rem;
  opacity: 0.9;
}

.price-tag {
  background-color: var(--highlight-color);
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 4px;
  display: inline-block;
  margin-top: 0.5rem;
  font-weight: 600;
}

/* Footer */
footer {
  background-color: var(--primary-color);
  color: var(--accent-color);
  text-align: center;
  padding: 3rem;
  border-top: 1px solid var(--highlight-color);
}

.footer-logo {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  letter-spacing: 2px;
}

.social-links {
  margin: 2rem 0;
}

.social-links a {
  color: var(--accent-color);
  margin: 0 1rem;
  font-size: 1.5rem;
  transition: all 0.3s;
}

.social-links a:hover {
  color: white;
  transform: translateY(-5px);
}

/* ========== CLASSIC REVIEW SECTION ========== */
.review-section {
  background: linear-gradient(rgba(49, 24, 21, 0.9), rgba(49, 24, 21, 0.95));
  padding: 5rem 0;
  border-top: 1px solid var(--highlight-color);
  border-bottom: 1px solid var(--highlight-color);
}

/* ========== ENHANCED RATING CONTAINER ========== */
.rating-container {
  background: linear-gradient(135deg, rgba(49, 24, 21, 0.9), rgba(93, 64, 55, 0.7));
  padding: 3rem;
  border: 1px solid var(--highlight-color);
  border-radius: 0;
  margin-bottom: 3rem;
  position: relative;
  overflow: hidden;
  box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.1);
  text-align: center;
}

.rating-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('https://www.transparenttextures.com/patterns/black-paper.png');
  opacity: 0.1;
  z-index: 0;
}

.average-rating {
  font-family: 'Playfair Display', serif;
  font-size: 5rem;
  font-weight: 700;
  color: #FFD700;
  line-height: 1;
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.average-rating::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--highlight-color);
}

.total-reviews {
  font-size: 1.2rem;
  color: #000000;
  font-style: italic;
  margin-bottom: 1.5rem;
  letter-spacing: 0.5px;
  z-index: 1;
  position: relative;
}

.review-stars {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 2.5rem;
  z-index: 1;
  position: relative;
}

.review-stars i {
  font-size: 2rem;
  color: #FFD700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Rating Bars */
.rating-bars {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  z-index: 1;
  position: relative;
}

.rating-bar {
  display: flex;
  align-items: center;
  margin-bottom: 1.2rem;
}

.rating-label {
  width: 100px;
  color: var(--accent-color);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.rating-label i {
  color: #FFD700;
  margin-right: 8px;
  font-size: 1.2rem;
}

.bar-container {
  flex: 1;
  height: 12px;
  background-color: rgba(215, 204, 200, 0.1);
  border-radius: 6px;
  margin: 0 1.5rem;
  overflow: hidden;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
}

.bar {
  height: 100%;
  background: linear-gradient(90deg, #FFD700, #FFA000);
  border-radius: 6px;
  transition: width 1s ease-out;
}

.rating-count {
  width: 50px;
  color: var(--accent-color);
  text-align: left;
  font-size: 1rem;
  font-weight: 500;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .rating-container {
    padding: 2.5rem;
  }
  
  .average-rating {
    font-size: 4.5rem;
  }
  
  .review-stars i {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .rating-container {
    padding: 2rem;
    box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.1);
  }
  
  .average-rating {
    font-size: 4rem;
  }
  
  .rating-label {
    width: 80px;
    font-size: 1rem;
  }
  
  .bar-container {
    margin: 0 1rem;
  }
}

@media (max-width: 480px) {
  .rating-container {
    padding: 1.5rem;
  }
  
  .average-rating {
    font-size: 3.5rem;
  }
  
  .review-stars i {
    font-size: 1.8rem;
  }
  
  .rating-label {
    width: 70px;
    font-size: 0.9rem;
  }
  
  .rating-count {
    width: 40px;
  }
}

/* ========== COLUMN-STYLE REVIEW FORM ========== */
.add-review {
  background: rgba(49, 24, 21, 0.9);
  padding: 2rem;
  border: 5px solid var(--highlight-color);
  border-radius: 8px;
  width: 100%;
  max-width: 600px; /* Medium column width */
  margin: 2rem auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.add-review h3 {
  font-family: 'Playfair Display', serif;
  color: var(--accent-color);
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 5px solid var(--highlight-color);
}

/* Form Elements */
#reviewForm {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--accent-color);
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px 12px;
  background-color: rgba(215, 204, 200, 0.1);
  border: 1px solid var(--highlight-color);
  color: var(--text-color);
  font-size: 0.9rem;
  border-radius: 3px;
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

/* Star Rating */
.star-rating {
  display: flex;
  justify-content: center;
  gap: 8px;
  color: #ffee00;
  margin: 0.5rem 0 1rem;
}

.star-rating i {
  font-size: 1.5rem;
  color: #ffee00;
  cursor: pointer;
  transition: all 0.2s ease;
}

.star-rating i:hover,
.star-rating i.active {
  color: #FFD700;
}

/* Submit Button */
.submit-button {
  background: var(--highlight-color);
  color: white;
  border: none;
  padding: 10px 20px;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
  border-radius: 3px;
  margin-top: 0.5rem;
  width: 100%;
}

.submit-button:hover {
  background: #5D4037;
  transform: translateY(-1px);
}

/* Responsive Adjustments */
@media (max-width: 480px) {
  .add-review {
    padding: 1.5rem;
    max-width: 320px;
  }
  
  .star-rating i {
    font-size: 1.6rem;
  }
}

/* ========== RESPONSIVE STYLES ========== */
@media (max-width: 992px) {
  .about-content, .booking-filter {
    flex-direction: column;
  }
  
  .about-image {
    margin-top: 3rem;
  }
  
  .room-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  header {
    height: 80vh;
  }
  
  .logo {
    font-size: 2.5rem;
  }
  
  .tagline {
    font-size: 1.2rem;
    max-width: 90%;
  }
  
  nav {
    padding: 1rem 2rem;
  }
  
  .nav-links {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--primary-color);
    flex-direction: column;
    align-items: center;
    padding-top: 3rem;
    transition: left 0.4s ease;
  }
  
  .nav-links.active {
    left: 0;
  }
  
  .nav-links li {
    margin: 1.5rem 0;
  }
  
  .section-title {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 3rem 1rem;
  }
  
  section {
    padding: 4rem 0;
  }
  
  .modal-content {
    padding: 2rem 1.5rem;
  }
  
  .gallery {
    grid-template-columns: 1fr;
  }
  
  .facility-grid {
    grid-template-columns: 1fr;
  }
}

.time-left {
  background-color: rgba(255, 183, 77, 0.2);
  color: var(--warning-color);
  padding: 0.3rem;
  border-radius: 4px;
  margin: 0.5rem 0;
  font-size: 0.8rem;
  text-align: center;
}

.timeout-info {
  background-color: var(--warning-color);
  color: var(--primary-color);
  padding: 0.8rem;
  border-radius: 4px;
  margin-bottom: 1rem;
  text-align: center;
  font-size: 0.9rem;
}

.timeout-info i {
  margin-right: 0.5rem;
}

/* Duration Select Styles */
.duration-select {
    margin-bottom: 1.5rem;
    position: relative;
}

.duration-label {
    display: block;
    margin-bottom: 0.8rem;
    color: var(--accent-color);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.duration-label i {
    margin-right: 10px;
    color: var(--highlight-color);
}

.select-wrapper {
    position: relative;
}

.luxury-select {
    width: 100%;
    padding: 1rem 1.5rem;
    background-color: rgba(93, 64, 55, 0.2);
    border: 2px solid var(--highlight-color);
    border-radius: 4px;
    color: var(--text-color);
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    appearance: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.luxury-select:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(141, 110, 99, 0.3);
    background-color: rgba(93, 64, 55, 0.3);
}

.select-arrow {
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--accent-color);
    transition: transform 0.3s ease;
}

.luxury-select:focus + .select-arrow {
    transform: translateY(-50%) rotate(180deg);
    color: var(--text-color);
}

/* Option styling */
.luxury-select option {
    background-color: var(--primary-color);
    color: var(--text-color);
    padding: 0.8rem;
}

/* Hover effect for options */
.luxury-select option:hover {
    background-color: var(--highlight-color) !important;
}

/* Animation when dropdown opens */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.luxury-select option {
    animation: fadeIn 0.3s ease forwards;
}

/* Luxury Brown Hotel Reviews Section - Final Update */
.reviews {
  padding: 50px 20px;
  background-color: #f0e7d8;
  background-image: linear-gradient(to bottom, #5d4037, #5d4037);
  border-radius: 12px;
  margin: 40px 0;
  border: 1px solid #d4c9a8;
  box-shadow: 0 8px 24px rgba(139, 69, 19, 0.08);
}

.reviews-container {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 20px;
  padding: 20px 0;
  margin: 30px 0;
  -webkit-overflow-scrolling: touch;
}

.review-item {
  background: #fff8f6;
  backdrop-filter: blur(4px);
  padding: 20px;
  border-radius: 8px;
  border: 1px solid #e0d6c2;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  min-width: 280px;
  scroll-snap-align: start;
  flex: 0 0 auto;
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px dashed #d4c9a8;
}

.review-name {
  font-size: 17px;
  font-weight: 400;
  color: #1b1713;
}

.review-date {
  font-size: 15px;
  color: #000000;
  font-style: italic;
}

.review-stars {
  color: #d4af37;
  font-size: 11px;
  margin: 8px 0;
}

.review-text {
  font-size: 20px;
  line-height: 1.6;
  color: #000000;
  padding: 5px 0;
}

/* Scrollbar styling */
.reviews-container::-webkit-scrollbar {
  height: 6px;
}

.reviews-container::-webkit-scrollbar-track {
  background: #f0e7d8;
  border-radius: 10px;
}

.reviews-container::-webkit-scrollbar-thumb {
  background: #b38b6d;
  border-radius: 10px;
}

/* Rating Summary */
.rating-container {
  background: #8d6e63;
  padding: 25px;
  border-radius: 10px;
  border: 1px solid #e0d6c2;
  max-width: 500px;
  margin: 0 auto 30px;
}

.average-rating {
  font-size: 42px;
  color: #160a07;
  font-weight: 300;
  font-family: 'Playfair Display', serif;
}

.fa-star{
  color: hsl(46, 100%, 55%);
}

.review-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.7);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 18px;
  color: #8b5a2b;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.review-nav:hover {
  background: white;
  transform: translateY(-50%) scale(1.1);
}

.review-nav.next {
  right: 10px;
}

.review-nav.prev {
  left: 10px;
}

/* FAQ Modal Styles */
#faqModal .modal-content {
  max-width: 700px;
  background-color: var(--primary-color);
  color: var(--text-color);
}

.faq-container {
  padding: 1rem;
}

.faq-item {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--highlight-color);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item h4 {
  color: var(--accent-color);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.faq-item p {
  font-size: 1rem;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .faq-item h4 {
    font-size: 1.1rem;
  }
  
  .faq-item p {
    font-size: 0.95rem;
  }
  
  #faqModal .modal-content {
    width: 95%;
    padding: 1.5rem;
  }
}