/* =====================================
   NAT'S PROJECTS - BASE STYLE
   ===================================== */

:root {
    --background: #090909;
    --surface: #111111;
    --surface-light: #181818;
    --border: rgba(255,255,255,.08);

    --green: #1bd96a;
    --green-dark: #0fa653;
    --blue: #3b82f6;
    --purple: #8b5cf6;

    --text: #ffffff;
    --text-secondary: #b5b5b5;

    --radius: 18px;
    --shadow: 0 15px 40px rgba(0,0,0,.45);
    --transition: .25s ease;
}


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

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

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    color: var(--text);
    background:
        radial-gradient(ellipse at 20% 20%, rgba(27,217,106,.15), transparent 45%),
        radial-gradient(ellipse at 80% 30%, rgba(59,130,246,.12), transparent 45%),
        radial-gradient(ellipse at 50% 80%, rgba(139,92,246,.12), transparent 50%),
        var(--background);
    background-attachment: fixed;
    overflow-x: hidden;
}


/* ===== TEXT ===== */

::selection {
    background: var(--green);
    color: black;
}

h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.5rem, 6vw, 5rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: 1.5rem;
}

p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== LINKS ===== */

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--green);
}

/* ===== BUTTON ===== */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 999px;
    background: var(--green);
    color: #000;
    font-weight: 700;
    transition:
        transform var(--transition),
        background var(--transition);
}

.button:hover {
    transform: translateY(-3px);
    background: #35f083;
    color: #000;
}

.button.secondary {
    background: rgba(255,255,255,.08);
    color: white;
    border: 1px solid var(--border);
}

.button.secondary:hover {
    background: rgba(255,255,255,.15);
    color: white;
}

/* ===== STRUCTURE ===== */

main {
    width: min(1200px, 90%);
    margin: auto;
}

.section {
    margin: 100px auto;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

/* ===== IMAGES ===== */

img {
    max-width: 100%;
    display: block;
}

/* ===== FOOTER ===== */

footer {
    text-align: center;
    padding: 40px;
    color: var(--text-secondary);
    border-top: 1px solid var(--border);
}
