/* General Styles */
body {
    font-family: 'Roboto', sans-serif;
    background-color: #fbfaff;
    color: #e1e1e1;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.logo{
    margin-left: 20px;
}

h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5em;
    font-weight: bold;
    color: #ffffff;
    background: linear-gradient(90deg, #1a1a1b, #3a3f54);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-shadow: 2px 4px 6px rgba(0, 0, 0, 0.4);
    margin: 20px 0;
}

/* Navbar Styles */
.navbar {
    width: 100%;
    background: linear-gradient(135deg, #4b5d6b, #37607f);
    padding: 15px 30px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    width: 150px;
    height: auto;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .logo img {
        width: 120px; /* Adjust logo size for smaller screens */
    }
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links a {
    color: #f5f5f5;
    font-size: 1.1em;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.nav-links a:hover {
    background-color: #3aafa9;
    color: #ffffff;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #ffffff;
}

/* Container Styles */
.container {
    text-align: center;
    max-width: 1200px;
    width: 100%;
    padding: 20px;
}

/* Gallery Styles */
.gallery {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
}

.main-video video {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

/* Video List as a Row on All Screens */
.video-list {
    display: flex;
    flex-direction: row;
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
}

.video-item {
    background-color: #d7d7d7;
    padding: 15px;
    border-radius: 10px;
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    flex: 1;
    max-width: 300px; /* Set maximum width */
    text-align: center;
    position: relative;
}

.video-item:hover {
    transform: scale(1.05);
    background-color: #ffffff;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.3);
}

.video-item.active {
    background-color: #98f1ff;
    color: white;
}

/* Uniform Image Size and Copyright Label */
.video-item img {
    width: 100%;
    height: 180px; /* Set a fixed height */
    object-fit: cover;
    border-radius: 10px;
    position: relative;
}

.video-item p {
    font-size: 1em;
    color: #000000;
    font-family: 'Playfair Display', serif;
}



/* Media Queries */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 0;
        background: #1e1f29;
        padding: 15px;
        border-radius: 5px;
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: flex;
    }

    /* Keep video items in a row on smaller screens */
    .video-list {
        flex-direction: row;
        gap: 10px;
        justify-content: space-around;
        flex-wrap: wrap;
    }

    .video-item {
        width: 32%; /* Use flex properties for small screen layout */
    }
}

@media (max-width: 480px) {
    .video-item {
        width: 32%; /* Adjust width for smaller screens */
    }

    .logo img {
        width: 100px;
    }

    h1 {
        font-size: 1.8em;
    }

    .main-video video {
        width: 90%;
    }
    .video-item p {
        font-size: .6em;
        color: #ffffff;
        font-family: 'Playfair Display', serif;
    }
    .video-item img {
        width: 100%;
        height: 70%;
        object-fit: cover;
        border-radius: 10px;
        position: relative;
    }
}
