@import url("cookies.css");

:root {
  --green: #58a176;
  --green-light: #d1fcd4;
  --white: #ffffff;
  --gray: #555;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

a {
    text-decoration: none;
  }

body {
  background: var(--white);
  color: var(--gray);
}

/* HEADER */
header {
    background: var(--white);
    border-bottom: 1px solid #eee;
    position: relative;
    width: 100%;
    height: fit-content;
    top: 0;
    /* Removido o flex daqui, o container fará o trabalho */
  }

/*Banner configuration*/

.banner-slide {
    position: relative;
    width: 100%;
    height: 80vh; /* desktop */
    overflow: hidden;
  }
  
  .banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  


  .banner-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
  }
  
/*text banner*/
.banner-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    padding: 20px;
    z-index: 2;
  }
  
  .banner-content h2 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    margin-bottom: 10px;
  }
  
  .banner-content p {
    font-size: 1.1rem;
    max-width: 700px;
  }

  .nav {
    display: flex;
    align-items: center; /* Centraliza verticalmente */
    justify-content: space-between; /* Separa logo do menu */
    height: fit-content; /* Aumentado levemente para caber o botão */
  }
  
  .logo img {
    height: auto; /* Controle o tamanho da logo pela altura para não distorcer */
    width: 150px;
  }
  
  .contato {
      background-color: var(--green);
      color: var(--white) !important;
      padding: 10px 20px !important; /* Padding menor para não quebrar o header */
      border-radius: 20px;
      transition: 0.3s;
  }
  
  .contato:hover {
      background-color: #46825e;
  }

.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

.logo {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--green);
}

.carousel-control-prev, .carousel-control-next {
    z-index: 1000;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

nav a {
  text-decoration: none;
  color: var(--gray);
  font-weight: 500;
}

nav a:hover {
  color: var(--green);
}

.menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 2000;
}

/* HERO */
.hero {
    padding: 140px 20px 80px;
    background: linear-gradient(
      135deg,
      var(--green-light),
      #ffffff,
      var(--green-light)
    );
    background-size: 400% 400%;
    animation: gradientMove 18s ease infinite;
    text-align: center;
  }
  
  @keyframes gradientMove {
    0% {
      background-position: 0% 50%;
    }
    50% {
      background-position: 100% 50%;
    }
    100% {
      background-position: 0% 50%;
    }
  }

