/* style.css */

/* Cores da Paleta */
:root {
  --ecare-orange-main: #FFA500;
  --ecare-orange-dark: #CC8400;
  --ecare-white: #ffffff;
  --ecare-light-gray: #f5f5f5;
  --ecare-dark-gray: #333333;
  --ecare-medium-gray: #666666;
  --ecare-border-color: #cccccc;
}

/* Estilos Globais */
body {
  font-family: 'Arial', sans-serif;
  margin: 0;
  padding: 0;
  background-color: var(--ecare-white);
  color: var(--ecare-dark-gray);
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--ecare-dark-gray);
  margin-bottom: 15px;
}

p {
  margin-bottom: 15px;
}

/* Botões */
.btn {
  display: inline-block;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease, transform 0.2s ease;
  font-weight: bold;
  text-align: center;
  cursor: pointer;
}

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

.btn-primary {
  background-color: var(--ecare-orange-main);
  color: var(--ecare-white);
  border: 1px solid var(--ecare-orange-main);
}

.btn-primary:hover {
  background-color: var(--ecare-orange-dark);
  border-color: var(--ecare-orange-dark);
}

.btn-secondary {
  background-color: var(--ecare-white);
  color: var(--ecare-orange-main);
  border: 1px solid var(--ecare-orange-main);
}

.btn-secondary:hover {
  background-color: var(--ecare-light-gray);
}

/* Header */
header {
  background-color: var(--ecare-white); /* Alterado para branco */
  padding: 20px 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  color: var(--ecare-white);
}

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

header .logo {
  max-height: 150px;
  width: auto;
  background-color: transparent;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

header nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
}

header nav ul li {
  margin-left: 25px;
}

header nav ul li a {
  color: var(--ecare-orange-main); /* Alterado para laranja */
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

header nav ul li a:not(.cta-button-whatsapp):hover {
  color: var(--ecare-light-gray);
}

.cta-button-whatsapp {
  background-color: var(--ecare-orange-dark);
  color: var(--ecare-white) !important;
  padding: 10px 20px;
  border-radius: 5px;
  transition: background-color 0.3s ease, transform 0.2s ease;
  margin-left: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cta-button-whatsapp:hover {
  background-color: var(--ecare-orange-main);
  transform: translateY(-2px);
}

/* Seção Hero */
.hero-section {
  background-image: url('hero-background.jpg');
  background-size: cover;
  background-position: center;
  color: var(--ecare-white);
  padding: 150px 0;
  text-align: center;
  position: relative;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Adiciona uma camada escura para melhorar a legibilidade do texto */
}

.hero-section .container {
  position: relative;
  z-index: 1; /* Garante que o texto e o botão fiquem acima da camada escura */
}

.hero-section h1 {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: var(--ecare-white);
}

.hero-section p {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: var(--ecare-white);
}

/* Seção de Destaque */
.highlight-section {
  padding: 80px 0;
  background-color: var(--ecare-white);
}

.highlight-content {
  display: flex;
  gap: 50px;
  align-items: center;
}

.highlight-text {
  flex: 1;
}

.highlight-image {
  flex: 1;
}

.responsive-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Seção de Especialidades */
.specialties-section {
  padding: 80px 0;
  background-color: var(--ecare-light-gray);
  text-align: center;
}

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

.specialty-item {
  background-color: var(--ecare-white);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

.specialty-item:hover {
  transform: translateY(-5px);
}

.specialty-item img {
  width: 100px;
  height: auto;
  margin-bottom: 15px;
  border-radius: 8px;
  object-fit: cover;
  aspect-ratio: 1/1;
}

.specialty-item h3 {
  color: var(--ecare-orange-main);
  margin-top: 0;
}

/* Seção de Contato na Home */
.contact-info-section {
    padding: 80px 0;
    text-align: center;
    background-color: var(--ecare-white);
}
.contact-info-section h2 {
    margin-bottom: 25px;
}
.contact-info-section p {
    font-size: 1.1em;
}
.contact-info-section a {
    color: var(--ecare-orange-main);
}

/* Estilos para Páginas Internas */
.about-page-section, .contact-page-section, .services-page-section {
    background-color: var(--ecare-light-gray);
    padding-top: 80px;
    padding-bottom: 80px;
}

.contact-page-section h2, .about-page-section h2, .services-page-section h2 {
    text-align: center;
    margin-bottom: 30px;
}

/* Formulário de Contato */
.contact-page-section form {
  max-width: 600px;
  margin: 0 auto;
  padding: 30px;
  background-color: var(--ecare-light-gray);
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-page-section .form-group {
    margin-bottom: 20px;
}

.contact-page-section label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: var(--ecare-medium-gray);
}

.contact-page-section input,
.contact-page-section textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--ecare-border-color);
  border-radius: 4px;
  box-sizing: border-box;
}

.contact-page-section textarea {
  resize: vertical;
}

.contact-page-section button {
  background-color: var(--ecare-orange-main);
  color: var(--ecare-white);
  padding: 12px 25px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1em;
  transition: background-color 0.3s ease;
  width: 100%;
}

.contact-page-section button:hover {
  background-color: var(--ecare-orange-dark);
}

/* Footer */
footer {
  background-color: var(--ecare-dark-gray);
  color: var(--ecare-white);
  text-align: center;
  padding: 20px 0;
  font-size: 0.9em;
}

.social-links {
    margin-top: 15px;
}

.social-links a {
  display: inline-block;
  margin: 0 8px;
  transition: transform 0.2s ease;
}

.social-links a:hover {
    transform: translateY(-3px);
}

.social-links img {
    width: 30px;
    height: 30px;
    filter: invert(1);
}

/* Responsividade */
@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 2.5em;
  }
  .highlight-content {
    flex-direction: column;
  }
  header .logo {
    max-height: 50px;
  }
}

@media (max-width: 480px) {
  .hero-section h1 {
    font-size: 2em;
  }
  header .container {
    flex-direction: column;
    text-align: center;
  }
  header nav ul {
    flex-direction: column;
    width: 100%;
    margin-top: 15px;
  }
  header nav ul li {
    margin: 10px 0;
  }
  .cta-button-whatsapp {
    margin-left: 0;
    margin-top: 10px;
  }
}