* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --green-dark: #1f4d2e;
  --green-mid: #2c6b3f;
  --green-pale: #dcebe0;
  --gold: #d9a441;
  --gold-dark: #b8842a;
  --cream: #faf7f0;
  --ink: #1c2620;
  --footer-bg: #14231a;
  --white: #ffffff;
  --font-display: 'Montserrat', sans-serif;
  --font-body: 'Fira Sans', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  padding-top: 4.5rem;
  background-color: var(--cream);
  font-family: var(--font-body);
  color: var(--ink);
  line-height: 1.5;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

/* ---------- Nav ---------- */

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 5.5rem;
  background-color: var(--green-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 5vh;
  z-index: 1000;
  border-bottom: 3px solid var(--gold);
}

.topbar .wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.logo {
  color: var(--white);
  font-weight: 700;
  font-family: var(--font-display);
  letter-spacing: 0.01em;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.35);
  white-space: nowrap;
  font-size: clamp(1.05rem, 3vw, 1.5rem);
}

.LogoImage {
  width: auto;
  max-width: 5.5rem;
  max-height: 5.5rem;
  height: auto;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.menu-toggle .bar {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--white) !important;
  border-radius: 10px;
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    padding: 1.5rem 0;

    position: fixed;
    top: -300px;
    left: 0;
    width: 100%;
    height: auto;
    background-color: var(--green-dark);
    z-index: 999;
    transition: top 0.4s ease;
    border-bottom: 3px solid var(--gold);
  }

  .nav-links.active {
    top: 5.53rem;
  }

  .nav-links li {
    padding: 0;
    width: 100%;
    text-align: center;
  }

  .nav-links a {
    font-size: 1.15rem;
    display: block;
    padding: 0.5rem 0;
  }

  .menu-toggle.active .bar:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
  }
  .menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
  }
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  padding: 0 1rem;
}

.nav-links a {
  color: var(--white);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.01em;
  transition: color 0.2s ease;
}

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

/* ---------- Layout ---------- */

.main-content {
  padding-top: 0;
}

.Main {
  background-color: var(--cream);
  padding: 0 0 3rem;
}

/* ---------- Green BG Part ---------- */

.GreenBackground {
  background: var(--green-dark);
  padding: 3rem 1.5rem;
  margin-bottom: 2.5rem;
  position: relative;
  overflow: hidden;
}

.GreenBackground h1,
.GreenBackground .BodyTextHolder {
  position: relative;
}

.GreenBackground h1 {
  color: var(--white);
}

.GreenBackground .BodyTextHolder p {
  color: var(--green-pale);
}

.GreenBackground .BodyTextHolder a {
  color: var(--gold);
}

.GreenBackground .BodyTextHolder a:hover {
  color: var(--white);
}

/* ---------- Headings ---------- */

h1 {
  color: var(--green-dark);
  font-weight: 800;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  letter-spacing: -0.01em;
  line-height: 1.2;
  text-align: center;
}

h2 {
  color: var(--green-dark);
  font-weight: 700;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 3vw, 1.5rem);
  text-align: center;
  display: table;
  margin: 0 auto 1.5rem;
  padding-bottom: 0.4rem;
  border-bottom: 3px solid var(--gold);
}

p {
  font-size: 1rem;
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.65;
  text-align: center;
}

.BodyTextHolder {
  max-width: 640px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
}

.BodyTextHolder p {
  color: var(--ink);
  font-size: clamp(1rem, 1.6vw, 1.1rem);
}

.BodyTextHolder a {
  color: var(--green-mid);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.BodyTextHolder a:hover {
  color: var(--green-dark);
}

.services {
  padding: 0 1.5rem;
}

/* ---------- Slider ---------- */

.slider-container {
  width: 100%;
  max-width: 800px;
  aspect-ratio: 2 / 1;
  overflow: hidden;
  margin: 0 auto 1rem;
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(31, 77, 46, 0.22);
}

.slider-wrapper {
  display: flex;
  width: 700%; 
  height: 100%;
  animation: slideAnimation 24s infinite ease-in-out;
}

.slider-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .slider-wrapper {
    animation: none;
  }
}

