/* =========================================================
   CAMPING MAIRIPORÃ
   STYLE.CSS
========================================================= */

/* =========================================================
   VARIÁVEIS
========================================================= */

:root {
  --green-dark: #173d2a;
  --green: #285b3e;
  --green-light: #52765a;

  --cream: #f7f4ed;
  --cream-dark: #ebe5d8;

  --brown: #765438;

  --gold: #c99b4b;
  --gold-light: #dfbd76;

  --white: #ffffff;

  --text: #24352b;
  --text-light: #657067;

  --shadow: 0 15px 40px rgba(25, 50, 35, 0.1);

  --shadow-hover: 0 20px 45px rgba(25, 50, 35, 0.16);

  --radius: 18px;

  --container: 1180px;
}

/* =========================================================
   RESET
========================================================= */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "DM Sans", sans-serif;

  background: var(--cream);

  color: var(--text);

  line-height: 1.6;
}

img {
  max-width: 100%;

  display: block;
}

a {
  color: inherit;

  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

/* =========================================================
   CONTAINER
========================================================= */

.container {
  width: min(calc(100% - 40px), var(--container));

  margin: 0 auto;
}

/* =========================================================
   HEADER
========================================================= */

.header {
  position: fixed;

  top: 0;
  left: 0;
  right: 0;

  z-index: 1000;

  background: rgba(247, 244, 237, 0.96);

  backdrop-filter: blur(10px);

  border-bottom: 1px solid rgba(23, 61, 42, 0.08);
}

.header-inner {
  min-height: 82px;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 30px;
}

.logo {
  display: flex;

  flex-direction: column;

  color: var(--green-dark);

  font-family: "Playfair Display", serif;

  font-size: 23px;

  line-height: 0.95;
}

.logo strong {
  color: var(--green);

  font-size: 17px;

  font-weight: 600;
}

.nav {
  display: flex;

  align-items: center;

  gap: 24px;
}

.nav a {
  color: var(--text);

  font-size: 13px;

  font-weight: 600;

  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--green);
}

.nav-button {
  padding: 11px 18px;

  border-radius: 30px;

  background: var(--green);

  color: var(--white) !important;
}

.nav-button:hover {
  background: var(--green-dark);
}

/* =========================================================
   HERO
========================================================= */

.hero {
  position: relative;

  min-height: 720px;

  display: flex;

  align-items: center;

  background-image: url("/images/bemvindos.jpeg");

  background-size: cover;

  background-position: center;

  color: var(--white);
}

.hero-overlay {
  position: absolute;

  inset: 0;

  background: linear-gradient(
    90deg,
    rgba(10, 30, 20, 0.82) 0%,
    rgba(10, 30, 20, 0.55) 45%,
    rgba(10, 30, 20, 0.18) 100%
  );
}

.hero-content {
  position: relative;

  z-index: 2;

  padding-top: 80px;

  max-width: 720px;
}

.hero-kicker {
  display: inline-block;

  margin-bottom: 18px;

  color: var(--gold-light);

  font-size: 13px;

  font-weight: 700;

  text-transform: uppercase;

  letter-spacing: 2px;
}

.hero h1 {
  margin-bottom: 22px;

  font-family: "Playfair Display", serif;

  font-size: clamp(48px, 7vw, 82px);

  line-height: 0.98;

  font-weight: 600;
}

.hero p {
  max-width: 600px;

  margin-bottom: 32px;

  color: rgba(255, 255, 255, 0.88);

  font-size: 18px;

  line-height: 1.7;
}

.hero-buttons {
  display: flex;

  flex-wrap: wrap;

  gap: 14px;
}

/* =========================================================
   BOTÕES
========================================================= */

.button {
  display: inline-flex;

  align-items: center;

  justify-content: center;

  min-height: 48px;

  padding: 12px 22px;

  border-radius: 30px;

  font-size: 14px;

  font-weight: 700;

  transition:
    transform 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--green);

  color: var(--white);
}

