@import url("https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap");

:root {
  --primary-color: #c49c74;
  --text-dark: #333333;
  --text-light: #767268;
  --extra-light: #f0efef;
  --white: #ffffff;
  --max-width: 1200px;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

.section__container {
  max-width: var(--max-width);
  margin: auto;
  padding: 5rem 1rem;
}

.section__header {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-dark);
  text-align: center;
}

.section__description {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--text-light);
  text-align: center;
  line-height: 1.75rem;
}

img {
  display: flex;
  width: 100%;
}

a {
  text-decoration: none;
  transition: 0.3s;
}

html,
body {
  scroll-behavior: smooth;
}

body {
  font-family: "Lato", sans-serif;
}

header {
  background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.5),
      rgba(255, 255, 255, 0)
    ),
    url("assets/web1.png");
  background-position: top center;
  /* background-image: url(assets/web1.png); */
  background-size: cover;
  background-repeat: no-repeat;
  min-height: 125vh;
}

nav {
  position: fixed;
  isolation: isolate;
  width: 100%;
  z-index: 9;
}

.nav__header {
  padding: 1rem;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: black;
}

.nav__links {
  list-style: none;
}

.nav__logo a {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--white);
}

.nav__menu__btn {
  font-size: 1.5rem;
  color: var(--white);
  cursor: pointer;
}

.nav__links {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 2rem;
  padding: 2rem;
  background-color: black;
  transition: transform 0.5s;
  z-index: -1;
}

.nav__links.open {
  transform: translateY(100%);
}

.nav__links a {
  font-weight: 600;
  color: var(--white);
  white-space: nowrap;
}


/* Header */
.header__container {
  align-items: center;
  /* border: 2px solid white; */
}

.header__container h2 {
  padding: 0.75rem 1.5rem;
  margin: 10px 5px 40px 0;
  outline: none;
  font-size: 3rem;
  font-weight: 400;
  font-family: "Lato", sans-serif;
  color: var(--text-dark);
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 5px;
}

.header__container p {
  padding: 0.75rem 1.5rem;
  margin: 10px 5px 20px 0;
  outline: none;
  font-size: 1.2rem;
  line-height: 1.75rem;
  font-family: "Lato", sans-serif;
  color: var(--text-dark);
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 5px;
}


.btn1 {
  padding: 0.75rem 1.5rem;
  margin: 30px 5px 10px 0;
  outline: none;
  border: none;
  font-size: 1rem;
  font-family: "Lato", sans-serif;
  color: var(--text-dark);
  background-color: var(--white);
  border-radius: 5px;
  transition: 0.3s;
  cursor: pointer;
}


.btn2 {
  padding: 0.75rem 1.5rem;
  /* outline: none; */
  border: 2px solid var(--white);
  font-size: 1rem;
  font-family: "Lato", sans-serif;
  color: var(--white);
  background-color: transparent;
  border-radius: 5px;
  transition: 0.3s;
  cursor: pointer;
}

.btn2:hover {
  background-color: var(--white);
  color: var(--text-dark);
  border: transparent;
}


/* Accomodation */
.room {
  background-color: var(--extra-light);
  /* border: 2px solid black; */
}

.room__container .section__header {
  text-align: left;
}

.room__grid {
  margin-top: 1rem;
  display: grid;
  gap: 2.5rem;
  /* border: 2px solid black; */
}

.room__card {
  margin-top: 0.5rem;
  /* border: 2px solid black; */
}

.room__image {
  margin-bottom: 0.5rem;
  position: relative;
  isolation: isolate;
}

.room__rating {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.125rem 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  background-color: var(--white);
  border-radius: 1rem;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}


.room__image img {
  border-radius: 0.75rem;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.room__card h4 {
  margin-bottom: 0.5rem;
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--text-dark);
}

.room__card p {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-dark);
}

.room__card p span {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
}

.demo__btn {
  padding: 0.75rem 1.5rem;
  margin: 5px 5px 10px 0;
  outline: none;
  border: none;
  font-size: 1rem;
  font-family: "Lato", sans-serif;
  color: var(--white);
  background-color: var(--text-dark);
  border-radius: 5px;
  transition: 0.3s;
  cursor: pointer;
}

.demo__btn:hover {
  background-color: var(--white);
  color: var(--text-dark);
}


/* Services */
.service__container .section__description {
  padding-top: 10px;
  /* border: 2px solid black; */
}

.service__grid {
  margin-top: 4rem;
  display: grid;
  gap: 2rem 1rem;
  /* border: 2px solid black; */
}

.service__card {
  padding: 30px 15px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  /* border: 2px solid black; */
}

.service__card ul {
  color: var(--text-dark);
  text-align: left;
  padding-left: 15px;
}

.service__card li {
  color: var(--text-dark);
  line-height: 1.5rem;
  font-size: 18px;
}

.service__card h3 {
  color: var(--text-dark);
  text-align: left;
  font-size: 18px;
  padding: 15px 0 10px 0;
}

.service__card img {
  max-width: 300px;
  margin-inline: auto;
  margin-bottom: 1rem;
}

.service__card h4 {
  margin-bottom: 0.5rem;
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--text-dark);
  text-align: left;
}

.service__card .section__description {
  color: var(--text-dark);
  text-align: left;
}


/* New form */

