/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* Header Styles */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    background-color: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid #ddd;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

header .logo {
    display: flex;
    align-items: center;
}

header .logo a {
    display: flex;
    align-items: center;
}

header .logo img {
    height: 40px;
    width: auto;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav ul li a {
    text-decoration: none;
    color: #000;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 20px;
    background-color: #fff;
    transition: all 0.3s ease;
}

nav ul li a:hover {
    background-color: #000;
    color: #fff;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #000;
    transition: all 0.3s ease;
}

/* Project Title Section */
.project-title {
    margin-top: 80px;
    padding: 60px 80px;
    background-color: #f9f9f9;
}

.project-title h1 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #333;
}

.title-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 30px 0;
    border-top: 1px solid #ddd;
    gap: 40px;
}

.project-info {
    flex: 1;
}

.project-meta,
.project-member {
    font-size: 1rem;
    color: #666;
    margin-bottom: 8px;
}

.project-category {
    text-align: right;
    flex: 1;
    /*flex-shrink: 0;*/
}

.category-name {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 15px;
    color: #333;
}

.tools {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    align-items: center;
}

.tools img {
    height: 30px;
    width: auto;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.tools img:hover {
    opacity: 1;
}

/* Project Content - Image Gallery */
.project-content {
    max-width: 100%;
    margin: 0 auto;
}

.project-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 0;
    padding: 0;
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}


/* Footer */
footer {
    text-align: center;
    padding: 40px 20px;
    background-color: #f5f5f5;
    color: #666;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        padding: 15px 20px;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: rgba(255, 255, 255, 0.98);
        padding: 20px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        border-bottom: 1px solid #ddd;
    }

    nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    nav ul {
        flex-direction: column;
        gap: 10px;
    }

    nav ul li a {
        display: block;
        text-align: center;
    }

    .project-title {
        padding: 30px 20px;
        margin-top: 70px;
    }

    .project-title h1 {
        font-size: 1.8rem;
    }

    .title-item {
        flex-direction: column;
        gap: 20px;
    }

    .project-category {
        text-align: left;
    }

    .tools {
        justify-content: flex-start;
    }
}

@media (max-width: 480px) {
    .project-title h1 {
        font-size: 1.5rem;
    }

    .project-title {
        padding: 20px 15px;
    }

    .tools img {
        height: 25px;
    }
}
