/* ==========================================================
   Tall Trees Landscapes — Stylesheet
   ========================================================== */

/* --- Variables --- */
:root {
  --green-dark:   #1A3A0A;
  --green-mid:    #2D5A18;
  --green-light:  #4A7A2C;
  --sage:         #8FAF76;
  --cream:        #F5F0E8;
  --cream-dark:   #EDE6D8;
  --birch:        #CCCDC6;
  --bark:         #7A6548;
  --text-dark:    #1A1A1A;
  --text-mid:     #4A4A4A;
  --text-light:   #F5F0E8;
  --white:        #FFFFFF;
  --shadow:       0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg:    0 8px 40px rgba(0,0,0,0.18);
  --radius:       6px;
  --transition:   0.3s ease;
}

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

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

body {
  font-family: 'Georgia', 'Times New Roman', serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
}

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

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

ul { list-style: none; }

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: 'Georgia', serif;
  line-height: 1.25;
  color: var(--green-dark);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.1rem; }

p { margin-bottom: 1rem; color: var(--text-mid); }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-mid);
  line-height: 1.8;
}

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

.section {
  padding: 5rem 0;
}

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

.section--dark {
  background: var(--green-dark);
  color: var(--text-light);
}

.section--dark h2,
.section--dark h3,
.section--dark p { color: var(--text-light); }

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

.section-header h2 { margin-bottom: 1rem; }

.section-header .divider {
  width: 60px;
  height: 3px;
  background: var(--sage);
  margin: 1rem auto 1.5rem;
  border-radius: 2px;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(26, 58, 10, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: box-shadow var(--transition);
}

.nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.3); }

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
}

.nav__logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.nav__logo-name {
  font-family: 'Georgia', serif;
  font-size: 1.1rem;
  font-weight: normal;
  color: var(--cream);
  letter-spacing: 0.02em;
}

.nav__logo-sub {
  font-size: 0.65rem;
  color: var(--sage);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

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

.nav__links a {
  color: rgba(245, 240, 232, 0.85);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color var(--transition);
  padding: 0.25rem 0;
  position: relative;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: var(--sage);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.nav__links a:hover,
.nav__links a.active { color: var(--cream); }
.nav__links a:hover::after,
.nav__links a.active::after { transform: scaleX(1); }

.nav__cta {
  background: var(--green-light);
  color: var(--white) !important;
  padding: 0.5rem 1.25rem !important;
  border-radius: var(--radius);
  transition: background var(--transition) !important;
}

.nav__cta:hover { background: var(--sage) !important; }
.nav__cta::after { display: none !important; }

/* Hamburger */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: var(--transition);
}

/* --- Hero (Home) --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;

  background:
    linear-gradient(
      160deg,
      rgba(10, 28, 5, 0.78) 0%,
      rgba(26, 58, 10, 0.65) 50%,
      rgba(45, 90, 24, 0.55) 100%
    ),
    url('../images/Gemini_Generated_Image_nua77nua77nua77n.png');
  background-size: cover;
  background-position: center top;
}

/* Subtle leaf texture overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse at 20% 50%, rgba(143,175,118,0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(74,122,44,0.12) 0%, transparent 50%);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 7rem 1.5rem 5rem;
  text-align: center;
}

.hero__brand {
  font-family: 'Georgia', serif;
  font-size: clamp(2.8rem, 8vw, 5rem);
  font-weight: normal;
  color: var(--white);
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 16px rgba(0,0,0,0.5);
}

.hero__eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 1.25rem;
}

.hero__content h1 {
  font-family: 'Georgia', serif;
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  font-weight: normal;
  color: var(--white);
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

.hero__content h1 em {
  font-style: italic;
  color: var(--white);
}

.hero__content .lead {
  font-family: 'Georgia', serif;
  color: rgba(245, 240, 232, 0.9);
  margin-bottom: 2.5rem;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(245,240,232,0.5);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero__scroll::after {
  content: '';
  width: 1px;
  height: 40px;
  background: rgba(245,240,232,0.3);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.8); }
  50% { opacity: 0.7; transform: scaleY(1); }
}

/* --- Page Hero (inner pages) --- */
.page-hero {
  margin-top: 72px;
  padding: 5rem 0 4rem;
  background:
    linear-gradient(160deg, rgba(10,28,5,0.82) 0%, rgba(26,58,10,0.72) 50%, rgba(45,90,24,0.65) 100%),
    url('../images/Gemini_Generated_Image_nua77nua77nua77n.png');
  background-size: contain;
  background-position: center top;
  background-repeat: no-repeat;
  text-align: center;
}

.page-hero h1 { color: var(--white); margin-bottom: 1rem; }
.page-hero p { color: rgba(245,240,232,0.85); font-size: 1.1rem; }

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  font-family: 'Georgia', serif;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
}

