/* ============================================
   T & A GROUNDS MAINTENANCE — STYLES (v6)
   ============================================ */

:root {
  --green: #6B8268;
  --green-dark: #5A7360;
  --cream: #F8F8F8;
  --white: #FFFFFF;
  --charcoal: #333333;
  --dark-gray: #4A4A4A;
  --gray: #6B6B6B;
  --gray-light: #E8E8E6;
  --nav-bg: #E9EAE9;
  --shadow-card: 0 8px 40px rgba(0,0,0,0.1);
  --shadow-btn: 0 4px 12px rgba(107,130,104,0.3);
  --shadow-sm: 0 2px 6px rgba(0,0,0,0.06);
  --transition: 0.25s ease;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Lato', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--cream);
  color: var(--charcoal);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 500;
  line-height: 1.2;
}

h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.4rem); }

p {
  font-size: 1rem;
  color: var(--dark-gray);
  line-height: 1.6;
}

/* --- NAVIGATION --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--nav-bg);
  border-bottom: 1px solid rgba(0,0,0,0.04);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

.nav-links li {
  display: inline-block;
}

.nav-links a {
  font-family: 'Playfair Display', serif;
  font-size: 0.85rem;
  color: var(--charcoal);
  transition: var(--transition);
  white-space: nowrap;
  display: inline-block;
}

.nav-links a.active {
  color: var(--green);
}

.nav-links a:not(.active):hover {
  color: var(--green);
}

.nav-phone {
  font-family: 'Playfair Display', serif;
  background: var(--green);
  color: var(--white) !important;
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-size: 0.85rem;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
  display: inline-block;
}

.nav-phone:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
}

.nav-phone::after {
  display: none !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--green);
  transition: var(--transition);
}

/* --- HERO SECTION --- */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5rem 1.5rem 2rem;
  background: var(--cream);
}

.hero-card {
  background: var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow-card);
  padding: 2rem 3rem;
  max-width: 1100px;
  width: 100%;
  text-align: center;
}

.hero-logo-section {
  margin-bottom: 1rem;
}

.hero-full-logo {
  width: 100%;
  max-width: 400px;
  height: auto;
  margin: 0 auto;
}

.hero-tagline-1 {
  font-family: 'Playfair Display', serif;
  color: var(--green);
  font-size: clamp(0.95rem, 1.5vw, 1.2rem);
  font-weight: 400;
  margin-bottom: 0.4rem;
}

.hero-tagline-2 {
  font-family: 'Playfair Display', serif;
  color: var(--green);
  font-size: clamp(0.85rem, 1.2vw, 1rem);
  font-weight: 400;
  margin-bottom: 1.25rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  font-family: 'Playfair Display', serif;
  font-size: 0.9rem;
  font-weight: 400;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
}

.btn-call {
  background: var(--green);
  color: var(--white);
  box-shadow: var(--shadow-btn);
}

.btn-call:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
}

.btn-started {
  background: transparent;
  color: var(--green);
  border-color: var(--green);
}

.btn-started:hover {
  background: var(--nav-bg);
  transform: translateY(-2px);
}

.hero-bottom-text {
  font-family: 'Playfair Display', serif;
  font-size: 0.9rem;
  margin-top: 0.25rem;
}

.text-green {
  color: var(--green);
  font-weight: 600;
}

.text-dark {
  color: var(--charcoal);
}