.button-primary:hover {
  background: var(--green-dark);
}

.button-outline {
  border: 1px solid rgba(255, 255, 255, 0.65);

  background: rgba(255, 255, 255, 0.08);

  color: var(--white);
}

.button-outline:hover {
  background: var(--white);

  color: var(--green-dark);
}

.button-light {
  background: var(--white);

  color: var(--green-dark);
}

.button-light:hover {
  background: var(--cream);
}

/* =========================================================
   SEÇÕES
========================================================= */

.section {
  padding: 100px 0;
}

.section-light {
  background: var(--cream-dark);
}

.section-heading {
  max-width: 720px;

  margin: 0 auto 55px;

  text-align: center;
}

.section-kicker {
  display: block;

  margin-bottom: 9px;

  color: var(--gold);

  font-size: 11px;

  font-weight: 700;

  text-transform: uppercase;

  letter-spacing: 2px;
}

.section-heading h2 {
  margin-bottom: 14px;

  color: var(--green-dark);

  font-family: "Playfair Display", serif;

  font-size: clamp(34px, 5vw, 50px);

  line-height: 1.1;
}

.section-heading p {
  color: var(--text-light);

  font-size: 16px;
}

/* =========================================================
   SOBRE
========================================================= */

.about-grid {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 70px;

  align-items: center;
}

.about-image {
  overflow: hidden;

  border-radius: var(--radius);

  box-shadow: var(--shadow);
}

.about-image img {
  width: 100%;

  height: 520px;

  object-fit: cover;
}

.about-content .section-kicker {
  margin-bottom: 10px;
}

.about-content h2 {
  margin-bottom: 20px;

  color: var(--green-dark);

  font-family: "Playfair Display", serif;

  font-size: clamp(34px, 4vw, 48px);

  line-height: 1.1;
}

.about-content p {
  margin-bottom: 16px;

  color: var(--text-light);

  font-size: 15px;
}

.about-features {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 14px;

  margin-top: 28px;
}

.about-features div {
  padding: 17px;

  border-radius: 12px;

  background: var(--cream-dark);
}

.about-features strong {
  display: block;

  margin-bottom: 3px;

  color: var(--green-dark);

  font-size: 14px;
}

.about-features span {
  display: block;

  color: var(--text-light);

  font-size: 11px;

  line-height: 1.4;
}

/* =========================================================
   HOSPEDAGENS
========================================================= */

.lodging-grid {
  display: grid;

  grid-template-columns: repeat(3, minmax(0, 1fr));

  gap: 24px;
}

.lodging-card {
  display: flex;

  flex-direction: column;

  overflow: hidden;

  background: var(--white);

  border-radius: var(--radius);

  box-shadow: 0 10px 30px rgba(25, 50, 35, 0.09);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.lodging-card:hover {
  transform: translateY(-6px);

  box-shadow: var(--shadow-hover);
}

.lodging-card-image {
  width: 100%;

  height: 190px;

  overflow: hidden;
}

.lodging-card-image img {
  width: 100%;

  height: 100%;

  object-fit: cover;

  transition: transform 0.5s ease;
}

.lodging-card:hover .lodging-card-image img {
  transform: scale(1.06);
}

.lodging-card-content {
  display: flex;

  flex-direction: column;

  flex: 1;

  padding: 22px;
}

.lodging-tag {
  display: block;

  margin-bottom: 5px;

  color: var(--gold);

  font-size: 10px;

  font-weight: 700;

  letter-spacing: 1.2px;

  text-transform: uppercase;
}

.lodging-card-content h3 {
  margin: 0 0 10px;

  color: var(--green-dark);

  font-family: "Playfair Display", serif;

  font-size: 23px;

  line-height: 1.2;
}

.lodging-card-content p {
  flex: 1;

  min-height: 72px;

  margin: 0 0 20px;

  color: var(--text-light);

  font-size: 14px;

  line-height: 1.55;
}

.lodging-bottom {
  display: flex;

  align-items: baseline;

  gap: 7px;

  padding-top: 15px;

  border-top: 1px solid #eeeae1;
}

.lodging-price {
  color: var(--green);

  font-size: 19px;

  font-weight: 700;
}

.lodging-bottom small {
  color: var(--text-light);

  font-size: 11px;
}

/* =========================================================
   ESTRUTURA
========================================================= */

.features-grid {
  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 18px;
}

.feature-card {
  padding: 30px 22px;

  background: var(--white);

  border-radius: var(--radius);

  box-shadow: 0 8px 25px rgba(25, 50, 35, 0.06);

  text-align: center;

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);

  box-shadow: var(--shadow);
}

