html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: "DM Serif Display", serif;
  font-size: 18px;
  line-height: 1.5;
  color: #000000;
  background-color: #ffffff;
  scroll-behavior: smooth;
  overflow-x: hidden;
}
.dm-serif-display-regular {
  font-family: "DM Serif Display", serif;
  font-weight: 400;
  font-style: normal;
}
.dm-serif-display-regular-italic {
  font-family: "DM Serif Display", serif;
  font-weight: 400;
  font-style: italic;
}
.ubuntu-light {
  font-family: "Ubuntu", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.ubuntu-regular {
  font-family: "Ubuntu", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.ubuntu-medium {
  font-family: "Ubuntu", sans-serif;
  font-weight: 500;
  font-style: normal;
}

.ubuntu-bold {
  font-family: "Ubuntu", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.ubuntu-light-italic {
  font-family: "Ubuntu", sans-serif;
  font-weight: 300;
  font-style: italic;
}

.ubuntu-regular-italic {
  font-family: "Ubuntu", sans-serif;
  font-weight: 400;
  font-style: italic;
}

.ubuntu-medium-italic {
  font-family: "Ubuntu", sans-serif;
  font-weight: 500;
  font-style: italic;
}

.ubuntu-bold-italic {
  font-family: "Ubuntu", sans-serif;
  font-weight: 700;
  font-style: italic;
}

h1 {
  margin-bottom: 0;
}
h2 {
  margin: 0;
}
a:link {
  color: #000000;
  text-decoration: none;
}
a:visited {
  color: #000000;
  text-decoration: none;
}
a:hover {
  color: #000000;
  text-decoration: none;
  cursor: pointer;
}
a:active {
  color: #000000;
}
#container {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: auto;
  -webkit-overflow-scrolling: touch;
  align-items: center;
}
#header {
  display: flex;
  width: 100%;
  height: 100px;
  justify-content: center;
  align-items: center;
  padding-bottom: 6px;
  position: relative;
  z-index: 10;
}
#header-logo {
  display: flex;
  width: 25%;
  height: 80px;
  padding-left: 10px;
}
#header-title-wrap {
  display: flex;
  flex-direction: row;
}
#header-title {
  display: flex;
  width: 50%;
  height: 80px;
  justify-content: center;
  align-items: center;
  font-size: 48px;
  letter-spacing: 0.1em;
}
#header-contact {
  display: flex;
  width: 25%;
  height: 80px;
  justify-content: right;
  padding-right: 20px;
}
#header-contact-text {
  display: flex;
  width: 250px;
  height: 80px;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  line-height: 24px;
}
#header-contact-text-mobile {
  display: none;
}
#contact-round-mobile-wrap {
  display: none;
}
#contact-round-mobile {
  display: none;
}
#hero {
  display: flex;
  width: 100%;
  height: 800px;
  background-size: contain;
  position: relative;
  overflow: hidden;
}
.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 101%;
  height: 101%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  color: white;
  text-align: left;
  top: 120%;
  transform: translateY(-50%);
  width: 100%;
  padding-left: 50px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.28);
}
.hero-content-mobile {
  display: none;
}
#hero-text {
  display: flex;
  flex-direction: column;
  width: 50%;
  height: 500px;
  font-size: 32px;
  color: #ffffff;
  padding-left: 50px;
  justify-content: flex-end;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.28);
}
#body-section01 {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: auto;
  justify-content: center;
  align-items: center;
  padding-top: 50px;
}
.body-heading {
  display: flex;
  padding-bottom: 20px;
}
.body-content {
  display: flex;
  flex-direction: column;
  width: 82%;
  height: auto;
  font-family: "Ubuntu", sans-serif;
}
/*--PHOTO GALLERY-----------------------*/
/* Base gallery wrapper */
.gallery {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 60px 20px;
  display: flex;
  flex-direction: column;
  gap: 60px;
}
/* Full-width hero + closer */
.gallery-hero img,
.gallery-closer img,
.gallery-panorama img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
  object-fit: cover;
}
/* Cinematic two-column grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}
.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}
/* Aspect ratio control */
.gallery-grid .tall {
  aspect-ratio: 3 / 4;
}
.gallery-grid .wide {
  aspect-ratio: 4 / 3;
}
/* Trio row */
.gallery-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}
.gallery-trio img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
}
/* Two-image rows */
.gallery-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}
.gallery-row img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
}
/* Responsive adjustments */
@media (max-width: 900px) {
  .gallery-grid,
  .gallery-trio,
  .gallery-row {
    grid-template-columns: 1fr;
  }
  .gallery-grid .tall,
  .gallery-grid .wide,
  .gallery-trio img,
  .gallery-row img {
    aspect-ratio: 4 / 3;
  }
}