@keyframes slideAnimation {
  /* Slide 1 */
  0%, 13% { transform: translateX(0); }

  /* Slide 2 */
  16%, 29% { transform: translateX(-14.28%); }

  /* Slide 3 */
  32%, 45% { transform: translateX(-28.56%); }

  /* Slide 4 */
  48%, 61% { transform: translateX(-42.84%); }

  /* Slide 5 */
  64%, 77% { transform: translateX(-57.12%); }

  /* Slide 6 */
  80%, 93% { transform: translateX(-71.4%); }

  /* Reset */
  100% { transform: translateX(-85.68%); }
}

.slider-container2 {
  width: 100%;
  max-width: 800px;
  aspect-ratio: 2 / 1;
  overflow: hidden;
  margin: 0 auto 1rem;
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(31, 77, 46, 0.22);
}

.slider-wrapper2 {
  display: flex;
  width: 500%; 
  height: 100%;
  animation: slideAnimation2 16s infinite ease-in-out; 
}

.slider-wrapper2 img {
  width: 20%;
  height: 100%;
  object-fit: cover;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .slider-wrapper2 {
    animation: none;
  }
}

@keyframes slideAnimation2 {
  /* Slide 1  */
  0%, 20% { transform: translateX(0); }

  /* Slide 2  */
  25%, 45% { transform: translateX(-20%); }

  /* Slide 3  */
  50%, 70% { transform: translateX(-40%); }

  /* Slide 4 */
  75%, 95% { transform: translateX(-60%); }

  /* Reset */
  100% { transform: translateX(-80%); }
}

.slider-wrapper3 {
  display: flex;
  width: 900%;         
  height: 100%;
  animation: slideAnimation3 36s infinite ease-in-out;
}

.slider-wrapper3 img {
  width: 11.111%;       
  height: 100%;
  object-fit: cover;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .slider-wrapper3 {
    animation: none;
  }
}

@keyframes slideAnimation3 {
  /* Slide 1 */
  0%, 8.5%     { transform: translateX(0); }
  /* Slide 2 */
  12.5%, 21%   { transform: translateX(-11.1111%); }
  /* Slide 3 */
  25%, 33.5%   { transform: translateX(-22.2222%); }
  /* Slide 4 */
  37.5%, 46%   { transform: translateX(-33.3333%); }
  /* Slide 5 */
  50%, 58.5%   { transform: translateX(-44.4444%); }
  /* Slide 6 */
  62.5%, 71%   { transform: translateX(-55.5555%); }
  /* Slide 7 */
  75%, 83.5%   { transform: translateX(-66.6666%); }
  /* Slide 8 */
  87.5%, 96%   { transform: translateX(-77.7777%); }

  /* Reset  */
  100% { transform: translateX(-88.8888%); }
}

.slider-wrapper4 { 
  display: flex; 
  width: 1100%; 
  height: 100%; 
  animation: slideAnimation4 40s infinite ease-in-out; 
}

.slider-wrapper4 .slide {
  flex: 0 0 9.090909%;
  width: 9.090909%;
  overflow: hidden; 
}

.slider-wrapper4 .slide img {
  width: 102%;
  height: 102%;
  margin: -1%;
  object-fit: cover;
  display: block;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

@media (prefers-reduced-motion: reduce) { 
  .slider-wrapper4 { 
    animation: none; 
  } 
}

@keyframes slideAnimation4 { 
  /* Slide 1 */ 
  0%, 8% { transform: translateX(0); } 
  
  /* Slide 2 */ 
  10%, 18% { transform: translateX(-9.090909%); } 
  
  /* Slide 3 */ 
  20%, 28% { transform: translateX(-18.181818%); } 
  
  /* Slide 4 */ 
  30%, 38% { transform: translateX(-27.272727%); } 
  
  /* Slide 5 */ 
  40%, 48% { transform: translateX(-36.363636%); } 
  
  /* Slide 6 */ 
  50%, 58% { transform: translateX(-45.454545%); } 
  
  /* Slide 7 */ 
  60%, 68% { transform: translateX(-54.545454%); } 
  
  /* Slide 8 */ 
  70%, 78% { transform: translateX(-63.636363%); } 
  
  /* Slide 9 */ 
  80%, 88% { transform: translateX(-72.727272%); } 
  
  /* Slide 10 */ 
  90%, 98% { transform: translateX(-81.818181%); } 
  
  /* Reset */ 
  100% { transform: translateX(-90.909090%); } 
}

.slide {
  position: relative;
  width: 20%;
  height: 100%;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.image-label {
  position: absolute;
  top: 4%;
  left: 4%;
  background-color: rgba(0, 0, 0, 0.6);
  color: #ffffff;
  padding: 1.5% 3%;
  font-family: sans-serif;
  font-size: max(12px, 1.2vw);
  font-weight: bold;
  text-transform: uppercase;
  border-radius: 4px;
  letter-spacing: 1px;
  pointer-events: none;
}

/* ---------- Generic image grid ---------- */

.ImageHolder {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  margin: auto;
  padding: 0 1.5rem;
}

.GenericImage {
  width: 100%;
  max-width: 600px;
  overflow: hidden;
  margin: 0 auto 1rem;
  border-radius: 12px;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.25);
}

.GenericImage:hover {
  transform: scale(1.015);
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.35);
}

