/* ==========================================================
   JELLIVALE GROUNDS & GARDENS
   Fresh, colourful outdoor-services website
   ========================================================== */


/* ==========================================================
   COLOURS
   ========================================================== */

:root {
  --forest: #173d2d;
  --forest-deep: #0e2d22;

  --green: #458c59;
  --leaf: #83bd68;

  --lime: #cfe66a;
  --sun: #f2b85b;
  --aqua: #82d4c2;

  --cream: #fffaf0;
  --cream-dark: #f3eee2;

  --white: #ffffff;

  --text: #21342b;
  --text-soft: #617068;

  --border:
    rgba(23, 61, 45, 0.13);

  --container: 1160px;

  --shadow:
    0 22px 60px rgba(35, 67, 50, 0.12);
}



/* ==========================================================
   RESET
   ========================================================== */

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


html {
  scroll-behavior: smooth;
}


body {
  margin: 0;

  background: var(--cream);

  color: var(--text);

  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

  line-height: 1.65;

  -webkit-font-smoothing: antialiased;
}


img {
  display: block;

  max-width: 100%;
}


a {
  color: inherit;
}


.container {
  width: min(90%, var(--container));

  margin-inline: auto;
}



/* ==========================================================
   ACCESSIBILITY
   ========================================================== */

.skip-link {
  position: fixed;

  top: -100px;
  left: 20px;

  z-index: 9999;

  padding: 12px 17px;

  background: var(--forest);

  color: var(--white);

  border-radius: 8px;

  font-weight: 700;

  text-decoration: none;
}


.skip-link:focus {
  top: 20px;
}


a:focus-visible {
  outline: 3px solid var(--sun);

  outline-offset: 4px;
}



/* ==========================================================
   NAVIGATION
   ========================================================== */

.site-nav {
  position: sticky;

  top: 0;

  z-index: 1000;

  background:
    rgba(255, 250, 240, 0.94);

  border-bottom:
    1px solid var(--border);

  backdrop-filter: blur(15px);

  -webkit-backdrop-filter: blur(15px);
}


.nav-inner {
  min-height: 74px;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 35px;
}


.brand {
  display: flex;

  align-items: center;

  gap: 11px;

  text-decoration: none;
}


.brand-mark {
  width: 40px;
  height: 40px;

  display: grid;

  place-items: center;

  border-radius:
    50% 50% 48% 52%;

  background: var(--forest);

  color: var(--lime);

  font-size: 19px;

  transform: rotate(-7deg);
}


.brand-text {
  display: flex;

  flex-direction: column;

  line-height: 1.05;
}


.brand-text strong {
  color: var(--forest);

  font-size: 17px;

  letter-spacing: -0.03em;
}


.brand-text span {
  margin-top: 4px;

  color: var(--green);

  font-size: 9px;

  font-weight: 800;

  letter-spacing: 0.13em;

  text-transform: uppercase;
}


.nav-links {
  display: flex;

  align-items: center;

  gap: 25px;
}


.nav-links a {
  color: #486057;

  font-size: 13px;

  font-weight: 700;

  text-decoration: none;

  transition:
    color 0.2s ease,
    background 0.2s ease;
}


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


.nav-quote {
  padding: 9px 14px;

  background: var(--forest);

  color: var(--white) !important;

  border-radius: 999px;
}


.nav-quote:hover {
  background: var(--green);
}



/* ==========================================================
   HERO
   ========================================================== */

.hero {
  position: relative;

  overflow: hidden;

  padding: 90px 0 105px;

  background:
    radial-gradient(
      circle at 88% 15%,
      rgba(207, 230, 106, 0.42),
      transparent 22%
    ),

    radial-gradient(
      circle at 92% 68%,
      rgba(130, 212, 194, 0.25),
      transparent 27%
    ),

    var(--cream);
}


.hero::before {
  content: "";

  position: absolute;

  width: 400px;
  height: 400px;

  right: -175px;
  top: -150px;

  border-radius:
    42% 58% 65% 35% /
    48% 38% 62% 52%;

  background: var(--leaf);

  opacity: 0.12;

  transform: rotate(25deg);
}


.hero-layout {
  position: relative;

  z-index: 2;

  display: grid;

  grid-template-columns:
    minmax(0, 1.08fr)
    minmax(370px, 0.92fr);

  gap: 72px;

  align-items: center;
}


