/**
 * Arquivo CSS principal consolidado e otimizado
 * Inclui estilos globais e específicos
 */

/* Bootstrap Custom */
.btn-primary {
  background-color: #0056b3;
  border-color: #0056b3;
}
.btn-primary:hover {
  background-color: #004494;
  border-color: #004494;
}
.btn-outline-light:hover {
  color: #0056b3;
}
.navbar-light .navbar-nav .nav-link {
  color: #333;
  font-weight: 500;
}
.navbar-light .navbar-nav .nav-link.active {
  color: #0056b3;
}

/* Estilos Globais */
body {
  font-family: 'Roboto', sans-serif;
  color: #333;
  line-height: 1.6;
}
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  margin-bottom: 1rem;
}
a {
  color: #0056b3;
  text-decoration: none;
  transition: all 0.3s ease;
}
a:hover {
  color: #003d7a;
  text-decoration: none;
}
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}
.section-header p {
  color: #666;
  font-size: 1.1rem;
}

/* Top Bar */
.top-bar {
  background-color: #f8f9fa;
  padding: 8px 0;
  font-size: 0.9rem;
  border-bottom: 1px solid #eee;
}
.top-bar a {
  color: #666;
  margin-right: 15px;
}
.top-bar a:hover {
  color: #0056b3;
}
.social-icon {
  display: inline-block;
  width: 30px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  background-color: #f1f1f1;
  border-radius: 50%;
  margin-left: 5px;
  transition: all 0.3s ease;
}
.social-icon:hover {
  background-color: #0056b3;
  color: #fff;
}

/* Header */
.main-header {
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.navbar-brand img {
  max-height: 50px;
}
.navbar-nav .nav-item {
  margin: 0 5px;
}

/* Breadcrumb */
.breadcrumb-nav {
  background-color: #f8f9fa;
  padding: 15px 0;
  margin-bottom: 30px;
}
.breadcrumb {
  margin-bottom: 0;
  background-color: transparent;
}

/* Hero Section */
.hero-section {
  background-color: #0056b3;
  color: #fff;
  padding: 80px 0;
  margin-bottom: 60px;
}
.hero-section h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}
.hero-section .lead {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}
.hero-section .btn {
  margin-right: 10px;
  padding: 10px 25px;
}

/* Services Section */
.services-section {
  padding: 60px 0;
  background-color: #f8f9fa;
}
.service-card {
  background-color: #fff;
  border-radius: 5px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  text-align: center;
}
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}
.service-icon {
  font-size: 2.5rem;
  color: #0056b3;
  margin-bottom: 20px;
}
.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}
.read-more {
  display: inline-block;
  margin-top: 15px;
  font-weight: 500;
}

/* Portfolio Section */
.portfolio-section {
  padding: 60px 0;
}
.portfolio-grid {
  margin-top: 30px;
}
.portfolio-item {
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
  border-radius: 5px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.portfolio-item img {
  transition: all 0.5s ease;
}
.portfolio-item:hover img {
  transform: scale(1.1);
}
.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,86,179,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
}
.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}
.portfolio-overlay-content {
  text-align: center;
  color: #fff;
  padding: 20px;
}
.portfolio-overlay-content h4 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}
.portfolio-category {
  font-size: 0.9rem;
  margin-bottom: 15px;
}
.portfolio-link {
  display: inline-block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  background-color: #fff;
  color: #0056b3;
  border-radius: 50%;
  margin: 0 5px;
}
.portfolio-link:hover {
  background-color: #f1f1f1;
}

/* CTA Section */
.cta-section {
  background-color: #0056b3;
  color: #fff;
  padding: 60px 0;
  margin: 60px 0 0 0;
}
.cta-section h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}
.cta-section p {
  font-size: 1.1rem;
  margin-bottom: 0;
}

