/* ==========================================
   CSS VARIABLES
========================================== */

:root {

    /* Fonts */
    --font-heading: "Space Grotesk", sans-serif;
    --font-body: "Inter", sans-serif;

    /* Colors */
    --color-bg: #050816;
    --color-surface: rgba(255, 255, 255, 0.08);
    --color-border: rgba(255, 255, 255, 0.12);

    --color-heading: #ffffff;
    --color-text: #d6d9e3;
    --color-muted: #9aa4b2;

    --color-primary: #22d3ee;
    --color-secondary: #3b82f6;

    --gradient-primary: linear-gradient(
        135deg,
        var(--color-primary),
        var(--color-secondary)
    );

    /* Shadows */
    --shadow-glow: 0 0 40px rgba(34, 211, 238, 0.25);
    --shadow-card: 0 20px 50px rgba(0, 0, 0, 0.35);

    /* Blur */
    --blur-glass: 20px;

    /* Border Radius */
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;

    /* Layout */
    --container-width: 1200px;
    --section-padding: 7rem;

    /* Transitions */
    --transition-fast: 0.25s ease;
    --transition-normal: 0.4s ease;
    --transition-slow: 0.7s ease;
}

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

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

/* ==========================================
   BASE STYLES
========================================== */

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.7;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

section {
    padding: var(--section-padding) 8%;
}

h1,
h2,
h3 {
    font-family: var(--font-heading);
    color: var(--color-heading);
}

p {
    color: var(--color-text);
}
/* ==========================================
   AURORA GLOW BACKGROUND
========================================== */

.aurora-glow {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    z-index: -1;

    pointer-events: none;

    background:
        radial-gradient(
            circle at top left,
            rgba(34, 211, 238, 0.18) 0%,
            transparent 70%
        ),

        radial-gradient(
            circle at bottom right,
            rgba(59, 130, 246, 0.18) 0%,
            transparent 70%
        ),

        radial-gradient(
            circle at center,
            rgba(34, 211, 238, 0.12) 0%,
            transparent 75%
        );

    filter: blur(80px);

    pointer-events: none;
}
/* ==========================================
   HEADER
========================================== */

/* ==========================================
   HEADER
========================================== */

header {
    position: sticky;
    top: 0;
    width: 100%;
    background: var(--color-surface);
    backdrop-filter: blur(var(--blur-glass));
    -webkit-backdrop-filter: blur(var(--blur-glass));
    border-bottom: 1px solid var(--color-border);
    z-index: 1000;
}

/* ==========================================
   NAVIGATION
========================================== */

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 8%;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-heading);
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--color-heading);
    transition: var(--transition-fast);
}

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

/* ==========================================
   HERO
========================================== */

#home {
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 700px;
}

.hero-subtitle {
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 1rem;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 6vw, 4rem);
    color: var(--color-heading);
    margin-bottom: 1rem;
}

.hero-tagline {
    font-size: 1.3rem;
    color: var(--color-muted);
    margin-bottom: 1.5rem;
}

.hero-description {
    max-width: 600px;
    margin-bottom: 2rem;
}

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

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    padding: .9rem 1.7rem;
    border-radius: var(--radius-md);
    background: var(--gradient-primary);
    color: white;
    font-weight: 600;
    transition: var(--transition-fast);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}


/* ==========================================
   ABOUT SECTION
========================================== */

.about-container {
    max-width: var(--container-width);
    margin: 0 auto;
}

.about-container h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
}

.about-description {
    max-width: 800px;
    margin: 0 auto 2.5rem;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-text);
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.skill-tag {
    background: var(--color-surface);
    color: var(--color-heading);

    padding: 0.7rem 1.4rem;

    border: 1px solid var(--color-border);

    border-radius: 999px;

    font-size: 0.95rem;
    font-weight: 500;

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

.skill-tag:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}



/* ==========================================
   PROJECTS SECTION
========================================== */

.projects-container {
    max-width: var(--container-width);
    margin: 0 auto;
}

.projects-container h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.project-card {
    display: flex;
    align-items: center;
    gap: 3rem;

    margin-bottom: 3rem;

    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);

    padding: 2rem;
}

.project-card.reverse {
    flex-direction: row-reverse;
}

.project-image,
.project-content {
    flex: 1;
}

.project-image {
    min-height: 280px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px dashed var(--color-border);
    border-radius: var(--radius-lg);

    display: flex;
    justify-content: center;
    align-items: center;
}
.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
    display: block;
}

.project-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.project-content p {
    color: var(--color-text);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.project-tech li {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 999px;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.project-links {
    display: flex;
    gap: 1rem;
}

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

footer {
    padding: 2rem 8%;
    text-align: center;
    border-top: 1px solid var(--color-border);
}

.footer-container {
    max-width: var(--container-width);
    margin: auto;
}

.footer-container p {
    margin-bottom: 1rem;
}

.footer-container a {
    color: var(--color-primary);
}

/* ==========================================
   RESPONSIVE
========================================== */

@media (max-width: 768px) {

    nav {
        flex-direction: column;
        gap: 1rem;
    }

    .project-card,
    .project-card.reverse {
        flex-direction: column;
    }

}