/* ============================================
   SEDONA LANDSCAPING & DESIGN
   Earth tones: terracotta, sage green, sand
   ============================================ */

:root {
  /* Earth tone palette */
  --terracotta:    #c4704a;
  --terracotta-dk: #a05535;
  --terracotta-lt: #e8957a;
  --sage:          #7a9e7e;
  --sage-dk:       #5a7a5e;
  --sage-lt:       #a8c8ac;
  --sand:          #d4b896;
  --sand-lt:       #ede0d0;
  --sand-dk:       #b89870;
  --clay:          #8b6248;
  --bark:          #4a3728;
  --desert-sky:    #7a9aaa;

  /* Neutral grays with warm undertone */
  --off-white:     #faf7f4;
  --cream:         #f4ede4;
  --light-warm:    #ede3d8;
  --mid-warm:      #c4b0a0;
  --dark-warm:     #2c2018;
  --text:          #3a2c20;
  --text-light:    #6a5a4e;

  /* UI */
  --radius:        8px;
  --radius-lg:     16px;
  --shadow-sm:     0 2px 8px rgba(74,55,40,.10);
  --shadow-md:     0 4px 20px rgba(74,55,40,.15);
  --shadow-lg:     0 8px 40px rgba(74,55,40,.20);
  --transition:    .25s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--off-white);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.2;
  color: var(--text);
}
h1 { font-size: clamp(2.4rem, 6vw, 4.5rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }

p { color: var(--text-light); margin-bottom: .75rem; }
p:last-child { margin-bottom: 0; }
p.lead { font-size: 1.15rem; color: var(--text); font-weight: 500; }

.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: .75rem;
}
.eyebrow.light { color: var(--sand); }

/* ---- LAYOUT ---- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 6rem 0;
}
.section-dark {
  background: var(--bark);
  color: var(--sand-lt);
}
.section-dark h2, .section-dark h3, .section-dark h4 { color: var(--off-white); }
.section-dark p { color: var(--sand); }
.section-water {
  background: var(--cream);
}
.section-contact {
  background: var(--bark);
  color: var(--sand-lt);
}
.section-contact h2, .section-contact h4 { color: var(--off-white); }
.section-contact p { color: var(--sand); }

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}
.section-header p { margin-top: .75rem; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-block;
  padding: .875rem 1.75rem;
  border-radius: var(--radius);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .02em;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--terracotta);
  color: #fff;
  border-color: var(--terracotta);
}
.btn-primary:hover {
  background: var(--terracotta-dk);
  border-color: var(--terracotta-dk);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.6);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.1);
  border-color: #fff;
}
.btn-sm {
  padding: .5rem 1.1rem;
  font-size: .8rem;
}
.btn-full { width: 100%; text-align: center; }

/* ---- NAV ---- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1rem 0;
  transition: all var(--transition);
  background: transparent;
}
.nav.scrolled {
  background: rgba(42,28,18,.95);
  backdrop-filter: blur(10px);
  padding: .6rem 0;
  box-shadow: var(--shadow-md);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
}
.logo-mark { color: var(--terracotta); margin-right: .35rem; }
.logo-amp { color: var(--sage-lt); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}
.nav-links a {
  color: rgba(255,255,255,.85);
  font-size: .9rem;
  font-weight: 500;
  transition: color var(--transition);
}
.nav-links a:hover { color: #fff; }
.nav-links .btn { color: #fff; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #2c1a10 0%, #4a3020 40%, #6a4830 70%, #8a6040 100%);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .45;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(42,24,12,.5) 0%, rgba(42,24,12,.3) 50%, rgba(42,24,12,.7) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}
.hero-content .eyebrow {
  color: var(--sand);
  margin-bottom: 1.25rem;
}
.hero-content h1 {
  color: #fff;
  margin-bottom: 1.25rem;
}
.hero-content h1 em {
  font-style: italic;
  color: var(--terracotta-lt);
}
.hero-sub {
  color: rgba(255,255,255,.8);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 520px;
}
.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255,255,255,.5);
  font-size: 1.4rem;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ---- TRUST BAR ---- */
