/* === MORALLY PAGE STYLES === */

.section-center {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 50px;
}

.project-page {
    padding-top: var(--header-height);
    min-height: 100vh;
    background: rgba(10, 10, 25, 0.4);
}

.project-header {
    text-align: center;
    margin-bottom: 60px;
}

.project-header h1 {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--text-main);
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--text-main) 0%, var(--primary-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.project-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.project-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: start;
    margin-bottom: 80px;
}

.project-left {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.project-description h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 20px;
}

.project-description p {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.project-features h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 25px;
}

.project-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.project-features li {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 18px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(124, 58, 237, 0.1);
    transition: all 0.3s;
}

.project-features li i {
    color: var(--primary-purple);
    font-size: 1.2rem;
    width: 20px;
}

.project-features li:hover {
    color: var(--primary-purple);
    transform: translateX(8px);
}

.project-right {
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(124, 58, 237, 0.2);
}

.project-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 100px;
}

.project-stats .stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    background: rgba(23, 23, 40, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(124, 58, 237, 0.15);
    border-radius: 18px;
    transition: all 0.3s ease;
}

.project-stats .stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-purple);
}

.project-stats .stat-icon {
    font-size: 3rem;
    color: var(--primary-purple);
    margin-bottom: 15px;
}

.project-stats .stat-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 10px;
}

.project-stats .stat-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .section-center {
        padding: 0 30px;
    }

    .project-grid {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .section-center {
        padding: 0 20px;
        max-width: 100%;
    }

    .project-page {
        padding-top: var(--header-height);
    }

    .project-header {
        margin-bottom: 40px;
        padding: 30px 0;
    }

    .project-header h1 {
        font-size: 2.2rem;
        line-height: 1.3;
        margin-bottom: 12px;
    }

    .project-subtitle {
        font-size: 1rem;
    }

    .project-grid {
        grid-template-columns: 1fr;
        gap: 35px;
        margin-bottom: 50px;
    }

    .project-left {
        gap: 30px;
    }

    .project-description {
        order: 1;
    }

    .project-description h2 {
        font-size: 1.6rem;
        margin-bottom: 15px;
    }

    .project-description p {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .project-features {
        order: 2;
    }

    .project-features h3 {
        font-size: 1.3rem;
        margin-bottom: 20px;
    }

    .project-features li {
        font-size: 0.9rem;
        gap: 12px;
        margin-bottom: 12px;
        padding: 10px 0;
    }

    .project-image {
        width: 100%;
        max-width: 100%;
        border-radius: 12px;
        transform: none !important;
    }

    .project-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin-bottom: 50px;
    }

    .project-stats .stat-card {
        padding: 20px;
        border-radius: 12px;
    }

    .project-stats .stat-icon {
        font-size: 2rem;
        margin-bottom: 10px;
    }

    .project-stats .stat-card h4 {
        font-size: 1rem;
    }

    .project-stats .stat-card p {
        font-size: 0.85rem;
    }

    .next-project-section {
        text-align: center;
        margin-top: 40px;
        padding: 20px 0;
    }

    .next-project-link {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 12px 24px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .section-center {
        padding: 0 12px;
    }

    .project-page {
        padding-top: var(--header-height);
    }

    .project-header {
        margin-bottom: 25px;
        padding: 20px 0;
    }

    .project-header h1 {
        font-size: 1.6rem;
        line-height: 1.25;
        margin-bottom: 10px;
    }

    .project-subtitle {
        font-size: 0.9rem;
        line-height: 1.4;
    }

    .project-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 30px;
    }

    .project-left {
        gap: 20px;
    }

    .project-description h2 {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }

    .project-description p {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    .project-features h3 {
        font-size: 1rem;
        margin-bottom: 12px;
    }

    .project-features li {
        font-size: 0.8rem;
        gap: 10px;
        margin-bottom: 8px;
        padding: 6px 0;
    }

    .project-features li i {
        font-size: 1rem;
        width: 16px;
        min-width: 16px;
    }

    .project-image {
        width: 100%;
        max-width: 90vw;
        border-radius: 10px;
        transform: none !important;
    }

    .project-stats {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-bottom: 30px;
    }

    .project-stats .stat-card {
        padding: 16px;
        border-radius: 10px;
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
        gap: 12px;
    }

    .project-stats .stat-icon {
        font-size: 1.6rem;
        margin-bottom: 0;
        flex-shrink: 0;
        line-height: 1;
    }

    .project-stats .stat-card h4 {
        font-size: 0.9rem;
    }

    .project-stats .stat-card p {
        font-size: 0.75rem;
    }

    .next-project-section {
        text-align: center;
        margin-top: 25px;
        padding: 15px 0;
    }

    .next-project-link {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 10px 20px;
        font-size: 0.85rem;
        border-radius: 8px;
    }
}

/* === NEXT PROJECT BUTTON === */
.next-project-section {
    text-align: right;
    margin-top: 60px;
    margin-bottom: 40px;
}

.next-project-link {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 15px 30px;
    background: linear-gradient(135deg, var(--primary-purple), var(--accent-purple));
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.next-project-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(124, 58, 237, 0.6);
}

.next-project-link:active {
    transform: translateY(-1px);
}

.next-project-link i {
    font-size: 1.2rem;
}

/* === RESPONSIVE FOR NEXT BUTTON === */
@media (max-width: 768px) {
    .next-project-section {
        text-align: center;
    }
}
