/* Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Lora:wght@400;500;600;700&family=Nunito:wght@300;400;500;600;700&display=swap");

/* Variables CSS */
:root {
  --header-height: 3.5rem;

  /* Colors */
  --primary-color: #a67c52;
  --secondary-color: #6ab04c;
  --accent-color: #fdf6e3;
  --white-color: #ffffff;
  --black-color: #000000;
  --text-color: #5d4e37;
  --text-color-light: #8b7355;
  --body-color: #fdf6e3;
  --container-color: #ffffff;

  /* Font and typography */
  --title-font: "Lora", serif;
  --body-font: "Nunito", sans-serif;
  --biggest-font-size: 3rem;
  --h1-font-size: 2.5rem;
  --h2-font-size: 1.75rem;
  --h3-font-size: 1.25rem;
  --normal-font-size: 1rem;
  --small-font-size: 0.875rem;
  --smaller-font-size: 0.813rem;

  /* Font weight */
  --font-light: 300;
  --font-regular: 400;
  --font-medium: 500;
  --font-semi-bold: 600;
  --font-bold: 700;

  /* Margins Bottom */
  --mb-0-25: 0.25rem;
  --mb-0-5: 0.5rem;
  --mb-0-75: 0.75rem;
  --mb-1: 1rem;
  --mb-1-25: 1.25rem;
  --mb-1-5: 1.5rem;
  --mb-2: 2rem;
  --mb-2-5: 2.5rem;
  --mb-3: 3rem;

  /* z index */
  --z-tooltip: 10;
  --z-fixed: 100;
  --z-modal: 1000;
}

/* Responsive typography */
@media screen and (max-width: 992px) {
  :root {
    --biggest-font-size: 2.5rem;
    --h1-font-size: 2rem;
    --h2-font-size: 1.5rem;
    --h3-font-size: 1.125rem;
    --normal-font-size: 0.938rem;
    --small-font-size: 0.813rem;
    --smaller-font-size: 0.75rem;
  }
}

/* BASE */
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body,
button,
input,
textarea,
select {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
}

body {
  background-color: var(--body-color);
  color: var(--text-color);
  line-height: 1.6;
}

h1,
h2,
h3 {
  color: var(--text-color);
  font-weight: var(--font-semi-bold);
  font-family: var(--title-font);
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

button {
  cursor: pointer;
  border: none;
  outline: none;
}

/* REUSABLE CSS CLASSES */
.container {
  max-width: 1024px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.grid {
  display: grid;
}

.section {
  padding: 6rem 0 2rem;
}

.section__title {
  font-size: var(--h1-font-size);
  color: var(--text-color);
  text-align: center;
  margin-bottom: var(--mb-3);
  font-family: var(--title-font);
}

.section__subtitle {
  display: block;
  font-size: var(--small-font-size);
  color: var(--primary-color);
  text-align: center;
  font-weight: var(--font-medium);
  margin-bottom: var(--mb-1);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* BUTTON */
.button {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--white-color);
  padding: 1.25rem 2.5rem;
  font-weight: var(--font-medium);
  border-radius: 50px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(166, 124, 82, 0.3);
}

.button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s;
}

.button:hover::before {
  left: 100%;
}

.button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(166, 124, 82, 0.4);
}

/* HEADER */
.header {
  width: 100%;
  background-color: transparent;
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--z-fixed);
  transition: all 0.4s ease;
}

.header.scroll-header {
  background-color: rgba(253, 246, 227, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(166, 124, 82, 0.1);
}

.nav {
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__logo h3 {
  color: var(--primary-color);
  font-weight: var(--font-bold);
  font-family: var(--title-font);
  font-size: var(--h3-font-size);
}

.nav__list {
  display: flex;
  column-gap: 2.5rem;
}

.nav__link {
  color: var(--text-color);
  font-weight: var(--font-medium);
  transition: color 0.3s ease;
  position: relative;
}

.nav__link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  transition: width 0.3s ease;
}

.nav__link:hover::after,
.nav__link.active-link::after {
  width: 100%;
}

.nav__link:hover,
.nav__link.active-link {
  color: var(--primary-color);
}

.nav__toggle,
.nav__close {
  display: none;
}

/* HERO */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(166, 124, 82, 0.8), rgba(106, 176, 76, 0.6)), url("https://images.pexels.com/photos/3757942/pexels-photo-3757942.jpeg?auto=compress&cs=tinysrgb&w=1920&h=1080&dpr=1") center/cover;
  z-index: -1;
}

.hero__container {
  text-align: center;
  color: var(--white-color);
}

.hero__logo h1 {
  font-family: var(--title-font);
  font-size: var(--biggest-font-size);
  font-weight: var(--font-bold);
  margin-bottom: var(--mb-2);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  color: var(--white-color);
}

