/* ===========================
   PROJECTS SECTION - SIMPLE TEXT STYLE
   =========================== */

.projects {
    min-height: 100vh;
    padding: 100px 80px;
    background: var(--bg-color);
    transition: background 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.projects-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-size: clamp(60px, 10vw, 120px);
    font-weight: 900;
    text-align: center;
    margin-bottom: 24px;
    color: var(--text-color);
    letter-spacing: -0.02em;
    transition: color 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.section-subtitle {
    font-size: 20px;
    color: var(--text-muted);
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    transition: color 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Simple Project Card */
.project-bento {
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 32px;
    padding: 48px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
    cursor: pointer;
}

.project-bento.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Fill effect from cursor - Same as skill cards */
.project-bento::before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(102, 126, 234, 0.15);
    left: var(--x, 50%);
    top: var(--y, 50%);
    transform: translate(-50%, -50%);
    transition: width 0.6s cubic-bezier(0.22, 0.61, 0.36, 1),
                height 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
    z-index: 0;
    pointer-events: none;
}

.project-bento:hover::before {
    width: 200%;
    height: 200%;
}

/* Keep content on top of fill */
.project-bento > * {
    position: relative;
    z-index: 1;
}

.project-bento:hover {
    border-color: rgba(119, 150, 213, 0.475);
}

:root.white-mode .project-bento {
    background: #f8f9fa;
    border-color: rgba(0, 0, 0, 0.08);
}

:root.white-mode .project-bento::before {
    background: rgba(75, 104, 156, 0.301);
}

:root.white-mode .project-bento:hover {
    border-color: rgba(75, 104, 156, 0.301);
}

/* Project Header */
.project-bento-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
}

.project-bento-left {
    flex: 1;
}

.project-number {
    font-size: 72px;
    font-weight: 900;
    color: var(--text-color);
    line-height: 1;
    margin-bottom: 16px;
    opacity: 0.15;
    transition: color 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-client-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 8px;
    transition: color 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-client-name {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 12px;
    transition: color 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Live Project Button */
.live-project-btn {
    padding: 12px 32px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    background: transparent;
    color: var(--text-color);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.live-project-btn:hover {
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.05);
    transform: scale(1.05);
}

:root.white-mode .live-project-btn {
    border-color: rgba(0, 0, 0, 0.2);
    color: #000;
}

:root.white-mode .live-project-btn:hover {
    border-color: rgba(0, 0, 0, 0.4);
    background: rgba(0, 0, 0, 0.03);
}

/* Project Role & Duration */
.project-meta {
    display: flex;
    gap: 24px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.project-role,
.project-duration {
    font-size: 15px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.project-role::before {
    content: '👤';
    font-size: 14px;
}

.project-duration::before {
    content: '📅';
    font-size: 14px;
}

/* Project Description */
.project-bento-description {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 24px;
    transition: color 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Key Features List */
.project-features {
    list-style: none;
    padding: 0;
    margin: 24px 0;
}

.project-features li {
    color: var(--text-muted);
    line-height: 1.7;
    padding-left: 24px;
    margin-bottom: 12px;
    position: relative;
    transition: color 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-features li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: rgba(119, 140, 235, 0.8);
    font-weight: bold;
    font-size: 16px;
}

:root.white-mode .project-features li::before {
    color: rgba(88, 86, 214, 0.8);
}

/* Project Tags */
.project-tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
}

.project-tech-tag {
    background: rgba(102, 126, 234, 0.1);
    color: var(--text-color);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid rgba(102, 126, 234, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.project-tech-tag > * {
    position: relative;
    z-index: 1;
}

.project-tech-tag:hover {
    background: rgba(102, 126, 234, 0.2);
    transform: scale(1.05);
}

:root.white-mode .project-tech-tag {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.1);
}

:root.white-mode .project-tech-tag:hover {
    background: rgba(0, 0, 0, 0.1);
}

/* Empty main card when hovering tag */
.project-bento.tag-hover::before {
    width: 0 !important;
    height: 0 !important;
    transition: width 0.3s ease, height 0.3s ease;
}

/* ===========================
   RESPONSIVE
   =========================== */

@media (max-width: 1024px) {
    .projects {
        padding: 80px 60px;
    }

    .project-bento {
        padding: 40px;
    }

    .project-number {
        font-size: 64px;
    }
}

@media (max-width: 768px) {
    .projects {
        padding: 60px 24px;
    }

    .section-title {
        font-size: 60px;
    }

    .project-bento {
        padding: 32px;
    }

    .project-bento-header {
        flex-direction: column;
        gap: 20px;
    }

    .project-number {
        font-size: 56px;
    }

    .project-client-name {
        font-size: 24px;
    }

    .project-meta {
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .projects {
        padding: 60px 16px;
    }

    .section-title {
        font-size: 48px;
    }

    .project-bento {
        padding: 24px;
        border-radius: 24px;
    }

    .project-number {
        font-size: 48px;
    }

    .project-client-name {
        font-size: 20px;
    }

    .live-project-btn {
        padding: 10px 24px;
        font-size: 11px;
    }

    .project-bento-description {
        font-size: 16px;
    }

    .project-features li {
        font-size: 15px;
    }
}