/* ============================================================
   Tait Farm Christmas Trees
   Clean modern single-page site
   ============================================================ */

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

:root {
  /* Backgrounds */
  --color-bg: #faf8f5;
  --color-bg-alt: #f2efe9;
  --color-bg-card: #ffffff;

  /* Text */
  --color-text: #2c3e2d;
  --color-text-secondary: #5a6b5c;
  --color-text-muted: #8a9a8c;

  /* Accents */
  --color-accent: #b5432a;
  --color-accent-hover: #9a3822;
  --color-accent-dim: rgba(181, 67, 42, 0.08);
  --color-secondary: #4a7c59;
  --color-secondary-hover: #3d6a4b;

  /* Borders */
  --color-border: #d9d3c7;
  --color-border-light: #e8e3da;

  /* Hero */
  --color-hero-overlay: rgba(44, 62, 45, 0.4);

  /* Fonts */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layout */
  --max-width: 1200px;
  --nav-height: 72px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  font-size: 1rem;
}

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

/* --- Navigation --- */
#nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 100;
  background: rgba(250, 248, 245, 0.9);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}

#nav.scrolled {
  border-bottom-color: var(--color-border-light);
  background: rgba(250, 248, 245, 0.97);
}

.nav-inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 32px;
}

.nav-logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--color-text);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.nav-logo-icon {
  color: var(--color-secondary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  letter-spacing: 0.01em;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--color-text);
}

.nav-cta {
  margin-left: 12px;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 120;
  margin-left: auto;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  letter-spacing: 0.01em;
}

.btn-sm { padding: 8px 20px; font-size: 0.825rem; }

.btn-primary {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}

.btn-primary:hover {
  background: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
}

.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}

.btn-outline-light:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, #3d6a4b 0%, #2c3e2d 40%, #1a2b1c 100%);
  background-size: cover;
  background-position: center center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--color-hero-overlay);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 120px 32px 80px;
}

.hero-badge {
  display: inline-block;
  padding: 8px 24px;
  border-radius: 50px;
  background: rgba(255,255,255,0.12);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  margin-bottom: 32px;
  border: 1px solid rgba(255,255,255,0.15);
}

.hero-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 300;
  max-width: 520px;
  margin: 0 auto 40px;
  opacity: 0.9;
  line-height: 1.7;
}

.hero-photo {
  max-width: 320px;
  margin: 0 auto 36px;
  border-radius: 12px;
  overflow: hidden;
  border: 3px solid rgba(255,255,255,0.25);
  box-shadow: 0 16px 48px rgba(0,0,0,0.3);
}

.hero-photo img {
  width: 100%;
  display: block;
  margin-top: -3%;
  filter: saturate(0.3) brightness(1.1) contrast(1.05) sepia(0.15) hue-rotate(180deg);
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.3);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.8);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0% { top: -100%; }
  100% { top: 100%; }
}

/* --- Sections --- */
.section {
  padding: 120px 0;
}

.section-alt {
  background: var(--color-bg-alt);
}

.tree-care-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.tree-care-image {
  position: sticky;
  top: 100px;
  border-radius: 12px;
  overflow: hidden;
}

.tree-care-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  opacity: 0.85;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--color-text);
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--color-text-secondary);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 56px;
}

/* --- Visit Section --- */
.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
  margin-bottom: 64px;
}

.visit-text .section-label {
  margin-bottom: 12px;
}

.visit-text .section-title {
  margin-bottom: 12px;
}

.visit-text .section-subtitle {
  margin-bottom: 20px;
}

.visit-text p {
  margin-bottom: 16px;
  color: var(--color-text-secondary);
  line-height: 1.8;
}

.visit-text p:last-child { margin-bottom: 0; }

.visit-mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 12px;
}

.visit-mosaic-large {
  grid-column: 1 / -1;
}

.visit-mosaic-large img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  aspect-ratio: 16 / 9;
}

.visit-mosaic-small img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

/* --- We Make It Easy --- */
.easy-title {
  margin-top: 64px;
  margin-bottom: 32px;
}

.easy-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.easy-step {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-light);
  border-radius: 12px;
  padding: 28px 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.easy-step:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(44, 62, 45, 0.08);
}

.easy-step-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-secondary);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.easy-step-content h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.easy-step-content p {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: 8px;
}

.easy-step-content p:last-of-type {
  margin-bottom: 0;
}

.easy-note {
  font-size: 0.8rem !important;
  font-style: italic;
  color: var(--color-secondary) !important;
}

