/* Project Page Specific Styles */

.project-hero {
    padding: 120px 0 60px;
    position: relative;
    overflow: hidden;
    background: var(--bg-color);
}

.project-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    display: flex;
    gap: 0;
    overflow: hidden;
}

.project-hero-bg-image {
    flex: 1;
    background-size: cover;
    background-position: center;
    position: relative;
    opacity: 0.4;
}

.project-hero-bg-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.8), rgba(118, 75, 162, 0.8));
    mix-blend-mode: multiply;
}

.project-hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, var(--bg-color) 100%);
    z-index: 1;
}

.project-hero > .container {
    position: relative;
    z-index: 1;
}

.project-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.5), transparent);
}

.back-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    text-decoration: none;
    margin-bottom: 2rem;
    font-weight: 500;
    transition: transform 0.3s;
}

.back-link:hover {
    transform: translateX(-5px);
}

.project-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.project-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.meta-item {
    color: #a0a0a0;
    font-size: 0.95rem;
}

.project-tags-main {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* Content Layout */
.project-content {
    padding: 4rem 0;
}

.content-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 3rem;
}

.main-content {
    min-width: 0;
}

.featured-image {
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.content-section {
    margin-bottom: 3rem;
}

.content-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-color);
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.content-section h2::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.content-section p {
    color: #b0b0b0;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    color: #b0b0b0;
    position: relative;
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* Gallery */
.project-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.project-gallery img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    border: 1px solid rgba(102, 126, 234, 0.15);
}

.project-gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

/* Report Section */
.report-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.report-item {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.5) 0%, rgba(26, 26, 46, 0.3) 100%);
    backdrop-filter: blur(10px) saturate(150%);
    -webkit-backdrop-filter: blur(10px) saturate(150%);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(102, 126, 234, 0.2);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.report-item:hover {
    border-color: rgba(102, 126, 234, 0.3);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.3);
}

.report-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.report-item p {
    color: #b0b0b0;
    line-height: 1.8;
    font-size: 0.95rem;
}

.report-date {
    color: #808080;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.show-more-btn {
    margin-top: 1rem;
    padding: 0.6rem 1.5rem;
    background: rgba(102, 126, 234, 0.15);
    color: var(--primary-color);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.show-more-btn:hover {
    background: rgba(102, 126, 234, 0.25);
    border-color: rgba(102, 126, 234, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

/* Sidebar */
.sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-section {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.6) 0%, rgba(26, 26, 46, 0.4) 100%);
    backdrop-filter: blur(12px) saturate(160%);
    -webkit-backdrop-filter: blur(12px) saturate(160%);
    padding: 1.5rem;
    border-radius: 20px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(102, 126, 234, 0.25);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.sidebar-section h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-item {
    display: flex;
    justify-content: space-between;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
}

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

.info-label {
    color: #808080;
    font-size: 0.9rem;
}

.info-value {
    color: var(--text-color);
    font-weight: 600;
}

/* Project Links */
.project-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.project-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 10px;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.project-link:hover {
    background: rgba(102, 126, 234, 0.2);
    transform: translateX(5px);
}

/* Tech Tags */
.tech-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tag {
    padding: 0.4rem 0.8rem;
    background: rgba(102, 126, 234, 0.15);
    color: var(--text-color);
    border-radius: 8px;
    font-size: 0.85rem;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

/* More Projects */
.more-projects {
    padding: 4rem 0;
    background: var(--section-bg);
    position: relative;
}

.more-projects::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.5), transparent);
}

.projects-grid-small {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.mini-project-card {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.6) 0%, rgba(26, 26, 46, 0.4) 100%);
    backdrop-filter: blur(10px) saturate(150%);
    -webkit-backdrop-filter: blur(10px) saturate(150%);
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(102, 126, 234, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.mini-project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.mini-project-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.mini-project-card h3 {
    padding: 1rem;
    color: var(--text-color);
    font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .content-layout {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
    }

    .projects-grid-small {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .project-title {
        font-size: 2rem;
    }

    .project-meta {
        gap: 1rem;
    }

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

    .projects-grid-small {
        grid-template-columns: 1fr;
    }
}