* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
  scroll-behavior: smooth;
}

body {
  line-height: 1.6;
  color: #333;
  background-color: #f5f5f5;
}

/* Header */
.header {
  background-color: #0074D9;
  color: white;
  padding: 0.5rem 1rem;
}

.nav-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-left,
.nav-right {
  display: flex;
  gap: 0.5rem;
}

.nav-left a,
.nav-right a {
  color: white;
  text-decoration: none;
  font-size: 1rem;
  padding: 0.25rem 0.5rem;
}

.nav-left a:hover,
.nav-right a:hover {
  text-decoration: underline;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  white-space: nowrap;
}

.nav-left,
.nav-right {
  margin: 0;
}

/* Hero Section */
.hero {
position: relative;
overflow: hidden;
height: 600px;
}

.carousel-fade {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 600px;
overflow: hidden;
}

.carousel-slide {
  position: absolute;
  width: 100%;
  height: 600px;
  object-fit: cover;
  opacity: 0;
  animation: fadeCarousel 21s infinite;
}

.carousel-slide:nth-child(1) {
  animation-delay: 0s;
}

.carousel-slide:nth-child(2) {
  animation-delay: 7s;
}

.carousel-slide:nth-child(3) {
  animation-delay: 14s;
}

@keyframes fadeCarousel {
  0% {
    opacity: 0;
  }
  5% {
    opacity: 1;
  }
  33% {
    opacity: 1;
  }
  38% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
  pointer-events: none;
}

.hero-overlay {
  position: relative;
  z-index: 3  ;
  text-align: center;
  color: white;
  padding-top: 6rem;
}


.cta-button {
  display: inline-block;
  background-color: #0074D9;
  color: white;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
  font-size: 1rem;
  position: relative;
  z-index: 3;
  pointer-events: auto;
}

.hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
  pointer-events: none;
}

.cta-button:hover {
  background-color: #004085;
}

.hero-overlay h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero-overlay p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

.wave {
  max-width: 360vh;
  margin: 0 auto;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 42vh;
  overflow: hidden;
  line-height: 0;
  z-index: 2;
}

.wave svg {
  display: block;
  width: 100%;
  height: 42vh;
}

.wave path {
  fill: white;
}

/* Sobre */
.about {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem;
  background-color: #ffffff;
  margin: 2rem 0;
}

.about-content {
  display: flex;
  gap: 2rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.about-image {
  width: 300px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.about-text {
  max-width: 500px;
}

.about h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.about p {
  text-align: justify; 
  font-size: 1rem;
  line-height: 1.6;
}

/* Produtos */
.products {
  text-align: center;
  padding: 2rem;
  background-color: #f5f5f5;
}

.products h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.product-item {
  background-color: white;
  padding: 1rem;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.product-item img {
  width: 100%;
  height: auto;
  border-radius: 5px;
}

.product-item h3 {
  font-size: 1.25rem;
  margin: 1rem 0 0.5rem;
}

.product-item p {
  font-size: 1rem;
  color: #555;
}

/* Contato */
.contact {
  text-align: center;
  padding: 2rem;
  background-color: #0074D9;
  color: white;
}

.contact h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.contact p {
  font-size: 1rem;
  margin-bottom: 2rem;
}

.whatsapp-button {
  display: inline-flex;
  align-items: center;
  background-color: #25D366;
  color: white;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  border-radius: 5px;
  font-size: 1rem;
}

.whatsapp-icon {
  width: 24px;
  height: 24px;
  margin-right: 0.5rem;
  fill: white;
}


.whatsapp-button:hover {
  background-color: #20aa53;
}

/* Footer */
.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  padding: 2rem;
  background-color: #0056b3;
  color: white;
  gap: 1rem;
}

.footer-left,
.footer-right,
.footer-address {
  flex: 1;
  min-width: 200px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem;
  border-radius: 8px;
}

.footer-left h3,
.footer-right h3,
.footer-address h3 {
  margin-bottom: 0.5rem;
}

.footer-left ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-left ul li {
  margin-bottom: 0.3rem;
}

.footer-left ul li a {
  color: white;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-left ul li a:hover {
  color: #ffd700;
  text-decoration: underline;
}

.contact-info,
.address-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact-info i,
.address-info i {
  margin-right: 0.5rem;
}

.footer-copy {
  width: 100%;
  text-align: center;
  margin-top: 2rem;
  font-size: 0.9rem;
}

.fade-in-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-in-on-scroll.show {
  opacity: 1;
  transform: translateY(0);
}

.scroll-down-arrow {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2rem;
  fill: #004085;
  animation: bounce 2s infinite;
  z-index: 3;
  cursor: default;
  opacity: 0.8;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translate(-50%, 0);
  }
  40% {
    transform: translate(-50%, -10px);
  }
  60% {
    transform: translate(-50%, -5px);
  }
}


/* Media Queries */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none; 
    flex-direction: column;
    gap: 0.5rem;
    background-color: #0074D9;
    padding: 1rem;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 2;
  }

  .nav-links.active {
    display: flex;
  }

  .about-content {
    flex-direction: column;
  }

  .hero {
    height: 400px;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

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

  .wave {
    height: 25vh;
  }

  .wave svg {
    height: 25vh;
  }

  .about h2 {
    font-size: 1.5rem;
  }

  .products h2 {
    font-size: 1.5rem;
  }

  .contact h2 {
    font-size: 1.5rem;
  }

  .footer-left,
  .footer-right,
  .footer-address {
    flex: 1 1 100%;
    border: none;
    text-align: center;
  }

  .footer {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.5rem;
  }

  .hero p {
    font-size: 0.9rem;
  }

  .about h2 {
    font-size: 1.25rem;
  }

  .products h2 {
    font-size: 1.25rem;
  }

  .contact h2 {
    font-size: 1.25rem;
  }
}