/* public/assets/css/style.css */

/* --- Global Reset & Responsiveness --- */
html,
body {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  font-family: "Inter", "Roboto", sans-serif;
  color: #2f2f2f;
  background-color: #f8f9fc;
}

/* --- Typography --- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: #1a202c;
  /* Do NOT use w-100 here per rules */
}

/* --- Navigation --- */
.navbar {
  background: #ffffff;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  padding: 0.5rem 0;
}

.navbar-brand img {
  max-height: 130px;
  object-fit: contain;
}

.nav-link {
  font-weight: 600;
  color: #4a5568 !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
  margin: 0 0.5rem;
}

.nav-link:hover {
  color: #2b6cb0 !important;
}

.nav-link.active {
  color: #2b6cb0 !important;
  border-bottom: 3px solid #2b6cb0;
  padding-bottom: 0.25rem;
}

/* --- Hero Banner --- */
.hero-section {
  position: relative;
  height: 70vh;
  min-height: 400px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.75); /* Light overlay for better dark logo visibility */
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #ffffff;
}

.hero-title {
  font-size: 3rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  margin-bottom: 1rem;
}

/* --- Cards (Nossos Serviços, Mídia, etc) --- */
.article-card {
  border: none;
  border-radius: 12px;
  overflow: hidden;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  background: #fff;
}

.article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.article-card .card-img-top {
  height: 200px;
  object-fit: cover;
}

.article-card .card-title {
  font-size: 1.25rem;
  color: #2d3748;
}

/* --- Buttons --- */
.btn-primary {
  background-color: #2b6cb0;
  border-color: #2b6cb0;
  padding: 0.75rem 2rem;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #2c5282;
  border-color: #2c5282;
  transform: scale(1.05);
}

.btn-outline-primary {
  color: #2b6cb0;
  border-color: #2b6cb0;
  padding: 0.5rem 1.5rem;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-outline-primary:hover {
  background-color: #2b6cb0;
  color: #fff;
}

/* --- Footer --- */
.footer {
  background-color: #2d3748;
  color: #e2e8f0;
  padding: 3rem 0;
}

.footer h5 {
  color: #fff;
  margin-bottom: 1.5rem;
}

.footer a {
  color: #cbd5e0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: #fff;
}

.footer hr {
  border-top-color: #4a5568;
  margin: 2rem 0;
}

/* --- WhatsApp Float --- */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 3px #999;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  color: #fff;
}
