/* Pastel Caribbean color palette */
:root {
  --blue: #b3e0ff;
  --coral: #ffb3b3;
  --mint: #b3ffd9;
  --yellow: #fff7b3;
  --white: #fff;
  --gray: #f7f7f7;
  --text: #1a2a33; /* Darker for readability */
  --shadow: 0 4px 16px rgba(0, 0, 0, 0.07);
  --overlay: rgba(255, 255, 255, 0.85);
}

body {
  font-family: "Segoe UI", "Arial", sans-serif;
  background: var(--gray);
  color: var(--text);
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

section {
  padding: 2.5rem 1rem;
  max-width: 900px;
  margin: 0 auto;
}

.hero {
  background: linear-gradient(120deg, var(--blue) 60%, var(--mint));
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 2rem;
  padding-bottom: 2rem;
  box-shadow: var(--shadow);
  border-radius: 0 0 2rem 2rem;
  position: relative;
}
.hero-content {
  text-align: center;
  z-index: 2;
  background: var(--overlay);
  padding: 1.5rem 2rem;
  border-radius: 1.5rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
  max-width: 90vw;
}
.hero h1 {
  font-size: 2.5rem;
  color: #1a2a33;
  margin-bottom: 0.5rem;
  font-weight: 700;
  letter-spacing: 1px;
}
.hero .address {
  font-size: 1.2rem;
  color: #2d6a6a;
  margin-bottom: 1rem;
  font-weight: 500;
}
.hero .price {
  font-size: 2rem;
  color: #e67e22;
  font-weight: bold;
  margin-bottom: 1.5rem;
  background: rgba(255, 255, 255, 0.7);
  display: inline-block;
  padding: 0.3em 1em;
  border-radius: 1em;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.hero .price span {
  font-size: 1rem;
  color: #444;
  font-weight: normal;
}
.hero-img {
  width: 100%;
  max-width: 600px;
  border-radius: 1.5rem;
  margin-top: 1.5rem;
  box-shadow: var(--shadow);
}

.gallery-section h2,
.description-section h2,
.sandyport-section h2,
.map-section h2,
.contact-section h2 {
  color: #1a2a33;
  margin-bottom: 1rem;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* Gallery Wall Styles */
.gallery-wall {
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  padding: 0;
  margin: 0;
  max-width: 100vw;
  border-radius: 0;
  background: none;
  box-shadow: none;
  width: 100vw;
  position: relative;
  scrollbar-width: none; /* Firefox */
}
/* Edge-to-edge modifier */
.gallery-wall.edge-to-edge {
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  position: relative;
}
.gallery-wall::-webkit-scrollbar {
  display: none; /* Chrome, Safari */
}
.gallery-images {
  display: flex;
  flex-direction: row;
  gap: 2vw;
  padding: 0;
  /* min-width: max-content; removed */
}
.gallery-images img {
  width: 60vw;
  max-width: 900px;
  min-width: 340px;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 0;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  background: #f7f7f7;
}
.gallery-images img:hover {
  transform: scale(1.03) translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
}

.description-section,
.sandyport-section {
  background: var(--white);
  border-radius: 1.5rem;
  box-shadow: var(--shadow);
  margin-top: 2rem;
  color: #1a2a33;
  font-size: 1.1rem;
  padding: 2rem 1.5rem;
}

.map-section .map-container {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--white);
}

.contact-section form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: var(--mint);
  padding: 2rem 1rem;
  border-radius: 1.5rem;
  max-width: 500px;
  margin: 0 auto;
  box-shadow: var(--shadow);
}
.contact-section label {
  font-weight: 600;
  color: #1a2a33;
}
.contact-section input,
.contact-section textarea {
  border: 1px solid var(--blue);
  border-radius: 0.5rem;
  padding: 0.75rem;
  font-size: 1rem;
  background: var(--white);
  color: #1a2a33;
  resize: none;
}
.contact-section input:focus,
.contact-section textarea:focus {
  outline: 2px solid var(--coral);
  background: #f0f8ff;
}
.contact-section button {
  background: #e67e22;
  color: var(--white);
  border: none;
  border-radius: 0.5rem;
  padding: 0.75rem;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.contact-section button:hover {
  background: #1a2a33;
  color: var(--yellow);
}

footer {
  text-align: center;
  padding: 1.5rem 0;
  background: var(--blue);
  color: #1a2a33;
  font-size: 1rem;
  border-radius: 2rem 2rem 0 0;
  margin-top: 2rem;
}

/* Lightbox Modal Styles */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(30, 40, 50, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  flex-direction: row;
  transition: opacity 0.2s;
}
.lightbox-modal img {
  width: 90vw;
  height: 80vh;
  max-width: 1200px;
  max-height: 800px;
  border-radius: 0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  background: transparent;
  object-fit: contain;
}
.lightbox-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-size: 2.5rem;
  color: #fff;
  cursor: pointer;
  z-index: 1010;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 50%;
  padding: 0.2em 0.6em;
  transition: background 0.2s;
}
.lightbox-close:hover {
  background: #e67e22;
}
.lightbox-arrow {
  background: rgba(255, 255, 255, 0.7);
  border: none;
  border-radius: 50%;
  width: 3rem;
  height: 3rem;
  font-size: 2rem;
  color: #1a2a33;
  cursor: pointer;
  margin: 0 1.5rem;
  z-index: 1010;
  transition: background 0.2s, color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-arrow:hover {
  background: #e67e22;
  color: #fff;
}
@media (max-width: 700px) {
  .hero h1 {
    font-size: 2rem;
  }
  .gallery-images img {
    width: 98vw;
    max-width: 98vw;
    min-width: 140px;
    aspect-ratio: 4/3;
  }
  .gallery-images {
    gap: 2vw;
    padding: 0;
  }

  .sandyport-gallery {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    margin-top: 2rem;
  }

  .sandyport-gallery img {
    width: 25%;
    flex: 1;
    height: 150px;
    object-fit: cover;
    border-radius: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
  }

  .sandyport-gallery img:hover {
    transform: scale(1.02);
  }
  section {
    padding: 1.5rem 0.5rem;
  }
  .hero-content {
    padding: 1rem 0.5rem;
  }
  .description-section,
  .sandyport-section {
    padding: 1.2rem 0.5rem;
  }
  .lightbox-modal img {
    width: 95vw;
    height: 70vh;
    max-width: none;
    max-height: none;
  }
  .lightbox-close {
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
  }
  .lightbox-arrow {
    width: 2.2rem;
    height: 2.2rem;
    font-size: 1.5rem;
    margin: 0 0.5rem;
  }
}

@media (max-width: 500px) {
  .hero-img {
    max-width: 98vw;
  }
  .gallery {
    max-width: 98vw;
  }
  .map-section .map-container {
    max-width: 98vw;
  }
  .contact-section form {
    padding: 1rem 0.2rem;
  }
}

/* Sandyport Gallery Styles */
.sandyport-gallery {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  margin-top: 2rem;
}

.sandyport-gallery img {
  width: 25%;
  flex: 1;
  height: 200px;
  object-fit: cover;
  border-radius: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s;
}

.sandyport-gallery img:hover {
  transform: scale(1.02);
}