/* Footer */
.main-footer {
  background-color: #333;
  color: #fff;
  padding: 60px 0 0;
}
.main-footer h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
}
.main-footer h4 {
  font-size: 1.25rem;
  margin-bottom: 20px;
}
.main-footer p {
  color: #ccc;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 10px;
}
.footer-links a {
  color: #ccc;
}
.footer-links a:hover {
  color: #fff;
}
.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-contact li {
  margin-bottom: 15px;
  color: #ccc;
}
.footer-contact li i {
  margin-right: 10px;
  color: #0056b3;
}
.footer-hours {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-hours li {
  margin-bottom: 10px;
  color: #ccc;
}
.social-links {
  margin-top: 20px;
}
.social-links a {
  display: inline-block;
  width: 35px;
  height: 35px;
  line-height: 35px;
  text-align: center;
  background-color: #444;
  color: #fff;
  border-radius: 50%;
  margin-right: 10px;
  transition: all 0.3s ease;
}
.social-links a:hover {
  background-color: #0056b3;
}
.footer-bottom {
  border-top: 1px solid #444;
  padding: 20px 0;
  margin-top: 40px;
}
.footer-bottom p {
  margin-bottom: 0;
}
.footer-bottom a {
  color: #ccc;
}
.footer-bottom a:hover {
  color: #fff;
}

/* Sobre Nós */
.about-hero {
  padding: 60px 0;
  margin-bottom: 60px;
}
.about-content {
  padding-bottom: 60px;
}
.about-mission {
  display: flex;
  flex-wrap: wrap;
  margin-top: 40px;
}
.mission-card {
  flex: 1;
  padding: 20px;
  margin: 10px;
  background-color: #f8f9fa;
  border-radius: 5px;
  text-align: center;
}
.mission-icon {
  font-size: 2rem;
  color: #0056b3;
  margin-bottom: 15px;
}
.about-sidebar .card {
  margin-bottom: 30px;
}
.team-member {
  text-align: center;
  margin-bottom: 20px;
}
.about-numbers {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  text-align: center;
}
.number-item {
  padding: 10px;
}
.number-item .counter {
  font-size: 2rem;
  font-weight: 700;
  color: #0056b3;
}
.clients-section {
  padding: 60px 0;
  background-color: #f8f9fa;
}
.clients-slider {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
.client-logo {
  padding: 20px;
  text-align: center;
}
.client-logo img {
  max-width: 150px;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}
.client-logo:hover img {
  filter: grayscale(0);
  opacity: 1;
}

/* Contato */
.contact-section {
  padding: 60px 0;
}
.contact-info {
  margin-bottom: 30px;
}
.contact-methods {
  margin: 30px 0;
}
.contact-method {
  display: flex;
  margin-bottom: 20px;
}
.method-icon {
  width: 50px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  background-color: #f8f9fa;
  border-radius: 50%;
  margin-right: 15px;
  color: #0056b3;
  font-size: 1.25rem;
}
.method-details h5 {
  margin-bottom: 5px;
}
.contact-form {
  background-color: #f8f9fa;
  padding: 30px;
  border-radius: 5px;
}
.map-section {
  margin-top: 60px;
}

/* Portfolio */
.portfolio-hero {
  padding: 60px 0;
  text-align: center;
  margin-bottom: 30px;
}
.portfolio-filter {
  margin-bottom: 30px;
  text-align: center;
}
.filter-buttons {
  display: inline-block;
  background-color: #f8f9fa;
  padding: 10px;
  border-radius: 30px;
}
.filter-btn {
  background: none;
  border: none;
  padding: 8px 20px;
  margin: 0 5px;
  border-radius: 20px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
}
.filter-btn.active, .filter-btn:hover {
  background-color: #0056b3;
  color: #fff;
}
.portfolio-grid-section {
  padding-bottom: 60px;
}
.project-details {
  padding: 20px 0;
}
.project-meta {
  margin-top: 20px;
}
.meta-item {
  margin-bottom: 10px;
}
.meta-label {
  font-weight: 700;
  margin-right: 5px;
}

/* Pedidos */
.pedidos-section {
  padding: 60px 0;
}
.pedidos-nav .nav-link {
  padding: 10px 15px;
  border-radius: 5px;
  margin-bottom: 5px;
  color: #333;
  transition: all 0.3s ease;
}
.pedidos-nav .nav-link:hover, .pedidos-nav .nav-link.active {
  background-color: #0056b3;
  color: #fff;
}
.pedidos-nav .nav-link i {
  margin-right: 10px;
}
.pedidos-content {
  margin-bottom: 30px;
}

/* Responsividade */
@media (max-width: 991px) {
  .hero-section {
    padding: 60px 0;
    text-align: center;
  }
  .hero-section .col-lg-6:first-child {
    margin-bottom: 30px;
  }
  .about-mission {
    flex-direction: column;
  }
  .mission-card {
    margin-bottom: 20px;
  }
}
@media (max-width: 767px) {
  .top-bar {
    text-align: center;
  }
  .top-bar .text-end {
    text-align: center !important;
    margin-top: 10px;
  }
  .hero-section h1 {
    font-size: 2.5rem;
  }
  .cta-section .text-lg-end {
    text-align: center !important;
    margin-top: 20px;
  }
  .footer-bottom .text-md-end {
    text-align: center !important;
    margin-top: 10px;
  }
}
@media (max-width: 575px) {
  .hero-section h1 {
    font-size: 2rem;
  }
  .section-header h2 {
    font-size: 2rem;
  }
}
