/*
Name: Aashis rawal
Student ID: 11211
University ID: 24071214
*/

*{
  box-sizing: border-box;
}
/* Page base */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f4f4f4;
}

/* Hero section */
header {
  height: 100vh;
  text-align: center;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  padding-top: 150px;
  overflow: hidden;
}

/* Background image */
.background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  pointer-events: none;
  transition: opacity 1.2s ease-in-out;
}

/* Hero heading */
header h1 {
  font-size: 52px;
  margin: 250px 0 10px;
  color: rgba(10, 11, 11, 0.85);
}

/* Hero subtitle */
header p {
  font-size: 22px;
  margin: 0 0 30px;
  color: rgba(10, 11, 11, 0.85);
}

/* Main button */
.text1 {
  background: #ff9800;
  color: #fff;
  padding: 15px 30px;
  font-size: 18px;
  text-decoration: none;
  border-radius: 5px;
  transition: background 0.2s ease;
}

.text1:hover {
  background: #e68900;
}

/* Section layout */
section {
  padding: 60px 30px;
  text-align: center;
}

/* Subheading text */
.subtitle {
  color: #555;
  font-size: 16px;
  max-width: 750px;
  margin: 0 auto 25px;
  line-height: 1.5;
}

/* City cards */
.rooms {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
}

/* Single card */
.room {
  width: 260px;
  background: #fff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* About section */
#about {
  background: #ffffff;
}

/* About text */
.about-text {
  max-width: 900px;
  margin: 0 auto;
  font-size: 18px;
  color: #333;
  line-height: 1.8;
  padding: 20px;
}

/* Contact section */
#contact {
  background: #f9f9f9;
}

/* Contact box */
.contact-box {
  max-width: 700px;
  margin: 0 auto;
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  text-align: left;
  line-height: 1.7;
  font-size: 16px;
  color: #333;
}

/* Divider line */
.contact-line {
  margin: 20px 0;
  border: none;
  height: 1px;
  background: #ddd;
}

/* Footer bar */
footer {
  background: #333;
  text-align: center;
  padding: 15px;
  color: #fff;
}

/* 
   MOBILE RESPONSIVE
 */
@media (max-width: 768px){

  header{
    height: auto;
    min-height: 100vh;
    padding: 120px 16px 40px;
  }

  header h1{
    font-size: 32px;
    margin: 0 0 10px;
  }

  header p{
    font-size: 16px;
    margin: 0 0 20px;
  }

  .text1{
    width: 100%;
    max-width: 260px;
    display: inline-block;
    text-align: center;
    padding: 14px 18px;
    font-size: 16px;
  }

  section{
    padding: 40px 16px;
  }

  .rooms{
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .room{
    width: 100%;
    max-width: 380px;
    padding: 18px;
  }

  .about-text{
    font-size: 16px;
    padding: 14px;
  }

  .contact-box{
    padding: 18px;
    font-size: 15px;
  }
}

