/* ============================================
   Troy Tree & Landscaping
   Palette: deep forest green + burnt-orange work-truck accent + warm cream
   Fonts: Bitter (headings, sturdy slab-serif) + Manrope (body)
   ============================================ */

:root {
  --forest-deep: #16281c;
  --forest: #234631;
  --forest-light: #3d6b4c;
  --sage: #7c9b81;
  --cream: #f7f4ea;
  --cream-soft: #efe9d8;
  --amber: #d97e34;
  --amber-dark: #b3611e;
  --ink: #202b21;
  --ink-soft: #556056;
  --white: #ffffff;

  --font-head: 'Bitter', serif;
  --font-body: 'Manrope', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  padding-top: 78px;
}

h1, h2, h3, h4, h5, .brand-text, .btn {
  font-family: var(--font-head);
}

.navbar-nav .nav-link {
  font-family: var(--font-body);
}

p, li, label, input, select, textarea {
  font-family: var(--font-body);
}

a {
  color: var(--forest-light);
  text-decoration: none;
}

.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.82rem;
  color: var(--amber-dark);
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.eyebrow-light {
  color: #ffcb96;
}

.section-title {
  font-weight: 700;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  color: var(--forest-deep);
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

.lead-text {
  font-size: 1.1rem;
  color: var(--ink-soft);
}

.py-lg-6 { padding-top: 5rem; padding-bottom: 5rem; }

/* ============ NAVBAR ============ */
#mainNav {
  background: var(--forest-deep);
  padding: 0.6rem 0;
  box-shadow: 0 2px 16px rgba(0,0,0,0.18);
}

.logo-chip {
  background: #fdfcf6;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px;
  flex-shrink: 0;
  overflow: hidden;
}

.logo-chip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.brand-text {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
}

.brand-text-light {
  color: #b9cdb7;
  font-weight: 500;
}

.navbar-nav .nav-link {
  color: #dfe9dc;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.5rem 0.85rem !important;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  color: var(--amber);
}

.btn-cta {
  background: var(--amber);
  color: var(--white) !important;
  border: none;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 0.55rem 1.3rem;
  border-radius: 8px;
  transition: background 0.2s ease, transform 0.15s ease;
}

.btn-cta:hover {
  background: var(--amber-dark);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-cta-outline {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white) !important;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 0.55rem 1.3rem;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.btn-cta-outline:hover {
  background: var(--white);
  color: var(--forest-deep) !important;
}

.btn-cta-outline-light {
  background: rgba(255,255,255,0.08);
  border: 2px solid rgba(255,255,255,0.7);
  color: var(--white) !important;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.5rem 1.1rem;
  border-radius: 8px;
  transition: all 0.2s ease;
  display: inline-block;
}

.btn-cta-outline-light:hover {
  background: var(--white);
  color: var(--forest-deep) !important;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 92vh;
  background: url('img/hero.webp') center 40%/cover no-repeat;
  color: var(--white);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 75% 65% at 50% 48%, rgba(10,20,12,0.40) 0%, rgba(10,20,12,0.06) 100%),
    linear-gradient(to bottom, rgba(10,20,12,0.35) 0%, rgba(10,20,12,0.12) 42%, rgba(10,20,12,0.50) 100%);
}

.hero-content {
  max-width: 780px;
  background: rgba(10,20,12,0.20);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border-radius: 20px;
}

.hero-eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffd7ab;
  text-shadow: 0 0 3px rgba(0,0,0,1), 0 1px 12px rgba(0,0,0,0.95), 0 0 30px rgba(0,0,0,0.8);
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.3rem, 5.6vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin: 0.6rem 0 1.1rem;
  text-shadow: 0 0 4px rgba(0,0,0,1), 0 2px 20px rgba(0,0,0,0.95), 0 0 60px rgba(0,0,0,0.8);
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 500;
  max-width: 620px;
  margin: 0 auto;
  text-shadow: 0 0 3px rgba(0,0,0,1), 0 2px 16px rgba(0,0,0,0.95), 0 0 40px rgba(0,0,0,0.85);
}

.hero-tagline {
  text-shadow: 0 0 3px rgba(0,0,0,1), 0 1px 12px rgba(0,0,0,0.95), 0 0 30px rgba(0,0,0,0.9);
}

