
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fdfdfb;
    color: #333333;
}

header {
    background: #2f4f4f;
    color: white;
    padding: 2em 1em;
    text-align: center;
}

.logo {
    display: block;
    margin: 0 auto 10px auto;
    max-width: 100px;
    height: auto;
}

nav {
    margin-top: 1em;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5em;
}
nav a {
    display: inline-block;
    color: white;
    margin: 0 1em;
    text-decoration: none;
    font-weight: 600;
}
nav a:hover {
    text-decoration: underline;
}

.hero {
    background: linear-gradient(to right, #6db36d, #f5f5dc);
    color: #2f4f4f;
    text-align: center;
    padding: 4em 1em;
}
.cta-button {
    background: #6db36d;
    color: white;
    font-weight: bold;
    border: none;
    border-radius: 30px;
    padding: 0.75em 1.5em;
    font-size: 1.1em;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
    display: inline-block;
    margin-top: 1em;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.cta-button:hover {
    transform: scale(1.05);
    background-color: #5a9e5a;
}

section {
    padding: 3em 1.5em;
    max-width: 1100px;
    margin: 0 auto;
    background-color: #fdfdfb;
}
section h2 {
    color: #2f4f4f;
}

.features ul {
    list-style: none;
    padding: 0;
}
.features li {
    background: #f0f8f0;
    margin: 0.5em 0;
    padding: 1em;
    border-left: 4px solid #6db36d;
    border-radius: 5px;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1em;
}
.gallery img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    cursor: pointer;
}
.gallery img:hover {
    transform: scale(1.05);
}

form {
    display: flex;
    flex-direction: column;
    gap: 1em;
}
form input, form textarea, form button {
    padding: 0.75em;
    border: 1px solid #ccc;
    border-radius: 8px;
}
form button {
    background-color: #6db36d;
    color: white;
    font-weight: bold;
    cursor: pointer;
}
form button:hover {
    background-color: #5a9e5a;
}

footer {
    background: #2f4f4f;
    color: white;
    text-align: center;
    padding: 2em 1em;
    margin-top: 3em;
}


/* Room Cards with Image Galleries */

.room-card {
  flex-direction: row-reverse;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 1em;
  background-color: #fff;
  padding: 1em;
  margin-bottom: 2em;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.room-gallery {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.5em;
  justify-content: flex-end;
}
.room-gallery img {
  width: 100px;
  height: 75px;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

.room-info {
  flex: 1;
  min-width: 240px;
}
.room-info h3 {
  margin-top: 0;
  color: #2f4f4f;
}
.price {
  font-weight: bold;
  color: #6db36d;
  font-size: 1.1em;
}

/* Lightbox styles */
.lightbox {
  display: none;
  position: fixed;
  z-index: 999;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
}

.lightbox img {
  display: block;
  margin: auto;
  max-width: 90%;
  max-height: 80vh;
}

.lightbox:target {
  display: block;
}

.close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #fff;
  font-size: 30px;
  font-weight: bold;
  text-decoration: none;
}

.close:hover {
  color: #ccc;
}


/* Image hover zoom for room gallery */
.room-gallery img {
  transition: transform 0.3s ease;
}
.room-gallery img:hover {
  transform: scale(1.05);
}