.hero-copy {
  max-width: 720px;
}


.eyebrow,
.section-label {
  margin: 0 0 15px;

  color: var(--green);

  font-size: 11px;

  font-weight: 850;

  letter-spacing: 0.18em;

  text-transform: uppercase;
}


.hero h1 {
  margin: 0;

  max-width: 760px;

  color: var(--forest);

  font-size:
    clamp(53px, 7vw, 86px);

  line-height: 0.96;

  letter-spacing: -0.055em;
}


.hero h1 span {
  display: block;

  color: var(--green);
}


.hero-lead {
  max-width: 670px;

  margin: 28px 0 24px;

  color: var(--text-soft);

  font-size: 18px;

  line-height: 1.72;
}


.location-line {
  display: flex;

  align-items: center;

  gap: 10px;

  margin-bottom: 31px;

  color: var(--forest);

  font-size: 13px;

  font-weight: 750;
}


.location-dot {
  width: 9px;
  height: 9px;

  border-radius: 50%;

  background: var(--sun);

  box-shadow:
    0 0 0 5px
    rgba(242, 184, 91, 0.18);
}



/* ==========================================================
   BUTTONS
   ========================================================== */

.hero-actions,
.contact-actions {
  display: flex;

  flex-wrap: wrap;

  gap: 12px;
}


.button {
  display: inline-flex;

  align-items: center;

  justify-content: center;

  min-height: 49px;

  padding: 12px 23px;

  background: var(--forest);

  color: var(--white);

  border:
    2px solid var(--forest);

  border-radius: 999px;

  font-size: 14px;

  font-weight: 800;

  text-decoration: none;

  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}


.button:hover {
  transform: translateY(-2px);

  background: var(--green);

  border-color: var(--green);
}


.button-outline {
  background: transparent;

  color: var(--forest);
}


.button-outline:hover {
  color: var(--white);
}


.button-bright {
  background: var(--lime);

  border-color: var(--lime);

  color: var(--forest);
}


.button-bright:hover {
  background: #dced7d;

  border-color: #dced7d;
}


.disabled-button {
  cursor: default;

  pointer-events: none;
}



/* ==========================================================
   HERO PHOTOGRAPHY
   ========================================================== */

.hero-photo-board {
  position: relative;

  display: grid;

  gap: 10px;

  padding: 10px;

  background:
    rgba(255, 255, 255, 0.78);

  border:
    1px solid rgba(23, 61, 45, 0.1);

  border-radius:
    34px 12px 34px 12px;

  box-shadow:
    0 25px 65px
    rgba(35, 67, 50, 0.15);

  transform: rotate(1deg);
}


.hero-photo-board::after {
  content: "";

  position: absolute;

  width: 105px;
  height: 105px;

  right: -24px;
  bottom: -27px;

  z-index: -1;

  background: var(--sun);

  border-radius:
    63% 37% 47% 53% /
    49% 58% 42% 51%;
}


.main-photo {
  position: relative;

  height: 330px;

  overflow: hidden;

  border-radius:
    26px 8px 18px 8px;
}


.small-photo-grid {
  display: grid;

  grid-template-columns:
    repeat(2, 1fr);

  gap: 10px;
}


.small-photo {
  position: relative;

  height: 165px;

  overflow: hidden;

  border-radius:
    9px 9px 20px 9px;
}


.main-photo img,
.small-photo img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  transition:
    transform 0.45s ease;
}


.main-photo:hover img,
.small-photo:hover img {
  transform: scale(1.035);
}


.photo-caption {
  position: absolute;

  left: 17px;
  right: 17px;
  bottom: 17px;

  padding: 13px 15px;

  background:
    rgba(14, 45, 34, 0.88);

  color: var(--white);

  border:
    1px solid
    rgba(255, 255, 255, 0.13);

  border-radius: 12px;

  backdrop-filter: blur(9px);

  -webkit-backdrop-filter: blur(9px);
}


.photo-caption span,
.photo-caption strong {
  display: block;
}


.photo-caption span {
  margin-bottom: 2px;

  color: var(--lime);

  font-size: 9px;

  font-weight: 800;

  letter-spacing: 0.12em;

  text-transform: uppercase;
}


.photo-caption strong {
  font-size: 15px;
}


.photo-caption.compact {
  left: 10px;
  right: 10px;
  bottom: 10px;

  padding: 9px 11px;
}


