/* Container */
.container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    gap: 2rem;
    padding: 2rem;
    position: relative;
}

/* Project Details */
.project-details {
    width: 100%;
    animation: fadeEffect 1s ease-in-out;
}

.project-header {
    margin-bottom: 3rem;
}

.project-header h1 {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.project-header h1::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50%;
    height: 3px;
    background: linear-gradient(90deg, #FFBE55, transparent);
}

.project-meta-info {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.project-meta-info span {
    padding: 0.5rem 1rem;
    background: rgba(255, 190, 85, 0.1);
    color: #FFBE55;
    border-radius: 20px;
    font-size: 0.9rem;
}

/* Project Sections */
.project-overview, .project-gallery, .project-video, .project-specs, .project-comments {
    background: #27272A;
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 2px solid transparent;
    transition: all 1s ease;
}

.project-overview:hover, .project-gallery:hover, .project-video:hover, 
.project-specs:hover, .project-comments:hover {
    border-color: #FFBE55;
    background: #323232;
}

h2 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

h2::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #FFBE55;
}

p {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
}

.image-caption {
    padding: 0.8rem;
    background: rgba(24, 24, 27, 0.9);
    color: #fff;
    font-size: 0.9rem;
    margin: 0;
}

/* Video Container */
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    overflow: hidden;
    border-radius: 10px;
}

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

.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    /*object-fit: cover;*/
}

.video-container video::-webkit-media-controls-enclosure {
    overflow: hidden;
}

.video-container video::-webkit-media-controls-panel {
    width: calc(100% + 30px);
}

/* Technical Specifications */
.project-specs ul {
    list-style: none;
    padding: 0;
}

.project-specs li {
    color: #ccc;
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.project-specs li:last-child {
    border-bottom: none;
}

.project-specs strong {
    color: #FFBE55;
    margin-right: 1rem;
}

/* Comments Section */
.comment {
    background: rgba(24, 24, 27, 0.5);
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.comment-author {
    color: #FFBE55;
    font-weight: 600;
}

.comment-date {
    color: #666;
    font-size: 0.9rem;
}

.comment-text {
    color: #ccc;
    line-height: 1.6;
    margin: 0;
}

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

    .project-header h1 {
        font-size: 2rem;
    }

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

    .project-overview, .project-gallery, .project-video, .project-specs, .project-comments {
        padding: 1.5rem;
    }
}

@keyframes fadeEffect {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.inline-list{
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.video-thanks {
    color: #ccc;
}
.video-thanks a{
    color: #ccc;
}

.use-math {
    color : #FFBE55;
}