:root{
  --glass-bg: rgba(255,255,255,0.6);
  --glass-border: rgba(255,255,255,0.35);
  --blur: blur(16px);
  --ease-liquid: cubic-bezier(0.22, 1, 0.36, 1);
  --text-dark: #111;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: black;

  background-image: url("imgs/seaview.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  /* PARALLAX */
  background-attachment: fixed;
}


.logo {
  font-size: larger;
}


header {
  position: sticky;
  top: 0;
  z-index: 100;

  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 1.2rem 3rem;

  background: var(--glass-bg);
  backdrop-filter: var(--blur);
  border-bottom: 1px solid var(--glass-border);
  background-color: rgb(240, 221, 185);
}

nav a {
  position: relative;
  margin-left: 1.5rem;
  padding: 0.25rem 0;

  text-decoration: none;
  color: black;
  font-size: 0.9rem;

  opacity: 0.8;

  transition: opacity 0.2s ease, transform 0.2s var(--ease-liquid),
    color 0.2s ease;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;

  width: 100%;
  height: 2px;

  background: currentColor;
  opacity: 0.4;

  transform: scaleX(0);
  transform-origin: left;

  transition: transform 0.25s var(--ease-liquid);
}

nav a:hover {
  opacity: 1;
  color: var(--text-dark);
  transform: translateY(-1px);
}

nav a:hover::after {
  transform: scaleX(1);
}
.Section_one {
  background-color: rgba(20, 105, 105, 0.805);
  color: var(--glass-bg);
  flex-direction: row;
  display: flex;
  align-items: flex-start;
  color: white;
}
.Lounge_img {
  padding: 1.7rem;
  flex-direction: row;
  align-items: flex-start;
}

.Lounge_img img {
  width: 45%;
  height: auto;
}

.Intro_text {
  display: flex;
  font-size: 2.6rem;
  text-align: center;
  padding-top: 3rem;
}

.Section_two {

  display: flex;
  justify-content: center;
  align-items: center;
  padding: 3rem 1rem;
 background-color: var(--glass-border);
 border: 0.7rem;
  
}

.Section_three {
  display: flex;
  background-color: rgba(20, 105, 105, 0.805);
  height: 25%;
  justify-items: flex-end;
}

.Description_text {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  font-size: 2.6rem;
  width: 25%;
  padding-left: 3rem;
  color: white;
}

.S3_img img {
  width: 55rem;
justify-self: flex-end;
display: flex;
flex-direction: row;
}

* {box-sizing:border-box}

/* Slideshow container */
.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
}

/* Hide the images by default */
.mySlides {
  display: none;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

.Section_four {
  display: flex;
  flex-direction: column;
  background-color: rgba(13, 66, 66, 0.942);
  width: auto;
  justify-items: center;
  color: white;
  font-size: 1.8rem;
}


.S4_p1 {
  justify-items: center;
}

.S4_img img {
  display: flex;
  justify-self: center;
  width: 18rem;
}

.S4_p2 {
  justify-items: center;
}
/* Center column */
.info-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  max-width: 700px;
  text-align: center;
}

/* Hide the checkboxes */
.info-panel input {
  display: none;
}

/* Button style */
.reveal-btn {
  padding: 0.8rem 1.8rem;
  border-radius: 25px;
  border: 2px solid #c7a057;
  background-color: #f3e2bf;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.reveal-btn:hover {
  background-color: #e8d3a8;
  transform: translateY(-2px);
}

/* Paragraphs hidden by default */
.reveal-text {
  display: none;
  font-size: 1.1rem;
  line-height: 1.5;
  margin: 0;
  color: white;
}

/* Show when checkbox is checked */
#p1-toggle:checked + label + .reveal-text,
#p2-toggle:checked + label + .reveal-text,
#p3-toggle:checked + label + .reveal-text {
  display: block;
}

/* =========================
   GALLERY SECTION
========================= */

.Section_gallery {
  padding: 4rem 3rem;
  background-color: rgba(20, 105, 105, 0.85);
  color: white;
  text-align: center;
}