.feature-icon {
  margin-bottom: 14px;

  font-size: 34px;
}

.feature-card h3 {
  margin-bottom: 8px;

  color: var(--green-dark);

  font-family: "Playfair Display", serif;

  font-size: 21px;
}

.feature-card p {
  color: var(--text-light);

  font-size: 13px;

  line-height: 1.5;
}

/* =========================================================
   EXPERIÊNCIAS
========================================================= */

.experience-grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 24px;
}

.experience-card {
  position: relative;

  min-height: 420px;

  overflow: hidden;

  border-radius: var(--radius);

  background: var(--green-dark);
}

.experience-card img {
  width: 100%;

  height: 100%;

  min-height: 420px;

  object-fit: cover;

  transition: transform 0.5s ease;
}

.experience-card:hover img {
  transform: scale(1.06);
}

.experience-card::after {
  content: "";

  position: absolute;

  inset: 0;

  background: linear-gradient(
    to top,
    rgba(10, 25, 16, 0.88),
    rgba(10, 25, 16, 0.08)
  );
}

.experience-content {
  position: absolute;

  left: 24px;

  right: 24px;

  bottom: 24px;

  z-index: 2;

  color: var(--white);
}

.experience-content h3 {
  margin-bottom: 7px;

  font-family: "Playfair Display", serif;

  font-size: 27px;
}

.experience-content p {
  color: rgba(255, 255, 255, 0.85);

  font-size: 13px;
}

/* =========================================================
   LOCALIZAÇÃO
========================================================= */

.location-grid {
  display: grid;

  grid-template-columns: 0.8fr 1.2fr;

  gap: 60px;

  align-items: center;
}

.location-content h2 {
  margin-bottom: 20px;

  color: var(--green-dark);

  font-family: "Playfair Display", serif;

  font-size: clamp(34px, 4vw, 48px);

  line-height: 1.1;
}

.location-content p {
  margin-bottom: 16px;

  color: var(--text-light);

  font-size: 15px;
}

.location-content .button {
  margin-top: 10px;
}

.location-map {
  overflow: hidden;

  min-height: 450px;

  border-radius: var(--radius);

  box-shadow: var(--shadow);

  background: var(--cream-dark);
}

.location-map iframe {
  display: block;
}

/* =========================================================
   CTA
========================================================= */

.cta {
  padding: 100px 0;

  background: var(--green-dark);

  color: var(--white);

  text-align: center;
}

.cta-content {
  max-width: 760px;
}

.cta .section-kicker {
  color: var(--gold-light);
}

.cta h2 {
  margin-bottom: 18px;

  font-family: "Playfair Display", serif;

  font-size: clamp(38px, 5vw, 58px);

  line-height: 1.08;
}

.cta p {
  margin-bottom: 30px;

  color: rgba(255, 255, 255, 0.78);

  font-size: 17px;
}

/* =========================================================
   FOOTER
========================================================= */

.footer {
  background: #102b1e;

  color: rgba(255, 255, 255, 0.75);
}

.footer-grid {
  display: grid;

  grid-template-columns: 1.5fr 1fr 1fr;

  gap: 60px;

  padding: 65px 0;
}

