/* =========================================
   UAPRO CONSTRUCTION
   HOME ADDITIONS & EXTENSIONS
========================================= */

.additions-page {
  background: #071c28;
  color: #f3f0e9;
  font-family: Arial, sans-serif;
}

.additions-container {
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
}

.additions-label {
  display: block;
  color: #c6ad83;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  line-height: 1.6;
}

/* ===== HEADER ===== */

.additions-page .header {
  background: #071c28;
  z-index: 1000;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid rgba(198, 173, 131, 0.25);
}

/* ===== HERO ===== */

.additions-hero {
  position: relative;
  min-height: 660px;

  display: flex;
  align-items: center;

  padding: 165px 5% 105px;
  overflow: hidden;

  background-image:
    linear-gradient(
      90deg,
      rgba(6, 23, 34, 0.98) 0%,
      rgba(6, 23, 34, 0.9) 30%,
      rgba(6, 23, 34, 0.58) 60%,
      rgba(6, 23, 34, 0.12) 100%
    ),
    url("../assets/home%20addition.png");

  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.additions-hero-content {
  position: relative;
  z-index: 2;
  max-width: 850px;
}

.additions-title {
  position: relative;

  font-family: Georgia, serif;
  font-size: clamp(35px, 4.8vw, 72px);
  font-weight: 600;
  line-height: 1.12;

  margin: 23px 0 28px;
  padding-bottom: 19px;
}

.additions-title-line {
  display: block;
  overflow: hidden;
}

.additions-title-text {
  display: block;
  width: fit-content;
  max-width: 100%;
  color: #f3f0e9;

  clip-path: inset(0 100% 0 0);

  animation: additionsTitleReveal 0.95s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.additions-title-line:first-child .additions-title-text {
  animation-delay: 0.2s;
}

.additions-title-line:nth-child(2) .additions-title-text {
  animation-delay: 0.45s;
}

.additions-title-text.gold {
  color: #c6ad83;
}

/* ===== GOLD LINE ===== */

.additions-title::after {
  content: "";

  position: absolute;
  left: 0;
  bottom: 0;

  width: 78px;
  height: 2px;

  background: #c6ad83;

  transform: scaleX(0);
  transform-origin: left center;

  animation: additionsGoldLine 0.6s ease-out 0.95s both;
}

/* ===== HERO CONTENT ===== */

.additions-hero h2 {
  color: #f3f0e9;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 500;
  line-height: 1.45;
  margin-bottom: 22px;
}

.additions-hero-content > p {
  max-width: 560px;

  color: #d5dee2;
  font-size: 15px;
  line-height: 1.85;
  margin-bottom: 35px;
}

/* ===== HERO ENTRANCE ===== */

.additions-hero-label {
  animation: additionsFadeUp 0.6s ease-out 0.1s both;
}

.additions-hero h2 {
  animation: additionsFadeUp 0.65s ease-out 1s both;
}

.additions-hero-content > p {
  animation: additionsFadeUp 0.65s ease-out 1.15s both;
}

.additions-hero .additions-button {
  animation: additionsFadeUp 0.65s ease-out 1.3s both;
}

@keyframes additionsTitleReveal {
  from {
    clip-path: inset(0 100% 0 0);
    transform: translateX(-18px);
  }

  to {
    clip-path: inset(0 0 0 0);
    transform: translateX(0);
  }
}

@keyframes additionsGoldLine {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

@keyframes additionsFadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== BUTTON ===== */

.additions-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;

  padding: 19px 30px;

  background: #c6ad83;
  color: #071c28;

  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-decoration: none;

  transition:
    background 0.3s ease,
    transform 0.3s ease;
}

.additions-button span {
  font-size: 19px;
  line-height: 1;
}

.additions-button:hover {
  background: #e2c99f;
  transform: translateY(-2px);
}

.additions-button:focus-visible {
  outline: 2px solid #f3f0e9;
  outline-offset: 4px;
}

/* ===== WHAT WE BUILD ===== */

.additions-services {
  background: #071c28;
  padding: 100px 0 110px;
}

.additions-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 55px;

  margin: 18px 0 48px;
}

.additions-section-heading h2 {
  font-family: Georgia, serif;
  font-size: clamp(30px, 3vw, 44px);
  font-weight: 400;
  line-height: 1.2;

  max-width: 770px;
  color: #f3f0e9;
}

.additions-section-heading h2 span {
  color: #c6ad83;
}

.additions-section-heading p {
  color: #b8c1c7;
  font-size: 14px;
  line-height: 1.85;
  max-width: 420px;
}

/* ===== ADDITION TYPES ===== */

.additions-types-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.addition-type-card {
  min-width: 0;

  padding: 35px 34px;

  background: #102733;
  border: 1px solid rgba(198, 173, 131, 0.2);

  transition:
    border-color 0.3s ease,
    background 0.3s ease;
}

.addition-type-card:hover {
  border-color: #c6ad83;
  background: #142e3b;
}

.addition-type-number {
  display: block;

  color: #c6ad83;
  font-family: Georgia, serif;
  font-size: 25px;

  margin-bottom: 20px;
}

.addition-type-card h3 {
  color: #f3f0e9;

  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.8px;
  line-height: 1.5;

  margin-bottom: 13px;
}

.addition-type-card p {
  color: #b8c1c7;
  font-size: 13px;
  line-height: 1.8;
  max-width: 480px;
}

/* ===== COMPLETE CONSTRUCTION ===== */

.additions-scope {
  background: #102733;
  padding: 105px 0 115px;
}

.additions-scope h2 {
  font-family: Georgia, serif;
  font-size: clamp(32px, 3.3vw, 48px);
  font-weight: 400;
  line-height: 1.2;

  color: #f3f0e9;
  margin: 20px 0 25px;
}

.additions-scope h2 span {
  color: #c6ad83;
}

.additions-scope-intro {
  color: #c5ced2;

  font-size: 15px;
  line-height: 1.9;

  max-width: 710px;
  margin-bottom: 48px;
}

.additions-scope-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 0 45px;
  list-style: none;
  padding: 0;
}