.btn--primary {
  background: var(--green-light);
  color: var(--white);
  border-color: var(--green-light);
}

.btn--primary:hover {
  background: var(--green-mid);
  border-color: var(--green-mid);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(45,90,24,0.35);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}

.btn--outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
  transform: translateY(-1px);
}

.btn--outline-dark {
  background: transparent;
  color: var(--green-mid);
  border-color: var(--green-mid);
}

.btn--outline-dark:hover {
  background: var(--green-mid);
  color: var(--white);
  transform: translateY(-1px);
}

.btn--lg { padding: 1rem 2.5rem; font-size: 1rem; }

/* --- Intro Strip --- */
.intro-strip {
  background: var(--green-dark);
  color: var(--cream);
  padding: 2rem 0;
  text-align: center;
}

.intro-strip p {
  color: rgba(245,240,232,0.85);
  font-size: 1.05rem;
  margin: 0;
}

.intro-strip strong { color: var(--sage); }

/* --- Services Grid --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.service-card__icon {
  width: 100%;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  background: var(--cream);
  position: relative;
  overflow: hidden;
}

.service-card__icon::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: var(--green-light);
  z-index: 2;
}

.service-card__icon img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.service-card:hover .service-card__icon img {
  transform: scale(1.06);
}

.service-card__body {
  padding: 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card__body h3 {
  margin-bottom: 0.75rem;
  color: var(--green-dark);
}

.service-card__body p {
  flex: 1;
  margin-bottom: 1.25rem;
}

.service-card__link {
  color: var(--green-light);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: gap var(--transition);
  font-weight: bold;
}

.service-card__link:hover { gap: 0.6rem; }

/* --- Before & After --- */
.before-after-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto;
}

.before-after-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
}

.before-after-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.before-after-item__label {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.3rem 0.85rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  z-index: 2;
}

.before-after-item__label--before {
  background: rgba(0,0,0,0.55);
  color: rgba(255,255,255,0.9);
}

.before-after-item__label--during {
  background: var(--bark);
  color: white;
}

.before-after-item__label--after {
  background: var(--green-mid);
  color: white;
}

.before-after-grid--three {
  grid-template-columns: 1fr 1fr 1fr;
}

.before-after-project + .before-after-project {
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid var(--cream-dark);
}

.before-after-project__title {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bark);
  margin-bottom: 1rem;
  text-align: center;
}

