/* General Styles */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Sticky Header */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
    transition: all 0.3s ease;
}

.navbar img,
.navbar .logo {
    max-height: 50px;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    justify-content: center;
    padding: 0.5rem 0;
    background-color: #333; /* Dark background when scrolled */
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2); /* Subtle shadow */
}

.navbar.scrolled img,
.navbar.scrolled .logo {
    transform: scale(0.8);
}

/* Hero Section with Video Background */
.hero {
    position: relative;
    overflow: hidden;
    height: 50vh;
}

.hero video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: white;
    z-index: 2;
    text-align: center;
    margin: 0;
    position: relative;
}

.search-bar {
    max-width: 600px;
    margin: 2rem auto;
    z-index: 2;
    text-align: center;
}

/* Gallery Layout */
.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.gallery-item {
    flex: 1 1 300px;
    max-width: 300px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.gallery-item img,
.gallery-item video {
    width: 100%;
    height: auto;
    display: block;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        height: 30vh;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .gallery {
        gap: 1rem;
    }
}

/* Side Menu */
.side-menu {
    width: 250px;
    background: #333;
    color: #fff;
    height: 100vh;
    transform: translateX(-250px);
    transition: transform 0.3s;
    position: fixed;
    z-index: 1000;
}

.side-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.side-menu li {
    padding: 15px;
    border-bottom: 1px solid #444;
}

.side-menu a {
    color: #fff;
    text-decoration: none;
}

.side-menu ul ul {
    padding-left: 20px;
}

.side-menu.open {
    transform: translateX(0);
}

/* Main Content */
#app {
    display: flex;
}

.main-header {
    background: #555;
    color: white;
    padding: 15px;
    display: flex;
    align-items: center;
}

.main-header #menu-toggle {
    font-size: 18px;
    background: none;
    border: none;
    color: white;
    margin-right: 10px;
    cursor: pointer;
}

#main-content {
    margin-left: 250px;
    padding: 20px;
}

/* Footer */
footer {
    text-align: center;
    margin-top: 20px;
    color: #777;
}

.footer-credit {
    position: fixed;
    bottom: 10px;
    right: 10px;
    font-size: 12px;
}

@media (max-width: 768px) {
    .footer-credit {
        font-size: 10px;
        bottom: 5px;
        right: 5px;
    }
}
