/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

/* ===== BODY ===== */
body {
  background: linear-gradient(to bottom, #f7fbf7, #ffffff);
  color: #333;
  line-height: 1.6;
  overflow-y: auto;
  overflow-x: hidden;
}

body::-webkit-scrollbar {
  width: 10px;
}
body::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 5px;
}
body::-webkit-scrollbar-thumb {
  background-color: #5a8a5f;
  border-radius: 5px;
  border: 2px solid #f1f1f1;
}
body::-webkit-scrollbar-thumb:hover {
  background-color: #3f6c44;
}

/* ===== HEADER ===== */
.main-header {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  color: #333;
  padding: 18px 50px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.main-header img {
  height: 30px;
  margin-right: 10px;
}

.header-content {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-content h1 {
  font-size: 22px;
  font-weight: 700;
  color: #0c4c25;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ===== NAVIGATION ===== */
.nav-links {
  display: flex;
  gap: 24px;
}

.nav-links a {
  color: #333;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #0c4c25;
}

/* ===== SIGN IN BUTTON ===== */
.explore-button {
  padding: 8px 18px;
  background-color: #0c4c25;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.explore-button:hover {
  background-color: #126b37;
  transform: translateY(-2px);
}

/* ===== HERO SECTION ===== */
.page-title {
  text-align: center;
  margin-top: 180px;
  margin-bottom: 40px;
}

.page-title h1 {
  font-size: 42px;
  font-weight: 700;
  color: #0c4c25;
  margin-bottom: 10px;
  font-family: 'Garamond', serif;
}

.page-title h2 {
  font-size: 17px;
  font-weight: 400;
  color: #333;
  opacity: 0.8;
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.5;
}

/* ===== SEARCH BAR ===== */
.search-section {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 80px;
}

.search-box {
  display: flex;
  align-items: center;
  background: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  padding: 6px;
  width: 800px;
  max-width: 90%;
}

.search-box input {
  flex: 1;
  padding: 12px 18px;
  border: none;
  outline: none;
  font-size: 15px;
  color: #444;
  border-radius: 8px;
}

.search-box input::placeholder {
  color: #aaa;
}

.search-btn,
.filter-btn {
  background: #0c4c25;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 20px;
  margin-left: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s ease, transform 0.2s ease;
}

.search-btn:hover,
.filter-btn:hover {
  background: #126b37;
  transform: translateY(-2px);
}

/* ===== ROOM CARD GRID ===== */
#rooms-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  padding: 20px 40px;
  margin-bottom: 80px;
}

.room-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.room-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.room-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.room-info {
  padding: 18px;
  text-align: center;
}

.room-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: #0c4c25;
  margin-bottom: 8px;
}

.room-description {
  font-size: 14px;
  color: #555;
  margin-bottom: 12px;
  line-height: 1.5;
  height: 60px;
  overflow: hidden;
}

.room-price {
  font-size: 16px;
  font-weight: 700;
  color: #0c4c25;
}

.room-location {
  font-size: 13px;
  color: #777;
  margin-bottom: 10px;
}

/* ===== BUTTONS ===== */
.buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
}

.reserve-btn,
.book-btn {
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.25s ease;
  font-size: 13px;
}

.reserve-btn {
  background: #f0f2f0;
  color: #333;
}
.reserve-btn:hover {
  background: #e1e5e1;
}

.book-btn {
  background: #0c4c25;
  color: #fff;
}
.book-btn:hover {
  background: #126b37;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .main-header {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 24px;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 16px;
  }

  .explore-button {
    margin-top: 12px;
    align-self: flex-end;
  }

  .page-title h1 {
    font-size: 32px;
  }

  .search-box {
    width: 100%;
    flex-direction: column;
    gap: 8px;
    padding: 12px;
  }

  .search-btn,
  .filter-btn {
    width: 100%;
  }
}