.photo-caption.compact strong {
  font-size: 11px;
}


.demo-badge {
  position: absolute;

  top: 12px;
  right: 12px;

  z-index: 3;

  padding: 5px 8px;

  background:
    rgba(255, 250, 240, 0.94);

  color: var(--forest);

  border-radius: 999px;

  font-size: 8px;

  font-weight: 850;

  letter-spacing: 0.09em;

  text-transform: uppercase;

  box-shadow:
    0 5px 15px
    rgba(0, 0, 0, 0.08);
}


.demo-note {
  margin: 3px 5px 2px;

  color: #78877e;

  font-size: 9px;

  text-align: center;
}



/* ==========================================================
   QUICK STRIP
   ========================================================== */

.quick-strip {
  background: #edf6df;

  color: var(--forest);

  border-top:
    1px solid
    rgba(23, 61, 45, 0.08);

  border-bottom:
    1px solid
    rgba(23, 61, 45, 0.1);
}


.quick-strip-inner {
  min-height: 82px;

  display: grid;

  grid-template-columns:
    repeat(4, 1fr);

  align-items: center;
}


.quick-strip div {
  padding: 0 22px;

  border-right:
    1px solid
    rgba(23, 61, 45, 0.13);
}


.quick-strip div:first-child {
  border-left:
    1px solid
    rgba(23, 61, 45, 0.13);
}


.quick-strip strong {
  font-size: 12px;
}



/* ==========================================================
   GENERAL SECTIONS
   ========================================================== */

.section {
  padding: 95px 0;
}


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


.section-green {
  background: var(--forest);

  color: var(--white);
}


.section-heading {
  display: grid;

  grid-template-columns:
    1fr
    minmax(300px, 470px);

  gap: 55px;

  align-items: end;

  margin-bottom: 46px;
}


.section h2 {
  margin: 0;

  font-size:
    clamp(39px, 5vw, 58px);

  line-height: 1.04;

  letter-spacing: -0.045em;
}


.section-description {
  margin: 0;

  color: var(--text-soft);

  font-size: 15px;

  line-height: 1.7;
}


.section-green .section-label {
  color: var(--lime);
}


.section-green .section-description {
  color: #bdd0c7;
}



/* ==========================================================
   SERVICES
   ========================================================== */

.services-grid {
  display: grid;

  grid-template-columns:
    repeat(3, 1fr);

  gap: 17px;
}


.service-card {
  min-height: 285px;

  display: flex;

  flex-direction: column;

  padding: 27px;

  background: var(--white);

  border:
    1px solid var(--border);

  border-radius:
    22px 8px 22px 8px;

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}


.service-card:hover {
  transform: translateY(-5px);

  box-shadow: var(--shadow);
}


.service-card:nth-child(2) {
  background: #f1f7dc;
}


.service-card:nth-child(3) {
  background: #e9f7f3;
}


.service-card:nth-child(4) {
  background: #fff1d6;
}


.service-card:nth-child(5) {
  background: #eef4e8;
}


.service-card:nth-child(6) {
  background: #f7eee4;
}


.service-number {
  color: var(--green);

  font-size: 10px;

  font-weight: 800;

  letter-spacing: 0.13em;
}


.service-card h3 {
  margin: 31px 0 11px;

  color: var(--forest);

  font-size: 22px;

  line-height: 1.15;
}


.service-card p {
  margin: 0;

  color: var(--text-soft);

  font-size: 13px;

  line-height: 1.7;
}



/* ==========================================================
   ABOUT
   ========================================================== */

.about-layout {
  display: grid;

  grid-template-columns:
    0.8fr 1.2fr;

  gap: 95px;
}


.about-copy {
  max-width: 700px;
}


.about-lead {
  margin-top: 0;

  color: var(--forest);

  font-size: 21px;

  line-height: 1.6;
}


.about-copy p:not(.about-lead) {
  color: var(--text-soft);

  font-size: 15px;

  line-height: 1.8;
}


.simple-promise {
  display: grid;

  grid-template-columns:
    repeat(3, 1fr);

  gap: 11px;

  margin-top: 33px;
}


.simple-promise div {
  padding: 17px;

  background: var(--white);

  border:
    1px solid var(--border);

  border-radius: 13px;
}


.simple-promise span {
  display: block;

  margin-bottom: 7px;

  color: var(--green);

  font-size: 10px;

  font-weight: 800;

  text-transform: uppercase;
}


