/* =========================================
   Total Lawn Solutions EC - Stylesheet
   ========================================= */

:root {
  /* Premium Dark Navy / Teal palette */
  --primary-color: #0f2027;       /* Dark Navy Blue */
  --secondary-color: #2c5364;     /* Muted Blue-Green */
  --accent-color: #55b4b0;        /* Teal/Aqua Green */
  --accent-hover: #3d9a94;         /* Darker teal for hover */
  --light-bg: #f4f4f4;             /* Off-white background */
  --light-text: #f4f4f4;
  --dark-text: #1a1a1a;
  --white: #ffffff;
  --card-bg: #ffffff;
  --shadow: rgba(15, 32, 39, 0.1);
  --shadow-hover: rgba(15, 32, 39, 0.18);
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Source Sans Pro", sans-serif;
  line-height: 1.6;
  color: var(--dark-text);
  background: var(--light-bg);
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Playfair Display", serif;
  margin-bottom: 15px;
  color: var(--primary-color);
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--accent-hover);
}

img {
  max-width: 100%;
  height: auto;
}

/* Container */
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

/* =========================================
   STICKY HEADER
   ========================================= */
.sticky-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--primary-color);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 5%;
  max-width: 1400px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo img {
  height: 50px;
  width: auto;
}

.logo-text {
  font-family: "Playfair Display", serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.3px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.header-phone:hover {
  color: var(--accent-color);
}

.header-phone svg {
  flex-shrink: 0;
}

.btn-header {
  background: var(--accent-color);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.btn-header:hover {
  background: var(--accent-hover);
  color: var(--white);
  transform: translateY(-2px);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  padding: 8px;
}

.header-nav {
  background: rgba(0, 0, 0, 0.2);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-links {
  display: flex;
  justify-content: center;
  list-style: none;
  gap: 0;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-links li {
  flex: 1;
  text-align: center;
  max-width: 200px;
}

.nav-links a {
  display: block;
  padding: 12px 20px;
  color: var(--white);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s ease;
  border-bottom: 3px solid transparent;
}

.nav-links a:hover {
  color: var(--accent-color);
  border-bottom-color: var(--accent-color);
  background: rgba(255, 255, 255, 0.05);
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
  background: 
    linear-gradient(
      to bottom,
      rgba(15, 32, 39, 0.7) 0%,
      rgba(44, 83, 100, 0.8) 100%
    ),
    url("job2.jpg") no-repeat center center/cover;
  color: var(--white);
  min-height: 100vh;
  display: flex;
  align-items: center;
  text-align: center;
  position: relative;
  padding-top: 100px; /* Account for sticky header */
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, var(--light-bg), transparent);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
  animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
  display: inline-block;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent-color);
  margin-bottom: 20px;
  background: rgba(0, 0, 0, 0.3);
  padding: 8px 20px;
  border-radius: 30px;
}

.hero-content h1 {
  font-size: 3.5rem;
  line-height: 1.15;
  margin-bottom: 25px;
  font-weight: 700;
  color: var(--white);
}

.hero-content h1 .highlight {
  color: var(--accent-color);
}

.hero-content p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 40px;
  line-height: 1.7;
  font-weight: 400;
}

.hero-cta-group {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-color);
  color: var(--white);
  padding: 14px 28px;
  text-decoration: none;
  border-radius: 30px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(124, 179, 66, 0.3);
}

.btn:hover {
  background: var(--accent-hover);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(124, 179, 66, 0.4);
}

.btn-call {
  background: var(--white);
  color: var(--primary-color);
}

.btn-call:hover {
  background: var(--light-bg);
  color: var(--primary-color);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--primary-color);
}

.btn-secondary {
  background: var(--secondary-color);
  color: var(--white);
}

.btn-secondary:hover {
  background: var(--primary-color);
  color: var(--white);
}

/* =========================================
   TRUST BAR
   ========================================= */
.trust-bar {
  background: var(--primary-color);
  padding: 30px 0;
  position: relative;
  z-index: 2;
  margin-top: -60px;
}

.trust-items {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-size: 1rem;
  font-weight: 500;
}

.trust-item svg {
  color: var(--accent-color);
  flex-shrink: 0;
}

