/* ========================================
   CSS CUSTOM PROPERTIES
======================================== */
:root {
  --primary: #3D5C35;
  --primary-dark: #2d4427;
  --accent: #6B8F5E;
  --text: #2C2C2C;
  --text-light: #666;
  --bg: #FFFFFF;
  --bg-alt: #F7F7F5;
  --white: #FFFFFF;
  --border: #E8E8E6;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.14);
  --radius: 4px;
  --transition: 0.28s ease;
  --container-max: 1160px;
  --section-pad: 100px;
  --nav-h: 80px;
}

/* ========================================
   RESET & BASE
======================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
  list-style: none;
}

/* ========================================
   TYPOGRAPHY
======================================== */
h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  line-height: 1.15;
  color: var(--text);
}

h1 { font-size: clamp(2.8rem, 6vw, 5.5rem); }
h2 { font-size: clamp(2rem, 3.5vw, 2.75rem); }
h3 { font-size: 1.4rem; }

/* ========================================
   LAYOUT UTILITIES
======================================== */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 28px;
}

.section {
  padding: var(--section-pad) 0;
}

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

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.section-header h2 {
  line-height: 1.2;
}

.divider {
  width: 44px;
  height: 2px;
  background: var(--primary);
  margin: 18px auto 0;
}

.section-sub {
  margin-top: 18px;
  color: var(--text-light);
  font-size: 1.05rem;
}

/* ========================================
   BUTTONS
======================================== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  border: 2px solid transparent;
  line-height: 1;
}

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

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(61, 92, 53, 0.32);
}

.btn-hero {
  background: var(--primary);
  color: var(--white);
  padding: 18px 44px;
  font-size: 1rem;
  letter-spacing: 0.06em;
  border: 2px solid transparent;
}

.btn-hero:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.3);
}

.btn-large {
  padding: 18px 52px;
  font-size: 1rem;
}

/* ========================================
   NAVBAR
======================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--primary);
  transition: box-shadow var(--transition);
}

.navbar.scrolled {
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.28);
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  height: var(--nav-h);
  overflow: hidden;
}

.logo-img {
  height: 240px;
  width: auto;
  display: block;
  flex-shrink: 0;
  filter: grayscale(1) invert(1) contrast(10);
  mix-blend-mode: screen;
}

.footer-logo-wrap {
  overflow: hidden;
  height: 110px;
  display: flex;
  align-items: center;
  margin-bottom: 14px;
}

.footer-logo-img {
  height: 264px;
  width: auto;
  display: block;
  flex-shrink: 0;
  filter: grayscale(1) invert(1) contrast(10);
  mix-blend-mode: screen;
}

.nav-links {
  display: flex;
  gap: 2px;
  margin: 0 auto;
}

.nav-link {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 5px 11px;
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
  letter-spacing: 0.01em;
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.13);
}

.nav-phone {
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
  flex-shrink: 0;
  transition: color var(--transition);
}

.nav-phone:hover {
  color: rgba(255, 255, 255, 0.78);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}

.bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* ========================================
   HERO
======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('Background.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26, 40, 22, 0.84) 0%,
    rgba(55, 84, 48, 0.70) 55%,
    rgba(26, 40, 22, 0.80) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 24px;
  max-width: 820px;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(107, 143, 94, 0.38);
  padding: 7px 18px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.hero-title em {
  font-style: italic;
  color: #aecfa0;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 44px;
  font-weight: 300;
  line-height: 1.65;
}

/* ========================================
   ABOUT
======================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

.about-text p {
  color: var(--text-light);
  margin-bottom: 22px;
  font-size: 1.05rem;
  line-height: 1.85;
}

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

.about-service-area {
  background: var(--bg-alt);
  border-left: 3px solid var(--primary);
  padding: 36px 32px;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.about-service-area h3 {
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.area-subtitle {
  color: var(--text-light);
  font-size: 0.88rem;
  margin-bottom: 22px;
}

.city-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.city-tag {
  display: inline-block;
  background: var(--white);
  border: 1.5px solid var(--border);
  color: var(--primary);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.84rem;
  font-weight: 500;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  cursor: default;
}

.city-tag:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

/* ========================================
   SERVICES
======================================== */
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.service-card {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 52px 44px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent);
}

