/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

header {
    background-color: #333;
    color: #fff;
    padding: 1em 0; /* Ensure padding is sufficient for visibility */
    text-align: center;
    z-index: 1; /* Keep header above other content */
}

header h1 {
    margin-bottom: 0.5em;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    padding: 0;
}

nav ul li {
    margin: 0 1em;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1em;
}

#hero {
    position: relative; /* Allows absolute positioning of children */
    color: #333; /* Changed text color for readability */
    text-align: center;
    padding: 2em 0; /* Added padding for spacing */
    margin: 0; /* Ensure no margin is causing overlap */
}

.hero-content {
    position: absolute; /* Position the text content absolutely */
    top: 50%; /* Center vertically */
    left: 50%; /* Center horizontally */
    transform: translate(-50%, -50%); /* Adjust for centering */
    color: #fff; /* Set text color to white for visibility */
    z-index: 1; /* Bring text above the image */
}

.hero-img {
    width: 100%; /* Make the image responsive */
    height: auto; /* Maintain aspect ratio */
    max-height: 400px; /* Limit the height of the image */
    object-fit: cover; /* Ensure the image covers the area without stretching */
}

#hero h2,
#hero p {
    color: #fff; /* Set text color to white for visibility */
    position: relative; /* Ensure proper stacking context */
    z-index: 1; /* Bring text above any potential background */
}

#hero h2 {
    font-size: 2.5em; /* Adjusted font size */
    margin: 0.5em 0; /* Margin for spacing */
}

#hero p {
    font-size: 1.2em; /* Adjusted font size for paragraph */
    margin: 0.5em 0; /* Margin for spacing */
}

.cta-button {
    background-color: #ff6200; /* Solid button background color */
    color: #fff; /* Text color */
    padding: 0.7em 1.5em;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    margin-top: 1em;
    transition: background-color 0.3s ease;
    position: relative; /* Ensure proper stacking context */
    z-index: 2; /* Ensure button is above the image */
}

.cta-button:hover {
    background-color: #ff4500; /* Hover color */
}

#about, #photos, #contact {
    padding: 2em 1.5em;
    background-color: #fff;
    margin: 1em 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#about h2, #photos h2, #contact h2 {
    margin-bottom: 1em;
    text-align: center;
}

#about ul.amenities {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

#about ul.amenities li {
    margin: 0.5em 0;
    font-weight: bold;
    list-style: none;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1em;
}

.photo-grid img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.photo-grid img:hover {
    transform: scale(1.05);
}

#contact {
    text-align: center;
}

#contact a {
    display: inline-block;
    margin: 0.5em;
    font-size: 1.2em;
}

footer {
    text-align: center;
    padding: 1em;
    background-color: #333;
    color: #fff;
}

footer a {
    color: #ff6200;
    text-decoration: none;
}

#lightbox {
    position: fixed; /* Fixed position to cover the viewport */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8); /* Semi-transparent background */
    display: flex;
    justify-content: center; /* Center the image horizontally */
    align-items: center; /* Center the image vertically */
    z-index: 1000; /* Ensure it appears above other content */
}

#lightbox img {
    max-width: 90%; /* Limit the size of the image */
    max-height: 90%; /* Limit the size of the image */
}
