/* TX Irrigation & Outdoor - Clean Professional Modern Styles */

:root {
  --navy: #0B2C5E;
  --navy-dark: #071E42;
  --blue: #5BA3D9;
  --blue-light: #A8D4F0;
  --blue-pale: #E8F4FC;
  --white: #FFFFFF;
  --off-white: #F7FAFC;
  --gray: #4A5568;
  --gray-light: #E2E8F0;
  --text: #1A202C;
  --success: #2F855A;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--white);
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

ul {
  list-style: none;
}

/* ========== HEADER ========== */
.header {
  background: var(--white);
  box-shadow: 0 2px 12px rgba(11, 44, 94, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

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

.logo img.logo-horizontal {
  height: 40px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--navy);
  position: relative;
}

.nav a:hover,
.nav a.active {
  color: var(--blue);
}

.nav a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.phone-link {
  font-weight: 600;
  color: var(--navy);
  font-size: 1.05rem;
  white-space: nowrap;
}

.phone-link:hover {
  color: var(--blue);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.4rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

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

.btn-primary:hover {
  background: var(--navy-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(11, 44, 94, 0.25);
}

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

.btn-secondary:hover {
  background: #4A92C8;
  transform: translateY(-1px);
}

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

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

.btn-lg {
  padding: 0.95rem 1.8rem;
  font-size: 1.05rem;
}

/* Mobile menu */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--navy);
  margin: 5px 0;
  border-radius: 2px;
  transition: 0.3s;
}

/* ========== HERO ========== */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #123A6E 60%, #1A4A8A 100%);
  color: var(--white);
  padding: 5rem 1.5rem 4.5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 70%;
  height: 200%;
  background: radial-gradient(circle, rgba(91, 163, 217, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.hero-content .tagline {
  font-size: 1.25rem;
  opacity: 0.92;
  margin-bottom: 1.75rem;
  font-weight: 400;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.9rem;
  opacity: 0.9;
}

.hero-trust span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-logo-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
}

.hero-logo-card img {
  width: 220px;
  height: auto;
  margin: 0 auto 1rem;
}

/* ========== SECTIONS ========== */
.section {
  padding: 4.5rem 1.5rem;
}

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

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto;
}

.bg-light {
  background: var(--off-white);
}

.bg-blue-pale {
  background: var(--blue-pale);
}

/* ========== SERVICES GRID ========== */
.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: 0 4px 16px rgba(11, 44, 94, 0.06);
  border: 1px solid var(--gray-light);
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(11, 44, 94, 0.12);
  border-color: var(--blue-light);
}

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

.service-card h3 {
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 0.6rem;
  font-weight: 650;
}

.service-card p {
  color: var(--gray);
  font-size: 0.95rem;
  flex-grow: 1;
}

.service-card .learn-more {
  margin-top: 1.1rem;
  color: var(--blue);
  font-weight: 600;
  font-size: 0.9rem;
}

.service-card .learn-more:hover {
  color: var(--navy);
}

/* ========== CHRISTMAS HIGHLIGHT ========== */
.christmas-banner {
  background: linear-gradient(135deg, #0B2C5E 0%, #1A3A6E 100%);
  color: var(--white);
  border-radius: 16px;
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  margin-top: 2rem;
}

.christmas-banner h3 {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.christmas-banner p {
  opacity: 0.9;
  margin-bottom: 1.25rem;
}

/* ========== WHY US ========== */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.feature {
  text-align: center;
  padding: 1.5rem 1rem;
}

.feature-icon {
  width: 64px;
  height: 64px;
  background: var(--blue-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.75rem;
  color: var(--navy);
}

.feature h3 {
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.feature p {
  color: var(--gray);
  font-size: 0.95rem;
}

/* ========== SERVICE AREAS ========== */
.areas-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.area-tag {
  background: var(--white);
  border: 1px solid var(--blue-light);
  color: var(--navy);
  padding: 0.5rem 1.1rem;
  border-radius: 50px;
  font-weight: 500;
  font-size: 0.95rem;
}

/* ========== CTA BAND ========== */
.cta-band {
  background: var(--navy);
  color: var(--white);
  padding: 3.5rem 1.5rem;
  text-align: center;
}

.cta-band h2 {
  font-size: 1.9rem;
  margin-bottom: 0.75rem;
}

.cta-band p {
  opacity: 0.9;
  margin-bottom: 1.75rem;
  font-size: 1.1rem;
}

.cta-band .btn {
  margin: 0 0.5rem 0.5rem;
}

/* ========== FOOTER ========== */
.footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.85);
  padding: 3.5rem 1.5rem 2rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
}

.footer-brand img {
  height: 52px;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.5;
  max-width: 280px;
}

.footer h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

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

.footer a:hover {
  color: var(--blue-light);
}

.footer-bottom {
  max-width: 1200px;
  margin: 2.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  opacity: 0.75;
}

/* ========== PAGE HERO (inner pages) ========== */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #123A6E 100%);
  color: var(--white);
  padding: 3.5rem 1.5rem;
  text-align: center;
}

.page-hero h1 {
  font-size: 2.4rem;
  margin-bottom: 0.5rem;
}

.page-hero p {
  opacity: 0.9;
  font-size: 1.15rem;
}

/* ========== CONTACT FORM ========== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  align-items: start;
}

.contact-info h3 {
  color: var(--navy);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.contact-info p {
  color: var(--gray);
  margin-bottom: 1.5rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

.contact-item strong {
  display: block;
  color: var(--navy);
  font-size: 0.9rem;
  margin-bottom: 0.15rem;
}

.contact-item a {
  color: var(--blue);
  font-weight: 500;
}

.contact-item a:hover {
  text-decoration: underline;
}

.form-card {
  background: var(--white);
  border-radius: 14px;
  padding: 2rem;
  box-shadow: 0 8px 30px rgba(11, 44, 94, 0.08);
  border: 1px solid var(--gray-light);
}

.form-card h3 {
  color: var(--navy);
  margin-bottom: 1.25rem;
  font-size: 1.3rem;
}

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

.form-group label {
  display: block;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--gray-light);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s;
  background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(91, 163, 217, 0.2);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* ========== SERVICE DETAIL ========== */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 3.5rem;
}

.service-detail.reverse {
  direction: rtl;
}

.service-detail.reverse > * {
  direction: ltr;
}

.service-detail h3 {
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.service-detail p {
  color: var(--gray);
  margin-bottom: 1rem;
}

.service-detail ul {
  margin: 1rem 0 1.5rem;
}

.service-detail li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.45rem;
  color: var(--gray);
}

.service-detail li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-trust {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
  }

  .hero-logo-card img {
    width: 160px;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

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

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

  .service-detail.reverse {
    direction: ltr;
  }

  .christmas-banner {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media (max-width: 700px) {
  .nav {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 1.5rem;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    gap: 1.25rem;
  }

  .header-cta .phone-link {
    display: none;
  }

  .hero {
    padding: 3.5rem 1.25rem 3rem;
  }

  .hero-content h1 {
    font-size: 1.85rem;
  }

  .section {
    padding: 3.5rem 1.25rem;
  }

  .section-header h2 {
    font-size: 1.7rem;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .page-hero h1 {
    font-size: 1.9rem;
  }
}

/* Simple icons using unicode / emoji for zero dependencies */
.icon {
  font-style: normal;
}