html, body {
  overflow-x: hidden;
}


:root {
    --bs-primary: #4a645b;      /* middle green, accent background */
    --bs-dark: #1e2e2a;         /* dark color for text or dark backgrounds */
    --bs-secondary: #34473f;    /* alternate background color */
    --bs-gray-400: #9ea499;     /* neutral gray */
    --bs-light: #edece9;        /* off-white */
}

body {
    margin: 0;
}

.trailer-img {
    position: absolute;
    z-index: -1;
    width: 100%;
    height: auto;
    top: 0;
    left: 0;
    object-fit: cover;
    min-height: 800px;
    box-shadow: 0 2px var(--bs-gray-400);
    display: block;
    }

    /* On smaller screens, zoom the image slightly to fill the background */
@media (max-width: 768px) {
  .trailer-img {
    transform: scale(1.3); /* zoom in 130% */
    margin-bottom: -40px; /* pull the page up slightly if text sits too low */
  }

  /* Adjust headline sizes to better fit smaller screens */
  .h1[style*="font-size: 5rem"] {
    font-size: 3rem !important;
  }

  .h1[style*="font-size: 2rem"] {
    font-size: 1.4rem !important;
  }
}
    
.nav-wrapper {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);

    background-color: white;
    border-radius: 7px;
    z-index: 1;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    width: min(1150px, 100% - 20px);
    padding: 5px 12px;
}


nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-item .nav-link {
    color: var(--bs-dark);
    font-weight: 500;
}

.nav-item .nav-link:hover {
    color: var(--bs-primary);
}

.first-header {
    margin-top: 300px;
}



.custom-header {
    display: inline-block;
    border: 1px solid var(--bs-light);
    border-radius: 15px;
    padding: 0px 15px 0px 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    font-family: 'Lobster', cursive;
    font-size: 1.5rem;
    color: var(--bs-light);
    text-align: center;
}

.standard-text {
    font-family: 'Lobster' cursive;;
    font-size: 1rem;
    text-align: center;
}

.btn-primary {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
    color: var(--bs-light);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--bs-dark);
    border-color: var(--bs-dark);
    color: var(--bs-light);
}

.image-top-container {
  margin-top: calc( /* height of your nav + desired offset */ 70px + 10px );
}

.services {
    border-radius: 15px;
    margin: 100px auto;
    background-color: var(--bs-light);
    padding: 30px;
    box-shadow: 5px 2.5px 2.5px;
}

.services:hover {
    box-shadow: 6px 3px 3px;
}

.img-crop {
    border-radius: 50%;
    width: 120px;
    height: 120px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.icon {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
    position: absolute;
    top: 0;
    left: 0;
}

.services-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.services-link:hover,
.services-link:focus,
.services-link:active {
    text-decoration: none;
    color: inherit;
    box-shadow: 6px 3px 3px var(--bs-dark);
}

.checked {
    color: orange;
}

.default-img {
    opacity: 1;
}

.hover-img {
    opacity: 0;
}


.services-link:hover .default-img {
    opacity: 0;
}
.services-link:hover .hover-img {
    opacity: 1;
}

.new-section {
    background-color: var(--bs-gray-400);
    color: var(--bs-secondary);
    width: 100%;
    margin: 0;
    padding: 30px 20px;
}


.footer-background {
    background-color: var(--bs-secondary);
    color: var(--bs-light);
    width: 100%;
    margin: 0;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 5px 5px 5px 5px black;
}


.footer-content {
    max-width: 1200px;   /* optional: keeps text nicely contained */
    margin: 0 auto;
}


.info-box {
  border-radius: 20px;
  padding: 30px;
  color: var(--bs-light);
  text-align: center;
  box-shadow: 0 3px 1px rgba(0,0,0,0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.info-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 1px rgba(0,0,0,0.25);
}

.left-box {
  background-color: var(--bs-primary); /* green side */
}

.right-box {
  background-color: var(--bs-secondary); /* black side */
}

.dont-wait-img {
    border-radius: 50px;
    width: 50%;
    height: auto;
    display: block;
    margin: 0 auto;
    border: 1px white;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 2px solid white;
  color: white;
  font-size: 20px;
  text-decoration: none;
  transition: all 0.3s ease;
}

/* Hover effect */
.social-icon:hover {
  color: white;                          /* keep icon visible */
  background: var(--bs-primary);         /* fill with green */
  border-color: var(--bs-primary);       /* border blends with fill */
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.right-box iframe {
  display: block;
  margin: 0 auto;
  width: 100%;
  max-width: 500px; /* adjust based on your desired max width */
  min-height: 700px; /* ensure it stays tall enough */
}