.hero__title {
  font-size: var(--h1-font-size);
  margin-bottom: var(--mb-1-5);
  line-height: 1.2;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
  color: var(--white-color);
}

.hero__description {
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb-3);
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero__button {
  font-size: var(--h3-font-size);
  padding: 1.5rem 3rem;
}

/* ABOUT */
.about {
  background-color: var(--white-color);
}

.about__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about__content {
  text-align: left;
}

.about__description {
  margin-bottom: var(--mb-2);
  color: var(--text-color-light);
  line-height: 1.8;
  font-size: var(--normal-font-size);
}

.about__illustration {
  justify-self: center;
}

.about__svg {
  width: 100%;
  max-width: 500px;
  height: auto;
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
}

/* SERVICES */
.services {
  background: linear-gradient(135deg, var(--accent-color) 0%, var(--white-color) 100%);
}

.services__content {
  margin-top: 4rem;
}

.service__item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.service__item.animate {
  opacity: 1;
  transform: translateY(0);
}

.service__item--right {
  grid-template-columns: 1fr 1fr;
}

.service__item--right .service__data {
  order: 1;
}

.service__item--right .service__illustration {
  order: 2;
}

.service__illustration {
  text-align: center;
}

.service__svg {
  width: 100%;
  max-width: 300px;
  height: auto;
  transition: transform 0.3s ease;
}

.service__item:hover .service__svg {
  transform: scale(1.05);
}

.service__data {
  padding: 2rem;
}

.service__title {
  font-size: var(--h2-font-size);
  margin-bottom: var(--mb-1);
  color: var(--text-color);
  font-family: var(--title-font);
}

.service__description {
  color: var(--text-color-light);
  line-height: 1.8;
}

/* BENEFITS */
.benefits {
  position: relative;
  background-color: var(--primary-color);
  color: var(--white-color);
  overflow: hidden;
}

.benefits__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("https://images.pexels.com/photos/1640777/pexels-photo-1640777.jpeg?auto=compress&cs=tinysrgb&w=1920&h=1080&dpr=1") center/cover;
  opacity: 0.1;
  z-index: 0;
}

.benefits__container {
  position: relative;
  z-index: 1;
}

.benefits__content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.benefits__quote {
  font-size: var(--h1-font-size);
  font-family: var(--title-font);
  font-style: italic;
  margin-bottom: var(--mb-3);
  line-height: 1.3;
  position: relative;
}

.benefits__quote::before,
.benefits__quote::after {
  content: '"';
  font-size: 4rem;
  color: var(--secondary-color);
  position: absolute;
  top: -1rem;
}

.benefits__quote::before {
  left: -2rem;
}

.benefits__quote::after {
  right: -2rem;
}

.benefits__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.benefit__item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
}

.benefit__item.animate {
  opacity: 1;
  transform: translateY(0);
}

.benefit__item:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
}

.benefit__icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.benefit__item p {
  font-size: var(--normal-font-size);
  line-height: 1.5;
}

/* TESTIMONIALS */
.testimonials {
  background-color: var(--white-color);
}

.testimonials__content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.testimonial__card {
  background: linear-gradient(135deg, var(--accent-color), var(--white-color));
  padding: 2.5rem;
  border-radius: 25px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(166, 124, 82, 0.1);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.testimonial__card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(166, 124, 82, 0.1), transparent);
  transition: left 0.6s;
}

.testimonial__card:hover::before {
  left: 100%;
}

.testimonial__card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(166, 124, 82, 0.2);
}

.testimonial__avatar {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--mb-1);
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--primary-color);
  position: relative;
  z-index: 1;
}

.testimonial__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial__stars {
  color: #ffd700;
  font-size: 1.5rem;
  margin-bottom: var(--mb-1);
  position: relative;
  z-index: 1;
}

.testimonial__description {
  font-size: var(--normal-font-size);
  color: var(--text-color-light);
  margin-bottom: var(--mb-1-5);
  line-height: 1.7;
  font-style: italic;
  position: relative;
  z-index: 1;
}

.testimonial__name {
  font-size: var(--h3-font-size);
  color: var(--text-color);
  margin-bottom: var(--mb-0-25);
  font-family: var(--title-font);
  position: relative;
  z-index: 1;
}

.testimonial__location {
  font-size: var(--small-font-size);
  color: var(--primary-color);
  position: relative;
  z-index: 1;
}

/* RESERVATION */
.reservation {
  background: linear-gradient(135deg, var(--accent-color) 0%, var(--white-color) 100%);
}