.contact {
  justify-content: center;
  display: flex;
}
.contact__header {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 1rem;
}
.container {
  max-width: 600px;
  margin: 40px 10px;
  padding: 20px 25px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}
.form-group {
  margin-bottom: 20px;
}
label {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
}
input[type='text'],
input[type='email'],
input[type='number'],
input[type='select'],
textarea {
  width: 100%;
  padding: 10px;
  border-radius: 5px;
  font-family: "Montserrat", sans-serif;
  border: 1px solid #ccc;
  box-sizing: border-box;
}
textarea {
  height: 150px;
}
select {
  width: 100%;
  font-size: 15px;
  margin-bottom: 8px;
  /* outline: none; */
  color: var(--text-dark);
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
  box-sizing: border-box;
}
input[type='submit'] {
  color: var(--white);
  background-color: var(--text-dark);
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  margin-top: 5px;
}
input[type='submit']:hover {
  color: var(--text-dark);
  background-color: var(--extra-light);
}

.hint {
  color: #888;
  font-size: 15px;
  margin-bottom: 10px;
}

.currency {
  position: relative;
  padding-left: 15px;
  display: flex;
  align-items: center;
  border-radius: 4px;
  border: 1px solid #ccc;
}
.currency__symbol {
  position: absolute;
  left: 10px;
}
.currency input {
  border: none;
  padding-left: 10px;
}
.currency input:focus {
  border: none;
  outline: none;
}


/* Footer */
footer {
  background-color: var(--extra-light);
}

.footer__container {
  display: grid;
  gap: 4rem 2rem;
}

.footer__logo {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-dark);
}

.footer__links {
  display: grid;
  gap: 1rem;
}

.footer__col ul {
  list-style: none;
}

.footer__links a {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
}

.footer__links a:hover {
  color: var(--text-dark);
}

.footer__bar {
  padding: 1rem;
  font-size: 1rem;
  color: var(--text-light);
  text-align: center;
}

.footer__bar a {
  color: var(--text-light);
}

.whatsapp-float {
  position: fixed; 
  bottom: 20px;   
  right: 20px;    
  width: 60px;
  height: 60px;
  z-index: 1000;
  animation: floatPulse 2s infinite;
  cursor: pointer;
}
  /* Tooltip */
  .tooltip {
    position: fixed;
    bottom: 90px;
    right: 20px;
    background-color: #333;
    color: #fff;
    padding: 8px 12px;
    border-radius: 5px;
    font-size: 14px;
    opacity: 0;
    transition: 0.3s;
    pointer-events: none;
  }

  .whatsapp-float:hover + .tooltip {
    opacity: 1;
  }

  /* Hover effect */
  .whatsapp-float:hover {
    animation: none;
    transform: scale(1.1);
  }

  /* Animation: grow + move */
  @keyframes floatPulse {
    0% {
      transform: scale(1) translateY(0);
    }
    50% {
      transform: scale(1.15) translateY(-6px);
    }
    100% {
      transform: scale(1) translateY(0);
    }
  }


@media (width > 540px) {
  .header__container p {
    font-size: 1.5rem;
    line-height: 2rem;
  }

  .header__container h2 {
    font-size: 4rem;
    font-weight: 300;
  }

  .room__container .section__header {
    text-align: left;
  }

  .room__container .section__header {
    text-align: center;
  }


  .room__grid {
    margin-top: 2rem;
    grid-template-columns: repeat(2, 1fr);
  }

  .service__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .property__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trip__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .booking__form {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact__form {
    padding: 2rem 4rem 3rem 4rem;
  }


  .footer__container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (width > 786px) {
  nav {
    position: static;
    padding-inline: 1rem;
    padding-top: 2rem;
    max-width: var(--max-width);
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
  }

  .nav__header {
    flex: 1;
    padding: 0;
    background-color: transparent;
  }

  .nav__logo a {
    font-size: 1.75rem;
  }

  .nav__menu__btn {
    display: none;
  }

  .nav__links {
    position: static;
    width: fit-content;
    padding: 0;
    flex-direction: row;
    background-color: transparent;
    transform: none !important;
  }

  .nav__links a:hover {
    color: var(--text-dark);
  }

  .header__container {
    grid-template-columns: 4fr 2fr;
  }

  .header__container h1 {
    text-align: left;
    font-size: 6rem;
    line-height: 6.5rem;
  }

  .header__content {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .header__content .section__description {
    text-align: left;
  }

  .header__btns {
    justify-content: flex-start;
  }

  .room__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .service__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .contact__form {
    padding: 2rem 6rem 3rem 6rem;
  }

  .footer__container {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (width > 1024px) {
  .hotel__grid {
    gap: 1.5rem;
  }

  .service__grid {
    gap: 1.5rem;
  }

  .booking__form {
    padding-inline: 3rem;
  }

  .confirm__btn {
    padding-inline: 3rem;
    margin: 0 3rem;
  }
}

@media (width <550px) {
  .header__container h1 {
    font-size: 3rem;
    text-align: left;
  }

  .header__content .section__description {
    text-align: left;
  }

  .section__header {
    font-size: 2.5rem;
  }

  .contact__form {
    padding: 2rem 1rem 3rem 1rem;
    margin: 3rem 1.5rem;
}

  .contact__header {
    margin-bottom: 1rem;
  }

  .contact__description {
    margin: 8px 0 12px 0;
}


}
