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

:root {
  --primary-color: #0a1e27;
  --secondary-color: #e9c675;
  --text-light: #cbd5e1;
  --white: #ffffff;
  --max-width: 1200px;
  --header-font: "Playfair Display", serif;
}

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

.section__container {
  max-width: var(--max-width);
  margin: auto;
  padding: 5rem 1rem;
}

.section__subheader {
  position: relative;
  isolation: isolate;
  margin-bottom: 1rem;
  padding-left: 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--secondary-color);
}
.section__subheader-1 {
  padding-left: 5rem;
}

.section__subheader::before {
  position: absolute;
  content: "";
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  height: 2px;
  width: 4rem;
  background-color: var(--secondary-color);
}

.section__subheader::after {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translate(-60%, -50%);
  font-size: 8rem;
  font-weight: 600;
  color: var(--white);
  opacity: 0.1;
  z-index: -1;
}

.section__header {
  margin-bottom: 1rem;
  font-size: 3rem;
  font-weight: 400;
  font-family: var(--header-font);
  color: var(--white);
}

.btn {
  padding: 0.75rem 1.5rem;
  outline: none;
  border: none;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  color: var(--white);
  background-color: transparent;
  border-radius: 5px;
  transition: 0.3s;
  cursor: pointer;
}

.btn:hover {
  background-color: rgba(10, 30, 39, 0.5);
}

.logo a {
  font-size: 1.5rem;
  font-weight: 600;
  font-family: var(--header-font);
  color: var(--white);
}

img {
  display: flex;
  width: 100%;
}

a {
  text-decoration: none;
  transition: 0.3s;
}

html,
body {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: var(--primary-color);
}

.header {
  position: relative;
  height: 100vh;
  background-color: #000;
}

.header__image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.header__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(
      to bottom,
      rgba(10, 30, 39, 0.35) 0%,
      rgba(10, 30, 39, 0.55) 100%
    ),
    radial-gradient(
      circle at center,
      rgba(0, 0, 0, 0) 0%,
      rgba(10, 30, 39, 0.4) 100%
    );
  z-index: 2;
  pointer-events: none;
}

nav {
  position: relative;
  max-width: var(--max-width);
  margin: auto;
  padding: 1rem;
  z-index: 9;
}

.nav__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
}

.nav__links {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 2rem);
  max-width: 350px;
  padding: 2rem;
  list-style: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 2rem;
  background-color: rgba(10, 30, 39, 0.8);
  border-radius: 10px;
  display: none;
  z-index: 100;
}

.nav__links.open {
  display: flex;
  animation: show-nav 0.3s linear forwards;
}

.nav__links.close {
  animation: hide-nav 0.3s linear forwards;
}

@keyframes show-nav {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes hide-nav {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

.nav__links a {
  font-weight: 500;
  color: var(--white);
}

.nav__links a:hover {
  color: var(--secondary-color);
}

.nav__menu__btn {
  font-size: 1.5rem;
  color: var(--white);
  cursor: pointer;
}

.nav__action__btn {
  display: flex;
  align-items: center;
  white-space: nowrap;
  order: 3;
  margin-left: auto;
  margin-right: 0.75rem;
}

.nav__menu__btn {
  order: 4;
}

.nav__action__btn .btn {
  border: 1px solid var(--white);
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

.btn__call {
  border-radius: 50px;
}

.whatsapp__float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border-radius: 50%;
  font-size: 1.75rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  z-index: 99;
  transition:
    transform 0.3s,
    background-color 0.3s;
}

.whatsapp__float:hover {
  transform: scale(1.1);
  background-color: #f0d28a;
}

.header__container {
  position: relative;
  isolation: isolate;
  height: calc(100% - 75px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}

.header__content {
  max-width: 700px;
}

.header__content .section__header {
  font-size: 4rem;
  font-weight: 600;
  line-height: 5rem;
}

.header__content a {
  color: var(--white);
}

.header__content a:hover {
  color: var(--secondary-color);
}

.header__socials {
  position: absolute;
  left: 0;
  align-items: center;
  gap: 1rem;
  color: var(--white);
  transform: translateX(calc(-50% + 1rem)) rotate(90deg);
  display: none;
}

.header__socials a {
  font-size: 1.2rem;
  color: var(--white);
  transform: rotate(-90deg);
}

.header__socials a:hover {
  color: var(--secondary-color);
}

.places {
  background-image: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0),
    var(--primary-color) 8rem
  );
  overflow: hidden;
  margin-top: 3rem;
}

.places__container {
  padding-top: 0;
  padding-bottom: 2rem;
  display: grid;
  gap: 5rem 2rem;
  overflow: hidden;
}

.places__container .section__title {
  grid-column: 1 / -1;
  text-align: center;
  margin-bottom: 2rem;
}

.place__image img {
  max-width: 400px;
  margin-inline: auto;
  border-radius: 15px;
  box-shadow: 5px 5px 30px rgba(0, 0, 0, 0.4);
}

.place__content-1 .section__subheader::after {
  content: "01";
}

.place__content-2 .section__subheader::after {
  content: "02";
}

.place__content-3 .section__subheader::after {
  content: "03";
}

.place__content p {
  margin-bottom: 1.5rem;
  color: var(--text-light);
  line-height: 1.6;
}

.place__content a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--secondary-color);
  font-weight: 500;
}

.place__content a span {
  transition: 0.3s;
}

.place__content a:hover span {
  transform: translateX(10px);
}

.footer {
  background-color: var(--primary-color);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer__col:first-child {
  max-width: 400px;
}

.footer__logo {
  margin-bottom: 1rem;
}

.footer__col p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.footer__socials {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer__socials a {
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: 0.3s;
}

.footer__socials a:hover {
  color: var(--primary-color);
  background-color: var(--secondary-color);
}

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

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

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

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

.footer__contact li {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--text-light);
}

.footer__contact li span {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--secondary-color);
}

