/* ================================================================
   46-dyobeach "Love" section (home_accommodation) — reproduced
   CSS copied verbatim from the mirror's live stylesheet. Adobe Typekit
   fonts (mrsheffield-pro, peridot-pe-variable) are loaded separately
   via <link> in layout.tsx.
   The only addition is `.aos-animate` forced reveal — AOS init JS is
   not bundled, so we statically reveal the elements that AOS would.
   ================================================================ */

/* ---- Base shared classes (.wrapper / .line_title / .anim) ---- */
.wrapper { max-width: 1920px; width: 100%; padding: 0px 5.5%; }
.anim div { opacity: 0; }

.line_title { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: center; }
.line_title span { color: rgb(124, 143, 162); font-size: 18px; text-transform: uppercase; font-family: peridot-pe-variable, sans-serif; }
.line_title span:nth-child(1) { text-align: left; }
.line_title span:nth-child(2) { font-size: 35px; text-align: center; font-family: mrsheffield-pro, sans-serif; text-transform: none; }
.line_title span:nth-child(3) { text-align: right; }
.line_title span:last-of-type { color: rgb(124, 143, 162); font-size: 18px; text-transform: uppercase; font-family: peridot-pe-variable, sans-serif; text-align: right; }

@media (max-width: 1024px) {
  .line_title span:nth-child(2) { font-size: 25px; }
}

/* ---- home_accommodation section ---- */
#home_accommodation { padding: 150px 0px; background-color: rgb(117, 144, 165); }
#home_accommodation .line_title { margin-bottom: 120px; }
#home_accommodation .line_title { justify-content: center; }
#home_accommodation .line_title span {
  font-family: "Playfair Display", serif;
  font-weight: 500;
  font-style: italic;
  font-size: 56px;
  line-height: 1;
  letter-spacing: 0.01em;
  text-transform: none;
  text-align: center;
  color: #ffffff;
}
@media (min-width: 768px) {
  #home_accommodation .line_title span { font-size: 80px; }
}
#home_accommodation .room_wrapper { display: flex; flex-wrap: wrap; }
#home_accommodation .room_wrapper .room { position: relative; margin-bottom: 0px; }
#home_accommodation .room_wrapper .room:nth-child(2n+1) { flex-basis: 66%; margin-left: 0px; margin-right: auto; }
#home_accommodation .room_wrapper .room:nth-child(2n) { flex-basis: 50%; margin-left: auto; margin-right: 0px; }
#home_accommodation .room_wrapper .room:last-of-type { margin-bottom: 0px; flex-basis: 40%; margin-right: 10%; }
#home_accommodation .room_wrapper .room a { display: block; width: 100%; position: relative; }
#home_accommodation .room_wrapper .room a::after { content: ""; position: absolute; height: 45%; left: 0px; right: 0px; bottom: 0px; z-index: 1; opacity: 1; transition: 0.6s cubic-bezier(0.5, 1, 0.89, 1); background: linear-gradient(rgba(255, 255, 255, 0) 0%, rgba(0, 0, 0, 0.78) 100%); }
#home_accommodation .room_wrapper .room a:hover .icon { opacity: 0; }
#home_accommodation .room_wrapper .room .image { display: block; width: 100%; position: relative; z-index: 0; }
#home_accommodation .room_wrapper .room .image.horizontal::after { background-color: rgb(117, 144, 165); }
#home_accommodation .room_wrapper .room .image img { display: block; width: 100%; min-height: 80vh; object-fit: cover; }
#home_accommodation .room_wrapper .room .icon { position: absolute; top: 60px; left: 0px; right: 0px; z-index: 2; transition: 0.5s cubic-bezier(0.5, 1, 0.89, 1); }
#home_accommodation .room_wrapper .room .icon img { display: block; margin: auto; max-width: 240px; }
#home_accommodation .room_wrapper .room .information { position: absolute; bottom: 80px; right: 0px; left: 0px; text-align: center; z-index: 2; }
#home_accommodation .room_wrapper .room .information h2 { font-size: 65px; color: rgb(255, 255, 255); font-family: mrsheffield-pro, serif; font-weight: 400; }
#home_accommodation .room_wrapper .room .information .info { display: flex; max-width: fit-content; margin: auto; }
#home_accommodation .room_wrapper .room .information .info p { margin: auto 0px; color: rgb(255, 255, 255); padding-left: 5px; padding-right: 5px; border-right: 1px solid rgb(255, 255, 255); font-family: peridot-pe-variable, sans-serif; font-size: 14px; letter-spacing: 1px; text-transform: uppercase; }
#home_accommodation .room_wrapper .room .information .info p:last-of-type { border-right: 0px; }