.footer-logo {
  display: flex;

  flex-direction: column;

  margin-bottom: 14px;

  color: var(--white);

  font-family: "Playfair Display", serif;

  font-size: 25px;

  line-height: 1;
}

.footer-logo strong {
  color: var(--gold-light);

  font-size: 18px;
}

.footer h4 {
  margin-bottom: 16px;

  color: var(--white);

  font-size: 14px;
}

.footer p {
  margin-bottom: 8px;

  font-size: 13px;
}

.footer a {
  display: block;

  width: fit-content;

  margin-bottom: 8px;

  color: rgba(255, 255, 255, 0.7);

  font-size: 13px;
}

.footer a:hover {
  color: var(--gold-light);
}

.footer-bottom {
  padding: 20px 0;

  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom p {
  margin: 0;

  color: rgba(255, 255, 255, 0.45);

  font-size: 11px;
}

/* =========================================================
   WHATSAPP FLUTUANTE
========================================================= */

.whatsapp-float {
  position: fixed;

  right: 24px;

  bottom: 24px;

  z-index: 999;

  display: flex;

  align-items: center;

  justify-content: center;

  min-width: 58px;

  height: 58px;

  padding: 0 17px;

  border-radius: 50px;

  background: #25d366;

  color: var(--white);

  font-size: 12px;

  font-weight: 700;

  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);

  transition: transform 0.2s ease;
}

.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.04);
}

/* =========================================================
   RESPONSIVIDADE - TABLET
========================================================= */

@media (max-width: 1000px) {
  .nav {
    gap: 14px;
  }

  .nav a {
    font-size: 12px;
  }

  .about-grid {
    gap: 40px;
  }

  .lodging-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .location-grid {
    gap: 35px;
  }
}

/* =========================================================
   RESPONSIVIDADE - MOBILE
========================================================= */

@media (max-width: 760px) {
  .container {
    width: min(calc(100% - 30px), var(--container));
  }

  .header {
    position: absolute;
  }

  .header-inner {
    min-height: 70px;
  }

  .nav {
    display: none;
  }

  .hero {
    min-height: 680px;
  }

  .hero-content {
    padding-top: 80px;
  }

  .hero h1 {
    font-size: clamp(44px, 13vw, 64px);
  }

  .hero p {
    font-size: 16px;
  }

  .hero-buttons {
    flex-direction: column;

    align-items: stretch;
  }

  .hero-buttons .button {
    width: 100%;
  }

  .section {
    padding: 75px 0;
  }

  .section-heading {
    margin-bottom: 40px;
  }

  .about-grid {
    grid-template-columns: 1fr;

    gap: 35px;
  }

  .about-image {
    order: 0;
  }

  .about-content {
    order: 1;
  }

  .about-image img {
    height: 360px;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .lodging-grid {
    grid-template-columns: 1fr;

    gap: 20px;
  }

  .lodging-card-image {
    height: 220px;
  }

  .lodging-card-content {
    padding: 20px;
  }

  .lodging-card-content p {
    min-height: auto;
  }

  .features-grid {
    grid-template-columns: 1fr 1fr;

    gap: 12px;
  }

  .feature-card {
    padding: 24px 14px;
  }

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

  .experience-card {
    min-height: 360px;
  }

  .experience-card img {
    min-height: 360px;
  }

  .location-grid {
    grid-template-columns: 1fr;

    gap: 35px;
  }

  .location-map {
    min-height: 350px;
  }

  .location-map iframe {
    height: 350px;
  }

  .footer-grid {
    grid-template-columns: 1fr;

    gap: 35px;

    padding: 50px 0;
  }

  .cta {
    padding: 75px 0;
  }

  .whatsapp-float {
    right: 15px;

    bottom: 15px;
  }
}

/* =========================================================
   MOBILE PEQUENO
========================================================= */

@media (max-width: 480px) {
  .hero {
    min-height: 650px;
  }

  .hero h1 {
    font-size: 45px;
  }

  .section-heading h2 {
    font-size: 35px;
  }

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

  .lodging-card-image {
    height: 200px;
  }

  .lodging-card-content h3 {
    font-size: 22px;
  }

  .cta h2 {
    font-size: 38px;
  }
}

/* LOGO DO CABEÇALHO */
.header .logo {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 10px;
  white-space: nowrap;
  color: var(--green-dark);
  font-family: "Playfair Display", serif;
  font-size: 26px;
  font-weight: 600;
  line-height: 1;
}

.header .logo-image {
  display: block;
  width: 62px;
  height: 62px;
  object-fit: contain;
  flex-shrink: 0;
}

.header .logo-text {
  display: inline-block !important;
  white-space: nowrap;
}

.wifi-icon svg {
  width: 36px;
  height: 36px;
}

.instagram-link {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  padding: 9px 16px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 25px;
  color: var(--white) !important;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 600;
  transition: all 0.2s ease;
}

.instagram-link:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white) !important;
}