.trust-bar {
  background: var(--terracotta);
  padding: 1.75rem 0;
}
.trust-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: .5rem 2.5rem;
  text-align: center;
}
.trust-item strong {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: #fff;
  line-height: 1;
}
.trust-item span {
  font-size: .8rem;
  color: rgba(255,255,255,.8);
  margin-top: .2rem;
}
.trust-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,.3);
}

/* ---- GALLERY ---- */
.filter-bar {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2.5rem;
}
.filter-btn {
  padding: .5rem 1.1rem;
  border: 2px solid var(--light-warm);
  background: none;
  border-radius: 100px;
  font-size: .85rem;
  font-weight: 500;
  color: var(--text-light);
  cursor: pointer;
  transition: all var(--transition);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: #fff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 280px;
  gap: 1rem;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
}
.gallery-item.tall { grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }
.gallery-item.hidden { display: none; }

.gallery-placeholder {
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  transition: transform .4s ease;
}
.gallery-item:hover .gallery-placeholder { transform: scale(1.03); }

.ph-icon { font-size: 2.5rem; filter: drop-shadow(0 2px 4px rgba(0,0,0,.3)); }
.ph-icon.large { font-size: 4rem; }
.ph-label {
  font-size: .8rem;
  color: rgba(255,255,255,.7);
  text-align: center;
  padding: 0 1rem;
  font-style: italic;
}

.gallery-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.5rem;
  background: linear-gradient(transparent, rgba(30,18,10,.85));
  transform: translateY(30%);
  transition: transform var(--transition);
}
.gallery-item:hover .gallery-overlay { transform: translateY(0); }
.gallery-tag {
  display: inline-block;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  background: var(--terracotta);
  color: #fff;
  padding: .25rem .65rem;
  border-radius: 100px;
  margin-bottom: .5rem;
}
.gallery-overlay h3 { color: #fff; font-size: 1.05rem; margin-bottom: .3rem; }
.gallery-overlay p { color: rgba(255,255,255,.75); font-size: .85rem; margin: 0; }

.gallery-cta {
  text-align: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--light-warm);
}
.gallery-cta p { margin-bottom: 1.25rem; }

/* ---- SERVICES ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition);
}
.service-card:hover {
  background: rgba(255,255,255,.1);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.service-icon {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}
.service-card h3 {
  color: var(--sand-lt);
  margin-bottom: .75rem;
}
.service-card p { margin-bottom: 1.25rem; }
.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.service-list li {
  font-size: .9rem;
  color: var(--sand);
  padding-left: 1.25rem;
  position: relative;
}
.service-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--sage-lt);
  font-weight: 700;
}
.services-cta {
  text-align: center;
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,.1);
}
.services-cta p { margin-bottom: 1.25rem; }

/* ---- WATER CONSERVATION ---- */
.water-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.water-content h2 { margin-bottom: 1rem; }
.water-content p { margin-bottom: 1rem; }
.water-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
  padding: 1.75rem;
  background: var(--sand-lt);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--terracotta);
}
.water-stat strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  color: var(--terracotta);
}
.water-stat span {
  font-size: .9rem;
  color: var(--text-light);
}

.water-placeholder {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--sage-dk), var(--sage));
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: rgba(255,255,255,.7);
  text-align: center;
  font-size: .9rem;
  margin-bottom: 1.5rem;
}
.water-callout {
  background: var(--sand-lt);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border-left: 4px solid var(--sage);
}
.water-callout strong {
  display: block;
  font-size: .95rem;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: .5rem;
}
.water-callout cite {
  font-size: .8rem;
  color: var(--text-light);
  font-style: normal;
}

