/* ================================
   CUSTOM PROPERTIES
   ================================ */
:root {
  --color-primary: #1b4209;
  --color-secondary: #386b20;
  --color-accent: #1b4209;
  --color-black: #2b2b2b;
  --color-white: #ffffff;
  --color-light-gray: #e6e6e6;
  --color-dark-gray: #404040;
  --color-gray: #808080;
  --color-error: #aa3c3c;
  --color-primary-opacity: rgba(27, 66, 9, 0.4);
  --color-secondary-opacity: rgba(56, 107, 32, 0.4);
  --color-black-opacity: rgba(0, 0, 0, 0.25);
  --color-white-opacity: rgba(255, 255, 255, 0.25);
  --font-heading: "Kaushan Script", cursive;
  --font-body: "Montserrat", sans-serif;
  --container-max: 75rem;
  --container-pad: 1.25rem;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  color: var(--color-black);
  line-height: 1.3;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul,
ol {
  list-style: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ================================
   TYPE SCALE
   ================================ */
/* Type Scale: Major Third (1.25) - 16px base, 16px body at 320px, 18px body at 1920px viewport */
body {
  font-size: clamp(1rem, 0.975rem + 0.125vw, 1.125rem);
} /* 16px to 18px */

h3 {
  font-size: clamp(1.5625rem, 1.5234rem + 0.1953vw, 1.7578rem);
} /* 25px to 28.13px */

h2 {
  font-size: clamp(1.9531rem, 1.9043rem + 0.2442vw, 2.1973rem);
} /* 31.25px to 35.16px */

h1 {
  font-size: clamp(2.4414rem, 2.3804rem + 0.3052vw, 2.7466rem);
} /* 39.06px to 43.95px */

/* ================================
   CONTAINER
   ================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

/* ================================
   SKIP LINK
   ================================ */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  padding: 0.75rem 1.5rem;
  background-color: var(--color-accent);
  color: var(--color-white);
  font-weight: 700;
  border-radius: 0.375rem;
  text-decoration: none;
  font-size: 0.9375rem;
}

.skip-link:focus {
  top: 1rem;
  color: var(--color-white);
  text-decoration: none;
}

/* ================================
   BUTTONS
   ================================ */
.btn {
  display: inline-block;
  text-align: center;
  letter-spacing: 0.125em;
  text-transform: uppercase;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  padding: 0.625rem 2.5rem;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

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

.btn--primary:hover {
  background-color: var(--color-secondary);
  color: var(--color-white);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.btn--primary:focus-visible {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
}

/* ================================
   SCROLLOUT ANIMATIONS
   ================================ */
[data-scroll] {
  transition:
    opacity 0.8s,
    transform 0.8s;
}

[data-scroll="in"] {
  opacity: 1;
  transform: translateY(0);
}

[data-scroll="out"] {
  opacity: 0;
  transform: translateY(50px);
}

[data-scroll-effect="scale"] img {
  transition: transform 1.2s ease-out;
}

[data-scroll="out"][data-scroll-effect="scale"] img {
  transform: scale(1.3);
}

[data-scroll="in"][data-scroll-effect="scale"] img {
  transform: scale(1);
}

[data-scroll][data-scroll-effect="scale"] {
  transform: none !important;
}

/* ================================
   SITE HEADER
   ================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 99;
  background-color: var(--color-white);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.site-header--scrolled {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.site-header__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 1rem;
  padding-bottom: 1rem;
  gap: 0.5rem;
}

.site-header__logo {
  display: flex;
  align-items: center;
  max-width: 12.5rem;
}

.site-header__logo img {
  width: 100%;
  height: auto;
}

.site-header__phone {
  display: block;
  color: var(--color-black);
  text-decoration: none;
  font-weight: 600;
  font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
}

.site-header__actions {
  display: none;
  align-items: center;
  gap: 0.5rem;
}

.site-header__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.625rem 1.875rem;
}

.site-header__cta .material-symbols-outlined {
  font-size: 1.25rem;
  line-height: 1;
}

.site-header__burger {
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  border: 1px solid var(--color-light-gray);
  background-color: var(--color-white);
}

.site-header__burger .material-symbols-outlined {
  font-size: 1.5rem;
  color: var(--color-black);
}

/* ================================
   MOBILE NAV
   ================================ */
.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 100;
  width: min(25rem, 90%);
  height: 100vh;
  background-color: var(--color-white);
  background-image:
    linear-gradient(297deg, transparent, rgba(255, 255, 255, 0.75) 98%),
    linear-gradient(rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.75)),
    url("images/AA9988456545.webp");
  background-position: 0 0, 0 0, 50%;
  background-repeat: repeat, repeat, no-repeat;
  background-size: auto, auto, cover;
  padding: 8.75rem 3rem 2.5rem 3rem;
  overflow-y: auto;
  box-shadow: -4px 0 12px rgba(0, 0, 0, 0.15);
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.mobile-nav[aria-hidden="false"] {
  transform: translateX(0);
}

.mobile-nav__title {
  text-transform: uppercase;
  margin-bottom: 2.5rem;
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
}

.mobile-nav ul {
  display: flex;
  flex-direction: column;
}

.mobile-nav a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0.3125rem;
  font-size: 1.25rem;
  letter-spacing: -0.015em;
  transition: color 0.3s;
}

.mobile-nav a:hover {
  color: var(--color-primary);
}

.mobile-nav a.is-active {
  color: var(--color-primary);
}

.mobile-nav__cta {
  margin-top: 1.5rem;
  width: 100%;
  display: flex;
  justify-content: center;
}

/* ================================
   HERO
   ================================ */
.hero {
  position: relative;
  height: 95vh;
  background-image: url("images/demo-image-1.webp");
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
    rgba(0, 0, 0, 0.1) 28%,
    rgba(36, 36, 36, 0.85)
  );
}

