/* Base styling for the landing page */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: #333;
  background-color: #f9f9f9;
}

/* Hero section with background image */
.hero {
  position: relative;
  width: 100%;
  /* Use min-height instead of fixed height so the banner can scale
     according to its aspect ratio. The background-size is set to
     contain so the entire image is visible without cropping. */
  min-height: 70vh;
  background-image: url('../images/banner_v3.png');
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Dark overlay on hero image */
/* overlay removido */

/* Instagram bar overlay */
.instagram-bar {
  position: absolute;
  top: 20px;
  left: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.85);
  padding: 8px 12px;
  border-radius: 8px;
  z-index: 2;
  color: #1a1a1a;
}

.instagram-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  font-weight: 600;
}

.instagram-link .icon-instagram {
  width: 20px;
  height: 20px;
  fill: #e1306c;
  margin-right: 6px;
}

.location-tag {
  font-size: 0.75rem;
  margin-top: 4px;
  color: #555;
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
  max-width: 800px;
  padding: 0 1rem;
}

.hero-content h1 {
  font-size: 3rem;
  margin: 0;
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.2rem;
  margin-top: 1rem;
}

/* CTA bar */
.cta-bar {
  background-color: #143d1d;
  color: #fff;
  text-align: center;
  padding: 1rem;
  font-size: 1.1rem;
}

.cta-bar strong {
  color: #ffd700;
}

/* Generic section styles */
.section {
  padding: 2rem 1rem;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #143d1d;
}

.section p {
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Form styles */
.contact-form form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  color: #333;
  background-color: #fff;
}

.form-group textarea {
  resize: vertical;
}

.form-group button {
  padding: 0.75rem 1rem;
  background-color: #25d366;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
}

.form-group button:hover {
  background-color: #1ebe5d;
}

/* Map section styles */
.map-container {
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* WhatsApp floating button */
.whatsapp-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 56px;
  height: 56px;
  background-color: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  transition: background-color 0.2s ease-in-out;
}

.whatsapp-button:hover {
  background-color: #1ebe5d;
}

.icon-whatsapp {
  width: 28px;
  height: 28px;
  fill: #fff;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  .cta-bar {
    font-size: 0.95rem;
  }
  .section h2 {
    font-size: 1.75rem;
  }
}

/* Botão flutuante do Instagram - igual ao WhatsApp, posicionado um pouco acima */
.instagram-button {
  position: fixed;
  bottom: 86px; /* 20px + 56px + 10px de espaçamento acima do WhatsApp */
  right: 20px;
  width: 56px;
  height: 56px;
  background-color: #E1306C; /* cor Instagram */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  transition: background-color 0.2s ease-in-out;
}
.instagram-button:hover { background-color: #C13584; }
.icon-instagram { width: 28px; height: 28px; fill: #fff; }



/* Slider styles */
.hero {
  position: relative;
  width: 100%;
  min-height: 70vh;
  background: #0b3b24; /* verde de base para não ficar cinza em nenhuma tela */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.slider-track {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 600ms ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide.active { opacity: 1; }

.slide img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain; /* sem cortes */
  display: block;
}

/* Pontos de navegação (opcional) */
.dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
}
.dot.active { background: rgba(255,255,255,0.95); }


/* --- Altura concreta para o slider --- */
.hero { min-height: 70vh; }
.slider { height: 70vh; }
.slider-track { height: 100%; }
.slide { height: 100%; }
@media (min-width: 1024px) {
  .hero { min-height: 78vh; }
  .slider { height: 78vh; }
}
