.hero {
    background-color: #1a3a50; /* fallback while image loads */
    background-image: url('assets/BeachSunset.jpg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    height: 100vh;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.navbar {
    background-color: #ffffff !important;
}

section {
    padding: 60px 0;
}

img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    .hero {
        height: 60vh;
    }

    .hero h1 {
        font-size: 2.5rem;
    }
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 2000; /* Above Bootstrap sticky-top navbar (z-index: 1020) */
}

.lightbox-img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    color: white;
    cursor: pointer;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.lightbox-close:hover {
    color: #ccc;
}

.gallery-img {
    cursor: pointer;
    transition: transform 0.2s;
}

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

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    background: white;
    padding: 20px;
    border-radius: 8px;
    overflow-y: auto;
    color: black;
    text-align: left;
}

.lightbox-content h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.lightbox-content p {
    font-size: 1rem;
    line-height: 1.5;
}

.visually-hidden-focusable {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.visually-hidden-focusable:focus {
    width: auto;
    height: auto;
    margin: 0;
    clip: auto;
    padding: 10px;
    background: #fff;
    border: 2px solid #000;
    z-index: 10000;
}
