/* ===== Portfolio Site Styles ===== */

:root {
    --bg-dark: #0f0f23;
    --bg-card: #1a1a2e;
    --bg-surface: #16213e;
    --accent: #e67e22;
    --accent-hover: #d35400;
    --text-primary: #e8e8e8;
    --text-muted: #8892a0;
    --border: #2a2a4a;
    --arc-blue: #00d4ff;
    --bliss-purple: #7c3aed;
}

/* ---------- Base ---------- */
* {
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    margin: 0;
}

/* ---------- Navbar ---------- */
.navbar {
    background-color: rgba(15, 15, 35, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    padding: 0.75rem 0;
}

.navbar-brand {
    font-size: 1.2rem;
    letter-spacing: 0.5px;
}

.nav-link-custom {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-link-custom:hover {
    color: var(--accent);
}

/* ---------- Hero ---------- */
.hero-section {
    padding: 6rem 0 4rem;
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-surface) 50%, var(--bg-dark) 100%);
    border-bottom: 1px solid var(--border);
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 550px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

/* ---------- Buttons ---------- */
.btn-accent {
    background-color: var(--accent);
    border-color: var(--accent);
    color: #fff;
    font-weight: 600;
}

.btn-accent:hover {
    background-color: var(--accent-hover);
    border-color: var(--accent-hover);
    color: #fff;
}

.btn-outline-light {
    border-color: var(--border);
    color: var(--text-muted);
}

.btn-outline-light:hover {
    background-color: var(--bg-card);
    border-color: var(--accent);
    color: var(--text-primary);
}

/* ---------- Section Titles ---------- */
.section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent);
    margin: 0.75rem auto 0;
    border-radius: 2px;
}

/* ---------- Project Cards ---------- */
.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s, border-color 0.2s;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
}

.project-screenshot {
    width: 100%;
    height: 180px;
    background: var(--bg-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}

.project-screenshot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.screenshot-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.8rem;
}

.project-body {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.project-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
}

.project-tagline {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.project-features {
    list-style: none;
    padding: 0;
    margin: 0 0 auto;
    font-size: 0.85rem;
}

.project-features li {
    padding: 4px 0;
    color: var(--text-muted);
}

.project-features li i {
    color: var(--accent);
    margin-right: 6px;
    font-size: 0.8rem;
}

/* ---------- Tech Stack Badges ---------- */
.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 1rem;
}

.tech-badge {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    color: var(--text-muted);
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ---------- Services ---------- */
.services-section {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.service-item {
    padding: 1.5rem;
}

.service-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.service-item h4 {
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.service-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ---------- Feature Cards (Showcase Pages) ---------- */
.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1.5rem;
    height: 100%;
    transition: border-color 0.2s;
}

.feature-card:hover {
    border-color: var(--accent);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    display: block;
}

.feature-card h5 {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0;
}

/* ---------- Contact ---------- */
.text-muted-custom {
    color: var(--text-muted);
}

/* ---------- Footer ---------- */
footer {
    border-top: 1px solid var(--border);
}

/* ---------- Responsive ---------- */
@media (max-width: 767.98px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-section {
        padding: 4rem 0 3rem;
    }

    .nav-link-custom {
        font-size: 0.8rem;
    }

    .project-screenshot {
        height: 140px;
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.4rem;
    }

    .project-body {
        padding: 1rem;
    }
}
