@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--poppins);
  overflow-x: hidden;
  max-width: fit-content;
  background-color: var(--dark);
}

/* :root {
  --primary-color: #0E0E10;
  --primary-color-dark: #bc1c5c;
  --heading-text: #E4E4E6;
  --paragraph-text: #AFB0B6;
  --max-width: 1200px;
  --poppins: "Poppins", sans-serif;
} */

:root {
  --dark: rgba(14, 14, 16, 1);
  --semi-dark: rgba(28, 28, 33, 1);
  --heading-text: rgba(255, 255, 255, 1);
  --paragraph-text: rgba(202, 202, 206, 1);
  --max-width: 1200px;
  --poppins: "Poppins", sans-serif;
}

a {
  text-decoration: none;
}

li {
  list-style: none;
}

html,
body {
  scroll-behavior: smooth;
}

/* reusable css custom classes  */

.subtitle-section {
  margin-bottom: 0.5rem;
  position: relative;
  font-weight: 500;
  letter-spacing: 2px;
  color: var(--paragraph-text);
}

.subtitle-section::after {
  position: absolute;
  content: "";
  top: 50%;
  transform: translate(1rem, -50%);
  height: 2px;
  width: 4rem;
  background-color: #0b63e5;
}

.title-section {
  max-width: 600px;
  margin-bottom: 1rem;
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 3rem;
  color: var(--heading-text);
}

.paragraph {
  max-width: 600px;
  margin-bottom: 1rem;
  color: var(--paragraph-text);
}

.container {
  max-width: 1220px;
  width: 100%;
  margin: auto;
  padding: 5rem 1rem;
}

ul li a {
  color: white;
  font-family: var(--poppins);
  font-size: 1rem;
}

/* navbar  */

.header {
  position: absolute;
  z-index: 999;
  max-width: 100%;
  width: 100vw;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1220px;
  width: 100%;
  margin: auto;
  padding: 2rem 1rem;
  position: relative;
}

.navbar-logo {
  height: 30px;
}

.navbar-logo img {
  width: 100%;
  height: 100%;
}

.navbar-links {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  gap: 2rem;
}

.nav-menu-btn {
  display: none;
  color: var(--heading-text);
}

.btn {
  padding: 0.5rem 1rem;
  outline: none;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.3s;
  display: flex;
  align-items: center;
  border-radius: 0.625rem;
  background-color: #0b63e5;
  color: var(--heading-text);
  font-weight: 500;
  font-family: var(--poppins);
}

/*  hero section */

.hero-section {
  height: 100vh;
  width: 100%;
  background-color: rgba(255, 106, 0, 0);
  background-image: url(/assets/header.jpg);
  background-position: center center;
  background-size: cover;
  object-fit: cover;
  background-repeat: no-repeat;
  z-index: -1;
}

.hero-container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-width: 100vw;
  flex-direction: column;
  text-align: center;
}

.hero-container h1 {
  font-weight: bolder;
  font-size: 1.5rem;
  color: var(--heading-text);
}

.hero-container h3 {
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--heading-text);
}

@media screen and (min-width: 768px) {
  .container {
    /* max-width: 740px; */
    width: 100%;
    margin: 0px auto;
  }
  .hero-container {
    font-weight: bolder;
    font-size: 3rem;
  }

  .hero-container h3 {
    font-weight: 600;
    font-size: 2rem;
  }
}

/* booking section  */

.section-booking {
  padding-block: 0;
}

input[type="text"],
textarea {
  background-color: var(--semi-dark);
}

.booking-form {
  padding: 2rem;
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  background-color: var(--semi-dark);
  border-radius: 10px;
  transform: translateY(-50%);
  box-shadow: 5px 5px 20px rgba(255, 255, 255, 0.1);
}

