:root {
  --primary-green: #4d9350;
  --primary-green-dark: #39823d;
  --light-green: #dcfce7;
  --bg-green: #f0fdf4;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: #1f2937;
}

html {
  scroll-behavior: smooth;
}

/* Navigation */
.navbar {
  background: rgba(255, 255, 255, 0.97) !important;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  z-index: 999;
}

.navbar-brand {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.navbar .nav-link {
  font-weight: 500;
  color: #374151 !important;
  transition: color 0.2s ease-in-out;
}

.navbar .nav-link:hover {
  color: var(--primary-green, #28a745) !important;
}

.navbar-toggler {
  font-size: 1.2rem;
  outline: none;
  box-shadow: none !important;
}

/* Optional sticky fix spacing */
body {
  padding-top: 75px; /* altura da navbar fixa */
}

@media (max-width: 991.98px) {
  .navbar-nav .nav-item {
    margin-bottom: 0.5rem;
  }

  .navbar .btn.w-100 {
    width: 100% !important;
  }
}

/* Buttons */
.btn-primary {
  background: var(--primary-green);
  border: none;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: var(--primary-green-dark);
  transform: translateY(-2px);
}

/* Hero Section */
.hero-carousel {
  height: 100vh;
  position: relative;
}

.carousel-item {
  height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(16, 185, 129, 0.3),
    rgba(5, 150, 105, 0.4)
  );
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  text-align: center;
  color: white;
  max-width: 800px;
  padding: 0 20px;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.carousel-control-prev,
.carousel-control-next {
  width: 5%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-size: 100%, 100%;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.3);
  width: 3rem;
  height: 3rem;
}

/* Services Section */
.services-section {
  padding: 80px 0;
  background: var(--bg-green);
}

.service-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  border: 1px solid var(--light-green);
  transition: all 0.3s ease;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.service-icon {
  font-size: 3rem;
  color: var(--primary-green);
  margin-bottom: 1rem;
}

.service-card h5 {
  font-weight: 600;
  margin-bottom: 1rem;
  color: #1f2937;
}

.service-card p {
  color: #6b7280;
  margin-bottom: 0;
}

/* Gallery Section */
.gallery-section {
  padding: 80px 0;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 30px;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: end;
  padding: 20px;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-text {
  color: white;
}

.gallery-text h6 {
  font-weight: 600;
  margin-bottom: 5px;
}

/* Testimonials Section */
.testimonials-section {
  padding: 80px 0;
  background: var(--bg-green);
}

.testimonial-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  border: 1px solid var(--light-green);
  height: 100%;
  position: relative;
}

.testimonial-card .quote-icon {
  font-size: 3rem;
  color: var(--primary-green);
  opacity: 0.3;
  position: absolute;
  top: 10px;
  left: 20px;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1.5rem;
  color: #4b5563;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  font-weight: 600;
  color: #1f2937;
}

.testimonial-location {
  color: var(--primary-green);
  font-size: 0.9rem;
}

/* About Section */
.about-section {
  padding: 80px 0;
}

.about-card {
  background: white;
  border-radius: 15px;
  padding: 3rem;
  border: 1px solid var(--light-green);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.quote-highlight {
  border-left: 4px solid var(--primary-green);
  padding-left: 1.5rem;
  margin-top: 2rem;
}

.quote-highlight p {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-green);
  font-style: italic;
  margin-bottom: 0;
}

/* Contact Section */
.contact-section {
  padding: 80px 0;
  background: var(--bg-green);
}

.contact-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  border: 1px solid var(--light-green);
  height: 100%;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.contact-item i {
  color: var(--primary-green);
  margin-right: 15px;
  font-size: 1.2rem;
}

.contact-item a {
  color: #4b5563;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: var(--primary-green);
}

.form-control:focus {
  border-color: var(--primary-green);
  box-shadow: 0 0 0 0.2rem rgba(5, 150, 105, 0.25);
}

/* Footer */
.footer {
  background: var(--primary-green-dark);
  color: white;
  margin-top: 20px;
  padding: 10px 0 30px;
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.footer-logo-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(
    135deg,
    var(--primary-green),
    var(--primary-green-dark)
  );
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  margin-right: 10px;
}

/* Modals */
.modal-content {
  border-radius: 15px;
  border: none;
}

.modal-header {
  border-bottom: 1px solid var(--light-green);
}

/* Responsive */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content p {
    font-size: 1.1rem;
  }

  .navbar-nav {
    text-align: center;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.8s ease-out;
}

/* Section spacing */
.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #1f2937;
}

.section-subtitle {
  font-size: 1.2rem;
  color: #6b7280;
  margin-bottom: 3rem;
}

.title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary-green-dark);
}
