/* =========================================
   PRIYANKA K — PORTFOLIO DESIGN SYSTEM
========================================= */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');


/* =========================================
   DESIGN TOKENS
========================================= */

html {
    scroll-behavior: smooth;
}

:root {

    /* ---------- COLORS ---------- */

    --bg-primary: #100816;
    --bg-secondary: #160d20;
    --bg-surface: rgba(255, 255, 255, 0.04);

    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.72);
    --text-muted: rgba(255, 255, 255, 0.48);

    --accent: #c9a7ff;
    --accent-bright: #dfcaff;

    --border: rgba(255, 255, 255, 0.12);
    --border-hover: rgba(201, 167, 255, 0.4);


    /* ---------- TYPOGRAPHY ---------- */

    --font-display: "Space Grotesk", sans-serif;
    --font-body: "DM Sans", sans-serif;


    /* ---------- FONT SIZES ---------- */

    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-md: 1rem;
    --text-lg: 1.125rem;

    --heading-sm: clamp(2rem, 4vw, 3.5rem);
    --heading-md: clamp(3rem, 6vw, 5.5rem);
    --heading-lg: clamp(4rem, 10vw, 9rem);


    /* ---------- SPACING ---------- */

    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 32px;
    --space-lg: 64px;
    --space-xl: 120px;


    /* ---------- LAYOUT ---------- */

    --nav-height: 80px;

    --section-padding: clamp(24px, 6vw, 100px);

    --content-width: 1200px;


    /* ---------- EFFECTS ---------- */

    --transition-fast: 0.2s ease;
    --transition-normal: 0.35s ease;

    --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.25);

}


/* =========================================
   RESET
========================================= */

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


html {
    scroll-behavior: smooth;
}


body {

    background: var(--bg-primary);

    color: var(--text-primary);

    font-family: var(--font-body);

    line-height: 1.6;

    overflow-x: hidden;
}


a {

    color: inherit;

    text-decoration: none;
}


button,
input,
textarea,
select {

    font: inherit;
}


img {

    max-width: 100%;

    display: block;
}


section {

    min-height: 100vh;
}


/* =========================================
   TYPOGRAPHY
========================================= */

h1,
h2,
h3,
h4 {

    font-family: var(--font-display);

    font-weight: 600;

    line-height: 1.05;
}


p {

    color: var(--text-secondary);
}


.section-label {

    font-family: var(--font-body);

    font-size: var(--text-xs);

    font-weight: 600;

    letter-spacing: 4px;

    color: var(--accent);

    text-transform: uppercase;
}


.section h2 {

    font-size: var(--heading-md);

    color: var(--text-primary);

    margin-top: var(--space-sm);
}


/* =========================================
   SHARED UTILITIES
========================================= */

.container {

    width: min(
        calc(100% - 2 * var(--section-padding)),
        var(--content-width)
    );

    margin-inline: auto;
}


.accent {

    color: var(--accent);
}


/* =========================================
   SELECTION
========================================= */

::selection {

    background: var(--accent);

    color: var(--bg-primary);
}


/* =========================================
   SCROLLBAR
========================================= */

::-webkit-scrollbar {

    width: 6px;
}


::-webkit-scrollbar-track {

    background: var(--bg-primary);
}


::-webkit-scrollbar-thumb {

    background: rgba(201, 167, 255, 0.35);

    border-radius: 10px;
}


::-webkit-scrollbar-thumb:hover {

    background: var(--accent);
}

/* =========================================
   GLOBAL NAVBAR
========================================= */

.navbar {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: var(--nav-height);

    padding: 0 var(--section-padding);

    display: flex;

    align-items: center;

    justify-content: space-between;

    z-index: 100;

    background: transparent;
}


.logo {
    font-family: var(--font-display);

    font-size: 1.4rem;

    font-weight: 700;

    letter-spacing: -1px;

    color: var(--text-primary);

    transition: color var(--transition-fast);
}


.logo:hover {
    color: var(--accent);
}


.nav-links {
    display: flex;

    align-items: center;

    gap: 32px;
}


.nav-links a {
    font-family: var(--font-body);

    font-size: var(--text-sm);

    font-weight: 500;

    color: rgba(255, 255, 255, 0.85);

    transition: color var(--transition-fast);
}


.nav-links a:hover {
    color: var(--accent);
}


.nav-links a.active {
    color: var(--accent);
}