.trust-rating strong {
  color: var(--accent-color);
  font-size: 1.2rem;
}

/* =========================================
   SECTION STYLES
   ========================================= */
.section-padding {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-subtitle {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent-color);
  margin-bottom: 15px;
  position: relative;
}

.section-subtitle::before,
.section-subtitle::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 40px;
  height: 2px;
  background: var(--accent-color);
}

.section-subtitle::before {
  right: calc(100% + 15px);
}

.section-subtitle::after {
  left: calc(100% + 15px);
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.section-description {
  max-width: 650px;
  margin: 0 auto;
  color: #666;
  font-size: 1.1rem;
  line-height: 1.7;
}

/* =========================================
   SERVICES SECTION
   ========================================= */
.services {
  background: var(--white);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.service-item {
  background: var(--card-bg);
  padding: 35px 30px;
  border-radius: 16px;
  box-shadow: 0 8px 30px var(--shadow);
  transition: all 0.4s ease;
  border: 1px solid rgba(124, 179, 66, 0.1);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.service-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-color), #4caf50);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px var(--shadow-hover);
}

.service-item:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  color: var(--white);
  transition: all 0.3s ease;
}

.service-item:hover .service-icon {
  transform: scale(1.1);
  background: linear-gradient(135deg, var(--accent-color) 0%, #4caf50 100%);
}

.service-item h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.service-item p {
  color: #666;
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-color);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.service-link:hover {
  color: var(--accent-hover);
  gap: 12px;
}

.service-link .arrow {
  transition: transform 0.3s ease;
}

.service-link:hover .arrow {
  transform: translateX(5px);
}

/* =========================================
   ABOUT SECTION
   ========================================= */
.about {
  background: var(--primary-color);
  color: var(--light-text);
}

.about .section-header {
  text-align: left;
  margin-bottom: 40px;
}

.about .section-header h2 {
  color: var(--white);
}

.about .section-header .section-subtitle {
  background: transparent;
}

.about-content {
  max-width: 900px;
}

.about-content p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.award {
  background: rgba(255, 255, 255, 0.1);
  border-left: 4px solid var(--accent-color);
  padding: 25px 30px;
  margin: 35px 0;
  border-radius: 0 12px 12px 0;
  display: flex;
  align-items: center;
  gap: 25px;
}

.award-image {
  width: 110px;
  height: 110px;
  object-fit: contain;
  border-radius: 8px;
  flex-shrink: 0;
  background: var(--white);
  padding: 10px;
}

.award-content h3 {
  color: var(--accent-color);
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.award-content p {
  color: var(--light-text);
  line-height: 1.6;
}

.award-content strong {
  color: var(--white);
}

/* =========================================
   GALLERY SECTION
   ========================================= */
.gallery {
  background: var(--light-bg);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.gallery-item {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 6px 25px var(--shadow);
  transition: all 0.4s ease;
}

.gallery-item:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 35px var(--shadow-hover);
}

/* =========================================
   TESTIMONIALS SECTION
   ========================================= */
.testimonials {
  background: var(--white);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial-item {
  background: var(--light-bg);
  padding: 35px;
  border-radius: 16px;
  box-shadow: 0 6px 25px var(--shadow);
  border: 1px solid rgba(124, 179, 66, 0.1);
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 15px;
}

.testimonial-stars svg {
  color: #f59e0b;
}

.testimonial-text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #444;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  font-weight: 600;
  color: var(--primary-color);
  font-size: 0.95rem;
}

/* =========================================
   CONTACT SECTION
   ========================================= */
.contact {
  background: linear-gradient(135deg, var(--primary-color) 0%, #1a3d1a 50%, var(--secondary-color) 100%);
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.contact .container {
  position: relative;
  z-index: 1;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
  margin-top: 40px;
}

.contact-info-panel {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 40px;
  animation: fadeInUp 0.6s ease-out;
}

.contact-header {
  margin-bottom: 30px;
}

.contact-header h2 {
  font-size: 2.5rem;
  color: var(--white);
  margin-bottom: 15px;
}

.contact-header p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
  line-height: 1.7;
}

.contact-details {
  margin-top: 30px;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-detail-item:last-child {
  border-bottom: none;
}

.contact-detail-icon {
  width: 48px;
  height: 48px;
  background: rgba(85, 180, 176, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-color);
  flex-shrink: 0;
}

.contact-detail-content {
  flex: 1;
}

.contact-detail-content strong {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 4px;
}

.contact-detail-content p,
.contact-detail-content a {
  color: var(--white);
  font-size: 1rem;
  line-height: 1.5;
}

.contact-detail-content a:hover {
  color: var(--accent-color);
}

.contact-form-panel {
  background: var(--white);
  border-radius: 16px;
  padding: 40px;
  animation: fadeInUp 0.6s ease-out 0.2s both;
}

.form-header {
  text-align: center;
  margin-bottom: 30px;
}

.form-header h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.form-header p {
  color: #666;
  font-size: 0.95rem;
}

.premium-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  position: relative;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 16px 18px;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  font-size: 1rem;
  font-family: inherit;
  background: var(--light-bg);
  transition: all 0.3s ease;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent-color);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(124, 179, 66, 0.1);
}

.form-group label {
  position: absolute;
  top: 50%;
  left: 18px;
  transform: translateY(-50%);
  color: #888;
  font-size: 1rem;
  pointer-events: none;
  transition: all 0.3s ease;
  background: transparent;
  padding: 0 5px;
}

.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
  top: 0;
  font-size: 0.8rem;
  color: var(--accent-color);
  background: var(--white);
}

.textarea-group label {
  top: 20px;
  transform: none;
}

.textarea-group textarea {
  min-height: 130px;
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23666666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
}

.premium-form button {
  margin-top: 10px;
  padding: 16px 35px;
}

/* =========================================
   FOOTER
   ========================================= */
footer {
  background: #0f1f0f;
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand {
  text-align: center;
}

.footer-logo {
  height: 60px;
  margin-bottom: 15px;
}

.footer-brand p {
  font-family: "Playfair Display", serif;
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 5px;
}

.footer-tagline {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-links h4,
.footer-contact h4,
.footer-social h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 20px;
  font-family: "Source Sans Pro", sans-serif;
  font-weight: 600;
}

.footer-links a {
  display: block;
  color: rgba(255, 255, 255, 0.6);
  padding: 6px 0;
  transition: color 0.3s ease;
}

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

.footer-contact p {
  padding: 4px 0;
  font-size: 0.95rem;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-contact a:hover {
  color: var(--accent-color);
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease;
}

.social-link:hover {
  color: var(--accent-color);
}

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

.footer-bottom p {
  font-size: 0.9rem;
}

/* =========================================
   ANIMATIONS
   ========================================= */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll-triggered fade-in */
.fade-in-section {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.fade-in-section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================
   RESPONSIVE STYLES
   ========================================= */
@media (max-width: 992px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .hero-content h1 {
    font-size: 2.8rem;
  }
}

@media (max-width: 768px) {
  .header-inner {
    padding: 10px 15px;
    flex-wrap: nowrap;
    justify-content: space-between;
  }

  .logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
  }

  .logo img {
    height: 45px;
  }

  .logo-text {
    display: inline;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    color: var(--white);
  }

  .header-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
  }

  .header-phone {
    font-size: 0.8rem;
    white-space: nowrap;
  }

  .header-phone svg {
    width: 16px;
    height: 16px;
  }

  .btn-header {
    padding: 7px 10px;
    font-size: 0.75rem;
    white-space: nowrap;
  }

  .mobile-menu-toggle {
    display: block;
    flex-shrink: 0;
    margin-left: 6px;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.8rem;
  }
  
  .hero-subtitle {
    font-size: 0.8rem;
    letter-spacing: 2px;
  }
  
  .section-subtitle::before,
  .section-subtitle::after {
    width: 25px;
  }
  
  .section-description {
    font-size: 1rem;
  }
  
  .service-item {
    padding: 25px 20px;
  }
  
  .testimonial-item {
    padding: 25px;
  }
  
  .form-header h3 {
    font-size: 1.5rem;
  }
  
  .premium-form button {
    width: 100%;
  }
}