/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* HEADER */
.site-header {
  background: #415a77;
  width: 100%;
}

.container {
  max-width: 1800px;
  margin: 0 auto;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
}

.logo img {
  height: 80px;
  width: auto;
  display: block;
}

/* LEFT HEADER GROUP */
.header-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-contact {
  color: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
}

.header-contact-title {
  font-size: 1.1rem;
  font-weight: bold;
}

.header-contact-details {
  font-size: 0.9rem;
  display: flex;
  flex-direction: column;
  line-height: 1.4;
}

/* BUSINESS NAME */
.BusinessName {
  font-family: Arial, Helvetica, sans-serif;
  color: #ffffff;
  font-size: xx-large;
  white-space: nowrap;
}

/* NAVIGATION */
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.main-nav a {
  text-decoration: none;
  color: #ffffff;
  font-size: larger;
  font-family: Arial, Helvetica, sans-serif;
}

.main-nav a:hover {
  color: slategray;
}

/* HAMBURGER */
.menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

/* MOBILE HEADER */
@media (max-width: 900px) {
  .container {
    flex-wrap: wrap;
  }

  .BusinessName {
    font-size: large;
    width: 100%;
    text-align: center;
    margin-top: 0.5rem;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    width: 100%;
    display: none;
  }

  .main-nav ul {
    flex-direction: column;
    background: #415a77;
    padding: 1rem 0;
    margin-top: 1rem;
  }

  .main-nav li {
    text-align: center;
    padding: 0.75rem 0;
  }

  .main-nav.show {
    display: block;
  }

  .header-left {
    width: 100%;
    justify-content: space-between;
  }

  .header-contact {
    text-align: right;
  }
}

/* SLIDESHOW */
.slideshow {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.slideshow::before {
  content: "";
  display: block;
  padding-top: 30%;
}

.slideshow img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: fade 12s infinite;
}

.slideshow img:nth-child(1) { animation-delay: 0s; }
.slideshow img:nth-child(2) { animation-delay: 4s; }
.slideshow img:nth-child(3) { animation-delay: 8s; }

@keyframes fade {
  0%, 25% { opacity: 1; }
  33%, 100% { opacity: 0; }
}

.mail-button {
  background-color: #415a77; /* Button background color */
  border: none; /* Remove default link border */
  color: white; /* Text color */
  padding: 15px 32px; /* Space between text and border */
  text-align: center; /* Center the text */
  text-decoration: none; /* Remove the default underline */
  display: inline-block; /* Allows padding and margin to work correctly */
  font-size: 16px; /* Text size */
  cursor: pointer; /* Change mouse cursor to a hand on hover */
  border-radius: 8px; /* Rounded corners */
  transition: background-color 0.3s; /* Smooth transition for hover effect */
  margin-bottom: 2rem;
}

.mail-button:hover {
  background-color: #0056b3; /* Darker background on hover */
}


/* GALLERY SECTION */
.gallery-section {
  background-color: #e0e1dd;
  padding: 4rem 2rem;
  text-align: center;
  font-family: Arial, Helvetica, sans-serif;
}

.gallery-section h2 {
  color: black;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  font-weight: 600;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-item img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}

.gallery-item p {
  color: black;
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 1.25rem;
}

/* RESPONSIVE GALLERY */
@media (max-width: 992px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* FOOTER */
.site-footer {
  background-color: #778da9;
  padding: 1.5rem 1rem;
  color: #ffffff;
}

.footer-container {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 2fr 2fr 1.5fr;
  gap: 3rem;
  align-items: start;
  font-family: arial;
}

.footer-logo img {
  max-width: 160px;
  display: block;
}

.footer-image img {
  height: 150px;
  width: auto;
  object-fit: contain;
  display: block;
}

.footer-info p,
.footer-hours p {
  margin-bottom: 0.75rem;
  font-size: 1rem;
  font-family: arial;
}

.footer-hours strong {
  font-size: 1.2rem;
  font-family: arial;
}

/* MOBILE FOOTER */
@media (max-width: 992px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 576px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-image,
  .footer-logo img {
    margin: 0 auto;
  }
}

/* COPYRIGHT */
.footer-copyright {
  text-align: center;
  font-family: Arial, Helvetica, sans-serif;
  background-color: #1b263b;
  color: #ffffff;
  padding: 5px;
  font-size: larger;
}