/* theme.css - Estilos específicos do tema Avelino Organizacao Contabil LTDA */

/* Header */
header {
  background-color: #ffffff;
  padding: 15px 0;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: #006400; /* Cor Primária */
}

.logo img {
  height: 40px;
  margin-right: 10px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
}

nav a {
  color: #004D00; /* Texto Escuro */
  font-weight: 500;
  padding: 5px 0;
  position: relative;
}

nav a:hover {
  color: #006400; /* Cor Primária */
}

nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #006400;
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

/* Menu Mobile */
.menu-toggle {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: #004D00;
  transition: all 0.3s ease;
}

/* Hero Section */
.hero {
  padding-top: 120px; /* Espaço para o header fixo */
  background-color: #E0EEE0; /* Cinza Claro */
  background-image: url('../img/pattern.svg');
  background-size: cover;
  background-position: center;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  min-height: 70vh;
}

.hero-text h1 {
  font-size: 3.5rem;
  color: #006400; /* Cor Primária */
  margin-bottom: 20px;
}

.hero-text p {
  font-size: 1.3rem;
  color: #004D00;
  margin-bottom: 30px;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Services Section */
.services {
  background-color: #ffffff;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: #F0FFF0; /* Fundo Claro */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-top: 5px solid #006400; /* Cor Primária */
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-icon {
  font-size: 2.5rem;
  color: #3CB371; /* Cor Secundária */
  margin-bottom: 15px;
}

.service-card h3 {
  color: #006400; /* Cor Primária */
  margin-bottom: 10px;
}

/* Testimonials Section */
.testimonials {
  background-color: #E0EEE0; /* Cinza Claro */
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border-left: 5px solid #FF8C00; /* Cor Destaque */
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 20px;
  color: #2F4F4F;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.author-avatar {
  width: 50px;
  height: 50px;
  background-color: #3CB371; /* Cor Secundária */
  color: #004D00;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  font-size: 1.2rem;
  margin-right: 15px;
}

.author-info h4 {
  margin: 0;
  color: #006400;
}

.author-info p {
  margin: 0;
  font-size: 0.9rem;
  color: #6B8E23;
}

/* CTA Section */
.cta {
  background-color: #006400; /* Cor Primária */
  color: #ffffff;
  text-align: center;
  padding: 60px 0;
}

.cta h2 {
  color: #ffffff;
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.cta p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.cta .btn-primary {
  background-color: #FF8C00; /* Cor Destaque */
  border-color: #FF8C00;
  color: #004D00;
}

.cta .btn-primary:hover {
  background-color: #3CB371; /* Cor Secundária */
  border-color: #3CB371;
  color: #ffffff;
}

/* Footer */
footer {
  background-color: #004D00; /* Cinza Escuro */
  color: #E0EEE0; /* Cinza Claro */
  padding: 40px 0 10px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-section h3 {
  color: #3CB371; /* Cor Secundária */
  margin-bottom: 15px;
}

.footer-section p, .footer-section a {
  color: #E0EEE0;
  display: block;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.footer-section a:hover {
  color: #FF8C00; /* Cor Destaque */
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  font-size: 0.85rem;
}

.footer-bottom a {
  color: #E0EEE0;
  margin: 0 5px;
}

/* Contato Page */
.contact-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 50px;
}

.contact-form {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-info {
  padding: 30px;
  background-color: #F0FFF0;
  border-radius: 10px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}

.info-icon {
  font-size: 1.5rem;
  color: #FF8C00; /* Cor Destaque */
  margin-right: 15px;
  flex-shrink: 0;
}

.info-text h4 {
  margin: 0;
  color: #006400;
}

.info-text p {
  margin: 0;
  color: #004D00;
}

/* Sobre Page */
.about-content {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 50px;
}

.about-main h2 {
  color: #006400;
  margin-top: 1.5rem;
}

.about-sidebar {
  background-color: #F0FFF0;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.about-sidebar h3 {
  color: #FF8C00;
  margin-bottom: 15px;
}

.about-sidebar p {
  margin-bottom: 10px;
  font-size: 0.95rem;
}

/* Obrigado Page */
.thank-you {
  text-align: center;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.thank-you-content {
  max-width: 600px;
  margin: 0 auto;
}

.thank-you-icon {
  font-size: 3rem;
  color: #006400;
  background-color: #E0EEE0;
  border-radius: 50%;
  width: 80px;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 20px;
  font-weight: 700;
}

.thank-you-content h1 {
  color: #006400;
  margin-bottom: 15px;
}

.thank-you-buttons {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* Legal Pages */
.legal-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.legal-content h1 {
  color: #006400;
  margin-bottom: 20px;
  text-align: center;
}

.legal-content h2 {
  color: #FF8C00;
  margin-top: 30px;
  margin-bottom: 10px;
  border-bottom: 1px solid #E0EEE0;
  padding-bottom: 5px;
}

.legal-content p, .legal-content ul {
  color: #004D00;
  margin-bottom: 15px;
}

.legal-content ul {
  padding-left: 20px;
}

/* Responsividade */
@media (max-width: 992px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    min-height: auto;
  }

  .hero-image {
    order: -1;
  }

  .contact-content, .about-content {
    grid-template-columns: 1fr;
  }

  .about-sidebar {
    order: -1;
  }
}

@media (max-width: 768px) {
  nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
  }

  nav.active {
    display: flex;
  }

  nav ul {
    flex-direction: column;
    gap: 0;
  }

  nav li {
    width: 100%;
  }

  nav a {
    display: block;
    padding: 10px 20px;
    border-bottom: 1px solid #eee;
  }

  nav a::after {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .hero-text h1 {
    font-size: 2.5rem;
  }

  .hero-text p {
    font-size: 1.1rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .thank-you-buttons {
    flex-direction: column;
    gap: 10px;
  }
}
