/* ============================================
   LAKE LIFE LAWNCARE — Custom Styles
   Teal + Slate Grey | Editorial Serif
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  --color-teal-900: #0c4a4e;
  --color-teal-800: #0f6b71;
  --color-teal-700: #118a91;
  --color-teal-600: #14a3aa;
  --color-teal-500: #1bb8bf;
  --color-teal-50:  #f0f9fa;
  --color-teal-100: #d8f1f3;
  
  --color-slate-950: #0b1120;
  --color-slate-900: #0f172a;
  --color-slate-800: #1e293b;
  --color-slate-700: #334155;
  --color-slate-600: #475569;
  --color-slate-500: #64748b;
  --color-slate-400: #94a3b8;
  --color-slate-300: #cbd5e1;
  --color-slate-200: #e2e8f0;
  --color-slate-100: #f1f5f9;
  --color-slate-50:  #f8fafc;
  
  --color-white: #ffffff;
  --color-black: #000000;
  
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  
  --space-xs:  0.25rem;
  --space-sm:  0.5rem;
  --space-md:  1rem;
  --space-lg:  1.5rem;
  --space-xl:  2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;
  
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  
  --shadow-sm: 0 1px 3px rgba(11,17,32,0.08);
  --shadow-md: 0 4px 16px rgba(11,17,32,0.10);
  --shadow-lg: 0 8px 32px rgba(11,17,32,0.12);
  --shadow-xl: 0 16px 48px rgba(11,17,32,0.14);
  
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-slate-800);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
  list-style: none;
}

/* --- Focus --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-md);
  background: var(--color-teal-800);
  color: var(--color-white);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-sm);
  z-index: 1000;
  font-weight: 500;
}
.skip-link:focus {
  top: var(--space-md);
}

:focus-visible {
  outline: 2px solid var(--color-teal-600);
  outline-offset: 2px;
}

/* --- Container --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

@media (min-width: 768px) {
  .container {
    padding: 0 var(--space-2xl);
  }
}

/* --- Typography --- */
.section-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-teal-700);
  margin-bottom: var(--space-md);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-slate-900);
  margin-bottom: var(--space-lg);
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--color-slate-600);
  max-width: 600px;
  line-height: 1.7;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 0.8125rem 1.75rem;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-teal-700);
  color: var(--color-white);
  border-color: var(--color-teal-700);
}
.btn-primary:hover {
  background: var(--color-teal-800);
  border-color: var(--color-teal-800);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255,255,255,0.5);
}
.btn-secondary:hover {
  background: var(--color-white);
  color: var(--color-slate-900);
  border-color: var(--color-white);
}

.btn-outline-light {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255,255,255,0.4);
}
.btn-outline-light:hover {
  background: var(--color-white);
  color: var(--color-slate-900);
  border-color: var(--color-white);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1rem;
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-slate-200);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--color-slate-900);
  line-height: 1.2;
}

.logo-light {
  color: var(--color-white);
}

.logo-icon {
  color: var(--color-teal-700);
  flex-shrink: 0;
}

.logo-light .logo-icon {
  color: var(--color-teal-400);
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.main-nav a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-slate-700);
  transition: color var(--transition);
  position: relative;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-teal-600);
  transition: width var(--transition);
}

.main-nav a:hover {
  color: var(--color-teal-700);
}
.main-nav a:hover::after {
  width: 100%;
}

.nav-cta {
  background: var(--color-teal-700);
  color: var(--color-white) !important;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
}
.nav-cta::after { display: none; }
.nav-cta:hover {
  background: var(--color-teal-800);
  color: var(--color-white) !important;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
  color: var(--color-slate-800);
}

.hamburger {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  position: relative;
  transition: var(--transition);
}
.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  width: 22px;
  height: 2px;
  background: currentColor;
  left: 0;
  transition: var(--transition);
}
.hamburger::before { top: -7px; }
.hamburger::after  { top: 7px; }