.reservation__form {
  max-width: 800px;
  margin: 0 auto;
  background-color: var(--white-color);
  padding: 3rem;
  border-radius: 25px;
  box-shadow: 0 15px 35px rgba(166, 124, 82, 0.1);
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.form__group {
  position: relative;
  margin-bottom: 2rem;
}

.form__input {
  width: 100%;
  padding: 1.25rem;
  background-color: var(--accent-color);
  border: 2px solid transparent;
  border-radius: 15px;
  font-size: var(--normal-font-size);
  color: var(--text-color);
  transition: all 0.3s ease;
  font-family: var(--body-font);
}

.form__input:focus {
  outline: none;
  border-color: var(--primary-color);
  background-color: var(--white-color);
  box-shadow: 0 0 0 3px rgba(166, 124, 82, 0.1);
}

.form__input:focus + .form__label,
.form__input:not(:placeholder-shown) + .form__label {
  top: -0.75rem;
  left: 1rem;
  font-size: var(--small-font-size);
  color: var(--primary-color);
  background-color: var(--white-color);
  padding: 0 0.5rem;
}

.form__label {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  color: var(--text-color-light);
  font-size: var(--normal-font-size);
  pointer-events: none;
  transition: all 0.3s ease;
}

.form__textarea {
  min-height: 120px;
  resize: vertical;
}

.form__select {
  cursor: pointer;
}

.reservation__button {
  width: 100%;
  font-size: var(--h3-font-size);
  padding: 1.5rem;
  margin-top: 1rem;
}

/* FOOTER */
.footer {
  background: linear-gradient(135deg, var(--text-color), var(--primary-color));
  color: var(--white-color);
  padding: 3rem 0 1rem;
}

.footer__container {
  margin-bottom: var(--mb-2);
}

.footer__content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.footer__title {
  font-size: var(--h2-font-size);
  margin-bottom: var(--mb-1);
  color: var(--white-color);
  font-family: var(--title-font);
}

.footer__subtitle {
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb-1);
  color: var(--secondary-color);
}

.footer__description,
.footer__link {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  transition: color 0.3s ease;
}

.footer__link:hover {
  color: var(--secondary-color);
}

.footer__list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer__copy {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 1.5rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
}

/* FLOATING BUTTON */
.floating__button {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: var(--z-tooltip);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.floating__button.show {
  opacity: 1;
  visibility: visible;
}

.floating__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--white-color);
  border-radius: 50%;
  box-shadow: 0 8px 25px rgba(166, 124, 82, 0.3);
  transition: all 0.3s ease;
  font-size: 1.5rem;
}

.floating__link:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(166, 124, 82, 0.4);
}

/* MEDIA QUERIES */
@media screen and (max-width: 992px) {
  .container {
    margin-left: var(--mb-1-5);
    margin-right: var(--mb-1-5);
  }

  .about__container {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .service__item,
  .service__item--right {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .service__item--right .service__data,
  .service__item--right .service__illustration {
    order: initial;
  }

  .benefits__quote::before,
  .benefits__quote::after {
    display: none;
  }

  .form__row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

@media screen and (max-width: 768px) {
  .nav__menu {
    position: fixed;
    background-color: var(--white-color);
    width: 80%;
    height: 100%;
    top: 0;
    right: -100%;
    box-shadow: -2px 0 4px rgba(166, 124, 82, 0.1);
    padding: 4rem 0 0 3rem;
    transition: right 0.3s ease;
  }

  .nav__menu.show-menu {
    right: 0;
  }

  .nav__list {
    flex-direction: column;
    row-gap: 2rem;
  }

  .nav__close {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    color: var(--text-color);
    font-size: 1.5rem;
    cursor: pointer;
    display: block;
  }

  .nav__toggle {
    color: var(--text-color);
    font-size: 1.5rem;
    cursor: pointer;
    display: block;
  }

  .header.scroll-header .nav__toggle {
    color: var(--text-color);
  }

  .section {
    padding: 4rem 0 2rem;
  }

  .hero {
    height: 100vh;
  }

  .hero__title {
    font-size: var(--h2-font-size);
  }

  .hero__description {
    font-size: var(--normal-font-size);
  }

  .benefits__list {
    grid-template-columns: 1fr;
  }

  .testimonials__content {
    grid-template-columns: 1fr;
  }

  .reservation__form {
    padding: 2rem;
  }

  .footer__content {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media screen and (max-width: 576px) {
  .hero__logo h1 {
    font-size: 2rem;
  }

  .hero__title {
    font-size: var(--h3-font-size);
  }

  .service__data {
    padding: 1rem;
  }

  .benefits__quote {
    font-size: var(--h2-font-size);
  }

  .testimonial__card {
    padding: 2rem;
  }

  .reservation__form {
    padding: 1.5rem;
  }

  .floating__button {
    bottom: 1rem;
    right: 1rem;
  }

  .floating__link {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
}

/* Animation classes */
.fade-in {
  animation: fadeIn 0.8s ease-out;
}

.fade-in-up {
  animation: fadeInUp 0.8s ease-out;
}

.fade-in-left {
  animation: fadeInLeft 0.8s ease-out;
}

.fade-in-right {
  animation: fadeInRight 0.8s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