/* BOTÃO VER MAIS FOTOS */

.lodging-card-image {
    position: relative;
}


.gallery-button:hover {
    background: var(--green);
    transform: translateY(-2px);
}

/* MODAL */

.gallery-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 30px;
    background: rgba(0, 0, 0, 0.90);
}

.gallery-modal.active {
    display: flex;
}

.gallery-content {
    position: relative;
    width: min(900px, 90vw);
    height: min(650px, 80vh);
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-content img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
}

.gallery-close,
.gallery-prev,
.gallery-next {
    position: absolute;
    z-index: 3;
    border: 0;
    color: #fff;
    background: rgba(0, 0, 0, 0.55);
    cursor: pointer;
}

.gallery-close {
    top: 20px;
    right: 25px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 32px;
    line-height: 1;
}

.gallery-prev,
.gallery-next {
    top: 50%;
    width: 50px;
    height: 70px;
    border-radius: 10px;
    font-size: 45px;
    transform: translateY(-50%);
}

.gallery-prev {
    left: 25px;
}

.gallery-next {
    right: 25px;
}

.gallery-counter {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 12px;
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    font-size: 12px;
}

@media (max-width: 760px) {

    .gallery-modal {
        padding: 15px;
    }

    .gallery-content {
        width: 95vw;
        height: 75vh;
    }

    .gallery-prev,
    .gallery-next {
        width: 42px;
        height: 55px;
        font-size: 35px;
    }

    .gallery-prev {
        left: 8px;
    }

    .gallery-next {
        right: 8px;
    }

    .gallery-close {
        top: 12px;
        right: 12px;
    }
}

/* BOTÃO VER MAIS FOTOS */
.lodging-card-image {
  position: relative;
}

.lodging-card-image .gallery-button {
  position: absolute;
  right: 14px;
  bottom: 14px;

  padding: 9px 15px;
  border: none;
  border-radius: 25px;

  background: rgba(0, 0, 0, 0.70);
  color: #fff;

  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  font-weight: 700;

  cursor: pointer;

  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);

  transition:
    opacity 0.25s ease,
    visibility 0.25s ease,
    transform 0.25s ease,
    background 0.2s ease;
}

/* APARECE AO PASSAR O MOUSE SOBRE A FOTO */
.lodging-card-image:hover .gallery-button {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* EFEITO AO PASSAR O MOUSE SOBRE O PRÓPRIO BOTÃO */
.lodging-card-image .gallery-button:hover {
  background: var(--green);
}


/* BOTÃO INSTAGRAM NO HERO */
.hero-buttons .button-instagram {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.hero-buttons .button-instagram:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border-color: var(--white);
}

.lodging-card .reservation-button {
    padding: 8px 14px;
    font-size: 12px;
    border-radius: 20px;
    width: fit-content;
    align-self: flex-end;
}