.hero__inner {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.hero__content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
  padding-left: 1rem;
  padding-right: 1rem;
}

.hero__subtitle {
  position: relative;
  z-index: 5;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-bottom: 0.625rem;
}

.hero__subtitle-line {
  display: flex;
  flex: 0 0 4.6875rem;
  height: 1px;
  background-color: var(--color-white);
}

.hero__subtitle-text {
  color: var(--color-white);
  text-align: center;
  letter-spacing: 0.125em;
  text-transform: uppercase;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.6);
  margin-bottom: 0;
  padding-left: 0.9375rem;
  padding-right: 0.9375rem;
  font-size: clamp(1rem, 0.9rem + 0.5vw, 1.25rem);
  font-weight: 300;
}

.hero__title-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero__title {
  position: relative;
  z-index: 6;
  font-family: var(--font-heading);
  color: var(--color-white);
  text-align: center;
  letter-spacing: -0.125rem;
  text-transform: capitalize;
  text-shadow: 0 2px 2px rgba(0, 0, 0, 0.6);
  margin-top: 0;
  font-size: clamp(3.5rem, 2rem + 10vw, 10.5625rem);
  font-weight: 200;
  line-height: 1;
  max-width: 100%;
  word-break: break-word;
}

.hero__tagline {
  position: relative;
  z-index: 5;
  color: var(--color-white);
  text-align: center;
  letter-spacing: clamp(0.3em, 0.2em + 0.8vw, 1.125em);
  text-transform: uppercase;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.6);
  margin: 0.625rem auto 1.25rem;
  font-size: clamp(1.25rem, 0.8rem + 2vw, 3.4375rem);
  font-weight: 400;
  max-width: 100%;
}

/* ================================
   WELCOME
   ================================ */
.welcome {
  background-image: linear-gradient(
    90deg,
    var(--color-black-opacity),
    rgba(115, 115, 115, 0) 10%,
    rgba(163, 163, 163, 0) 90%,
    var(--color-black-opacity)
  );
  padding-top: 3.75rem;
  padding-bottom: 3.75rem;
}

.welcome__inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-width: 43.75rem;
  margin-left: auto;
  margin-right: auto;
  padding: 1.25rem;
}

.welcome__heading {
  font-family: var(--font-heading);
  text-align: center;
  margin-bottom: 1.25rem;
  font-size: clamp(1.75rem, 1.25rem + 2.5vw, 2.75rem);
}

.welcome__text {
  text-align: center;
  font-size: clamp(1rem, 0.975rem + 0.125vw, 1.125rem);
  line-height: 1.6;
}

/* ================================
   FEATURED SERVICE
   ================================ */
.featured-service {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.featured-service--alt {
  background-image:
    linear-gradient(
      rgba(255, 255, 255, 0.5),
      rgba(255, 255, 255, 0.5)
    ),
    url("images/White-abstract-background-design-Graphics-29375060-1_1.webp");
  background-position: 0 0, 50%;
  background-size: auto, cover;
}

.featured-service__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.featured-service__content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  justify-content: center;
  align-items: flex-start;
  padding: 2.5rem 1.25rem;
}