.additions-scope-grid li {
  display: flex;
  align-items: center;
  gap: 15px;

  padding: 22px 0;

  border-bottom: 1px solid rgba(198, 173, 131, 0.22);

  color: #f3f0e9;
  font-size: 14px;
  line-height: 1.5;
}

.additions-scope-grid li::before {
  content: "✓";

  display: flex;
  align-items: center;
  justify-content: center;

  width: 24px;
  height: 24px;

  flex-shrink: 0;

  border: 1px solid #c6ad83;
  border-radius: 50%;

  color: #c6ad83;
  font-size: 13px;
}

/* ===== FINAL CTA ===== */

.additions-cta {
  background: #071c28;

  padding: 105px 5%;
  text-align: center;
}

.additions-cta h2 {
  color: #f3f0e9;

  font-family: Georgia, serif;
  font-size: clamp(30px, 3.2vw, 46px);
  font-weight: 400;
  line-height: 1.2;

  margin: 20px 0;
}

.additions-cta .additions-container > p:not(.additions-contact) {
  max-width: 650px;

  margin: 0 auto 35px;

  color: #c5ced2;
  font-size: 15px;
  line-height: 1.8;
}

.additions-contact {
  color: #b8c1c7;

  font-size: 12px;
  letter-spacing: 0.4px;

  margin-top: 35px;
}

.additions-contact span {
  color: #c6ad83;
  padding: 0 10px;
}

/* ===== SCROLL REVEAL ===== */

.additions-page.js-reveal-enabled .additions-reveal {
  opacity: 0;
  transform: translateY(25px);

  transition:
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(0.2, 0.75, 0.25, 1);
}

.additions-page.js-reveal-enabled .additions-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== TABLET ===== */

@media (max-width: 1000px) {
  .additions-hero {
    min-height: 590px;
  }

  .additions-section-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .additions-types-grid {
    gap: 18px;
  }
}

/* ===== MOBILE ===== */

@media (max-width: 600px) {
  .additions-container {
    width: 90%;
  }

  .additions-label {
    font-size: 10px;
    letter-spacing: 1.5px;
  }

  .additions-hero {
    min-height: 620px;
    padding: 135px 5% 70px;

    background-image:
      linear-gradient(90deg, rgba(6, 23, 34, 0.94), rgba(6, 23, 34, 0.65)),
      url("../assets/home%20addition.png");

    background-position: center;
  }

  .additions-title {
    font-size: clamp(30px, 8vw, 42px);
    line-height: 1.15;
    padding-bottom: 15px;
  }

  .additions-title::after {
    width: 55px;
  }

  .additions-hero h2 {
    font-size: 17px;
  }

  .additions-hero-content > p {
    font-size: 14px;
  }

  .additions-services {
    padding: 70px 0 80px;
  }

  .additions-section-heading h2 {
    font-size: clamp(27px, 7vw, 34px);
  }

  .additions-types-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .addition-type-card {
    padding: 28px 23px;
  }

  .additions-scope {
    padding: 75px 0;
  }

  .additions-scope h2 {
    font-size: clamp(27px, 7vw, 34px);
  }

  .additions-scope-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .additions-scope-grid li {
    padding: 18px 0;
  }

  .additions-cta {
    padding: 80px 5%;
  }

  .additions-cta h2 {
    font-size: clamp(27px, 7vw, 34px);
  }

  .additions-button {
    padding: 17px 22px;
    gap: 16px;
  }
}

/* ===== ACCESSIBILITY ===== */

@media (prefers-reduced-motion: reduce) {
  .additions-page *,
  .additions-page *::before,
  .additions-page *::after {
    animation: none !important;
    transition: none !important;
  }

  .additions-title-text {
    clip-path: none !important;
    transform: none !important;
  }

  .additions-title::after {
    transform: scaleX(1) !important;
  }

  .additions-page.js-reveal-enabled .additions-reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}