.hero h1 {
  color: var(--green);
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.hero p {
  max-width: 700px;
  margin: auto;
  font-size: 1.1rem;
}

.container-cards {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    padding-top: 20px;
}

.container-cards .card {
    min-height: 580px;
    height: fit-content;
}

.card h5 {
    color: var(--green);
    font-weight: bold;
}

.card-body a {
    border: none;
}

.card-body a:hover {
    background-color: #75d89e;
    border: none;
}

.btn {
  display: inline-block;
  margin-top: 30px;
  padding: 14px 32px;
  background: var(--green);
  color: var(--white);
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  transition: 0.5s;
}

.btn:hover {
    border: 1px solid black;
}

/* SECTIONS */
section {
  padding: 80px 20px;
}

section h2 {
  text-align: center;
  color: var(--green);
  margin-bottom: 50px;
  font-size: 2rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.card {
  background: var(--white);
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  opacity: 0;
  transform: translateY(40px);
}

.card .icon {
  font-size: 2.5rem;
  color: var(--green);
  margin-bottom: 15px;
}

.card h3 {
  margin-bottom: 10px;
  color: #222;
}

/* INCLUSO */
.included {
  background: linear-gradient(to right, #d7f3d9, #9bc7a0);
}

/* FOOTER */

/* Remova qualquer "height" fixo que existir para o footer */
/* Custom Footer Styles */
.pensionato-footer {
  background-color: #212529;
  color: #ffffff;
  padding: 40px 0 20px 0;
  font-family: 'Poppins', sans-serif;
  width: 100%;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-wrap: wrap; /* Faz os itens pularem linha no mobile */
  justify-content: space-between;
  gap: 30px;
}

.footer-box {
  flex: 1 1 250px; /* Base de 250px, cresce e encolhe conforme necessário */
}

.footer-box h3, .footer-box h4 {
  color: #58a176; /* Sua variável --green */
  margin-bottom: 15px;
  font-weight: 600;
}

.footer-box p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #ccc;
}

.footer-box ul {
  list-style: none;
  padding: 0;
}

.footer-box ul li {
  margin-bottom: 10px;
}

.footer-box ul li a {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-box ul li a:hover {
  color: #f0a500;
}

.social-icon {
  font-size: 1.5rem;
  color: #ffffff;
  text-decoration: none;
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  width: 100%;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: #888;
}

/* Ajuste fino para Mobile */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-box ul {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}


.carousel-item img{
    width: 100%;
    height: auto;
}

.card {
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.card h3 {
  color: #2c6b4f; /* verde escuro para títulos */
}

.card img {
    border-radius: 20px 20px 0px 0px;
}

/* MOBILE */
@media (max-width: 768px) {
  nav ul {
    position: absolute;
    top: 140px;
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    align-items: center;
    display: none;
    border-bottom: 1px solid #eee;
    z-index: 1000;
  }

  nav ul li {
    padding: 15px 0;
  }

  .menu-toggle {
    display: flex;
  }

  .container {
    position: relative;
  }
  .menu-toggle {
    position: absolute;
    right: 10px;
  }
}

@media (max-width:  768px) {
    .container-cards {
        display: flex;
        flex-wrap: wrap;
    }
}

@media (max-width: 800px) {

    .banner-slide {
        height: 45vh; /* menor no mobile */
        display: flex;
        justify-content: center;
        align-items: center;
      }

    .banner-slide img{
      width: 150%;
      height: auto; /* menor no mobile */

    }
  
    .banner-content {
      padding: 0 20px;
      text-align: center;
    }
  
  }

/*Animações Banner*/

.carousel-item .banner-content {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
  }
  
  .carousel-item.active .banner-content {
    opacity: 1;
    transform: translateY(0);
  }

  .banner-slide img {
    transform: scale(1.1);
    transition: transform 6s ease;
  }
  
  .carousel-item.active img {
    transform: scale(1);
  }
  
  .carousel-item {
    transition: transform 1.2s ease-in-out;
  }
  

  /*host options*/

  .hosting-options {
    padding: 80px 20px;
    background: #f7fdf9;
    text-align: center;
  }
  
  .hosting-options h2 {
    font-size: 2.2rem;
    margin-bottom: 10px;
  }
  
  .section-subtitle {
    color: #555;
    margin-bottom: 50px;
  }
  
  .options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
  }
  
  .option-card {
    position: relative;
    background: #fff;
    border-radius: 20px;
    padding: 40px 30px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
  }
  
  .option-card:hover {
    transform: translateY(-6px) rotate(0.5deg);
    box-shadow: 0 25px 60px rgba(0,0,0,0.12);
  }
  
  .option-icon {
    font-size: 2.5rem;
    color: var(--green);
    margin-bottom: 20px;
  }
  
  .option-card h3 {
    margin-bottom: 10px;
  }
  
  .option-card p {
    color: #555;
    font-size: 0.95rem;
    margin-bottom: 15px;
  }
  
  .option-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
    background-color: var(--green);
    color: white;
    padding: 10px 0px 10px 0px;
    border-radius: 20px;
    z-index: 1000;
  }
  
  .option-card ul li {
    font-size: 0.9rem;
    margin-bottom: 6px;
  }
  
  .option-cta a {
    font-weight: 600 !important;
    color: var(--green) !important;
  }
  
  /* 🔵 Bolha animada */
  .option-card::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, rgba(46,125,50,0.25), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    transform: scale(0);
    opacity: 0;
    transition: transform 0.5s ease, opacity 0.5s ease;
  }
  
  .option-card:hover::after {
    transform: scale(18);
    opacity: 1;
  }
  
  /* Tremida suave */
  .option-card:hover {
    animation: softShake 0.4s ease;
  }
  
  @keyframes softShake {
    0% { transform: translateY(-6px) rotate(0.3deg); }
    50% { transform: translateY(-6px) rotate(-0.3deg); }
    100% { transform: translateY(-6px) rotate(0.3deg); }
  }
  
  /* Mobile */
  @media (max-width: 768px) {
    .option-card {
      padding: 35px 25px;
    }
  }
  

  /*whatsapp button*/
  .whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    z-index: 9999;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
  }
  
  .whatsapp-float i {
    animation: pulse 2s infinite;
  }
  
  @keyframes pulse {
    0% {
      transform: scale(1);
    }
    50% {
      transform: scale(1.08);
    }
    100% {
      transform: scale(1);
    }
  }
  
  /* Mobile ajuste */
  @media (max-width: 768px) {
    .whatsapp-float {
      width: 55px;
      height: 55px;
      font-size: 26px;
      bottom: 20px;
      right: 20px;
    }
  }
  
  /*Sessão*/

  .sessao {
  width: 90%;
  margin: 0 auto;
}

.sessao-wrapper {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap; /* Permite quebra em telas menores */
}

.sessao-img {
  flex: 1 1 400px; /* Ocupa metade da área no desktop */
  max-width: 500px;
}

.sessao-img img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Mantém proporção e preenche o espaço */
  border-radius: 8px;
}

.sessao-texto {
  flex: 1 1 400px;
}

.sessao-texto h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  text-align: start;
}

.sessao-texto p {
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.btn-ver-fotos {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  background-color: var(--green);
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  transition: background 0.3s;
}

.btn-ver-fotos:hover {
  background-color: var(--green-light);
  color: var(--green);
}

/* Responsivo */
@media (max-width: 800px) {
  .sessao-wrapper {
    flex-direction: column;
    text-align: center;
  }

  .sessao-img, .sessao-texto {
    max-width: 100%;
  }

  .sessao-texto h2 {
    font-size: 1.6rem;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .sessao-texto h2 {
    font-size: 1.4rem;
  }

  .btn-ver-fotos {
    width: 100%;
    text-align: center;
  }
}