/*--SLIDESHOW-------------------------*/
#open-gallery {
  display: inline-block;
  margin-top: 20px;
  font-size: 18px;
  letter-spacing: 0.05em;
  text-decoration: underline;
  cursor: pointer;
}
/* Popup overlay */
#popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  overflow: hidden;
}
/* Slideshow container */
#popup-slideshow {
  position: relative;
  max-width: 98%;
  max-height: 90%;
  margin: 0 auto;
}
#popup-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 6px;
}
/* Close button */
.popup-close {
  position: absolute;
  top: -40px;
  right: -50px;
  font-size: 56px;
  color: white;
  cursor: pointer;
}
/* Prev/Next buttons */
.popup-prev,
.popup-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  border: none;
  color: white;
  font-size: 40px;
  padding: 10px 16px;
  cursor: pointer;
  border-radius: 4px;
}
.popup-prev {
  left: 0;
}
.popup-next {
  right: 0;
}
.popup-prev:hover,
.popup-next:hover {
  background: rgba(0, 0, 0, 0.8);
}
#gallery-link {
  display: flex;
  width: 400px;
  height: 100px;
  color: #000000;
  justify-content: center;
  align-items: flex-start;
}
#video {
  display: block;
  width: 50%;
  height: auto;
  margin-bottom: 100px;
}
#video video {
  width: 100%;
  height: auto;
  display: block;
}

/*--MOBILE DEVICES--------------------*/
@media (max-width: 768px) {
  #header {
    display: flex;
    width: 100%;
    height: 100px;
  }
  #header-logo {
    display: flex;
    width: 20%;
    height: 55px;
    padding-left: 10px;
    justify-content: center;
    align-items: center;
  }
  #header-logo img {
    display: block;
    width: 80px;
    height: 55px;
  }
  #header-title {
    display: flex;
    width: 100%;
    font-size: 24px;
    line-height: 24px;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
  @supports (-moz-appearance: none) {
    #header-title {
      font-size: 18px;
    }
  }
  #header-contact-text {
    display: none;
  }
  #header-contact-text-mobile {
    display: flex;
    width: 250px;
    height: 80px;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    line-height: 24px;
  }
  #contact-round {
    display: none;
  }
  #contact-round-mobile-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  #contact-round-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-right: 10px;
  }
  #hero {
    display: flex;
    width: 100%;
    height: 300px;
    background-size: cover;
    background-position: center top;
  }
  .hero-content {
    display: none;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.28);
    height: 300px;
    align-items: flex-start;
    padding-bottom: 30px;
    border: 1px dashed black;
  }
  .hero-content-outside {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.28);
    height: 300px;
    align-items: flex-start;
    padding-bottom: 30px;
    border: 1px dashed black;
  }
  #hero-text {
    display: flex;
    flex-direction: column;
    width: 90%;
    height: 250px;
    font-size: 8px;
    color: #ffffff;
    padding-left: 20px;
    justify-content: flex-end;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.28);
    border: 1px dashed white;
  }
  .hero-content-mobile {
    display: flex;
    flex-direction: column;
    width: 90%;
    margin-top: 10px;
    margin-bottom: 30px;
  }
  #body-section01 {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: auto;
    justify-content: center;
    align-items: center;
    padding-top: 50px;
  }
  .body-content {
    display: flex;
    flex-direction: column;
    width: 80%;
    height: auto;
  }
  h1 {
    font-size: 24px;
  }
  h2 {
    font-size: 16px;
  }
  .gallery {
    width: 90%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 25px;
  }
  /* Close button */
  .popup-close {
    position: absolute;
    top: -80px;
    right: 20px;
    font-size: 56px;
    color: white;
    cursor: pointer;
  }
  /* Full-width hero + closer */
  .gallery-hero img,
  .gallery-closer img,
  .gallery-panorama img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
    object-fit: cover;
  }
  /* Cinematic two-column grid */
  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
  .gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
  }
  /* Aspect ratio control */
  .gallery-grid .tall {
    aspect-ratio: 3 / 4;
  }
  .gallery-grid .wide {
    aspect-ratio: 4 / 3;
  }
  /* Trio row */
  .gallery-trio {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
  }
  .gallery-trio img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 6px;
  }
  /* Two-image rows */
  .gallery-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
  .gallery-row img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 6px;
  }
  #video {
    width: 90%;
    margin-bottom: 100px;
  }
  /* Responsive adjustments */
  @media (max-width: 900px) {
    .gallery-grid,
    .gallery-trio,
    .gallery-row {
      grid-template-columns: 1fr;
    }
    .gallery-grid .tall,
    .gallery-grid .wide,
    .gallery-trio img,
    .gallery-row img {
      aspect-ratio: 4 / 3;
    }
  }
}
