/* Project Page Styles */

body {
    background-color: #0f172a;
    font-family: 'Inter', sans-serif;
    padding-top: 80px;
}

/* Hero Section */
.project-hero-section {
    min-height: 25vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 3rem 8rem;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    position: relative;
    overflow: hidden;
}

.project-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.project-hero-title {
    font-size: 4rem;
    font-weight: 900;
    color: #ffffff;
    line-height: 1.2;
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.project-hero-subtitle {
    font-size: 1.2rem;
    color: #cbd5e1;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    margin-top: 1rem;
    line-height: 1.6;
}

/* Project Content Section */
.project-content-section {
    padding: 3rem 3rem;
    background-color: #0f172a;
}

@media (min-width: 768px) {
    .project-content-section {
        padding: 4rem 5rem;
    }
}

@media (min-width: 1024px) {
    .project-content-section {
        padding: 5rem 6rem;
    }
}

@media (min-width: 1280px) {
    .project-content-section {
        padding: 6rem 8rem;
    }
}

.project-content-container {
    max-width: 1600px;
    margin: 0 auto;
}

.project-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 8rem;
}

.project-item:last-child {
    margin-bottom: 0;
}

/* Flip layout for project 2 (middle item) */
.project-item:nth-child(2) .project-text-column {
    order: 2;
}

.project-item:nth-child(2) .project-image-column {
    order: 1;
}

/* Flip layout for project 4 */
.project-item:nth-child(4) .project-text-column {
    order: 2;
}

.project-item:nth-child(4) .project-image-column {
    order: 1;
}

@media (max-width: 1024px) {
    .project-item {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.project-text-column {
    display: flex;
    flex-direction: column;
}

.project-heading {
    font-size: 2.5rem;
    font-weight: 800;
    color: #8b5cf6;
    margin-bottom: 1.5rem;
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.project-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #cbd5e1;
    margin-bottom: 1.5rem;
    font-family: 'Inter', sans-serif;
}

.project-image-column {
    display: flex;
    justify-content: center;
    align-items: center;
}

.project-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(139, 92, 246, 0.15);
    transition: transform 0.3s ease;
}

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

/* PDF Embed */
.project-pdf {
    width: 100%;
    height: 600px;
    border-radius: 12px;
    border: 2px solid rgba(139, 92, 246, 0.2);
    box-shadow: 0 10px 40px rgba(139, 92, 246, 0.15);
}

/* Placeholder for Empty Media */
.project-placeholder {
    width: 100%;
    min-height: 300px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05) 0%, rgba(139, 92, 246, 0.02) 100%);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8b5cf6;
    font-size: 1rem;
    text-align: center;
    padding: 2rem;
    font-family: 'Inter', sans-serif;
}

/* Responsive Design */
@media (max-width: 768px) {
    .project-hero-title {
        font-size: 2.5rem;
    }

    .project-heading {
        font-size: 1.8rem;
    }

    .project-text {
        font-size: 1rem;
    }
}