.easy-step-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.easy-option {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.easy-option svg {
  flex-shrink: 0;
  margin-top: 2px;
  stroke: var(--color-accent);
}

.easy-option strong {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 2px;
}

.easy-option p {
  font-size: 0.8rem !important;
  margin-bottom: 0 !important;
}

.easy-step-image {
  margin-top: 16px;
  background: var(--color-bg-alt);
  border: 1px dashed var(--color-border);
  border-radius: 8px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.easy-step-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}
.easy-step-image:has(img) {
  border: none;
  height: 140px;
}

.video-embed {
  margin-top: 16px;
  width: 100%;
  height: 140px;
  border-radius: 8px;
  overflow: hidden;
}

.video-embed iframe {
  width: 100%;
  height: 100%;
  border-radius: 8px;
}

/* --- Photo Gallery --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.gallery-item {
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

.gallery-item--wide {
  grid-column: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  aspect-ratio: 4 / 3;
  transition: transform 0.4s ease;
}

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

/* Lightbox overlay */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  cursor: zoom-out;
}

.lightbox.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 8px;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.15);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.lightbox-close:hover {
  background: rgba(255,255,255,0.3);
}

/* --- Pricing --- */
.pricing-centered {
  max-width: 460px;
  margin: 0 auto;
  text-align: center;
}

.pricing-heading {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: underline;
  margin-bottom: 12px;
}

.pricing-note {
  font-size: 0.9rem;
  color: var(--color-text);
  line-height: 1.6;
  margin-bottom: 24px;
}

.pricing-table {
  width: auto;
  margin: 0 auto 16px;
  border-collapse: collapse;
}

.pricing-table td {
  padding: 4px 24px;
  font-size: 1.05rem;
  font-weight: 600;
}

.pricing-table td:first-child {
  text-align: left;
  text-decoration: underline;
}

.pricing-table td:last-child {
  text-align: right;
  text-decoration: underline;
}

.pricing-table .row-red td {
  color: #c0392b;
}

.pricing-extra {
  font-size: 0.9rem;
  color: var(--color-text);
  text-align: center;
  margin-bottom: 4px;
}

.pricing-tax {
  margin-top: 28px;
  font-size: 1rem;
  font-weight: 700;
  color: #c0392b;
  text-align: center;
}

.pricing-warning {
  margin-top: 16px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary);
  text-align: center;
}

.pricing-precut {
  margin-top: 16px;
  font-size: 1rem;
  color: #2874a6;
  text-align: center;
  text-decoration: underline;
}

.info-item h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.info-item p {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* --- Treehouse --- */
.treehouse-hero {
  margin-bottom: 36px;
  border-radius: 12px;
  overflow: hidden;
  max-height: 550px;
}

.treehouse-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  border-radius: 12px;
}

.treehouse-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.treehouse-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-light);
  border-radius: 12px;
  padding: 36px 28px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
}

.treehouse-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(44, 62, 45, 0.08);
}

.treehouse-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(74, 124, 89, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--color-secondary);
}

.treehouse-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.treehouse-card p {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

.treehouse-feature {
  margin-top: 40px;
  text-align: center;
}

.treehouse-feature img {
  max-width: 260px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
}

.treehouse-feature-caption {
  max-width: 520px;
  margin: 16px auto 0;
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

.treehouse-feature-caption a {
  color: var(--color-primary);
  text-decoration: underline;
}

.treehouse-card p a {
  color: var(--color-primary);
  text-decoration: underline;
}

.treehouse-card-images {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  justify-content: center;
}

.treehouse-card-images img {
  width: 46%;
  border-radius: 8px;
  object-fit: cover;
  max-height: 160px;
}

.treehouse-card-images img:only-child {
  width: 80%;
  max-height: none;
  object-fit: contain;
  margin: 0 auto;
  display: block;
}

.ornament-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.ornament-grid img {
  width: 100%;
  height: 120px;
  object-fit: contain;
  background: #fff;
  border-radius: 8px;
  max-height: none;
}

.treehouse-cta {
  margin-top: 36px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-light);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.treehouse-cta img {
  width: 120px;
  min-height: 100%;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
}

.treehouse-cta p {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
  text-align: center;
}

.treehouse-cta a {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: underline;
}

/* --- Tree Gallery --- */
.trees-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.tree-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-light);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tree-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(44, 62, 45, 0.08);
}

.tree-card-image {
  width: 100%;
}

.tree-card-image .image-placeholder {
  aspect-ratio: 16 / 10;
  border-radius: 0;
}

.tree-card-image img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.tree-card-body {
  padding: 28px;
}

.tree-card-body h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.tree-card-body p {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* --- Tree Care Steps --- */
.steps-list {
  max-width: 720px;
}

.step-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(74, 124, 89, 0.06);
  border-radius: 12px;
  padding: 8px;
}