.gallery-title {
  font-size: 2.4rem;
  margin-bottom: 2.5rem;
  letter-spacing: 0.05em;
}

/* GRID */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

/* CARD */
.gallery-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  cursor: pointer;

  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.gallery-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 25px 45px rgba(0, 0, 0, 0.35);
}

/* IMAGE */
.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.gallery-card:hover img {
  transform: scale(1.08);
}

/* OVERLAY TEXT */
.card-overlay {
  position: absolute;
  inset: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.65),
    rgba(0, 0, 0, 0.15)
  );

  opacity: 0;
  font-size: 1.5rem;
  letter-spacing: 0.05em;

  transition: opacity 0.4s ease;
}

.gallery-card:hover .card-overlay {
  opacity: 1;
}

/* =========================
   FULLSCREEN LIGHTBOX
========================= */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(6px);

  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  z-index: 999;
}

.lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 14px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  animation: lightboxZoom 0.35s ease;
}

@keyframes lightboxZoom {
  from {
    transform: scale(0.85);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.lightbox-close {
  position: absolute;
  top: 2rem;
  right: 2.5rem;
  font-size: 3rem;
  color: white;
  cursor: pointer;
  user-select: none;
}

/* =========================
   FOOTER
========================= */

.Site_footer {
  background-color: rgba(20, 105, 105, 0.95);
  color: #f3f3f3;
  padding: 3.5rem 3rem 1.5rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-block h3,
.footer-block h4 {
  margin-bottom: 0.8rem;
  letter-spacing: 0.05em;
}

.footer-block p {
  font-size: 0.95rem;
  line-height: 1.6;
  opacity: 0.9;
}

.footer-bottom {
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.7;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 1rem;
}

/* =========================================================
   RESPONSIVE (Mobile + Tablet)
   Paste at the very bottom of style.css
   ========================================================= */

@media (max-width: 900px) {
  header {
    padding: 1rem 1.25rem;
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  nav {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
  }

  nav a {
    margin-left: 0; /* override desktop nav spacing */
  }

  /* Mobile parallax fix: background-attachment: fixed is janky on iOS/Android */
  body {
    background-attachment: scroll;
  }

  /* SECTION 1 (Hero) */
  .Section_one {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .Lounge_img {
    padding: 1.25rem;
    width: 100%;
    justify-content: center;
  }

  .Lounge_img img {
    width: min(100%, 560px);
    height: auto;
  }

  .Intro_text {
    font-size: 1.5rem;
    padding: 0 1.25rem 1.5rem;
    padding-top: 0;
  }

  /* SECTION 2 */
  .Section_two {
    padding: 2.25rem 1.25rem;
  }

  /* SECTION 3 (Text + Slideshow) */
  .Section_three {
    flex-direction: column;
    gap: 1.25rem;
    padding: 2rem 1.25rem;
    height: auto; /* remove 25% behavior */
  }

  .Description_text {
    width: 100%;
    padding-left: 0;
    font-size: 1.4rem;
    text-align: center;
    justify-content: center;
  }

  .slideshow-container {
    max-width: 100%;
    width: 100%;
  }

  /* Override the inline style="width:50rem" from HTML */
  .slideshow-container .mySlides img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto;
    display: block;
    border-radius: 12px;
  }

  .prev, .next {
    padding: 12px;
    font-size: 16px;
  }

  /* SECTION 4 */
  .Section_four {
    padding: 2.5rem 1.25rem;
    font-size: 1.2rem;
    text-align: center;
  }

  .S4_img img {
    width: 14rem;
    margin: 0 auto;
  }

  /* GALLERIES */
  .Section_gallery {
    padding: 3rem 1.25rem;
  }

  .gallery-title {
    font-size: 1.8rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  /* Footer */
  .Site_footer {
    padding: 2.75rem 1.25rem 1.25rem;
  }
}

@media (max-width: 480px) {
  .Intro_text,
  .Description_text {
    font-size: 1.25rem;
  }

  .gallery-title {
    font-size: 1.55rem;
  }

  .lightbox-close {
    top: 1rem;
    right: 1rem;
    font-size: 2.4rem;
  }
}