/* ========================================
   PROJECTS.HTML - SPECIFIC STYLES
======================================== */

/* Projects Hero */
.page-hero {
    padding: 140px 0 60px;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--glass-border);
    text-align: center;
}

.page-hero-content {
    max-width: 700px;
    margin: 0 auto;
}

.page-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin: 12px 0;
    line-height: 1.2;
}

.page-subtitle {
    font-size: 1.2rem;
    color: #94A3B8;
    margin-bottom: 16px;
}

/* Projects Grid */
.projects-full {
    padding: 60px 0 80px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.project-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.project-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: rgba(79, 70, 229, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-link {
    padding: 12px 28px;
    background: #fff;
    color: var(--bg-dark);
    border-radius: 100px;
    font-weight: 600;
    transform: translateY(20px);
    transition: var(--transition);
}

.project-card:hover .project-link {
    transform: translateY(0);
}

.project-content {
    padding: 24px;
}

.project-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 100px;
    background: rgba(79, 70, 229, 0.2);
    color: var(--primary);
    margin-bottom: 8px;
}

.project-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.project-desc {
    font-size: 0.9rem;
    color: #94A3B8;
    margin-bottom: 12px;
}

.project-tech {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.project-tech span {
    font-size: 0.7rem;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 100px;
    color: #94A3B8;
}

/* Apps Section */
.apps-full {
    padding: 60px 0 80px;
    background: rgba(255, 255, 255, 0.02);
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.app-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 24px;
    transition: var(--transition);
}

.app-card:hover {
    transform: translateY(-5px);
    border-color: var(--secondary);
    box-shadow: var(--shadow);
}

.app-icon {
    width: 72px;
    height: 72px;
    flex-shrink: 0;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
}

.app-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.app-content {
    flex: 1;
}

.app-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.app-desc {
    font-size: 0.85rem;
    color: #94A3B8;
    margin-bottom: 12px;
}

/* YouTube Section */
.youtube-full {
    padding: 60px 0 80px;
}

.youtube-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.youtube-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}

.youtube-card:hover {
    transform: translateY(-8px);
    border-color: #FF0000;
    box-shadow: var(--shadow);
}

.youtube-thumbnail {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.youtube-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.youtube-card:hover .youtube-thumbnail img {
    transform: scale(1.05);
}

.youtube-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.4);
    font-size: 3rem;
    color: #FF0000;
    transition: var(--transition);
}

.youtube-card:hover .youtube-play {
    background: rgba(0, 0, 0, 0.2);
    transform: scale(1.1);
}

.youtube-content {
    padding: 24px;
}

.youtube-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.youtube-desc {
    font-size: 0.85rem;
    color: #94A3B8;
    margin-bottom: 12px;
}

/* Projects Responsive */
@media (max-width: 768px) {
    .page-title {
        font-size: 2.5rem;
    }

    .projects-grid,
    .apps-grid,
    .youtube-grid {
        grid-template-columns: 1fr;
    }

    .app-card {
        flex-direction: column;
        text-align: center;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 2rem;
    }

    .project-title,
    .app-title,
    .youtube-title {
        font-size: 1rem;
    }
}

/* Projects Light Mode */
@media (prefers-color-scheme: light) {
    .project-card,
    .app-card,
    .youtube-card {
        background: rgba(0, 0, 0, 0.03);
        border-color: #e2e8f0;
    }

    .project-desc,
    .app-desc,
    .youtube-desc {
        color: #64748b;
    }

    .project-tech span {
        background: rgba(0, 0, 0, 0.05);
        color: #475569;
    }

    .project-tag {
        background: rgba(79, 70, 229, 0.1);
    }

    .app-icon {
        background: rgba(0, 0, 0, 0.03);
    }

    .page-hero {
        background: rgba(0, 0, 0, 0.02);
    }

    .section-tag {
        background: rgba(14, 165, 233, 0.1);
    }
}