body, html {
    height: 100%;
    margin: 0;
    padding: 0;
    /* font-family: Arial, sans-serif; */
}

.hero {
    position: relative;
    height: 100%;
    background-color: black; /* Fallback color */
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cover the whole area */
    filter: brightness(50%); /* Dim the photo for text visibility */
}

.welcome-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
}

.welcome-text h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    /* font-weight: normal; */
}

.explore-link {
    display: inline-block;
    padding: 10px 20px;
    font-size: 1.5rem;
    border: 2px solid white;
    /* border-radius: 50px; */
    text-decoration: none;
    color: white;
    background-color: rgba(255, 255, 255, 0.3); /* Semi-transparent white background */
    transition: background-color 0.3s;
}

.explore-link:hover {
    background-color: rgba(255, 255, 255, 0.5); /* Increased opacity on hover */
}

/* Gallery Page Specific Styles */
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: black;
    color: white;

    position: relative;
    z-index: 1000;
}

header h1 {
    margin: 0;
    font-size: 2rem;
}

.menu {
    display: block;
    cursor: pointer;
    position: relative;
    width: 30px;
    height: 25px;
}

.menu-line {
    background-color: white;
    height: 3px;
    width: 100%;
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
}

.menu-line:nth-child(1) { top: 0; }
.menu-line:nth-child(2) { top: 11px; }
.menu-line:nth-child(3) { top: 22px; }

.menu-animate .menu-line:nth-child(1) {
    top: 11px;
    transform: rotate(135deg);
}

.menu-animate .menu-line:nth-child(2) {
    opacity: 0;
}

.menu-animate .menu-line:nth-child(3) {
    top: 11px;
    transform: rotate(-135deg);
}

.navbar {
    background-color: white;
    position: fixed;
    width: 100%;
    height: 100%; /* Take full viewport height */
    top: 0;
    left: 0;
    overflow-y: auto; /* In case of overflow */
    z-index: 999;

    display: flex; /* Use flexbox */
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.navbar ul {
    list-style: none;
    padding: 0;
}

.navbar a {
    display: block;
    padding: 10px 0;
    text-decoration: none;
    color: black;
    border-bottom: 1px solid #ddd;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    padding: 10px;
    gap: 10px;
    justify-content: space-evenly;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    padding: 10px;
    gap: 10px;
    justify-content: flex-start; /* Changed from space-evenly to flex-start */
}

.gallery img {
    width: calc(50% - 10px);
    height: auto;
    margin-bottom: 10px;
}

/* Responsive design for smaller screens */
@media (max-width: 600px) {
    .gallery img {
        width: 100%;
    }
}

/* Show the navbar when menu is clicked
.nav-active {
    display: block;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background-color: white; /* Or any color you prefer */
    /* z-index: 999; Ensure it's on top of other elements */
/* } */

.lightbox {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
}

.lightbox img {
    max-width: 80%;
    max-height: 80%;
    margin: auto;
}

.lightbox-prev, .lightbox-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 30px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
}

.lightbox-prev {
    left: 0;
    border-radius: 3px 0 0 3px;
}

.lightbox-next {
    right: 0;
    border-radius: 0 3px 3px 0;
}

.lightbox-prev:hover, .lightbox-next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.email-contact {
    text-align: center;
    /* margin-top: 20px; */
    padding-bottom: 20px;
}

.email-contact a {
    text-decoration: none;
    color: black;
    font-size: 16px;
    font-weight: bold;
}

/* Hover effect */
.email-contact a:hover {
    color: #555; 
}