/* ---------- Footer Stuff ---------- */

.footer {
  border-top: 3px solid var(--gold);
  background-color: var(--footer-bg);
  padding: 1.5rem 1rem;
  text-align: center;
}

.footerTitleText {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  font-family: var(--font-display);
  margin-bottom: 0.5rem;
}

.footerText {
  font-size: 0.875rem;
  color: var(--green-pale);
  font-family: var(--font-body);
}

.FooterLinks {
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
}

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

/* ------Form Stuff-----*/

.contact-form {
  max-width: 420px;
  margin: 1rem auto 0;
  text-align: left;
}

.form-field label {
  display: block;
  text-align:center;
  margin-bottom: 0.4rem;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
}

.form-field input {
  width: 100%;
  padding: 0.65rem 0.9rem;
  border: 2px solid var(--green-pale);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 1rem;
  background-color: var(--white);
  color: var(--ink);
}

.form-field {
  margin-bottom: 1.1rem;
}

.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.65rem 0.9rem;
  border: 2px solid var(--green-pale);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 1rem;
  background-color: var(--white);
  color: var(--ink);
}

.form-field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--green-dark) 50%),linear-gradient(135deg, var(--green-dark) 50%, transparent 50%);
  background-position: calc(100% - 20px) center, calc(100% - 15px) center;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  cursor: pointer;
}

.form-field textarea {
  resize: vertical;
  min-height: 120px;
  font-family: var(--font-body);
}

.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.submit-button {
  display: block;
  width: 100%;
  margin-top: 1.5rem;
  padding: 0.85rem 1.75rem;
  background-color: var(--green-dark);
  color: var(--gold);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  border: 2px solid var(--gold);
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.submit-button:hover {
  background-color: var(--gold);
  color: var(--green-dark);
  border-color: var(--green-dark);
  transform: translateY(-2px);
}

.submit-button:focus-visible {
  outline: 3px solid var(--green-dark);
  outline-offset: 2px;
}

/* Pop Up*/
.popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(28, 38, 32, 0.6);
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.popup-overlay.active {
  display: flex;
}

.popup-box {
  background-color: var(--cream);
  border: 3px solid var(--gold);
  border-radius: 12px;
  padding: 2rem;
  max-width: 360px;
  text-align: center;
  box-shadow: 0 12px 28px rgba(31, 77, 46, 0.3);
}

.popup-box p {
  color: var(--ink);
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
}

.popup-close {
  padding: 0.6rem 1.5rem;
  background-color: var(--green-dark);
  color: var(--gold);
  font-family: var(--font-display);
  font-weight: 700;
  border: 2px solid var(--gold);
  border-radius: 999px;
  cursor: pointer;
}

.popup-close:hover {
  background-color: var(--gold);
  color: var(--green-dark);
  border-color: var(--green-dark);
}

.checkbox-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
  max-width: 420px;
  margin: 1.25rem auto;
}

.checkbox-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border: 2px solid var(--green-pale);
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.95rem;
  color: var(--ink);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.checkbox-option:hover {
  border-color: var(--gold);
}

.checkbox-option input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--green-dark);
  cursor: pointer;
  flex-shrink: 0;
}

.checkbox-option:has(input:checked) {
  border-color: var(--green-dark);
  background-color: var(--green-pale);
}

@media (max-width: 480px) {
  .checkbox-group {
    grid-template-columns: 1fr;
  }
}

