/* Project Detail Page Styles */

/* Container Styles */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

/* Hero Section */
.project-detail-hero {
    padding: 120px 0 60px;
    background: var(--gradient-bg);
    color: var(--text-color);
}

.project-hero-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.project-hero-image {
    flex: 1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.project-hero-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.project-hero-image:hover img {
    transform: scale(1.02);
}

.project-hero-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.project-hero-info h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.project-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    color: var(--text-color);
    opacity: 0.8;
}

.project-meta span i {
    margin-right: 0.5rem;
    color: var(--accent-color);
}

/* Project Details Section */
.project-details-section {
    padding: 60px 0;
    background-color: var(--bg-color);
}

.project-details-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

/* Video Section */
.video-section {
    margin: 2rem 0;
    width: 100%;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

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

.project-description {
    flex: 2;
}

.project-description h2 {
    font-family: 'Orbitron', sans-serif;
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.project-description h2:first-child {
    margin-top: 0;
}

.project-description p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
    color: var(--text-color);
}

.feature-list {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.feature-list li {
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
    line-height: 1.6;
}

.feature-list li i {
    position: absolute;
    left: 0;
    top: 0.3rem;
    color: var(--accent-color);
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.tech-item {
    background-color: var(--card-bg);
    color: var(--text-color);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tech-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.tech-item i {
    margin-right: 0.5rem;
    color: var(--accent-color);
}

.project-sidebar {
    flex: 1;
}

.sidebar-section {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.sidebar-section h3 {
    font-family: 'Orbitron', sans-serif;
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 1.2rem;
    font-size: 1.3rem;
}

.timeline-item {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    position: relative;
}

.timeline-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.timeline-item:before {
    content: '';
    position: absolute;
    left: -20px;
    top: 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--accent-color);
}

.timeline-date {
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.timeline-event {
    font-weight: 500;
}

.related-project {
    display: block;
    padding: 0.8rem 0;
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-project:hover {
    color: var(--accent-color);
}

.related-project i {
    margin-right: 0.5rem;
    color: var(--accent-color);
}

/* Share buttons removed as requested */

/* Back to Projects Section */
.back-to-projects {
    padding: 40px 0 60px;
    background-color: var(--bg-color);
}

.back-button {
    display: inline-flex;
    align-items: center;
    padding: 0.8rem 1.5rem;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    font-weight: 500;
}

.back-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    background-color: var(--secondary-color);
}

.back-button i {
    margin-right: 0.5rem;
}

/* Responsive Styles */
@media (min-width: 992px) {
    .project-hero-content {
        flex-direction: row;
    }
    
    .project-details-content {
        flex-direction: row;
    }
    
    .sidebar-section {
        padding: 2rem;
    }
    
    .timeline-item {
        padding-left: 1rem;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .project-hero-content {
        flex-direction: row;
    }
    
    .project-details-content {
        flex-direction: row;
        gap: 2rem;
    }
    
    .container {
        width: 85%;
    }
}

@media (max-width: 767px) {
    .project-hero-info h1 {
        font-size: 2rem;
    }
    
    .project-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .tech-stack {
        gap: 0.7rem;
    }
    
    .tech-item {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .container {
        width: 90%;
        padding: 0 15px;
    }
    
    .sidebar-section {
        margin-top: 2rem;
    }
}