/* ==========================================================================
   Amal Al Sahraa Landscape — Global Stylesheet
   Theme: Garden Green + Warm Desert Earth tones
   ========================================================================== */

:root {
  --green-900: #1f3d24;
  --green-800: #2d5a34;
  --green-700: #3a7d44;
  --green-600: #4a9d54;
  --green-500: #5cb462;
  --green-050: #eef5ec;

  --sand-100: #f7f3ea;
  --sand-200: #efe7d6;
  --sand-300: #e2d4ba;
  --clay: #c79a5b;

  --bg: #ffffff;
  --bg-soft: #f7f3ea;
  --ink: #1c2b1f;
  --ink-soft: #4f5d50;
  --muted: #7a8a7c;
  --line: #e6e3d8;
  --white: #ffffff;

  --shadow-sm: 0 2px 10px rgba(31, 61, 36, 0.06);
  --shadow-md: 0 10px 30px rgba(31, 61, 36, 0.1);
  --shadow-lg: 0 24px 60px rgba(31, 61, 36, 0.16);

  --radius: 14px;
  --radius-lg: 22px;

  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background-color: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--green-900);
  letter-spacing: -0.01em;
  line-height: 1.15;
}

a {
  color: var(--green-700);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--green-900);
}

p {
  color: var(--ink-soft);
}

.section {
  padding: 88px 0;
}

.section-sm {
  padding: 56px 0;
}

.bg-soft {
  background-color: var(--bg-soft);
}

.bg-green {
  background-color: var(--green-800);
}

.text-clay {
  color: var(--clay) !important;
}

.text-green {
  color: var(--green-700) !important;
}

/* Eyebrow */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--green-700);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--clay);
}

.section-title {
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  margin-bottom: 16px;
}

.section-lead {
  font-size: 1.075rem;
  color: var(--ink-soft);
  max-width: 620px;
}

.text-center .section-lead,
.mx-auto.section-lead {
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.btn {
  font-family: var(--font-body);
  font-weight: 600;
  border-radius: 999px;
  padding: 0.7rem 1.6rem;
  transition: all 0.22s ease;
  border: 2px solid transparent;
}

.btn-brand {
  background: var(--green-700);
  color: var(--white);
}

.btn-brand:hover {
  background: var(--green-900);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-clay {
  background: var(--clay);
  color: var(--green-900);
}

.btn-clay:hover {
  background: #b7853f;
  color: var(--green-900);
  transform: translateY(-2px);
}

.btn-outline-brand {
  border-color: var(--green-700);
  color: var(--green-800);
  background: transparent;
}

.btn-outline-brand:hover {
  background: var(--green-700);
  color: var(--white);
}

.btn-light-outline {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
  background: transparent;
}

.btn-light-outline:hover {
  background: var(--white);
  color: var(--green-900);
}

/* Navbar */
.site-nav {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s ease;
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
}

.site-nav.scrolled {
  box-shadow: var(--shadow-sm);
}

.brand-mark {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--green-700);
  display: grid;
  place-items: center;
  color: var(--white);
  flex-shrink: 0;
}

.brand-name {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.12rem;
  line-height: 1.05;
  color: var(--green-900);
}

.brand-sub {
  display: block;
  font-family: var(--font-body);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.navbar .nav-link {
  font-weight: 600;
  color: var(--ink) !important;
  margin: 0 2px;
  padding: 0.5rem 0.85rem !important;
  border-radius: 8px;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: var(--green-700) !important;
  background: var(--green-050);
}

.navbar .dropdown-menu {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 0.5rem;
}

.navbar .dropdown-item {
  border-radius: 8px;
  font-weight: 500;
  padding: 0.5rem 0.8rem;
}

.navbar .dropdown-item:hover {
  background: var(--green-050);
  color: var(--green-800);
}

/* Hero */
.hero {
  position: relative;
  color: var(--white);
  padding: 150px 0 120px;
  background: linear-gradient(180deg, rgba(28, 43, 31, 0.55), rgba(28, 43, 31, 0.78)),
    url("/images/hero-garden.jpeg") center/cover no-repeat;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  margin-bottom: 18px;
}

.hero .lead {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2rem;
  max-width: 600px;
}

.hero .eyebrow {
  color: var(--clay);
}

.hero .eyebrow::before {
  background: var(--clay);
}

/* Page banner */
.page-banner {
  position: relative;
  color: var(--white);
  padding: 120px 0 70px;
  background: linear-gradient(180deg, rgba(28, 43, 31, 0.6), rgba(28, 43, 31, 0.82)),
    url("/images/cta-bg.jpeg") center/cover no-repeat;
}

.page-banner h1 {
  color: var(--white);
  font-size: clamp(2rem, 5vw, 3.2rem);
}

.breadcrumb-line {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  font-weight: 500;
}

.breadcrumb-line a {
  color: var(--clay);
}

/* Stats */
.stat-num {
  font-family: var(--font-head);
  font-size: 2.6rem;
  font-weight: 600;
  color: var(--green-700);
  line-height: 1;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 600;
}

/* Feature / service cards */
.feature-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--green-500);
}

