/*  Stays Page   */
*{ box-sizing: border-box; }

body{
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: url("R.jfif") center/cover no-repeat fixed;
}

/* Dark overlay – same as Home & Flights */
body::before{
  content:"";
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 0;
}

/* All content above overlay */
body > *{
  position: relative;
  z-index: 1;
}

/*  NAVBAR LOGO  */
.logo{
  margin-left: auto;
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 8px;
  background: rgba(255,255,255,0.9);
  padding: 6px;
}

/*  HEADER  */
.stays-header{
  position: sticky;
  top: 0;
  z-index: 5;
  text-align: center;
  background: rgba(255,255,255,0.92);
  padding: 16px 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}

.stays-header h1{
  margin: 0;
  font-size: 34px;
  letter-spacing: 0.3px;
}

.back-btn{
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #111;
  text-decoration: none;
  font-weight: 700;
}

/*  SEARCH BOX  */
.stay-search{
  padding: 28px 18px 10px;
  display: flex;
  justify-content: center;
}

.stay-search form{
  width: min(980px, 92vw);
  background: rgba(255,255,255,0.92);
  border-radius: 14px;
  padding: 18px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}

.input-group label{
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 6px;
  display: block;
}

.input-group input,
.input-group select{
  width: 100%;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.15);
  background: rgba(255,255,255,0.95);
}

.search-btn{
  grid-column: 1 / -1;
  padding: 12px;
  border: none;
  border-radius: 10px;
  background: #2b2d42;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

/*  STAY CARDS  */
.stays-list{
  width: min(980px, 92vw);
  margin: 18px auto 0;
  display: grid;
  gap: 16px;
}

.stay-card{
  background: rgba(255,255,255,0.9);
  border-radius: 16px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 280px 1fr;
  box-shadow: 0 10px 26px rgba(0,0,0,0.18);
}

.stay-card img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stay-info{
  padding: 18px;
}

.stay-info h2{
  margin: 0 0 6px;
  font-size: 22px;
}

.stay-info a{
  text-decoration: none;
  color: #111;
}

.stay-info a:hover{
  text-decoration: underline;
}

.stay-info h6{
  margin: 6px 0;
  font-weight: 600;
  color: #444;
}

.price{
  font-size: 18px;
  font-weight: 900;
  margin-top: 10px;
}

.stay-info button{
  margin-top: 10px;
  background: linear-gradient(to right, #ff7e5f, #838ae8);
  color: #fff;
  border: none;
  padding: 10px 14px;
  border-radius: 10px;
  cursor: pointer;
}

/*  FOOTER  */
.stays-footer{
  margin-top: 26px;
  padding: 18px 0 26px;
  text-align: center;
  color: #fff;
}

.stays-footer .footer-links a{
  color: #fff;
  text-decoration: none;
  margin: 0 10px;
  opacity: 0.9;
}

.stays-footer .footer-links a:hover{
  opacity: 1;
}

/*  RESPONSIVE  */
@media (max-width: 900px){
  .stay-search form{ grid-template-columns: 1fr 1fr; }
  .stay-card{ grid-template-columns: 1fr; }
  .stay-card img{ height: 220px; }
}
