/* =========================
   style.css — Full stylesheet
   ========================= */

/* Reset and base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
  background-color: #f9f9f9;
  color: #333;
  line-height: 1.6;
}

/* Links */
a {
  color: #2e7d32;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* Containers */
.container {
  max-width: 1140px;
}

/* =========================
   Navbar
   ========================= */
.navbar {
  transition: box-shadow 0.25s ease, background-color 0.25s ease;
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
}

.navbar .navbar-brand {
  font-size: 0.85rem !important; /* smaller brand text */
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  max-width: 60vw;
  overflow: hidden;
  text-overflow: ellipsis;
}

.navbar-nav .nav-link {
  font-size: 0.95rem;
  padding: 0.5rem 0.75rem;
}
.navbar-nav .nav-link.active {
  font-weight: 700;
  text-decoration: underline;
}

.navbar-toggler {
  padding: 0.4rem 0.6rem;
}

/* =========================
   Hero
   ========================= */
header {
  position: relative;
  overflow: hidden;
}

header .container {
  position: relative;
  z-index: 2;
}

header::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35); /* readability overlay */
  z-index: 1;
}

header h1,
header p,
header a.btn {
  position: relative;
  z-index: 3;
}

/* =========================
   Sections
   ========================= */
section h2 {
  font-weight: 700;
  color: #2e7d32;
  letter-spacing: 0.2px;
}

/* =========================
   Cards
   ========================= */
.card {
  border: none;
  border-radius: 0.75rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.card-body {
  text-align: center;
}

.card-title {
  font-weight: 600;
  margin-top: 0.5rem;
}

.card-text {
  font-size: 0.92rem;
  color: #555;
}

/* =========================
   Gallery
   ========================= */
#gallery img {
  border-radius: 0.5rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

#gallery img:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
  filter: saturate(1.05);
}

/* =========================
   Quote form
   ========================= */
#quote-form .card {
  border-radius: 0.75rem;
}

#quote-form .form-label {
  font-weight: 600;
}

#quote-form .form-control,
#quote-form .form-select,
#quote-form textarea {
  border-radius: 0.5rem;
  border-color: #ced4da;
}

#quote-form .form-control:focus,
#quote-form .form-select:focus,
#quote-form textarea:focus {
  border-color: #2e7d32;
  box-shadow: 0 0 0 0.2rem rgba(46, 125, 50, 0.15);
}

#quote-form .btn {
  border-radius: 0.5rem;
}

/* =========================
   Footer
   ========================= */
footer {
  font-size: 0.92rem;
}

/* =========================
   Responsive tweaks
   ========================= */
@media (max-width: 992px) {
  .navbar .navbar-brand {
    font-size: 0.82rem !important;
  }
}

@media (max-width: 768px) {
  .navbar .navbar-brand {
    font-size: 0.8rem !important;
  }
  header .btn.btn-lg {
    padding: 0.6rem 1rem;
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .navbar .navbar-brand {
    font-size: 0.75rem !important;
  }
  .navbar-nav .nav-link {
    padding: 0.4rem 0.6rem;
    font-size: 0.92rem;
  }
  section h2 {
    font-size: 1.35rem;
  }
}
