/*--------- BASIC SETUP ---------*/

body {
  font-family: "Averia Serif Libre", fantasy, "google";
  text-rendering: optimizeLegibility;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  color: #4e4e4e;
  letter-spacing: 1.2px;
  background-color: #f9f9f9;
}

/*--------- NAVIGATION ---------*/

.navigation {
  background-color: #fff;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
}

.nav-container {
  max-width: 1060px;
  width: 100%;
  height: 90px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto auto;
  column-gap: 30px;
  align-items: center;
  justify-content: center;
}

.nav-container .logo {
  margin: 2px 0;
}

.nav-menu {
  width: 500px;
  min-height: 60px;
  display: flex;
  align-items: center;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.nav-menu li {
  list-style: none;
  display: inline;
  margin: 0 20px;
}

.nav-menu li a {
  text-decoration: none;
  color: #4e4e4e;
  font-size: 1.3rem;
  font-weight: 500;
  transition: 0.3s;
  text-transform: uppercase;
}

.nav-menu li a:hover {
  color: #fd3030;
}

.hamburger {
  display: none;
  box-shadow: 0 3px 10px #fd3030ad;
  padding: 3px;
  cursor: pointer;
}

.hamburger .bar {
  display: block;
  width: 20px;
  height: 4px;
  margin: 3px;
  transition: all 0.3s ease;
  background-color: #fd3030;
}

/*--------- SLIDE SHOW ---------*/

#slideShow {
  /*--border: #111 solid;--*/
  background-color: #fff;
  max-width: 1400px;
  width: 100%;
  height: 760px;
  margin: 0 auto 10px;
}

.twoPics {
  /*--border: #be1a3b solid;--*/
  max-width: 1360px;
  width: 100%;
  height: 630px;
  margin: 0 auto;
  padding: 10px 0;
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  justify-content: center;
  grid-gap: 20px;
}

.first-image,
.second-image {
  margin: 0 auto;
  width: 100%;
}

.twoPics img {
  display: block;
  margin: 0 auto;
  width: 100%;
  height: 630px;
  object-fit: cover;
}

.imageMeta {
  /*--border: peru solid;--*/
  max-width: 1360px;
  width: 100%;
  height: 110px;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
}

.imageMeta a {
  color: #fd3030;
}

#slideShow .text {
  /*--border: blueviolet solid;--*/
  width: 1055px;
  font-family: "DM Sans", sans-serif;
  font-size: 0.95rem;
  font-style: italic;
  font-weight: 400;
  color: #888;
}

.prev,
.next {
  font-family: "Averia Serif Libre", fantasy, "google";
  font-size: 1rem;
  cursor: pointer;
  border: none;
  outline: none;
  background-color: #fd3030;
  padding: 10px 13px;
  color: white;
}

.prev:hover {
  background: #111;
}
.next:hover {
  background: #111;
}

/* Fading animation */

.fade {
  animation-name: fade;
  animation-duration: 2s;
}

@keyframes fade {
  from {
    opacity: 0.5;
  }
  to {
    opacity: 1;
  }
}

/*--------- ABOUT ---------*/

#about {
  background-color: #fff;
  max-width: 1400px;
  width: 100%;
  height: 740px;
  margin: 0 auto 15px;
}

h1 {
  font-size: 3rem;
  margin-left: 280px;
  padding-top: 25px;
  margin-top: 0;
  margin-bottom: 0;
}

h2 {
  font-size: 1.5rem;
  margin-left: 160px;
  margin-bottom: 0;
}

#about .content {
  max-width: 1300px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-around;
  column-gap: 100px;
}

.content .article {
  /*--border: blueviolet solid;--*/
  font-size: 1.05rem;
  line-height: 1.3;
  text-align: justify;
  text-justify: inter-word;
}

.article a {
  color: #fd3030;
}

#about .content .about-image img {
  width: 350px;
  height: auto;
  padding: 45px;
  background-color: #f9f9f9;
  /*
  border: green solid;
*/
}

/* ----- ACCORDION ----- */

#accordion {
  background-color: #fff;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto 15px;
}

#accordion .accordion-container {
  width: 1360px;
  width: 100%;
  height: 820px;
  margin: 0 auto;
}

.accordion-box {
  max-width: 1200px;
  min-height: 75vh;
  margin: 0 auto;
  width: 100%;
  font-size: 1.5rem;
}

.accordion-box h4 {
  font-size: 2.75rem;
  text-transform: uppercase;
  margin: 0;
  padding: 50px 0;
}

.accordion-box h5 {
  font-size: 1.25rem;
  margin: 1.4rem 0;
}

.accordion-box .faq {
  padding-bottom: 0.2rem;
  border-bottom: 2px solid #fd303025;
  cursor: pointer;
}

.accordion-box .question {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.accordion-box .answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 1.4s ease;
  padding: 0 1.3rem;
}

.accordion-box .answer p {
  font-size: 1.05rem;
  line-height: 1.5;
  text-align: justify;
  text-justify: inter-word;
}

.faq.active .answer {
  max-height: 300px;
  animation: fade 1s ease-in-out;
}

.faq.active svg {
  transform: rotate(180deg);
}

svg {
  transition: transform 0.5s ease-in;
}

@keyframes fade {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
}

/*--------- CONTACT ---------*/

#contact {
  background-color: #fff;
  max-width: 1400px;
  height: 500px;
  margin: 0 auto 15px;
}

#contact .contact-container {
  width: 1360px;
  width: 100%;
  height: 450px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

#contact .contact-content {
  max-width: 1200px;
  width: 100%;
}

#contact .contactTitle h2 {
  text-align: center;
  margin-bottom: 35px;
  letter-spacing: 0.0625rem;
  font-size: 2.5rem;
  text-transform: capitalize;
}

#contact .contactTitle p {
  text-align: center;
  font-size: 1.4rem;
  letter-spacing: 0.05rem;
  line-height: 1.2;
}

#contact .contactInfo {
  margin-top: 50px;
  display: grid;
  grid-template-columns: auto;
  align-items: center;
  justify-content: center;
}

/*--------- BACK TO TOP ---------*/

.to-top {
  position: fixed;
  bottom: 3rem;
  right: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #fd3030;
  border-radius: 0.5rem;
  padding: 0.5rem 0.7rem;
  text-decoration: none;
  transition: 0.2s ease-out;
  opacity: 0;
  pointer-events: none;
}

.to-top.active {
  pointer-events: auto;
  opacity: 1;
}

.to-top span {
  color: #fff;
  font-size: 1.9rem;
}

.to-top:hover {
  background-color: #be1a3b;
}

.to-top:hover span {
  transform: translateY(-4px);
}

html {
  scroll-behavior: smooth;
}

/*--------- FOOTER ---------*/

footer .copyright p {
  text-transform: capitalize;
  font-size: 1.05rem;
  text-align: center;
}

/*--------- MEDIA QUERY ---------*/

@media (max-width: 996px) {
  .grid-gallery {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    grid-auto-rows: 280px;
  }
}

@media (max-width: 640px) {
  .grid-item:nth-child(1n) {
    grid-row: unset;
    grid-column: unset;
  }
}

@media (max-width: 1100px) {
  .messageForm .halfWidth {
    flex-basis: 100%;
  }
}

@media (max-width: 900px) {
  .container .row {
    flex-wrap: wrap;
  }
  .row section.left,
  .row section.right {
    flex-basis: 100%;
    margin: 0px;
  }
}

/*--------- REUSABLE COMPONENTS ---------*/