.nav-toggle[aria-expanded="true"] .hamburger {
  background: transparent;
}
.nav-toggle[aria-expanded="true"] .hamburger::before {
  top: 0;
  transform: rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .hamburger::after {
  top: 0;
  transform: rotate(-45deg);
}

@media (max-width: 767px) {
  .nav-toggle {
    display: block;
  }
  
  .main-nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-slate-200);
    padding: var(--space-lg);
    box-shadow: var(--shadow-lg);
    transform: translateY(-120%);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
    pointer-events: none;
  }
  
  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  
  .main-nav ul {
    flex-direction: column;
    gap: var(--space-md);
  }
  
  .main-nav a {
    font-size: 1.0625rem;
  }
  
  .nav-cta {
    display: inline-block;
    margin-top: var(--space-sm);
  }
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--color-slate-900);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(11,17,32,0.65) 0%,
    rgba(12,74,78,0.55) 50%,
    rgba(11,17,32,0.80) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  padding-top: var(--space-5xl);
  padding-bottom: var(--space-5xl);
}

.hero-eyebrow {
  color: var(--color-teal-300, #5ec4c9);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: var(--space-lg);
}

.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 5.5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--color-white);
  margin-bottom: var(--space-xl);
  letter-spacing: -0.01em;
}

.hero-headline em {
  font-style: italic;
  color: var(--color-teal-300, #5ec4c9);
}

.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: rgba(255,255,255,0.82);
  line-height: 1.75;
  max-width: 600px;
  margin: 0 auto var(--space-2xl);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================
   ABOUT
   ============================================ */
.about {
  padding: var(--space-5xl) 0;
  background: var(--color-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.about-text p {
  color: var(--color-slate-600);
  line-height: 1.8;
  margin-bottom: var(--space-md);
  font-size: 1.0625rem;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
  padding-top: var(--space-2xl);
  border-top: 1px solid var(--color-slate-200);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--color-teal-800);
}

.stat-label {
  font-size: 0.9375rem;
  color: var(--color-slate-600);
  line-height: 1.6;
}

@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
  }
  
  .about-stats {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ============================================
   SERVICES
   ============================================ */
.services {
  padding: var(--space-5xl) 0;
  background: var(--color-slate-50);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-4xl);
}

.section-header .section-subtitle {
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

.service-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  border: 1px solid var(--color-slate-200);
  transition: var(--transition);
}

.service-card:hover {
  border-color: var(--color-teal-200, #a8d8d9);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.service-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: var(--color-teal-50);
  color: var(--color-teal-700);
  margin-bottom: var(--space-lg);
}

.service-title {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--color-slate-900);
  margin-bottom: var(--space-sm);
}

.service-desc {
  color: var(--color-slate-600);
  line-height: 1.7;
  font-size: 0.9375rem;
}

@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ============================================
   WHY US
   ============================================ */
.why-us {
  padding: var(--space-5xl) 0;
  background: var(--color-white);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.why-content .section-title {
  margin-bottom: var(--space-md);
}

.why-intro {
  font-size: 1.0625rem;
  color: var(--color-slate-600);
  line-height: 1.75;
  margin-bottom: var(--space-2xl);
}

.why-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.why-item {
  display: flex;
  gap: var(--space-lg);
  align-items: flex-start;
}

.why-check {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-teal-100);
  color: var(--color-teal-700);
  margin-top: 2px;
}

.why-item-title {
  font-family: var(--font-serif);
  font-size: 1.1875rem;
  font-weight: 700;
  color: var(--color-slate-900);
  margin-bottom: var(--space-xs);
}

.why-item-desc {
  color: var(--color-slate-600);
  line-height: 1.7;
  font-size: 0.9375rem;
}

.why-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

@media (min-width: 768px) {
  .why-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
  }
}

/* ============================================
   GALLERY
   ============================================ */