.step-icon svg {
  width: 100%;
  height: 100%;
}

.step-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 28px 0;
  border-bottom: 1px solid var(--color-border-light);
}

.step-card:first-child { padding-top: 0; }
.step-card:last-child { border-bottom: none; }

.step-number {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-secondary);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-content h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.step-content p {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* --- Directions --- */
.directions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.directions-address {
  margin-bottom: 24px;
}

.directions-address h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.directions-address p {
  color: var(--color-text-secondary);
  line-height: 1.7;
}

.directions-details p {
  color: var(--color-text-secondary);
  margin-bottom: 16px;
  line-height: 1.7;
  font-size: 0.95rem;
}

.directions-tip {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  color: var(--color-secondary) !important;
  font-size: 0.9rem !important;
}

.directions-text .btn {
  margin-top: 8px;
}

.directions-photo {
  border-radius: 12px;
  overflow: hidden;
  grid-column: 2;
  grid-row: 1;
}

.directions-photo img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.directions-map {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--color-border-light);
  aspect-ratio: 21 / 9;
  grid-column: 1 / -1;
}

.directions-map iframe {
  width: 100%;
  height: 100%;
  display: block;
}

/* --- Wildlife Conservancy --- */
.wildlife-intro {
  margin-bottom: 48px;
}

.wildlife-intro p {
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.wildlife-intro p:last-child { margin-bottom: 0; }

.wildlife-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.wildlife-card {
  border-radius: 12px;
  overflow: hidden;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-light);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wildlife-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(44, 62, 45, 0.08);
}

/* Wildlife mini-carousels */
.wildlife-mini-carousel {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.mini-carousel-track {
  display: flex;
  transition: transform 0.4s ease;
  height: 100%;
}
.mini-carousel-track img {
  min-width: 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.mini-prev, .mini-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.8);
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  color: var(--color-text);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
  transition: opacity 0.2s;
  z-index: 2;
}
.wildlife-card:hover .mini-prev,
.wildlife-card:hover .mini-next {
  opacity: 1;
}
.mini-prev { left: 6px; }
.mini-next { right: 6px; }

.wildlife-card-caption {
  padding: 20px 24px;
}

.wildlife-card-caption h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.wildlife-card-caption p {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* --- Contact --- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.contact-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-light);
  border-radius: 10px;
  padding: 20px 16px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(44, 62, 45, 0.08);
}

.contact-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(74, 124, 89, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
}

.contact-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--color-secondary);
}

.contact-card h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.contact-card p {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.contact-card a {
  color: var(--color-accent);
  transition: color 0.2s ease;
}

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

.contact-card small {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* --- Social Media --- */
.social-heading {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  margin-top: 32px;
  margin-bottom: 14px;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 600px;
}

.social-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-light);
  border-radius: 10px;
  padding: 14px 18px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.social-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(44, 62, 45, 0.08);
  border-color: var(--color-secondary);
}

.social-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.social-icon svg {
  width: 24px;
  height: 24px;
}

.social-icon--ig {
  background: linear-gradient(135deg, #f9ce34, #ee2a7b, #6228d7);
}

.social-icon--ig svg { stroke: #fff; }

.social-icon--fb {
  background: #1877f2;
}

.social-icon--fb svg { stroke: #fff; }

.social-info h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.social-info p {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
}

/* --- Press Feature --- */
.press-feature {
  margin-top: 32px;
}

.press-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-light);
  border-radius: 10px;
  padding: 16px 20px;
  max-width: 480px;
  margin: 0;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.press-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(44, 62, 45, 0.08);
  border-color: var(--color-secondary);
}

.press-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--color-primary);
}

.press-icon svg {
  stroke: #fff;
}

.press-info h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.press-info p {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  font-style: italic;
}

/* --- About Us --- */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}
.about-text p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--color-text-secondary);
  margin-bottom: 16px;
}
.about-text p:last-child {
  margin-bottom: 0;
}
/* --- About Carousel --- */
.about-carousel {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}
.carousel-viewport {
  overflow: hidden;
  border-radius: 12px;
}
.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}
.carousel-slide {
  min-width: 100%;
  position: relative;
  aspect-ratio: 4 / 3;
  background: #1a1a1a;
}
.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.carousel-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 24px;
  background: linear-gradient(transparent, rgba(0,0,0,0.65));
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-style: italic;
  letter-spacing: 0.01em;
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.85);
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--color-text);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  transition: background 0.2s, transform 0.2s;
  z-index: 2;
}
.carousel-btn:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.08);
}
.carousel-btn--prev { left: 12px; }
.carousel-btn--next { right: 12px; }
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 16px 0 0;
}
.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: var(--color-border);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  padding: 0;
}
.carousel-dot.active {
  background: var(--color-accent);
  transform: scale(1.2);
}