.footer__bar {
  padding: 1rem;
  font-size: 0.9rem;
  color: var(--text-light);
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2rem;
}

.packages {
  background-color: var(--primary-color);
  padding: 4rem 1rem;
}

.section__title {
  text-align: center;
  margin-bottom: 3rem;
}

.packages__container {
  display: grid;
  gap: 2.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.package__card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  overflow: hidden;
  transition: 0.3s;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.package__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.package__image {
  height: 220px;
  overflow: hidden;
}

.package__image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: 0.3s;
}

.package__card:hover .package__image img {
  transform: scale(1.1);
}

.package__content {
  padding: 1.5rem;
}

.package__title {
  font-size: 1.25rem;
  font-family: var(--header-font);
  color: var(--white);
  margin-bottom: 1rem;
}

.package__info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--text-light);
  font-size: 0.9rem;
}

.package__info p {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.package__info i {
  color: var(--secondary-color);
  font-size: 1rem;
}

.package__price {
  font-size: 1.5rem;
  font-family: var(--header-font);
  color: var(--secondary-color);
  margin-bottom: 1.25rem;
}

.package__price span {
  font-size: 0.9rem;
  color: var(--text-light);
}

.package__card .btn {
  width: 100%;
  justify-content: center;
  background-color: rgba(233, 198, 117, 0.1);
}

.package__card .btn:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
}

/* Responsive Design */
@media (min-width: 540px) {
  .packages__container {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (min-width: 768px) {
  .packages {
    padding: 5rem 2rem;
  }

  .package__image {
    height: 250px;
  }

  .package__content {
    padding: 2rem;
  }

  .package__title {
    font-size: 1.5rem;
  }

  .package__info {
    font-size: 1rem;
  }
}

@media (min-width: 1024px) {
  .packages__container {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

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

@media (min-width: 768px) {
  .nav__logo {
    flex: 1;
    white-space: nowrap;
  }

  .nav__links {
    position: static;
    transform: none;
    padding: 0;
    display: flex;
    flex-direction: row;
    gap: 1rem;
    background-color: transparent;
    max-width: none;
    white-space: nowrap;
  }

  .nav__menu__btn {
    display: none;
  }

  .nav__action__btn {
    justify-content: flex-end;
    display: flex;
    flex: 1;
    white-space: nowrap;
    margin-left: 0;
    margin-right: 0;
    order: 0;
  }

  .header__container {
    height: calc(100% - 10rem);
  }

  .header__socials {
    display: flex;
  }

  .places__container {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    gap: 10rem 2rem;
  }

  .place__image-1 {
    grid-area: 2/2/3/3;
  }

  .place__image-3 {
    grid-area: 4/2/5/3;
  }

  .place__content {
    margin-left: 6rem;
  }

  .footer__container {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .nav__links {
    gap: 1.25rem;
  }
}

.gallery {
  background-color: var(--primary-color);
  padding: 5rem 0;
}

.gallery__container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.gallery__slider {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  overflow: hidden;
}

.slider__container {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slide {
  min-width: 100%;
  height: 500px;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
}

.slider__controls {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 1rem;
}

.prev__btn,
.next__btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  background-color: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(5px);
  cursor: pointer;
  transition: 0.3s;
}

.prev__btn i,
.next__btn i {
  font-size: 1.5rem;
  color: var(--white);
}

.prev__btn:hover,
.next__btn:hover {
  background-color: var(--secondary-color);
}

@media (max-width: 768px) {
  .slide {
    height: 300px;
  }

  .slider__controls {
    padding: 0 0.5rem;
  }

  .prev__btn,
  .next__btn {
    width: 40px;
    height: 40px;
  }

  .prev__btn i,
  .next__btn i {
    font-size: 1.2rem;
  }
}

.reviews {
  background-color: var(--primary-color);
  padding: 5rem 0;
}

.reviews__grid {
  display: grid;
  gap: 2rem;
  margin-top: 4rem;
}

.review__card {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  transition: transform 0.3s;
}

.review__card:hover {
  transform: translateY(-5px);
}

.review__profile {
  margin-bottom: 1.5rem;
}

.review__profile img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  object-fit: cover;
}

.review__profile h4 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.review__stars {
  color: var(--secondary-color);
  font-size: 1.1rem;
}

.review__text {
  color: var(--text-light);
  font-style: italic;
  line-height: 1.6;
}

@media (min-width: 768px) {
  .reviews__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .reviews__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.contact {
  background-color: var(--primary-color);
  padding: 5rem 0;
}

.contact__wrapper {
  margin-top: 4rem;
  display: grid;
  gap: 2rem;
}

.contact__info {
  display: grid;
  gap: 2rem;
}

.contact__card {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  transition: transform 0.3s;
}

.contact__card:hover {
  transform: translateY(-5px);
}

.contact__card i {
  font-size: 2rem;
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

.contact__card h4 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.contact__card p {
  color: var(--text-light);
}

.contact__form {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 15px;
  display: grid;
  gap: 1.5rem;
}

.form__group input,
.form__group textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  outline: none;
  padding: 1rem;
  border-radius: 8px;
  color: var(--white);
  font-size: 1rem;
  font-family: "Poppins", sans-serif;
  resize: none;
}

.form__group input::placeholder,
.form__group textarea::placeholder {
  color: var(--text-light);
}

.contact__form .btn {
  justify-content: center;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  font-weight: 500;
}

.contact__form .btn:hover {
  background-color: #d4b165;
}

@media (min-width: 768px) {
  .contact__info {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .contact__wrapper {
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
  }

  .contact__info {
    grid-template-columns: 1fr;
  }
}