/* --- SECTIONS --- */
.section {
  padding: 3rem 2rem;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-header {
  margin-bottom: 2rem;
}

.section-header h2 {
  color: var(--charcoal);
  margin-bottom: 0.5rem;
}

.section-header p {
  max-width: 550px;
  margin: 0 auto;
  font-size: 1rem;
}

.section-center {
  text-align: center;
}

.section-green {
  background: linear-gradient(180deg, var(--green) 0%, var(--green-dark) 100%);
}

.section-green h2,
.section-green h3,
.section-green p {
  color: var(--white);
}

.section-green .section-header p {
  color: rgba(255,255,255,0.9);
}

/* --- SERVICE CARDS --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border-radius: 12px;
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.service-icon {
  width: 48px;
  height: 48px;
  background: var(--green);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.service-card h3 {
  color: var(--charcoal);
  margin-bottom: 0.5rem;
}

.service-card > p {
  font-size: 0.9rem;
  margin-bottom: 1rem;
  color: var(--gray);
}

.service-list {
  list-style: none;
  margin-bottom: 1.25rem;
}

.service-list li {
  font-size: 0.85rem;
  color: var(--dark-gray);
  padding: 0.3rem 0;
  padding-left: 1.25rem;
  position: relative;
}

.service-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green);
  font-size: 0.8rem;
}

.btn-learn {
  background: var(--green);
  color: var(--white);
  width: 100%;
  font-size: 0.9rem;
  padding: 0.65rem 1.25rem;
}

.btn-learn:hover {
  background: var(--green-dark);
}

/* --- WHY CHOOSE US --- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.why-card {
  text-align: center;
  padding: 1.75rem 1.25rem;
}

.why-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.why-card h3 {
  color: var(--white);
  margin-bottom: 0.5rem;
}

.why-card p {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
}

/* --- PAGE HERO (sub-pages) --- */
.page-hero {
  padding: 7rem 2rem 2.5rem;
  background: var(--cream);
  text-align: center;
}

.page-hero h1 {
  color: var(--green);
  margin-bottom: 0.5rem;
}

.page-hero p {
  color: var(--gray);
  max-width: 550px;
  margin: 0 auto;
  font-size: 1rem;
}

.service-detail {
  background: var(--white);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow-card);
  margin-top: -1.5rem;
  position: relative;
  z-index: 2;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.service-detail h3 {
  color: var(--green);
  margin-bottom: 0.75rem;
}

.service-detail-list {
  list-style: none;
}

.service-detail-list li {
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--gray-light);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--charcoal);
}

.service-detail-list li:last-child {
  border-bottom: none;
}

.service-check {
  width: 22px;
  height: 22px;
  background: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.75rem;
  flex-shrink: 0;
}

.service-cta-box {
  background: var(--cream);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
}

.service-cta-box h4 {
  color: var(--charcoal);
  margin-bottom: 0.5rem;
}

.service-cta-box p {
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.other-services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.other-service-card {
  background: rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  transition: var(--transition);
}

.other-service-card:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-2px);
}

.other-service-card h3 {
  color: var(--white);
  margin-bottom: 0.5rem;
}

.other-service-card p {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
}

/* --- CONTACT PAGE --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2.5rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: var(--green);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-item h4 {
  color: var(--charcoal);
  margin-bottom: 0.25rem;
  font-size: 1.1rem;
}

.contact-item p {
  color: var(--gray);
  font-size: 0.9rem;
}

.contact-form {
  background: var(--white);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow-card);
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--charcoal);
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.85rem;
  border: 2px solid var(--gray-light);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: 'Lato', sans-serif;
  transition: var(--transition);
  background: var(--cream);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--green);
  background: var(--white);
}

.form-group textarea {
  min-height: 100px;
  resize: vertical;
}

/* --- FOOTER --- */
.footer {
  background: var(--charcoal);
  color: var(--white);
  padding: 3rem 2rem 1.5rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2rem;
}

.footer-brand h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.footer-brand p {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
}

.footer-col h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.footer-links {
  list-style: none;
}

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

.footer-links a {
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  transition: var(--transition);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.25rem;
  text-align: center;
}

.footer-bottom p {
  color: rgba(255,255,255,0.5);
  font-size: 0.8rem;
}

.footer-cta {
  text-align: center;
  padding: 2rem;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  border-radius: 16px;
  margin-top: 2rem;
}

