/* Estilos principais para o site Bahia Face Odontologia */

/* Variáveis de cores */
:root {
  --primary-color: #0d47a1; /* Azul royal */
  --secondary-color: #e0a800; /* Dourado */
  --light-color: #ffffff;
  --dark-color: #333333;
  --gray-color: #f8f9fa;
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Estilos gerais */
body {
  font-family: 'Poppins', sans-serif;
  color: var(--dark-color);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  margin-bottom: 1rem;
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--light-color);
  padding: 10px 25px;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #0a3b8c;
  border-color: #0a3b8c;
  transform: translateY(-2px);
  box-shadow: var(--box-shadow);
}

.btn-secondary {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  color: var(--light-color);
  padding: 10px 25px;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background-color: #c69500;
  border-color: #c69500;
  transform: translateY(-2px);
  box-shadow: var(--box-shadow);
}

.section-padding {
  padding: 80px 0;
}

.section-title {
  margin-bottom: 50px;
  text-align: center;
}

.section-title h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  position: relative;
  margin-bottom: 15px;
}

.section-title h2:after {
  content: '';
  width: 80px;
  height: 3px;
  background: var(--secondary-color);
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

/* Header/Navbar */
.navbar {
  background-color: var(--light-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 15px 0;
}

.navbar-brand img {
  height: 50px;
}

.navbar-nav .nav-link {
  color: var(--dark-color);
  font-weight: 500;
  padding: 10px 15px;
  transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--primary-color);
}

.navbar .btn-appointment {
  margin-left: 15px;
}

/* Hero Section */
.hero-section {
  background-size: cover;
  background-position: center;
  min-height: 80vh;
  display: flex;
  align-items: center;
  position: relative;
}

.hero-section:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

.hero-content {
  position: relative;
  z-index: 1;
  color: var(--light-color);
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  max-width: 600px;
}

/* Diferenciais */
.features-section {
  background-color: var(--gray-color);
}

.feature-card {
  background: var(--light-color);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: var(--box-shadow);
  transition: all 0.3s ease;
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-10px);
}

.feature-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.feature-card h3 {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-bottom: 15px;
}

/* Tratamentos */
.treatments-section {
  background-color: var(--light-color);
}

.treatment-card {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  margin-bottom: 30px;
  transition: all 0.3s ease;
}

.treatment-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.treatment-img {
  height: 200px;
  background-size: cover;
  background-position: center;
}

.treatment-content {
  padding: 20px;
}

.treatment-content h3 {
  color: var(--primary-color);
  font-size: 1.3rem;
}

.treatment-content p {
  margin-bottom: 15px;
}

/* Corpo Clínico */
.team-section {
  background-color: var(--gray-color);
}

.team-card {
  background: var(--light-color);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  margin-bottom: 30px;
}

.team-img {
  height: 250px;
  background-size: cover;
  background-position: top center;
}

.team-info {
  padding: 20px;
  text-align: center;
}

.team-info h3 {
  color: var(--primary-color);
  font-size: 1.3rem;
  margin-bottom: 5px;
}

.team-info p {
  color: var(--dark-color);
  margin-bottom: 10px;
}

.team-social a {
  color: var(--primary-color);
  margin: 0 8px;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.team-social a:hover {
  color: var(--secondary-color);
}

/* Sobre a Clínica */
.about-section {
  background-color: var(--light-color);
}

.about-img {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.about-content h2 {
  color: var(--primary-color);
  margin-bottom: 20px;
}

.about-content p {
  margin-bottom: 15px;
}

/* Depoimentos */
.testimonials-section {
  background-color: var(--gray-color);
}

.testimonial-card {
  background: var(--light-color);
  padding: 30px;
  border-radius: 10px;
  box-shadow: var(--box-shadow);
  margin-bottom: 30px;
  position: relative;
}

.testimonial-card:before {
  content: '\201C';
  font-size: 5rem;
  color: var(--primary-color);
  opacity: 0.2;
  position: absolute;
  top: 20px;
  left: 20px;
  font-family: Georgia, serif;
}

.testimonial-content {
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  margin-top: 20px;
}

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-right: 15px;
}

.testimonial-author-info h4 {
  margin-bottom: 0;
  color: var(--primary-color);
}

.testimonial-author-info p {
  margin-bottom: 0;
  font-size: 0.9rem;
}

/* Contato */
.contact-section {
  background-color: var(--light-color);
}

.contact-info {
  margin-bottom: 30px;
}

.contact-item {
  display: flex;
  margin-bottom: 20px;
}

.contact-icon {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-right: 15px;
}

.contact-details h4 {
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.contact-map {
  height: 400px;
  border-radius: 10px;
  overflow: hidden;
}

.contact-form {
  background: var(--gray-color);
  padding: 30px;
  border-radius: 10px;
}

.form-control {
  border-radius: 30px;
  padding: 12px 20px;
  margin-bottom: 20px;
}

/* Footer */
.footer {
  background-color: var(--primary-color);
  color: var(--light-color);
  padding: 60px 0 30px;
}

.footer-logo img {
  height: 60px;
  margin-bottom: 20px;
}

.footer-info p {
  margin-bottom: 10px;
}

.footer-title {
  font-size: 1.3rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-title:after {
  content: '';
  width: 50px;
  height: 2px;
  background: var(--secondary-color);
  position: absolute;
  bottom: 0;
  left: 0;
}

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

.footer-links li {
  margin-bottom: 10px;
}

.footer-links li a {
  color: var(--light-color);
  transition: all 0.3s ease;
  text-decoration: none;
}

.footer-links li a:hover {
  color: var(--secondary-color);
  padding-left: 5px;
}

.footer-social a {
  color: var(--light-color);
  font-size: 1.3rem;
  margin-right: 15px;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  color: var(--secondary-color);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  margin-top: 40px;
  text-align: center;
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #25d366;
  color: var(--light-color);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  text-align: center;
  font-size: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.whatsapp-float:hover {
  background: #20ba5a;
  transform: scale(1.1);
}

/* Emergência Dental */
.emergency-btn {
  position: fixed;
  bottom: 30px;
  left: 30px;
  background: #dc3545;
  color: var(--light-color);
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: 600;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  z-index: 100;
  transition: all 0.3s ease;
  text-decoration: none;
}

.emergency-btn:hover {
  background: #c82333;
  transform: scale(1.05);
  color: var(--light-color);
}

/* Responsividade */
@media (max-width: 992px) {
  .navbar-collapse {
    background: var(--light-color);
    padding: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  }
  
  .navbar .btn-appointment {
    margin: 10px 0 0;
    display: inline-block;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .section-padding {
    padding: 60px 0;
  }
  
  .section-title h2 {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .hero-content p {
    font-size: 1rem;
  }
  
  .section-padding {
    padding: 40px 0;
  }
  
  .feature-card, .treatment-card, .team-card, .testimonial-card {
    margin-bottom: 20px;
  }
}

@media (max-width: 576px) {
  .navbar-brand img {
    height: 40px;
  }
  
  .hero-section {
    min-height: 60vh;
  }
  
  .footer {
    padding: 40px 0 20px;
  }
}