.feature-card .card-media {
  height: 210px;
  overflow: hidden;
}

.feature-card .card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.feature-card:hover .card-media img {
  transform: scale(1.06);
}

.feature-card .card-body {
  padding: 26px 24px 28px;
}

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.icon-chip {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--green-050);
  color: var(--green-700);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}

.icon-chip.clay {
  background: var(--sand-200);
  color: var(--clay);
}

/* Split / image blocks */
.rounded-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.rounded-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.check-list li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 14px;
  color: var(--ink);
  font-weight: 500;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--green-050);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%233a7d44' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* Gallery */
.gallery-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 36px;
}

.gallery-filter button {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.5rem 1.2rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.gallery-filter button.active,
.gallery-filter button:hover {
  background: var(--green-700);
  color: var(--white);
  border-color: var(--green-700);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.07);
}

.gallery-item .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(28, 43, 31, 0.75));
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: flex-end;
  padding: 16px;
  color: var(--white);
  font-weight: 600;
}

.gallery-item:hover .overlay {
  opacity: 1;
}

.gallery-card {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--green-050);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.gallery-card:hover img {
  transform: scale(1.05);
}

.gallery-tag {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: rgba(31, 61, 36, 0.85);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 20px;
  pointer-events: none;
}

@media (max-width: 767px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.92);
  z-index: 1100;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: 92vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 32px;
  font-size: 2.4rem;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
  z-index: 1101;
}

.lightbox-close:hover {
  opacity: 0.8;
}

/* Testimonials */
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  height: 100%;
  box-shadow: var(--shadow-sm);
}

.stars {
  color: var(--clay);
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.testimonial-card p {
  color: var(--ink);
  font-size: 1.02rem;
}

.tm-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}

.tm-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--green-700);
  color: var(--white);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-family: var(--font-head);
}

.tm-name {
  font-weight: 700;
  color: var(--green-900);
  line-height: 1.1;
}

.tm-role {
  font-size: 0.82rem;
  color: var(--muted);
}

/* CTA band */
.cta-band {
  position: relative;
  color: var(--white);
  padding: 84px 0;
  background: linear-gradient(180deg, rgba(28, 43, 31, 0.8), rgba(28, 43, 31, 0.9)),
    url("/images/cta-bg.jpeg") center/cover no-repeat;
}

.cta-band h2 {
  color: var(--white);
  font-size: clamp(1.9rem, 4vw, 2.8rem);
}

/* Steps */
.step-card {
  text-align: center;
  padding: 10px;
}

.step-num {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--green-050);
  color: var(--green-700);
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 600;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  border: 2px solid var(--green-500);
}

/* Accordion (FAQ) */
.accordion-item {
  border: 1px solid var(--line);
  border-radius: var(--radius) !important;
  margin-bottom: 14px;
  overflow: hidden;
}

.accordion-button {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--green-900);
  font-size: 1.08rem;
  padding: 1.1rem 1.25rem;
}

.accordion-button:not(.collapsed) {
  background: var(--green-050);
  color: var(--green-800);
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: none;
  border-color: var(--green-500);
}

.accordion-button::after {
  background-size: 1rem;
}

/* Blog cards */
.blog-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.blog-card .card-media {
  height: 200px;
  overflow: hidden;
}

.blog-card .card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .card-media img {
  transform: scale(1.05);
}

.blog-meta {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.tag-pill {
  display: inline-block;
  background: var(--green-050);
  color: var(--green-700);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
}

/* Forms */
.form-control,
.form-select {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.8rem 1rem;
  background: var(--white);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--green-500);
  box-shadow: 0 0 0 3px rgba(92, 180, 98, 0.18);
}

.form-label {
  font-weight: 600;
  color: var(--green-900);
  margin-bottom: 6px;
  font-size: 0.92rem;
}

.info-tile {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  height: 100%;
}

.info-tile .icon-chip {
  margin-bottom: 0;
  flex-shrink: 0;
}

/* Footer */
.site-footer {
  background: var(--green-900);
  color: rgba(255, 255, 255, 0.78);
  padding: 70px 0 0;
}

.site-footer h5 {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 18px;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.78);
}

.site-footer a:hover {
  color: var(--clay);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  align-items: flex-start;
}

.footer-contact-item svg {
  color: var(--clay);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 50px;
  padding: 22px 0;
  font-size: 0.85rem;
}

.footer-brand .brand-name {
  color: var(--white);
}

.social-row {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.social-row a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  color: var(--white);
  transition: background 0.2s ease;
}

.social-row a:hover {
  background: var(--clay);
  color: var(--green-900);
}

/* Floating WhatsApp */
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-md);
  z-index: 1050;
  animation: pulse 2.4s infinite;
}

.whatsapp-float svg {
  color: var(--white);
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* Misc */
.divider-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--green-500);
  margin: 0 auto 16px;
}

.list-unstyled-check {
  list-style: none;
  padding-left: 0;
}