/* ============ ABOUT ============ */
.about-img {
  width: 100%;
  aspect-ratio: 4/3.4;
  object-fit: cover;
}

.stat-block {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.stat-block i {
  font-size: 1.9rem;
  color: var(--amber);
}

.stat-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--forest-deep);
}

.stat-sub {
  font-size: 0.85rem;
  color: var(--ink-soft);
}

/* ============ SERVICES ============ */
.services-section {
  background: var(--cream);
}

.service-card {
  height: 100%;
  background: var(--white);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(22,40,28,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(22,40,28,0.16);
}

.service-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.service-card-body {
  padding: 1.75rem;
  flex: 1;
}

.service-card-body i {
  font-size: 2.2rem;
  color: var(--forest-light);
  margin-bottom: 0.75rem;
  display: block;
}

.service-card-body h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--forest-deep);
  margin-bottom: 0.6rem;
}

.service-card-body p {
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin-bottom: 0;
}

/* ============ RENTALS ============ */
.rentals-banner-section {
  position: relative;
  background: url('img/rentals-banner.webp') center 35%/cover no-repeat;
}

.rentals-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(15,28,18,0.94) 0%, rgba(22,40,28,0.90) 55%, rgba(15,28,18,0.94) 100%);
}

.rental-card {
  height: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 18px;
  overflow: hidden;
  backdrop-filter: blur(2px);
}

.rental-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.rental-card-body {
  padding: 1.75rem;
  color: var(--white);
}

.rental-card-body i {
  font-size: 2.1rem;
  color: var(--amber);
  margin-bottom: 0.75rem;
  display: block;
}

.rental-card-body h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.rental-card-body p {
  font-size: 0.92rem;
  color: #d6e0d4;
  margin-bottom: 1.1rem;
}

.rental-card-plain {
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(217,126,52,0.18), rgba(255,255,255,0.05));
}

.rental-card-body-plain {
  padding: 2.75rem 1.75rem;
  text-align: center;
  width: 100%;
}

/* ============ CONTACT ============ */
.contact-section {
  background: var(--cream);
}

.contact-info-card {
  background: var(--white);
  border-radius: 20px;
  padding: 2rem;
  height: 100%;
  box-shadow: 0 8px 24px rgba(22,40,28,0.08);
}

.contact-info-card h3 {
  font-size: 1.25rem;
  color: var(--forest-deep);
  margin-bottom: 1rem;
}

.contact-info-card p {
  font-size: 0.95rem;
}

.contact-form {
  background: var(--white);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 8px 24px rgba(22,40,28,0.08);
}

.contact-form .form-label {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--forest);
}

.contact-form .form-control {
  border-radius: 8px;
  border: 1px solid #dde3d9;
  padding: 0.6rem 0.85rem;
}

.contact-form .form-control:focus {
  border-color: var(--forest-light);
  box-shadow: 0 0 0 0.2rem rgba(61,107,76,0.15);
}

/* ============ FOOTER ============ */
.footer {
  background: var(--forest-deep);
  color: #cddbc9;
}

.footer h5 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  font-family: var(--font-head);
}

.footer-tagline {
  font-size: 0.9rem;
  color: #b3c5af;
}

.footer-logo-chip {
  background: #fdfcf6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  padding: 6px;
  width: 72px;
  height: 72px;
  overflow: hidden;
}

.footer-logo-chip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

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

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #cddbc9;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--amber);
}

.footer p a {
  color: #cddbc9;
}

.footer p a:hover {
  color: var(--amber);
}

.footer-socials a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.footer-socials a:hover {
  background: var(--amber);
}

.footer-divider {
  border-color: rgba(255,255,255,0.14);
}

.powered-by {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 600;
  color: #ffd7ab;
}

.powered-by:hover {
  color: var(--amber);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 991.98px) {
  body { padding-top: 68px; }
  .navbar-nav .nav-link { color: #dfe9dc !important; padding: 0.5rem 0 !important; }
  .navbar-collapse { background: var(--forest-deep); padding: 1rem 0.5rem; border-radius: 0 0 12px 12px; }
  .hero { min-height: 100vh; }
}

@media (max-width: 575.98px) {
  .hero-content { padding: 2rem 1.25rem !important; }
  .brand-text { font-size: 1rem; }
}
