@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&family=Rajdhani:wght@600;700&display=swap');

:root {
    --forge-black:    #0B1120;
    --steel-night:    #1A2540;
    --deep-slate:     #2E3F6A;
    --arc-blue:       #38BEFF;
    --plasma-glow:    #7ED8FF;
    --cold-iron:      #C8D6E8;
    --silver-alloy:   #8A9CB5;
    --tempered-steel: #4E5E78;
    --white-heat:     #F0F4FA;

    --shadow-dark: 0 4px 24px rgba(0, 0, 0, 0.45);
    --shadow-glow: 0 0 24px rgba(56, 190, 255, 0.15);
    --border-subtle: 0.5px solid rgba(56, 190, 255, 0.15);
    --radius-md: 10px;
    --radius-lg: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    display: flex;
    flex-direction: column;
    font-family: 'Poppins', sans-serif;
    background-color: var(--forge-black);
    background-image:
        radial-gradient(ellipse 80% 50% at 50% -10%, rgba(56, 190, 255, 0.08) 0%, transparent 60%),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 39px,
            rgba(56, 190, 255, 0.03) 39px,
            rgba(56, 190, 255, 0.03) 40px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 39px,
            rgba(56, 190, 255, 0.03) 39px,
            rgba(56, 190, 255, 0.03) 40px
        );
    color: var(--cold-iron);
    max-width: 100%;
    max-height: 100%;
    min-height: 100vh;
}

/* ── Header ─────────────────────────────────────── */

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 32px;
    gap: 20px;
    background-color: rgba(26, 37, 64, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 0.5px solid rgba(56, 190, 255, 0.2);
    position: sticky;
    top: 0;
    z-index: 100;
}

/* Logo/brand text — pair Rajdhani for display flair */
header .logo,
header h1.logo {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--white-heat);
    letter-spacing: 0.04em;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 28px;
}

nav a {
    text-decoration: none;
    color: var(--silver-alloy);
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.03em;
    transition: color 0.2s ease;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--arc-blue);
    transition: width 0.25s ease;
}

nav a:hover {
    color: var(--plasma-glow);
}

nav a:hover::after {
    width: 100%;
}

/* ── Section shared styles ───────────────────────── */
 
section {
    flex: 1;
    padding: 80px 32px;
}
 
.heading {
    text-align: center;
    margin-bottom: 52px;
}
 
.heading h2 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--white-heat);
    letter-spacing: 0.03em;
    margin-bottom: 10px;
}
 
.heading p {
    font-size: 1rem;
    color: var(--silver-alloy);
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ── Project cards ───────────────────────────────── */
 
.project-item {
    background-color: var(--steel-night);
    padding: 28px 24px;
    border-radius: var(--radius-lg);
    border: var(--border-subtle);
    text-align: center;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
    position: relative;
    overflow: hidden;
}

.project-item a.project-link {
    text-decoration: none;
    color: var(--arc-blue);
    transition: color 0.2s ease;
}
 
/* Subtle top-edge glow on projects */
.project-item::before {
    content: '';
    position: absolute;
    top: 0; left: 20%; right: 20%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--arc-blue), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}
 
.project-item:hover::before {
    opacity: 1;
}
 
.project-item:hover {
    border-color: rgba(56, 190, 255, 0.35);
    box-shadow: var(--shadow-glow);
    transform: translateY(-3px);
}
 
.project-item h3 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    margin-bottom: 12px;
    color: var(--white-heat);
}
 
.project-item p {
    color: var(--silver-alloy);
    font-size: 0.95rem;
    line-height: 1.65;
}
 
/* Tag / badge for project tech */
.project-tag {
    display: inline-block;
    padding: 3px 10px;
    background: rgba(56, 190, 255, 0.1);
    color: var(--arc-blue);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    border-radius: 4px;
    border: 0.5px solid rgba(56, 190, 255, 0.25);
    margin: 12px 3px 0;
}
 

/* ── Footer ──────────────────────────────────────── */

footer {
    text-align: center;
    padding: 32px 20px;
    background-color: var(--steel-night);
    border-top: 0.5px solid rgba(56, 190, 255, 0.12);
    color: var(--tempered-steel);
    font-size: 0.85rem;
}

footer a {
    color: var(--arc-blue);
    text-decoration: none;
    transition: color 0.2s;
}

footer a:hover {
    color: var(--plasma-glow);
}