.footer-cta h3 {
  color: var(--white);
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

.footer-cta p {
  color: rgba(255,255,255,0.85);
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
}

/* --- ANIMATIONS --- */
.animate-fade-in {
  animation: fadeIn 0.8s ease-out forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }

  .animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
  }

  .animate-on-scroll.delay-1 { transition-delay: 0.1s; }
  .animate-on-scroll.delay-2 { transition-delay: 0.2s; }
  .animate-on-scroll.delay-3 { transition-delay: 0.3s; }
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .why-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .service-detail-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .other-services-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    padding: 1.25rem;
    gap: 1rem;
    border-bottom: 1px solid var(--gray-light);
    box-shadow: var(--shadow-card);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-inner {
    padding: 0.75rem 1.25rem;
  }

  .hero-section {
    padding: 5rem 1rem 1.5rem;
  }

  .hero-card {
    padding: 1.5rem;
    border-radius: 16px;
  }

  .hero-full-logo {
    max-width: 280px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 220px;
  }

  .section {
    padding: 2.5rem 1.25rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .footer {
    padding: 2.5rem 1.25rem 1.25rem;
  }

  .footer-cta {
    padding: 1.5rem 1.25rem;
  }
}

/* HERO SCALE UP - Homepage only */
.hero-section {
  padding: 5rem 2rem 3rem;
}

.hero-card {
  background: var(--white);
  border-radius: 24px;
  box-shadow: var(--shadow-card);
  padding: 4rem 5rem;
  max-width: 1500px;
  width: 100%;
  text-align: center;
}

.hero-logo-section {
  margin-bottom: 2.5rem;
}

.hero-full-logo {
  width: 100%;
  max-width: 500px;
  height: auto;
  margin: 0 auto;
}

.hero-tagline-1 {
  font-family: 'Playfair Display', serif;
  color: var(--green);
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  font-weight: 400;
  margin-bottom: 0.75rem;
  letter-spacing: 0.02em;
}

.hero-tagline-2 {
  font-family: 'Playfair Display', serif;
  color: var(--green);
  font-size: clamp(1.1rem, 1.5vw, 1.4rem);
  font-weight: 400;
  margin-bottom: 2.5rem;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.hero-card .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 400;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
}

.hero-bottom-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  margin-top: 0.5rem;
}

@media (max-width: 768px) {
  .hero-card {
    padding: 2.5rem 2rem;
  }
  .hero-full-logo {
    max-width: 320px;
  }
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  .hero-card .btn {
    width: 100%;
    max-width: 280px;
  }
}

/HERO PROPORTIONS ADJUSTMENT/
.hero-section {
  padding: 4rem 2rem 2.5rem;
}

.hero-card {
  padding: 3rem 4rem;
  max-width: 1400px;
}

.hero-logo-section {
  margin-bottom: 1.5rem;
}

.hero-full-logo {
  max-width: 600px;
}

.hero-tagline-1 {
  font-size: clamp(1rem, 1.5vw, 1.3rem);
  margin-bottom: 0.4rem;
}

.hero-tagline-2 {
  font-size: clamp(0.85rem, 1.2vw, 1rem);
  margin-bottom: 1.5rem;
}

.hero-buttons {
  gap: 1rem;
  margin-bottom: 1rem;
}

.hero-card .btn {
  padding: 0.75rem 1.75rem;
  font-size: 0.95rem;
}

.hero-bottom-text {
  font-size: 0.9rem;
  margin-top: 0.25rem;
}

@media (max-width: 768px) {
  .hero-card {
    padding: 2rem 1.5rem;
  }
  .hero-full-logo {
    max-width: 300px;
  }
  .hero-card .btn {
    padding: 0.65rem 1.5rem;
    font-size: 0.9rem;
  }
}

/NAV + LOGO SIZES/
.nav-links a {
  font-size: 1rem;
}
.nav-phone {
  font-size: 1rem;
  padding: 0.65rem 1.5rem;
}
.hero-full-logo {
  max-width: 780px;
}

/NAV 40% LARGER + CENTERED/
.nav-links a {
  font-size: 1.15rem;
}
.nav-phone {
  font-size: 1.15rem;
  padding: 0.75rem 1.75rem;
}