@media (max-width: 600px) {
  .before-after-grid--three {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .before-after-grid {
    grid-template-columns: 1fr;
  }
}

/* --- About Teaser --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image-placeholder {
  aspect-ratio: 4/3;
  background: var(--cream-dark);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--bark);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 2px dashed var(--birch);
}

.about-image-placeholder svg { opacity: 0.5; }

.about-content .highlight {
  color: var(--green-mid);
  font-style: italic;
  font-size: 1.15rem;
  border-left: 3px solid var(--sage);
  padding-left: 1.25rem;
  margin: 1.5rem 0;
}

.stat-row {
  display: flex;
  gap: 2.5rem;
  margin: 2rem 0;
}

.stat { text-align: center; }
.stat__number {
  display: block;
  font-size: 2.8rem;
  font-family: 'Georgia', serif;
  color: var(--green-light);
  line-height: 1;
}
.stat__label {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-mid);
}

/* --- Why Choose Us --- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.why-item {
  text-align: center;
  padding: 2rem 1.5rem;
}

.why-item__icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.why-item h4 {
  color: var(--cream);
  margin-bottom: 0.75rem;
}

.why-item p { color: rgba(245,240,232,0.75); font-size: 0.95rem; }

/* --- CTA Banner --- */
.cta-banner {
  background: var(--cream);
  text-align: center;
  padding: 5rem 0;
  border-top: 4px solid var(--sage);
}

.cta-banner h2 { margin-bottom: 1rem; }
.cta-banner p { margin-bottom: 2rem; max-width: 540px; margin-left: auto; margin-right: auto; }

/* --- Photo frames (replacing placeholders) --- */
.photo-frame {
  overflow: hidden;
  border-radius: var(--radius);
}
.photo-frame--landscape { aspect-ratio: 4/3; }
.photo-frame--portrait  { aspect-ratio: 3/4; }
.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* --- Gallery Grid --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.gallery-item {
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.gallery-item.gallery-item--featured {
  grid-column: span 2;
  aspect-ratio: 16/7;
}

/* --- Contact --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}

.contact-details h3 { margin-bottom: 1.5rem; }

.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.75rem;
  align-items: flex-start;
}

.contact-item__icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.contact-item__text strong {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-mid);
  margin-bottom: 0.2rem;
}

.contact-item__text a { color: var(--text-mid); transition: color var(--transition); }
.contact-item__text a:hover { color: var(--green-mid); }

.contact-form { background: var(--cream); border-radius: var(--radius); padding: 2.5rem; }

.contact-form h3 { margin-bottom: 1.75rem; }

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

.form-group label {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-mid);
  margin-bottom: 0.4rem;
  font-family: 'Georgia', serif;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--birch);
  border-radius: var(--radius);
  font-family: 'Georgia', serif;
  font-size: 1rem;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green-light);
  box-shadow: 0 0 0 3px rgba(74,122,44,0.12);
}

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

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

/* --- Footer --- */
.footer {
  background: var(--green-dark);
  color: var(--cream);
  padding: 3.5rem 0 2rem;
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer__brand { max-width: 300px; }

.footer__brand .nav__logo { margin-bottom: 1.25rem; }

.footer__brand p {
  color: rgba(245,240,232,0.65);
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer h4 {
  color: var(--sage);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

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

.footer ul li a {
  color: rgba(245,240,232,0.65);
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer ul li a:hover { color: var(--sage); }

.footer__contact li {
  color: rgba(245,240,232,0.65);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  display: flex;
  gap: 0.5rem;
  align-items: baseline;
}

.footer__contact li span:first-child { flex-shrink: 0; }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__bottom p {
  color: rgba(245,240,232,0.4);
  font-size: 0.8rem;
  margin: 0;
}

/* --- About Page --- */
.about-full__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: center;
}

.about-photo-placeholder {
  aspect-ratio: 3/4;
  background: var(--cream-dark);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--bark);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: 2px dashed var(--birch);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.value-card {
  padding: 2rem;
  background: var(--white);
  border-radius: var(--radius);
  border-top: 4px solid var(--sage);
  box-shadow: var(--shadow);
}

.value-card__icon { font-size: 2rem; margin-bottom: 1rem; }
.value-card h3 { margin-bottom: 0.75rem; font-size: 1.2rem; }

/* --- Services Page --- */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 4rem 0;
  border-bottom: 1px solid var(--cream-dark);
}

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

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

.service-detail__image-placeholder {
  aspect-ratio: 4/3;
  background: var(--cream-dark);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  gap: 0.75rem;
  border: 2px dashed var(--birch);
}

.service-detail__image-placeholder span:last-child {
  font-size: 0.8rem;
  color: var(--bark);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Real photos inside placeholder slots */
.service-detail__image-placeholder:has(img),
.about-image-placeholder:has(img),
.about-photo-placeholder:has(img) {
  border: none;
  background: transparent;
  padding: 0;
  display: block;
  overflow: hidden;
}
.service-detail__image-placeholder img,
.about-image-placeholder img,
.about-photo-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
}

.service-detail__content h2 { margin-bottom: 1rem; }

.service-detail__content ul {
  margin: 1.5rem 0;
  list-style: none;
}

.service-detail__content ul li {
  padding: 0.4rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-mid);
}

.service-detail__content ul li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--sage);
  font-size: 0.7rem;
  top: 0.55rem;
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .about-grid,
  .about-full__grid,
  .contact-grid,
  .service-detail,
  .service-detail--reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 2.5rem;
  }

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

  .gallery-item.gallery-item--featured {
    grid-column: span 1;
    aspect-ratio: 4/3;
  }
}

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

  .nav__links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: var(--green-dark);
    padding: 2rem 1.5rem;
    gap: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
  }

  .hero__content { padding: 8rem 1.5rem 4rem; }

  .stat-row { gap: 1.5rem; }
  .stat__number { font-size: 2.2rem; }

  .footer__inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bottom { flex-direction: column; text-align: center; }

  .form-row { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 1.75rem; }
}
