/* General site styles */
body {
    font-family: 'Rubik Mono One', Arial, sans-serif;
    margin: 0;
    padding: 0;
    padding-bottom: 100px; /* Space for fixed footer */
    color: #000;
    background-color: #fff;
}

/* Section for the hero video background and overlay logo */
#hero-section {
    position: relative;
    width: 100%;
    height: 65vh;
    overflow: hidden;
    background-color: #333;
}

#hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

#hero-logo {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 750px;
    max-width: 80%;
    height: auto;
    display: block;
}

/* Header bar for navigation, appears below the hero section */
header {
    background-color: #000;
    color: #fff;
    padding: 15px 20px;
    text-align: center;
    position: relative;
    z-index: 3;
}

nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

nav ul li {
    display: inline;
    margin-right: 20px;
}

nav ul li:last-child {
    margin-right: 0;
}

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

main {
    padding: 20px;
}

/* Gallery-specific styles */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.gallery-item {
    border: 1px solid #ccc;
    padding: 10px;
    text-align: center;
    transition: transform 0.3s ease;
    cursor: pointer;
}

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

.gallery-item img {
    width: 100%;
    height: auto;
}

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

.popup-content {
    background-color: #fff;
    max-width: 90vw;
    max-height: 90vh;
    overflow: auto;
    padding: 20px;
    position: relative;
    box-sizing: border-box;
}

.popup-content img {
    display: block;
    max-height: 80vh;
    width: auto;
    margin: 0 auto;
    object-fit: contain;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 40px;
    font-weight: bold;
    color: #000;
    cursor: pointer;
    user-select: none;
}

/* Footer styles for all pages */
footer {
    background-color: #000;
    color: #fff;
    text-align: center;
    padding: 10px 0;
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 3;
    font-family: Arial, sans-serif;
}