.input-group {
  flex: 1 1 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.input-group span {
  font-size: 1.75rem;
  color: var(--heading-text);
}

.input-group label {
  font-weight: 500;
  color: var(--heading-text);
}

.input-group input {
  display: block;
  width: 100%;
  max-width: 150px;
  padding-block: 5px;
  color: var(--heading-text);
  font-size: 0.9rem;
  outline: none;
  border: none;
}

.input-group input::placeholder {
  color: var(--paragraph-text);
}

/* about container  */

.about-container {
  overflow: hidden;
  display: grid;
  gap: 2rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
}

.about-image img {
  max-width: 450px;
  margin: auto;
  border-radius: 5px;
}

.about-image {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (max-width: 768px) {
  .about-container {
    display: grid;
    grid-template-columns: 1fr;
  }
}

/* room container  */

.room-grid {
  margin-top: 4rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.room-card {
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
  background-color: var(--semi-dark);
}

.room-card-image {
  position: relative;
  isolation: isolate;
  width: 100%;
}

.room-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.room-card-icons {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 1rem;
  z-index: 1;
}

.room-card-icons span {
  display: inline-block;
  padding: 2px 8px;
  font-size: 1.5rem;
  background-color: var(--heading-text);
  border-radius: 100%;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

.room-card-icons span:nth-child(1) {
  color: #f472b6;
}

.room-card-icons span:nth-child(2) {
  color: #c084fc;
}

.room-card-icons span:nth-child(3) {
  color: #60a5fa;
}

.room-card-details {
  padding: 1rem;
}

.room-card h4 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--heading-text);
}

.room-card p {
  margin-bottom: 0.5rem;
  color: var(--paragraph-text);
}

.room-card h5 {
  margin-bottom: 1rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--paragraph-text);
}

.room-card h5 span {
  font-size: 1.1rem;
  color: var(--heading-text);
}

/* service container  */

.service {
  background-image: url("assets/service.jpg");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.service-container {
  padding-block: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.service-content {
  grid-column: 2/3;
  padding: 2rem 4rem;
  background-color: var(--semi-dark);
}

.service-list {
  list-style: none;
  margin-top: 2rem;
  display: grid;
  gap: 2rem;
}

.service-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--heading-text);
}

.service-list span {
  padding: 5px 12px;
  font-size: 1.75rem;
  color: var(--heading-text);
  background-color: var(--paragraph-text);
  border-radius: 100%;
}

.service-list li:nth-child(1) span {
  color: #60a5fa;
  background-color: #dbeafe;
}

.service-list li:nth-child(2) span {
  color: #f472b6;
  background-color: #fce7f3;
}

.service-list li:nth-child(3) span {
  color: #c084fc;
  background-color: #f3e8ff;
}

.service-list li:nth-child(4) span {
  color: #fb7185;
  background-color: #ffe4e6;
}

/* banner section  */

.banner-content {
  padding: 2rem;
  display: flex;
  gap: 2rem;
  align-items: center;
  justify-content: space-evenly;
  flex-wrap: wrap;
  border-radius: 10px;
  background-color: var(--semi-dark);
  box-shadow: 5px 5px 20px rgba(255, 255, 255, 0.1);
}

.banner-card {
  text-align: center;
  flex: 1 1 180px;
}

.banner-card h4 {
  font-size: 2rem;
  font-weight: 600;
  color: var(--heading-text);
}

.banner-card p {
  color: var(--paragraph-text);
}

/* explore container  */

.explore :is(.subtitle-section, .title-section) {
  text-align: center;
  margin-inline: auto;
}

.explore-bg {
  margin-top: 4rem;
  padding-block: 3rem;
  display: grid;
  grid-template-columns:
    minmax(1rem, 1fr)
    minmax(0, var(--max-width))
    minmax(1rem, 1fr);
  background-image: url("assets/explore.jpg");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.explore-content {
  grid-column: 2/3;
  max-width: 400px;
  padding: 2rem;
  background-color: var(--semi-dark);
  border-radius: 5px;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.2);
}

.explore-content p {
  margin-bottom: 0.5rem;
  color: var(--paragraph-text);
}

.explore-content h4 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.5rem;
  color: var(--heading-text);
}

/* .explore-content .btn {
  color: var(--primary-color);
  background-color: var(-);
  border: 1px solid var(--primary-color);
} */

.explore-content .btn:hover {
  color: var(--white);
  background-color: var(--primary-color);
}

.footer {
  background-color: var(--dark);
}

.footer__container {
  display: grid;
  gap: 4rem 2rem;
}

.footer__col .paragraph {
  margin-block: 2rem;
}

.footer__col h4 {
  margin-bottom: 2rem;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--heading-text);
}

.footer__links {
  list-style: none;
  display: grid;
  gap: 1rem;
}

.footer__links a {
  color: var(--paragraph-text);
  transition: 0.3s;
}

.footer__links a:hover {
  color: var(--heading-text);
}

.footer__socials {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer__socials img {
  max-width: 25px;
  opacity: 0.8;
  transition: 0.3s;
}

.footer__socials img:hover {
  opacity: 1;
}

.footer__bar {
  padding: 1rem;
  font-size: 0.9rem;
  color: var(--paragraph-text);
  text-align: center;
}

@media (min-width: 767.98px) {
  .footer__container {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 767.98px) {
  .service-container {
    grid-template-columns: repeat(1, 1fr);
  }

  .service-list span {
    font-size: 1.5rem;
  }

  .service-list li {
    font-size: 1rem;
  }
}

@media (max-width: 767.98px) {
  .navbar {
    position: relative;
    background-color: var(--dark);
    height: auto;
  }

  .nav-menu-btn {
    display: block;
  }

  .navbar-btn {
    display: none;
  }

  .navbar-links {
    all: unset;
    position: absolute;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    top: -60%;
    left: 0;
    background-color: var(--primary-color-dark);
    z-index: -1;
    transition: 0.3s;
    background-color: var(--dark);
  }

  .navbar-links-active li {
    padding: 20px 0;
  }

  .navbar-links-active {
    top: 100%;
  }
}

@media (min-width: 991.98px) {
  /* .room-card {
    margin-top: 4rem;
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr 1fr;
  } */
}