/* ---- .image.horizontal wipe overlay (GSAP-driven reveal) ---- */
.image.horizontal { overflow: hidden; position: relative; }
.image.horizontal::after { content: ""; position: absolute; background-color: rgb(255, 255, 255); right: 0px; bottom: 0px; height: 100%; width: var(--wipe, 100%); z-index: 1; }
#home_accommodation .image.horizontal::after { background-color: rgb(117, 144, 165); }

/* ---- Responsive variants ---- */
@media (max-width: 1280px) {
  #home_accommodation { padding: 100px 0px; }
  #home_accommodation .line_title { margin-bottom: 100px; }
  #home_accommodation .room_wrapper .room:nth-child(2n+1) { flex-basis: 75%; }
  #home_accommodation .room_wrapper .room:nth-child(2n) { flex-basis: 65%; }
  #home_accommodation .room_wrapper .room .image img { height: 75vw; min-height: 75vw; }
  #home_accommodation .room_wrapper .room .icon img { max-width: 200px; }
  #home_accommodation .room_wrapper .room .information h2 { font-size: 50px; }
}
@media (max-width: 1024px) {
  #home_accommodation .line_title { margin-bottom: 80px; }
  #home_accommodation .room_wrapper .room .icon img { max-width: 150px; }
  #home_accommodation .room_wrapper .room .information h2 { font-size: 40px; }
  #home_accommodation .room_wrapper .room .information { bottom: 50px; }
}
@media (max-width: 767px) {
  #home_accommodation { padding: 80px 0px; }
  #home_accommodation .room_wrapper .room:last-of-type { flex-basis: 80%; margin-right: 30px; }
  #home_accommodation .room_wrapper .room .image img { height: 150vw; min-height: 150vw; }
  #home_accommodation .room_wrapper .room .icon img { max-width: 100px; }
  #home_accommodation .room_wrapper .room .information .info { flex-flow: column wrap; margin-top: 25px; }
  #home_accommodation .room_wrapper .room .information .info p { padding-left: 0px; padding-right: 0px; flex-basis: 100%; padding-bottom: 5px; border-right: 0px; border-bottom: 1px solid rgb(255, 255, 255); }
  #home_accommodation .room_wrapper .room .information .info p:last-of-type { border-bottom: 0px; }
}

/* Wipe is driven by --wipe CSS var, animated from GSAP in RestaurantsLove.tsx. */

/* ---- Replacement for the SVG suite-sign: a script-styled text mark ---- */
#home_accommodation .room_wrapper .room .icon .restaurant-mark {
  display: block;
  text-align: center;
  font-family: mrsheffield-pro, serif;
  font-size: 140px;
  line-height: 1;
  color: #ffffff;
}
@media (max-width: 1280px) { #home_accommodation .room_wrapper .room .icon .restaurant-mark { font-size: 120px; } }
@media (max-width: 1024px) { #home_accommodation .room_wrapper .room .icon .restaurant-mark { font-size: 90px; } }
@media (max-width: 767px)  { #home_accommodation .room_wrapper .room .icon .restaurant-mark { font-size: 70px; } }