.featured-service__title {
  font-family: var(--font-heading);
  color: var(--color-primary);
  margin-top: 0.625rem;
  margin-bottom: 0.625rem;
  font-size: clamp(1.75rem, 1.25rem + 2.5vw, 2.5rem);
}

.featured-service__subtitle {
  color: var(--color-secondary);
  letter-spacing: 0.125em;
  text-transform: uppercase;
  font-size: 1rem;
  font-weight: 600;
}

.featured-service__list {
  list-style: disc;
  padding-left: 1.25rem;
}

.featured-service__list li {
  margin-bottom: 0.625rem;
  line-height: 1.5;
}

.featured-service__list li strong {
  font-weight: 700;
}

.featured-service__image-wrap {
  position: relative;
  width: 100%;
  min-height: 25rem;
  overflow: hidden;
}

.featured-service__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ================================
   CONTACT
   ================================ */
.contact {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.contact__header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 3.75rem;
  gap: 1.5rem;
}

.contact__tagline {
  text-transform: uppercase;
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 0;
}

.contact__title {
  background-image: linear-gradient(
    90deg,
    var(--color-primary),
    var(--color-accent) 27%,
    var(--color-secondary) 55%
  );
  letter-spacing: 0.0625em;
  text-transform: uppercase;
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  padding-bottom: 0.625rem;
  font-size: clamp(2rem, 1.25rem + 4vw, 4.5rem);
  font-weight: 900;
  line-height: 1;
  word-break: break-word;
}

.contact__description {
  text-transform: uppercase;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1;
  margin-bottom: 0;
}

.contact__phone-link {
  display: flex;
  flex-flow: row;
  justify-content: space-between;
  align-items: center;
  gap: 0.625rem;
  padding: 1.25rem;
  text-decoration: none;
  color: var(--color-black);
}

.contact__phone-icon {
  font-size: 2rem;
  color: var(--color-primary);
}

.contact__phone-number {
  font-size: clamp(1.5rem, 1rem + 2.5vw, 2.75rem);
  font-weight: 600;
}

.contact__form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  background-color: var(--color-white);
  padding: 0;
  box-shadow: none;
}

.contact__form {
  display: flex;
  flex-direction: column;
}

.contact__fields {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem 1.5rem;
  margin-bottom: 1.5rem;
}

.contact__field-group {
  display: flex;
  flex-direction: column;
}

.contact__label {
  color: #171717;
  margin-bottom: 0.375rem;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
}

.contact__required {
  color: var(--color-error);
}

.contact__input,
.contact__textarea {
  color: #171717;
  background-color: var(--color-white);
  border: 1px solid var(--color-light-gray);
  min-height: 3.5rem;
  padding: 1rem;
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.5;
  font-family: var(--font-body);
}

.contact__input::placeholder,
.contact__textarea::placeholder {
  color: #737373;
}

.contact__input:focus,
.contact__textarea:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 1px;
}

.contact__textarea {
  min-height: 7.5rem;
  resize: vertical;
}

.contact__checkbox-wrap {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  margin-top: 0.75rem;
}

.contact__checkbox {
  appearance: none;
  width: 1rem;
  height: 1rem;
  border: 1px solid #171717;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 0.125rem;
  cursor: pointer;
}

.contact__checkbox:checked {
  background-color: #171717;
}

.contact__checkbox:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.contact__checkbox-label {
  color: var(--color-black);
  font-size: 0.75rem;
  line-height: 1.2;
}

.contact__checkbox-label a {
  color: var(--color-black);
  text-decoration: underline;
}

.contact__image-wrap {
  position: relative;
  min-height: 25rem;
  overflow: hidden;
}

.contact__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ================================
   INTERIOR HERO
   ================================ */
.interior-hero {
  position: relative;
  z-index: 1;
  background-color: var(--color-primary);
  background-image: linear-gradient(
    rgba(0, 0, 0, 0.2),
    rgba(255, 255, 255, 0.2)
  );
  height: 40vh;
}

.interior-hero__inner {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  height: 100%;
  padding-left: 0.625rem;
  padding-right: 0.625rem;
}

.interior-hero__content {
  margin-bottom: 3.75rem;
}

.interior-hero__title {
  color: var(--color-white);
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 1);
  margin-bottom: 0.625rem;
  font-size: clamp(2rem, 1.5rem + 2.5vw, 3rem);
  font-weight: 800;
  line-height: 1;
}

.interior-hero__line {
  background-color: transparent;
  background-image: linear-gradient(
    to right,
    transparent,
    var(--color-white) 50%,
    transparent
  );
  width: 75%;
  height: 2px;
  margin: 0 auto 1.25rem;
}

