/* Projects Page Styles */
.projects-main {
    padding: 2rem;
    background-color: #000000;
    min-height: calc(100vh - 48px);
    margin-top: 48px;
    color: #ffffff;
}

/* Video Showcase Section */
.video-showcase {
    margin-bottom: 4rem;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    padding: 1rem;
}

.video-item {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
}

.video-item iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

/* Section Styles */
.project-section {
    margin-bottom: 4rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    color: #ffffff;
}

/* Image Grid */
.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    padding: 1rem;
}

.image-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 10px;
    background: #1a1a1a;
    transition: transform 0.3s ease;
}

.image-item:hover {
    transform: scale(1.02);
}

.image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.image-item:hover img {
    transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .projects-main {
        padding: 1rem;
    }

    .video-grid {
        grid-template-columns: 1fr;
    }

    .image-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1rem;
    }

    h2 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 480px) {
    .image-grid {
        grid-template-columns: 1fr;
    }
}
@media (min-width: 768px) {
     .menu-button, .mobile-menu {
        display: none;
    }
}

.menu-button-bar {
    width: 100%;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s;
}

.menu-button.active .menu-button-bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-button.active .menu-button-bar:nth-child(2) {
    opacity: 0;
}

.menu-button.active .menu-button-bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.mobile-menu {
    top: 48px;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 45;
    padding: 24px 16px;
    transform: translateY(-100%);
    transition: transform 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mobile-menu.active {
    position:fixed;
    transform: translateY(0);
}

.mobile-nav-item {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 18px;
    padding: 8px 0;
    transition: color 0.2s;
}

.mobile-nav-item:hover {
    color: white;
}