.simple-promise strong {
  font-size: 12px;
}



/* ==========================================================
   PHOTO GALLERY
   ========================================================== */

.work-section {
  background: #faf7ed;
}


.work-gallery {
  display: grid;

  grid-template-columns:
    1.35fr 0.65fr;

  grid-template-rows:
    repeat(2, 230px);

  gap: 14px;
}


.gallery-card {
  position: relative;

  margin: 0;

  overflow: hidden;

  border-radius:
    25px 8px 25px 8px;

  background: var(--forest);
}


.gallery-large {
  grid-row:
    1 / span 2;
}


.gallery-card img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  transition:
    transform 0.45s ease;
}


.gallery-card:hover img {
  transform: scale(1.025);
}


.gallery-card::after {
  content: "";

  position: absolute;

  inset: 0;

  background:
    linear-gradient(
      to top,
      rgba(10, 37, 27, 0.7),
      transparent 52%
    );

  pointer-events: none;
}


.gallery-card figcaption {
  position: absolute;

  z-index: 2;

  left: 21px;
  right: 21px;
  bottom: 19px;

  color: var(--white);
}


.gallery-card figcaption span,
.gallery-card figcaption strong {
  display: block;
}


.gallery-card figcaption span {
  margin-bottom: 3px;

  color: var(--lime);

  font-size: 8px;

  font-weight: 800;

  letter-spacing: 0.12em;

  text-transform: uppercase;
}


.gallery-card figcaption strong {
  font-size: 15px;
}


.gallery-large figcaption strong {
  font-size: 23px;
}


.gallery-note {
  margin:
    16px 0 0;

  color: #77847d;

  font-size: 10px;

  text-align: center;
}



/* ==========================================================
   CUSTOMER TYPES
   ========================================================== */

.client-grid {
  display: grid;

  grid-template-columns:
    repeat(3, 1fr);

  gap: 16px;
}


.client-card {
  padding: 30px;

  background:
    rgba(255, 255, 255, 0.06);

  border:
    1px solid
    rgba(255, 255, 255, 0.1);

  border-radius: 18px;
}


.client-card span {
  color: var(--lime);

  font-size: 10px;

  font-weight: 850;
}


.client-card h3 {
  margin: 22px 0 10px;

  color: var(--white);

  font-size: 22px;
}


.client-card p {
  margin: 0;

  color: #b8cbc1;

  font-size: 13px;

  line-height: 1.7;
}



/* ==========================================================
   SERVICE AREA
   ========================================================== */

.area-box {
  display: grid;

  grid-template-columns:
    1fr 1fr;

  gap: 55px;

  align-items: center;

  padding: 40px;

  background: var(--white);

  border:
    1px solid var(--border);

  border-radius:
    30px 10px 30px 10px;

  box-shadow:
    0 18px 45px
    rgba(35, 67, 50, 0.06);
}


.area-box h2 {
  max-width: 520px;
}


.area-copy p {
  color: var(--text-soft);
}


.area-tag {
  display: inline-flex;

  padding: 8px 12px;

  margin-top: 12px;

  background: var(--aqua);

  color: var(--forest);

  border-radius: 999px;

  font-size: 11px;

  font-weight: 800;
}



/* ==========================================================
   CONTACT
   ========================================================== */

.contact-section {
  background:
    radial-gradient(
      circle at 85% 30%,
      rgba(207, 230, 106, 0.12),
      transparent 25%
    ),

    var(--forest-deep);

  color: var(--white);
}


.contact-layout {
  display: grid;

  grid-template-columns:
    1fr
    minmax(340px, 0.72fr);

  gap: 85px;

  align-items: center;
}


.contact-section h2 {
  color: var(--white);

  font-size:
    clamp(48px, 6vw, 73px);
}


.contact-section .section-label {
  color: var(--lime);
}


.contact-lead {
  max-width: 620px;

  color: #c0d2c9;

  font-size: 17px;

  line-height: 1.75;
}


.contact-card {
  padding: 30px;

  background: var(--cream);

  color: var(--forest);

  border-radius:
    25px 9px 25px 9px;

  box-shadow:
    0 22px 55px
    rgba(0, 0, 0, 0.12);
}


.contact-small-label {
  margin:
    0 0 8px;

  color: var(--green);

  font-size: 9px;

  font-weight: 850;

  letter-spacing: 0.15em;
}


