* { box-sizing: border-box; }
/* img, video { max-width: 100%; height: auto; display: block; } */

/* Prevent horizontal scroll on small screens */
html, body { overflow-x: hidden; }

/* Make edge sections breathe on small screens */

.footer-container,
.footer-bottom,
.room-container { padding-left: 16px; padding-right: 16px; }

body {
  font-family: 'Inter', sans-serif;
  background: #fffdf8;
  margin: 0;
  padding: 0;
  color: #333;
}
h1, h2, h3, .hero-section h1 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    letter-spacing: 1px;
}
p,a, .hero-section p {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    line-height: 1.6;
}
h2 {
  text-align: center;
  color: #b88a44;
  margin: 20px 0;
}
/* ===== Search Section ===== */
.search-section {
  text-align: center;
  /* padding: 40px 20px; */
  background: #fdfaf6;
}

.search-section h2 {
  font-size: 28px;
  color: #7c5a2c;
  margin-bottom: 10px;
}

.search-section p {
  color: #777;
  margin-bottom: 20px;
}

.logo-icon img {
    width: 60px;   /* adjust size */
    height: auto;
    border-radius: 50%; /* make circular if needed */
    margin-right: 10px;
}

/* Search Box */
.search-box {
    display: flex;
    background: #fff;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    gap: 10px;
    position: relative;
    z-index: 2;
    margin-top: 50px;
    max-width: 950px;
    margin: auto;
    flex-wrap: wrap; /* Aa line umero jethi tablets ma line break thai shake */
    justify-content: center;
}

.search-box input,
.search-box select {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    min-width: 180px;
}

.search-box button {
    background: #f1c45f;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    font-weight: 600;
}

.search-box button:hover {
    background: #d4a93d;
}


.rooms-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  max-width: 1500px;
  margin: 0 auto;
}
.room-card {
  background: #fffaf2;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  overflow: hidden;
  max-width: 360px;
  margin: 20px;
  font-family: 'Segoe UI', Arial, sans-serif;
}

.room-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.room-content {
  padding: 16px 20px;
}

.room-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.room-header h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
  color: #444;
}

.rating {
  color: #e0a200;
  font-size: 15px;
  font-weight: bold;
}

.room-desc {
  color: #666;
  margin: 8px 0 14px;
  font-size: 14px;
  line-height: 1.4;
}

.features {
  margin-bottom: 16px;
}

.features .tag {
  display: inline-block;
  background: #f5e6cc;
  color: #444;
  padding: 4px 10px;
  margin: 3px 4px 3px 0;
  border-radius: 20px;
  font-size: 12px;
}

.room-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.price {
  font-size: 20px;
  font-weight: bold;
  color: #b58900;
}

.price small {
  font-size: 13px;
  color: #777;
}
.view_btn{
  padding: 8px 16px;
  background: #f9f5ef;
  border: 1px solid #e6d8c2;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  color: #444;
  transition: all 0.3s ease;
}
.view_btn:hover {
  background: #f1c45f;
  color: #fff;
}
a .view_btn{
padding: 8px 16px;
  background: #f9f5ef;
  border: 1px solid #e6d8c2;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  color: #444;
  transition: all 0.3s ease;
}
.btn {
  padding: 8px 16px;
  background: #f9f5ef;
  border: 1px solid #e6d8c2;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  color: #444;
  transition: all 0.3s ease;
}

.btn:hover {
  background: #e6d8c2;
}
/* ===== Footer Styles ===== */
.footer {
  background: #8a6642;
  color: white;
  padding: 50px 20px 20px;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  margin-bottom: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Footer Col */
.footer-col h3,
.footer-col h4 {
  margin-bottom: 15px;
  font-weight: 700;
}

.footer-col p {
  color: #e0e0e0;
  margin-bottom: 15px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
  color: #e0e0e0;
}

.footer-col a {
  color: #f5d179;
  text-decoration: none;
  transition: 0.3s;
}

.footer-col a:hover {
  text-decoration: underline;
}

/* Social Icons */
.social-icons a {
  margin-right: 10px;
  font-size: 1.2rem;
}

.social-icons a:hover {
  text-decoration: none;
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 15px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  font-size: 0.9rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-bottom a {
  color: #f5d179;
}


.location {
  font-size: 0.9rem;
  color: #777;
}
/* ===========================
   Responsive Design
=========================== */

/* rooms.css ma niche no code update karo */

@media (max-width: 768px) {
  /* Class name sudharyu: .search-bar -> .search-box */
  .search-box {
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
    gap: 15px; /* Thodi vadhari jagya */
    width: 90%; /* Mobile screen mujab */
    max-width: 100%;
    margin: 20px auto;
  }

  /* Input fields ne full width karo */
  .search-box input,
  .search-box select,
  .search-box button {
    width: 100% !important;
    min-width: unset !important; /* Fixed width kadhi nakhi */
  }

  /* Rooms container fix */
  .rooms-container {
    padding: 10px;
    gap: 15px;
  }

  .room-card {
    max-width: 100%;
    margin: 10px 0;
  }
}

/* Tablets (max-width: 992px) */
@media (max-width: 992px) {

  /* Rooms: 2-column layout */
  .room-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
  /* ✅ SAME NAVBAR AS INDEX.PHP */
  

  /* Search bar goes vertical */
  .search-bar {
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
    gap: 12px;
    width: 100%;
    max-width: 100%;
  }
  .search-bar .form-group,
  .search-bar input,
  .search-bar select,
  .search-bar .btn {
    width: 100%;
  }

  /* Rooms: single column */
  .room-container {
    grid-template-columns: 1fr;
    padding-left: 12px;
    padding-right: 12px;
  }

  .room-card { width: 100%; }

  /* Room details padding */
  .room-details { padding: 16px; }

  /* Footer collapses to one column */
  .footer-container {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
  /* ✅ Same navbar shrink as index */
  .search-section h2 { font-size: 22px; }

  .search-bar { padding: 15px; gap: 10px; }

  .room-card img { height: auto; }

  .room-details h2 { font-size: 20px; }

  .btn { padding: 10px 14px; font-size: 14px; }
}