/* ================================
   CONTENT SECTION
   ================================ */
.content-section {
  background-color: var(--color-white);
  padding-top: 3.75rem;
  padding-bottom: 6.25rem;
}

.content-section__body {
  margin-bottom: 6.25rem;
}

.content-section__body h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.content-section__body h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.content-section__body p {
  margin-bottom: 1rem;
  font-size: 1.125rem;
  line-height: 1.6;
}

.content-section__body ul {
  list-style: disc;
  padding-left: 2rem;
  margin-bottom: 1rem;
}

.content-section__body ul li {
  margin-bottom: 0.5rem;
  font-size: 1.125rem;
  line-height: 1.5;
}

.content-section__body a {
  color: var(--color-primary);
  text-decoration: underline;
}

.content-section__body a:hover {
  color: var(--color-secondary);
}

/* ================================
   SITE FOOTER
   ================================ */
.site-footer {
  background-color: var(--color-black);
  background-image: linear-gradient(
    180deg,
    var(--color-primary-opacity),
    var(--color-secondary-opacity)
  );
  padding-top: 3.75rem;
  padding-bottom: 3.75rem;
  position: relative;
}

.site-footer__top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.site-footer__logo {
  border: 2px solid var(--color-black);
  background-color: var(--color-white);
  max-width: 12.5rem;
  padding: 0.3125rem;
  display: block;
}

.site-footer__logo img {
  width: 100%;
  height: auto;
}

.site-footer__nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.site-footer__nav a {
  color: var(--color-white);
  letter-spacing: -0.02em;
  font-size: 0.875rem;
  line-height: 1.8;
  text-decoration: none;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  transition: color 0.3s;
}

.site-footer__nav a:hover {
  color: var(--color-light-gray);
}

.site-footer__nav a:focus-visible {
  outline: 2px solid var(--color-white);
  outline-offset: 2px;
}

.site-footer__nav-divider {
  background-color: var(--color-white);
  width: 1px;
  height: 1rem;
}

.site-footer__divider {
  background-color: var(--color-white-opacity);
  width: 100%;
  height: 1px;
  margin-top: 3rem;
  margin-bottom: 2.5rem;
}

.site-footer__bottom {
  text-align: center;
}

.site-footer__copy {
  color: var(--color-gray);
  letter-spacing: -0.02em;
  margin-bottom: 0;
  font-size: 0.875rem;
  line-height: 1.8;
}

.site-footer__copy a {
  color: var(--color-gray);
  text-decoration: none;
  transition: color 0.3s;
}

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

.site-footer__powered-by {
  display: block;
  color: var(--color-gray);
  font-size: 0.75rem;
  margin-top: 0.5rem;
  text-decoration: none;
  transition: color 0.3s;
}

.site-footer__powered-by:hover {
  color: var(--color-white);
}

/* ================================
   RESPONSIVE - TABLET (48rem / 768px)
   ================================ */
@media (min-width: 48rem) {
  .site-header__inner {
    flex-direction: row;
    justify-content: space-between;
    padding-top: 0.625rem;
    padding-bottom: 0.625rem;
    gap: 0;
  }

  .site-header__phone {
    display: none;
  }

  .site-header__actions {
    display: flex;
  }

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

  .contact__field-group--full {
    grid-column: 1 / -1;
  }

  .contact__form-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 2.5rem;
    box-shadow: 4px 2px 8px 3px rgba(0, 0, 0, 0.2);
  }

  .featured-service__grid {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }

  .featured-service--reverse .featured-service__image-wrap {
    order: -1;
  }

  .featured-service__image-wrap {
    min-height: 31.25rem;
  }

  .featured-service__content {
    padding: 2.5rem;
  }

  .contact__header {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }

  .site-footer__top {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* ================================
   RESPONSIVE - DESKTOP (62rem / 992px)
   ================================ */
@media (min-width: 62rem) {
  .hero__title {
    font-size: clamp(7rem, 5rem + 6vw, 10.5625rem);
  }

  .featured-service__content {
    padding: 2.5rem 3.75rem;
  }
}

/* ================================
   RESPONSIVE - LARGE DESKTOP (90rem / 1440px)
   ================================ */
@media (min-width: 90rem) {
  .container {
    max-width: 90rem;
  }

  .featured-service__content {
    padding: 2.5rem 3.75rem;
  }
}

/* ================================
   FOCUS STYLES
   ================================ */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* ================================
   REDUCED MOTION
   ================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