.contact-card h3 {
  margin:
    0 0 9px;

  font-size: 25px;

  letter-spacing: -0.025em;
}


.contact-card > p:not(.contact-small-label) {
  color: var(--text-soft);

  font-size: 13px;
}


.contact-placeholder {
  margin-top: 13px;

  padding: 15px;

  background: #f2eadb;

  border:
    1px solid
    rgba(23, 61, 45, 0.07);

  border-radius: 11px;
}


.contact-placeholder span,
.contact-placeholder strong {
  display: block;
}


.contact-placeholder span {
  margin-bottom: 3px;

  color: #7f8c84;

  font-size: 9px;

  font-weight: 800;

  text-transform: uppercase;

  letter-spacing: 0.08em;
}


.contact-placeholder strong {
  color: var(--forest);

  font-size: 12px;
}


.contact-actions {
  margin-top: 20px;
}



/* ==========================================================
   FOOTER
   ========================================================== */

.site-footer {
  padding: 28px 0;

  background: #091f17;

  color: #91aa9e;
}


.footer-inner {
  display: flex;

  justify-content: space-between;

  align-items: center;

  gap: 30px;
}


.site-footer p {
  margin: 0;

  font-size: 10px;
}


.site-footer a {
  color: var(--lime);

  text-decoration: none;
}


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



/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 980px) {


  .hero-layout {
    grid-template-columns: 1fr;

    gap: 50px;
  }


  .hero-photo-board {
    max-width: 680px;

    transform: none;
  }


  .services-grid {
    grid-template-columns:
      repeat(2, 1fr);
  }


  .about-layout {
    grid-template-columns: 1fr;

    gap: 40px;
  }


  .contact-layout {
    grid-template-columns: 1fr;

    gap: 45px;
  }


}



/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 700px) {


  .nav-inner {
    padding: 13px 0;

    flex-direction: column;

    align-items: flex-start;

    gap: 12px;
  }


  .nav-links {
    width: 100%;

    justify-content: flex-start;

    gap: 10px 18px;

    flex-wrap: wrap;
  }


  .nav-links a {
    font-size: 11px;
  }


  .hero {
    padding: 70px 0;
  }


  .hero h1 {
    font-size:
      clamp(45px, 13vw, 65px);
  }


  .hero-lead {
    font-size: 15px;
  }


  .main-photo {
    height: 285px;
  }


  .small-photo {
    height: 155px;
  }


  .quick-strip-inner {
    grid-template-columns:
      repeat(2, 1fr);
  }


  .quick-strip div {
    min-height: 65px;

    display: flex;

    align-items: center;
  }


  .section {
    padding: 70px 0;
  }


  .section-heading {
    grid-template-columns: 1fr;

    gap: 20px;
  }


  .section h2 {
    font-size: 39px;
  }


  .services-grid,
  .client-grid,
  .area-box {
    grid-template-columns: 1fr;
  }


  .simple-promise {
    grid-template-columns: 1fr;
  }


  .work-gallery {
    grid-template-columns: 1fr;

    grid-template-rows: auto;

    gap: 12px;
  }


  .gallery-large {
    grid-row: auto;
  }


  .gallery-card {
    height: 250px;
  }


  .gallery-large {
    height: 340px;
  }


  .footer-inner {
    flex-direction: column;

    align-items: flex-start;

    gap: 8px;
  }


}



/* ==========================================================
   SMALL MOBILE
   ========================================================== */

@media (max-width: 470px) {


  .container {
    width: 88%;
  }


  .hero-actions {
    flex-direction: column;
  }


  .hero-actions .button {
    width: 100%;
  }


  .hero h1 {
    font-size: 43px;
  }


  .small-photo-grid {
    grid-template-columns: 1fr;
  }


  .small-photo {
    height: 190px;
  }


  .quick-strip-inner {
    grid-template-columns: 1fr;
  }


  .quick-strip div {
    border-left:
      1px solid
      rgba(23, 61, 45, 0.13);
  }


}



/* ==========================================================
   REDUCED MOTION
   ========================================================== */

@media (prefers-reduced-motion: reduce) {


  html {
    scroll-behavior: auto;
  }


  *,
  *::before,
  *::after {
    animation-duration:
      0.01ms !important;

    animation-iteration-count:
      1 !important;

    transition-duration:
      0.01ms !important;
  }


}
