body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #f0f0f0;
}

header {
    background: #333;
    color: white;
    padding: 10px 0;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

nav {
    background: #444;
    padding: 10px 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5), 0 2px 5px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

nav:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.7), 0 4px 10px rgba(0, 0, 0, 0.3);
}

nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    align-items: center;
    margin: 0;
}

nav ul li {
    margin: 0 15px;
    display: flex;
    align-items: center;
}

nav ul li a {
    color: white;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 4px;
    transition: background 0.3s ease, transform 0.3s ease;
}

nav ul li a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.logo {
    height: 60px;
    margin-right: 15px;
    vertical-align: middle;
}

main {
    padding: 20px;
}

section {
    margin-bottom: 40px;
}

.video-container, .photo-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.video-item, .photo-item {
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeIn 0.5s;
}

.video-container iframe {
    width: 300px;
    height: 169px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.photo-container img {
    margin: 5px;
    padding: 5px;
    width: 250px;
    height: 400px;;
    border: 2px solid #333;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.video-item p {
    margin-top: 10px;
    font-weight: bold;
}

.video-item:hover, .photo-item:hover {
    transform: translateY(-5px) rotateY(5deg);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

footer {
    text-align: center;
    padding: 10px 0;
    background: #333;
    color: white;
}

::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #d4d3d3;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #5f5f5f;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555858;
}

@media (max-width: 1080px) {
    header {
        padding: 10px;
    }

    .logo {
        height: 80px;
        margin-right: 0px;
    }

    nav {
        flex-direction: column;
        align-items: center;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        padding: 0;
    }

    nav ul li {
        margin: 5px 0;
        width: 100%;
        text-align: center;
    }

    nav ul li a {
        width: 100%;
        padding: 10px 0;
    }

    main {
        padding: 15px;
    }

    section {
        margin-bottom: 20px;
    }

    .video-container, .photo-container {
        flex-direction: column;
        align-items: center;
    }

    .video-container iframe, .photo-container img {
        width: 90%;
        max-width: 300px;
    }

    footer {
        padding: 5px;
    }
}

html, body {
    height: 100%;
    margin: 0;
    font-family: Arial, sans-serif;
}

body {
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
    padding: 20px;
    background-color: #f9f9f9;
}

header {
    background-color: #333;
    color: white;
    padding: 10px 0;
    text-align: center;
    position: relative;
}

nav ul {
    list-style-type: none;
    padding: 0;
}

nav ul li {
    display: inline;
    margin: 0 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
}

.hamburger {
    display: none;
    cursor: pointer;
    padding: 10px;
    background-color: #444;
    border: none;
    color: white;
    font-size: 18px;
    border-radius: 5px;
    transition: transform 0.3s ease;
}

.mobile-menu {
    color: white;
    align-items: center;
    justify-content: center;
    display: none; /* Use 'display: flex;' when active */
    flex-direction: column;
    background-color: #333;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    z-index: 1000;
    opacity: 0;
    transition: opacity 1.5s ease, transform 1.5s ease; /* Updated transition duration */
    transform: translateY(-20px); /* Start position for a smoother drop */
    pointer-events: none; /* Disable pointer events when not visible */
}

.mobile-menu.active {
    display: flex; /* Change to flex when the menu is active */
    opacity: 1; /* Fully visible */
    pointer-events: auto; /* Enable pointer events */
    transform: translateY(0); /* Slide down into view */
}

.mobile-menu ul {
    flex-direction: column;
    width: 100%;
    padding: 0;
    margin: 0;
}

.mobile-menu ul li {
    list-style: none;
    margin: 10px 0;
    text-align: center;
    transform: translateY(-10px); /* Start position for list items */
    opacity: 0; /* Hidden by default */
    transition: transform 0.3s ease, opacity 0.3s ease; /* Faster transition for items */
}

.mobile-menu.active ul li {
    transform: translateY(0); /* Move to original position */
    opacity: 1; /* Fade in */
}



.mobile-menu ul li a {
    color: white;
    text-decoration: none;
    padding: 10px;
    transition: color 0.3s ease;
    display: block;
}

.mobile-menu ul li:hover {
    border: 2px solid white;
    background-color: rgba(255, 255, 255, 0.1);
}

.mobile-menu ul li a:hover {
    color: rgba(255, 255, 255, 0.7);
}

.mobile-menu ul li a:focus {
    outline: 2px dashed #fff;
    outline-offset: 2px;
}

.video-container, .photo-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.video-item {
    flex: 1 1 300px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 10px;
    background-color: white;
    border-radius: 5px;
    cursor: pointer;
}

.video-item video, .video-item iframe {
    width: 100%;
    height: 200px;
    border-radius: 5px;
}

.photo-container img {
    flex: 1 1 150px;
    border-radius: 5px;
    max-width: 100%;
    cursor: pointer;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
    position: relative;
    margin: auto;
    padding: 20px;
    width: 80%;
    max-width: 800px;
}

.modal-media {
    width: 100%;
    height: auto;
}

.close {
    position: absolute;
    top: 10px;
    right: 25px;
    color: white;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
}

@media (max-width: 1080px) {
    .nav {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .video-container, .photo-container {
        flex-direction: column;
        align-items: center;
    }
}

.content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, opacity 0.5s ease-out;
    opacity: 0;
}

.active {
    max-height: 500px; 
    opacity: 1;
}

.service-item {
    cursor: pointer;
    margin: 10px 0;
    font-weight: bold;
}

footer {
    background-color: #000000bd; 
    text-align: center;
    padding: 10px;
}