.service-icon {
  width: 76px;
  height: 76px;
  background: rgba(61, 92, 53, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  color: var(--primary);
  transition: background var(--transition);
}

.service-card:hover .service-icon {
  background: rgba(61, 92, 53, 0.15);
}

.service-icon svg {
  width: 36px;
  height: 36px;
}

.service-card h3 {
  margin-bottom: 16px;
  font-size: 1.5rem;
}

.service-card p {
  color: var(--text-light);
  line-height: 1.82;
  margin-bottom: 28px;
  font-size: 0.98rem;
}

.card-link {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.03em;
  transition: color var(--transition);
}

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

/* ========================================
   GALLERY
======================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

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

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 46, 22, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.gallery-overlay span {
  color: var(--white);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--transition), transform var(--transition);
}

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

.gallery-item:hover .gallery-overlay {
  background: rgba(26, 46, 22, 0.48);
}

.gallery-item:hover .gallery-overlay span {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   TESTIMONIALS
======================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial-card {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 40px 34px;
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.stars {
  color: #e0a020;
  font-size: 1rem;
  letter-spacing: 3px;
  margin-bottom: 18px;
}

.testimonial-text {
  color: var(--text-light);
  font-style: italic;
  line-height: 1.82;
  margin-bottom: 28px;
  font-size: 0.97rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
  font-family: 'Playfair Display', serif;
}

.testimonial-author strong {
  display: block;
  font-weight: 600;
  font-size: 0.93rem;
}

.testimonial-author span {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* ========================================
   CONTACT / FORM
======================================== */
.quote-form {
  max-width: 780px;
  margin: 0 auto;
  background: var(--bg-alt);
  padding: 52px 52px 44px;
  border-radius: 8px;
  border: 1.5px solid var(--border);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-bottom: 22px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-group-full {
  margin-bottom: 22px;
}

label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.03em;
}

.required {
  color: var(--primary);
}

input,
select,
textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--bg);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(61, 92, 53, 0.1);
}

input::placeholder,
textarea::placeholder {
  color: #aaa;
}

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

.form-submit {
  margin-top: 12px;
  text-align: center;
}

.form-note {
  margin-top: 14px;
  font-size: 0.8rem;
  color: var(--text-light);
}

/* ========================================
   FOOTER
======================================== */
.footer {
  background: var(--primary);
  color: var(--white);
}

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

.footer-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 56px;
  padding: 68px 0 52px;
  align-items: start;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.footer-logo-text span {
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  color: var(--accent);
  text-transform: uppercase;
  vertical-align: super;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.55);
  font-style: italic;
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
  transition: color var(--transition);
}

.footer-nav a:hover {
  color: var(--white);
}

.footer-contact {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-contact p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.88rem;
}

.footer-phone,
.footer-email {
  color: var(--white);
  font-weight: 600;
  font-size: 0.97rem;
  transition: color var(--transition);
}

.footer-phone:hover,
.footer-email:hover {
  color: var(--accent);
}

.footer-bottom {
  padding: 22px 0;
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.8rem;
}

.built-by {
  font-size: 0.55rem;
  color: rgba(255, 255, 255, 0.15);
  margin-top: 4px;
}

/* ========================================
   RESPONSIVE — TABLET (≤ 900px)
======================================== */
@media (max-width: 900px) {
  :root {
    --section-pad: 72px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr 1fr;
    gap: 22px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 40px;
  }

  .footer-contact {
    text-align: left;
  }

  .footer-nav {
    grid-column: 1 / -1;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px 28px;
  }
}

/* ========================================
   RESPONSIVE — MOBILE (≤ 640px)
======================================== */
@media (max-width: 640px) {
  :root {
    --section-pad: 60px;
  }

  /* Navbar */
  .hamburger {
    display: flex;
  }

  .nav-phone {
    display: none;
  }

  .nav-links {
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--primary-dark);
    flex-direction: column;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }

  .nav-links.open {
    max-height: 400px;
  }

  .nav-link {
    padding: 14px 24px;
    border-radius: 0;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
  }

  .hamburger.open .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .hamburger.open .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger.open .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* Hero */
  .hero-bg {
    background-attachment: scroll;
  }

  .hero-title br {
    display: none;
  }

  /* Services */
  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    padding: 40px 30px;
  }

  /* Gallery */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  /* Testimonials */
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  /* Form */
  .quote-form {
    padding: 36px 24px 28px;
  }

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

  /* Footer */
  .footer-top {
    grid-template-columns: 1fr;
    padding: 48px 0 36px;
  }

  .footer-contact {
    text-align: left;
  }

  .footer-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

@media (max-width: 380px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}