.gallery {
  padding: var(--space-5xl) 0;
  background: var(--color-slate-50);
}

.gallery .section-header {
  margin-bottom: var(--space-3xl);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

.gallery-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover img {
  transform: scale(1.03);
}

@media (min-width: 640px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
  padding: var(--space-5xl) 0;
  background: var(--color-slate-900);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(20,163,170,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-eyebrow {
  color: var(--color-teal-400, #5ec4c9) !important;
}

.cta-title {
  color: var(--color-white);
  margin-bottom: var(--space-lg);
}

.cta-text {
  color: var(--color-slate-400);
  font-size: 1.125rem;
  line-height: 1.75;
  margin-bottom: var(--space-2xl);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
}

@media (max-width: 480px) {
  .cta-actions {
    flex-direction: column;
    align-items: center;
  }
  .cta-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
  padding: var(--space-5xl) 0;
  background: var(--color-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4xl);
}

.contact-intro {
  color: var(--color-slate-600);
  font-size: 1.0625rem;
  line-height: 1.75;
  margin-bottom: var(--space-2xl);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.contact-item {
  display: flex;
  gap: var(--space-lg);
  align-items: flex-start;
}

.contact-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: var(--color-teal-50);
  color: var(--color-teal-700);
}

.contact-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-slate-500);
  margin-bottom: 2px;
}

.contact-value {
  display: block;
  font-size: 1rem;
  color: var(--color-slate-800);
  line-height: 1.6;
}

.contact-value a {
  color: var(--color-teal-700);
  transition: color var(--transition);
}
.contact-value a:hover {
  color: var(--color-teal-800);
  text-decoration: underline;
}

/* Form */
.contact-form-wrap {
  background: var(--color-slate-50);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  border: 1px solid var(--color-slate-200);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-slate-700);
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--color-slate-300);
  border-radius: var(--radius-md);
  background: var(--color-white);
  color: var(--color-slate-900);
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-teal-600);
  box-shadow: 0 0 0 3px rgba(20,163,170,0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-slate-400);
}

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

.form-success {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md);
  background: var(--color-teal-50);
  border: 1px solid var(--color-teal-100);
  border-radius: var(--radius-md);
  color: var(--color-teal-800);
  font-size: 0.9375rem;
  font-weight: 500;
}

@media (min-width: 768px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: start;
  }
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--color-slate-950);
  color: var(--color-slate-400);
  padding: var(--space-4xl) 0 var(--space-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-3xl);
}

.footer-brand .logo {
  margin-bottom: var(--space-md);
}

.footer-desc {
  font-size: 0.9375rem;
  line-height: 1.7;
  max-width: 300px;
  color: var(--color-slate-500);
}

.footer-links h4,
.footer-contact h4 {
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: var(--space-lg);
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-links a {
  color: var(--color-slate-500);
  font-size: 0.9375rem;
  transition: color var(--transition);
}
.footer-links a:hover {
  color: var(--color-teal-400);
}

.footer-contact p {
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: var(--space-sm);
}

.footer-contact a {
  color: var(--color-teal-400);
  transition: color var(--transition);
}
.footer-contact a:hover {
  color: var(--color-teal-300);
  text-decoration: underline;
}

.footer-bottom {
  padding-top: var(--space-2xl);
  border-top: 1px solid var(--color-slate-800);
  text-align: center;
  font-size: 0.8125rem;
  color: var(--color-slate-600);
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-3xl);
  }
}

/* ============================================
   SCROLL REVEAL (progressive enhancement)
   ============================================ */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
  .reveal-delay-1 { transition-delay: 0.1s; }
  .reveal-delay-2 { transition-delay: 0.2s; }
  .reveal-delay-3 { transition-delay: 0.3s; }
  .reveal-delay-4 { transition-delay: 0.4s; }
  .reveal-delay-5 { transition-delay: 0.5s; }
}

/* Reduced motion fallback */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
  }
}
