
/* ==================================================
   PROJECTS PAGE
   ================================================== */
 
/* =========================
   Base
   ========================= */
 
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
 
html {
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    color: inherit;
}
 
body {
    font-family: Arial, Helvetica, sans-serif;
    background: #0b0b12;
    color: #f5f5f7;
    line-height: 1.6;
    min-height: 100vh;
}

/* =========================
   Main Projects Page
   ========================= */
 
.projects-page {
    min-height: 100vh;
 
    padding-top: 120px;
    padding-bottom: 80px;
}
 
.projects-section {
    width: 88%;
    max-width: 1100px;
 
    margin: 0 auto;
}
 
 
/* =========================
   Page Heading
   ========================= */
 
.projects-section-heading {
    text-align: center;
 
    margin-bottom: 18px;
}
 
.projects-section-heading p {
    color: #8b5cf6;
 
    font-size: 1rem;
 
    margin-bottom: 5px;
}
 
.projects-section-heading h1 {
    color: #f5f5f7;
 
    font-size: 2.5rem;
    font-weight: 700;
 
    line-height: 1.2;
}

body.light-theme .projects-section-heading h1 {
    color: #18181f;
}

 
 
/* Intro */
 
.projects-page-intro {
    max-width: 700px;
 
    margin: 0 auto 50px;
 
    text-align: center;
 
    color: #9292a3;
 
    font-size: 1rem;
    line-height: 1.7;
}
 
 
/* =========================
   Projects Grid
   ========================= */
 
.projects-grid {
    display: grid;
 
    grid-template-columns: repeat(2, minmax(0, 1fr));
 
    gap: 25px;
}
 
 
/* =========================
   Project Card
   ========================= */ 

.projects-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.projects-card-header .projects-category {
    margin-bottom: 0;
}

.projects-card-content {
    padding: 22px;
}
 
 
/* Project card icon box — renamed from .projects-logo, which collided
   with the navbar brand link and previously only had styling inside
   the 600px media query (so it had no box on desktop/tablet). */
 
.projects-card-icon {
    width: 52px;
    height: 52px;
 
    display: flex;
    align-items: center;
    justify-content: center;
 
    margin-bottom: 18px;
 
    border-radius: 12px;
 
    background: rgba(139, 92, 246, 0.12);
    border: 1px solid rgba(139, 92, 246, 0.3);
 
    color: #8b5cf6;
 
    font-size: 1.35rem;
 
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.08);
}
 
 
/* Category */
 
.projects-category {
    color: #8b5cf6;
 
    font-size: 0.9rem;
 
    margin-bottom: 8px;
}
 
 
/* Project Title */
 
.projects-card h2 {
    color: #f5f5f7;
 
    font-size: 1.5rem;
    font-weight: 600;
 
    line-height: 1.3;
 
    margin-bottom: 15px;
}
 
 
/* Description */
 
.projects-card p {
    color: #9292a3;
 
    font-size: 1rem;
 
    line-height: 1.8;
}
 
 
/* =========================
   Technology Tags
   ========================= */
 
.projects-tech {
    display: flex;
    flex-wrap: wrap;
 
    gap: 8px;
 
    margin-top: 20px;
}
 
.projects-tech span {
    padding: 5px 10px;
 
    border-radius: 5px;
 
    background: #1c1c29;
 
    color: #b8b8c7;
 
    font-size: 0.8rem;
}
 
 
/* =========================
   GitHub Button
   ========================= */
 
.projects-link {
    display: inline-flex;
    align-items: center;
 
    gap: 8px;
 
    margin-top: 20px;
    padding: 9px 16px;
 
    border: 1px solid #8b5cf6;
    border-radius: 7px;
 
    color: #f5f5f7;
    background: transparent;
 
    font-size: 0.9rem;
    font-weight: 500;
 
    text-decoration: none;
 
    transition: 0.3s ease;
}
 
.projects-link:hover {
    background: #8b5cf6;
    color: #ffffff;
 
    transform: translateY(-2px);
}
 
 
/* ==================================================
   RESPONSIVE
   ================================================== */
 
@media (max-width: 900px) {
 
    .projects-grid {
        grid-template-columns: 1fr;
    }
 
}
 
 
@media (max-width: 600px) {
 
 
    .projects-page {
        padding-top: 105px;
        padding-bottom: 60px;
    }
 
    .projects-section {
        width: 90%;
    }
 
    .projects-section-heading h1 {
        font-size: 2.1rem;
    }
 
    .projects-page-intro {
        margin-bottom: 35px;
    }
 
    .projects-card-content {
        padding: 25px;
    }
 
}
 
 
@media (max-width: 400px) {
 

    .projects-section-heading h1 {
        font-size: 1.9rem;
    }
 
    .projects-card-content {
        padding: 22px;
    }
 
}
 

/* =========================
   Light Theme
========================= */

body.light-theme {
    background: #f7f7fb;
    color: #18181f;
}

