/* Reset & Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', sans-serif;
  color: #333;
  background-color: #f9f9f9;
  line-height: 1.6;
  text-align: center; /* Global center text alignment */
}

/* Header */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  z-index: 1000;
  flex-wrap: wrap;
}

header h1 {
  font-size: 1.5rem;
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

/* Navigation */
.hamburger {
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.bar {
  width: 25px;
  height: 3px;
  background-color: white;
  margin: 4px 0;
}

nav#mobileMenu {
  display: none;
  flex-direction: column;
  background-color: #111;
  width: 100%;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease-out;
}

nav#mobileMenu.open {
  display: flex;
  max-height: 500px;
}

nav#mobileMenu a {
  color: white;
  padding: 1rem;
  text-decoration: none;
  border-top: 1px solid #444;
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

nav#mobileMenu a:hover {
  background-color: transparent;
  text-decoration: underline;
}

@media (min-width: 768px) {
  .hamburger {
    display: none;
  }

  nav#mobileMenu {
    display: flex !important;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    background: transparent;
    position: static;
    max-height: none;
    width: auto;
  }

  nav#mobileMenu a {
    padding: 0 1rem;
    border: none;
    color: white;
    font-weight: bold;
    background: transparent;
  }
}

/* Hero Section */
.hero {
  height: 55vh;
  min-height: 300px;
  max-height: 90vh;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  padding: 2rem;
  overflow: hidden;
}

.hero h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: auto;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.8;
  pointer-events: none;
}


@media (min-width: 1024px) {
  .hero {
    height: 60vh;
  }
}

@media (min-width: 1440px) {
  .hero {
    height: 65vh;
  }
}

/* Main Content */
main {
  padding: 2.2rem 2rem;
  margin: auto;
}

section {
  margin-bottom: 1.5rem;
  scroll-margin-top: 100px;
  text-align: center;
}

section h2 {
  color: #0099cc;
  margin-bottom: 1rem;
  font-size: 2rem;
}

/* Cabins Section */
.cabins {
  display: grid;
  gap: 0.7rem;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  justify-items: center;
}

@media (min-width: 1024px) {
  .cabins {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 768px) {
  .cabins {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .cabins {
    grid-template-columns: 1fr;
  }
}

.cabin {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease-in-out;
}

.cabin:hover {
  transform: scale(1.02);
}

.cabin img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.cabin:hover img {
  transform: scale(1.03);
}

.cabin-info {
  padding: 1rem;
  text-align: center;
}

.cabin-info h3 {
  margin: 0;
}

.cabin-info p {
  margin-top: 0.5rem;
  color: #555;
}

/* Footer */
footer {
  background-color: #222;
  color: white;
  padding: 2rem;
  text-align: center;
}

footer a {
  color: #0099cc;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* Contact Links */
.contact-link {
  display: inline-block;
  margin: 0.5rem 0;
  color: #0077cc;
  text-decoration: none;
  font-weight: bold;
}

.contact-link:hover {
  text-decoration: underline;
}

/* Mobile Overlay Menu */
#mobileMenu {
  position: fixed;
  top: 50px;
  right: 10px;
  width: 200px;
  background: white;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

#mobileMenu.open {
  display: block;
}

.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 999;
}

.overlay.show {
  display: block;
}

/* Link Colors */
a {
  color: #007BFF;
  text-decoration: none;
}

a:visited {
  color: #007BFF;
}

a:hover {
  color: #0056b3;
  text-decoration: underline;
}

a:active {
  color: #003f7f;
}

/* Amenities Section */
.amenities-section {
  padding: 3.0rem 1rem;
  max-width: 4200px;
  margin: 0 auto;
  text-align: center;
}

.amenities-section h2 {
  color: #0092cc;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.section-intro {
  font-size: 1rem;
  color: #333;
  margin-bottom: 2rem;
  text-align: center;
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  justify-items: center;
}

@media (max-width: 1024px) {
  .amenities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .amenities-grid {
    grid-template-columns: 1fr;
  }
}

.amenity-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  width: 100%;
}
.amenity-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.amenity-info {
  padding: 1rem;
  text-align: center;
}

.amenity-info h3 {
  margin: 0.5rem 0 0.3rem;
  font-size: 1.1rem;
  color: #006fa1;
}

.amenity-info p {
  font-size: 0.95rem;
  color: #555;
}

/* Lightbox Overlay */
.lightbox-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.lightbox-overlay img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
}

.lightbox-overlay .close-btn {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 2rem;
  color: white;
  cursor: pointer;
}
