/* ======================================
   EXPERIENCE SECTION
====================================== */
.experience-section,
.addons-services-top-container,
.Hi-Fi-System-Section {
  background-color: var(--background-color);
}

#experience,
#services,
#hifi,
#team,
#faq,
.call-to-action-section,
.footer-section,
.copyright-container {
  content-visibility: auto;
  contain-intrinsic-size: 1px 1000px;
}

.top-experience-section,
.top-contenido-addons-section,
.hifi-system-top-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.travel-description-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  padding-top: 4rem;
}

.info {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  max-width: 30rem;
}

.icon-box i {
  font-size: 1.25rem;
}

.icon-box img {
  width: 1.25rem;
  height: 1.25rem;
  display: block;
}

.text {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.accordion-content img {
  width: 100%;
  display: block;
}

#experience .accordion-content img {
  width: 70%;
  height: auto;
  margin: 0.75rem auto 0;
}

.carousel img {
  width: 100%;
  height: auto;
  display: block;
}

@media (width >= 1024px) {
  .experience-carousel .carousel img {
    height: 100vh;
    object-fit: cover;
  }
}

/* ======================================
  ADD-ONS AND SERVICES SECTION
====================================== */

.addons-and-services-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  padding-top: 3rem;
  text-align: center;
}

#services .accordion details > .content {
  margin-top: 0.75rem;
}

#faq .accordion details > .content {
  margin-top: 0.75rem;
}

/* ======================================
   TEAM MEMBER SECTION
====================================== */
.top-team-member-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.each-member-section {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  justify-items: center;
  padding: 0 1rem 2rem;
  width: 100%;
}

.team-card {
  width: 100%;
  max-width: 17rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

.team-member-image {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  background-color: var(--medium-grey);
  object-fit: cover;
}

@media (950px <= width <= 1440px) {
  .each-member-section {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding: 0 2rem 3rem;
  }
}

@media (width >= 1440px) {
  .each-member-section {
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
  }
}

/* ======================================
   CALL TO ACTION SECTION
====================================== */
.call-to-action-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

/* ======================================
  HI-FI SYSTEM SECTION
====================================== */

.hifi-system-top-container {
  padding-bottom: 1rem;
}

.hifi-system-bottom-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 2rem 2rem 0;
  text-align: center;
}

.content-technical-specifications-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  padding-top: 2rem;
}

.technical-specifications-section {
  display: flex;
  flex-direction: row;
  gap: 0.75rem;
}

/* ======================================
   FAQ SECTION
====================================== */
.faq-two-column {
  display: flex;
  flex-flow: row wrap;
  gap: 2rem;
}

.faq-left {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 1rem;
}

.faq-right {
  flex: 1;
  min-width: 18rem;
}

/* ======================================
   FOOTER SECTION
====================================== */
.footer-logo {
  display: block;
  height: 2.5rem;
}

.footer-container {
  display: flex;
  flex-flow: row wrap;
  gap: 2rem;
  justify-content: space-between;
}

.footer-child-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: flex-start;
}

.footer-information-columns {
  display: flex;
  flex-flow: row wrap;
  gap: 2rem;
}

.footer-information-column {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 10rem;
}

.social-icons {
  display: flex;
  gap: 0.5rem;
}

/* ======================================
   COPYRIGHT SECTION
====================================== */
.copyright-links-container {
  display: flex;
  gap: 0.5rem;
  min-width: 6rem;
}

/* ======================================
   FULL WIDTH GALLERY
====================================== */
.gallery {
  display: block;
  width: 100%;
  margin-top: 4rem;
  height: min(44rem, 70vh);
  object-fit: cover;
}

/* ======================================
   RESPONSIVE OVERRIDES
====================================== */
@media (width <= 834px) {
  #experience > .main-container,
  #services > .main-container,
  #hifi > .main-container,
  #hifi > .accordion.main-container,
  #team > .main-container,
  #team > .each-member-section {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  #The\ Boat :is(.text-2xl, .text-m, .text-s, .text-xs),
  #experience :is(.text-2xl, .text-m, .text-s, .text-xs),
  #services :is(.text-2xl, .text-m, .text-s, .text-xs),
  #hifi :is(.text-2xl, .text-m, .text-s, .text-xs),
  #team :is(.text-2xl, .text-m, .text-s, .text-xs) {
    overflow-wrap: break-word;
  }

  html[lang="de"] #The\ Boat :is(.text-2xl, .text-m, .text-s, .text-xs),
  html[lang="de"] #experience :is(.text-2xl, .text-m, .text-s, .text-xs),
  html[lang="de"] #services :is(.text-2xl, .text-m, .text-s, .text-xs),
  html[lang="de"] #hifi :is(.text-2xl, .text-m, .text-s, .text-xs),
  html[lang="de"] #team :is(.text-2xl, .text-m, .text-s, .text-xs) {
    hyphens: auto;
  }
}

@media (width <= 393px) {
  #experience > .main-container,
  #services > .main-container,
  #hifi > .main-container,
  #hifi > .accordion.main-container,
  #team > .main-container,
  #team > .each-member-section {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

@media (width <= 1024px) {
  .travel-description-grid,
  .content-technical-specifications-section {
    grid-template-columns: 1fr;
  }
}

@media (width <= 768px) {
  #experience .accordion-content {
    padding: 0.75rem 0 0;
  }

  #experience .accordion-content img {
    width: 70%;
    height: auto;
    margin: 0.75rem auto 0;
    border-radius: 0.5rem;
  }
}