/* --- Footer --- */
.footer {
  background: var(--color-text);
  color: rgba(255,255,255,0.7);
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-tagline {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: rgba(255,255,255,0.9);
}

.footer-copy {
  font-size: 0.8rem;
}

/* --- Image Placeholder --- */
.image-placeholder {
  background: var(--color-bg-alt);
  border: 1px dashed var(--color-border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 200px;
  color: var(--color-text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* --- Scroll Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* --- Responsive --- */

@media (max-width: 1024px) {
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .easy-steps { grid-template-columns: repeat(3, 1fr); }
  .about-layout { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 900px) {
  .tree-care-layout {
    grid-template-columns: 1fr;
  }
  .tree-care-image {
    position: static;
    max-height: 400px;
  }
  .visit-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .easy-steps { grid-template-columns: repeat(2, 1fr); }
  .treehouse-grid { grid-template-columns: 1fr; }
  .trees-grid { grid-template-columns: 1fr; }
  .wildlife-grid { grid-template-columns: repeat(2, 1fr); }
  .directions-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .directions-photo {
    grid-column: auto;
    grid-row: auto;
  }
  .directions-map { aspect-ratio: 16 / 9; }

  /* Treehouse CTA on tablet */
  .treehouse-cta {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 680px) {
  .section { padding: 80px 0; }
  .container { padding: 0 20px; }
  .section-subtitle { margin-bottom: 40px; }

  /* Mobile nav */
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }
  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(250, 248, 245, 0.98);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 110;
    padding: 80px 20px;
  }
  .nav-links.open {
    opacity: 1;
    pointer-events: all;
  }
  .nav-links a {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--color-text);
    text-align: center;
    display: block;
    padding: 8px 0;
  }

  /* Hero */
  .hero-content { padding: 100px 20px 60px; }
  .hero-title { font-size: clamp(2.2rem, 8vw, 3.5rem); }
  .scroll-hint { bottom: 24px; }

  /* Easy steps — single column on mobile */
  .easy-steps { grid-template-columns: 1fr; }
  .easy-step { padding: 24px 20px; }

  /* Pricing table — keep readable */
  .pricing-table td { padding: 4px 16px; font-size: 0.95rem; }

  /* Treehouse */
  .treehouse-hero { max-height: 300px; }
  .treehouse-card { padding: 28px 20px; }
  .treehouse-card-images img { max-height: 140px; }
  .ornament-grid img { height: 100px; }

  /* Treehouse CTA — stack vertically */
  .treehouse-cta {
    flex-direction: column;
    text-align: center;
    gap: 16px;
    padding: 20px;
  }
  .treehouse-cta img {
    width: 100px;
    margin: 0 auto;
  }

  /* Trees grid */
  .trees-grid { grid-template-columns: 1fr; gap: 20px; }

  /* Tree care */
  .tree-care-layout { grid-template-columns: 1fr; }
  .tree-care-image {
    position: static;
    max-height: 300px;
  }

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

  /* Social */
  .social-grid { grid-template-columns: 1fr; }

  /* Press card */
  .press-card {
    max-width: 100%;
    margin: 0;
  }

  /* Wildlife */
  .wildlife-grid { grid-template-columns: 1fr; }

  /* Gallery */
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item--wide { grid-column: span 2; }

  /* About carousel */
  .carousel-btn { width: 36px; height: 36px; }

  /* Directions */
  .directions-grid { grid-template-columns: 1fr; gap: 24px; }
  .directions-photo {
    grid-column: auto;
    grid-row: auto;
  }
  .directions-map { aspect-ratio: 4 / 3; }

  /* Footer */
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 420px) {
  .section { padding: 60px 0; }
  .container { padding: 0 16px; }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-actions .btn {
    width: 100%;
  }

  .section-title { font-size: clamp(1.6rem, 6vw, 2.2rem); }

  /* Pricing — tighter on small phones */
  .pricing-table td { padding: 3px 12px; font-size: 0.9rem; }

  /* Treehouse feature image */
  .treehouse-feature img { max-width: 200px; }

  /* About layout */
  .about-layout { gap: 24px; }
  .about-text p { font-size: 0.95rem; }

  /* Step cards */
  .step-card { gap: 14px; padding: 20px 0; }

  /* Contact cards */
  .contact-card { padding: 16px 12px; }

  /* Ornament grid — keep 2x2 on small screens */
  .ornament-grid { grid-template-columns: 1fr 1fr; }
}