/* ---- ABOUT ---- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: start;
}
.about-placeholder {
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--clay), var(--terracotta));
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: rgba(255,255,255,.8);
  font-size: .9rem;
  text-align: center;
}
.about-content h2 { margin-bottom: 1rem; }
.about-content .lead { margin-bottom: 1.25rem; }
.about-service-area {
  margin: 2rem 0;
}
.about-service-area h4 { margin-bottom: .75rem; }
.area-tags {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
}
.area-tag {
  display: inline-block;
  padding: .35rem .9rem;
  background: var(--sand-lt);
  border: 1px solid var(--sand-dk);
  border-radius: 100px;
  font-size: .85rem;
  font-weight: 500;
  color: var(--text-light);
}
.about-pricing {
  padding: 1rem 1.25rem;
  background: var(--cream);
  border-radius: var(--radius);
  border-left: 3px solid var(--terracotta);
  font-size: .95rem;
  color: var(--text) !important;
}

/* ---- CONTACT ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 4rem;
  align-items: start;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.contact-icon { font-size: 1.5rem; margin-top: .1rem; }
.contact-item strong {
  display: block;
  color: var(--sand);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: .2rem;
}
.contact-item a, .contact-item span {
  color: var(--off-white);
  font-size: .95rem;
}
.contact-item a:hover { color: var(--terracotta-lt); }

.contact-form {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: 2rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-group {
  margin-bottom: 1.25rem;
}
.form-group label {
  display: block;
  font-size: .85rem;
  font-weight: 500;
  color: var(--sand);
  margin-bottom: .4rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .75rem 1rem;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius);
  color: var(--off-white);
  font-family: inherit;
  font-size: .9rem;
  transition: border-color var(--transition);
  -webkit-appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,.3); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--terracotta);
}
.form-group select option { background: var(--bark); }
.form-group textarea { resize: vertical; }
.form-note {
  text-align: center;
  font-size: .8rem;
  color: rgba(255,255,255,.4);
  margin-top: .75rem;
  margin-bottom: 0;
}

/* ---- FOOTER ---- */
.footer {
  background: var(--dark-warm);
  padding-top: 3rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--off-white);
}
.footer-brand p {
  font-family: 'Inter', sans-serif;
  font-size: .85rem;
  font-weight: 400;
  color: rgba(255,255,255,.45);
  margin-top: .5rem;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.footer-links a {
  font-size: .9rem;
  color: rgba(255,255,255,.6);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--terracotta-lt); }
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.footer-contact a {
  font-size: 1rem;
  font-weight: 600;
  color: var(--terracotta-lt);
}
.footer-contact span {
  font-size: .85rem;
  color: rgba(255,255,255,.45);
}
.footer-bottom {
  padding: 1.25rem 0;
  text-align: center;
}
.footer-bottom span {
  font-size: .8rem;
  color: rgba(255,255,255,.3);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-item.wide { grid-column: span 2; }
  .water-grid, .about-grid { gap: 3rem; }
}

@media (max-width: 768px) {
  .section { padding: 4rem 0; }
  
  .nav-links {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0;
    background: rgba(42,28,18,.97);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    height: 100vh;
    font-size: 1.1rem;
    z-index: 99;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; z-index: 100; }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 200px;
  }
  .gallery-item.tall { grid-row: span 1; }
  .gallery-item.wide { grid-column: span 2; }

  .trust-inner { gap: 0; }
  .trust-item { padding: .5rem 1.25rem; }
  .trust-divider { height: 30px; }

  .water-grid, .about-grid, .contact-grid, .footer-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .form-row { grid-template-columns: 1fr; }

  .services-grid { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; align-items: flex-start; }
  .hero-cta .btn { width: 100%; text-align: center; }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
  }
  .gallery-item.wide { grid-column: span 1; }
  .gallery-item.tall { grid-row: span 1; }
  
  .trust-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    text-align: center;
  }
  .trust-divider { display: none; }

  .contact-form { padding: 1.5rem; }
}
