@import url("https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300..700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@100..800&display=swap");
/* VARIABLES */
:root {
    --radius: 1rem;
    --radius-pill: 30px;
    --radius-button: 20px;
    --radius-nav: 1.5rem;
    --color-dark: 270;
    --color-light: 250;
    --font-sans: "Inter", sans-serif;
    --font-display: "Space Grotesk", sans-serif;
    --font-mono: "JetBrains Mono", monospace;
    --background: oklch(14% 0.03 var(--color-dark));
    --foreground: oklch(98% 0.005 var(--color-light));
    --card: oklch(18% 0.035 var(--color-dark));
    --primary: oklch(72% 0.21 265);
    --primary-foreground: oklch(12% 0.02 var(--color-dark));
    --secondary: oklch(24% 0.04 var(--color-dark));
    --muted-foreground: oklch(72% 0.03 260);
    --glass: oklch(100% 0 0 / 0.06);
    --border: oklch(100% 0 0 / 0.08);
    --electric: oklch(70% 0.22 260);
    --violet: oklch(65% 0.25 300);
    --cyan: oklch(82% 0.16 210);
    --glass-div: #0c1021b3;
    --glass-border: 1px solid oklch(100% 0 0 / 0.1);
    --nav-bg: oklch(0.18 0.035 var(--color-dark) / 0.7);
    --bg-white-alpha: #ffffff0a;
    --font-size-sm: 0.8rem;
    --font-size-md: 0.9rem;
    --font-size-lg: 1.1rem;
    --font-size-xl: 1.5rem;
    --panel-border: 1px solid oklch(1 0 0 / 0.12);
    --section-padding: 4.2rem;
    --big-blob-size: 30rem;
    --blob-size: 24rem;
    --blob-bg-alpha: 20%;
    --mac-red: #ff5f57;
    --mac-yellow: #febc2e;
    --mac-green: #28c840;
    --shadow-glow: 0 0 90px -10px oklch(70% 0.22 260 / 0.5);
    --transition-smooth: 0.5s all ease-in-out;
    --transition-fast: 0.2s linear;
    --border-glass: 1px solid oklch(100% 0 0 / 0.08);
    --gradient-primary: linear-gradient(
        135deg,
        var(--electric),
        var(--violet),
        var(--cyan)
    );
    --gradient-text: linear-gradient(135deg, oklch(85% 0.15 260), var(--cyan));
    --gradient-radial: radial-gradient(
        circle at 50% 0%,
        oklch(65% 0.25 300 / 0.3),
        transparent 60%
    );
    --blur-filter: blur(64px);
    --backdrop-blur-large: blur(40px) saturate(180%);
    --backdrop-blur-small: blur(20px);
}

/* BASE */
html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-sans);
}

body {
    height: 100vh;
    background-color: var(--background);
    color: var(--foreground);
}

section {
    min-height: 100dvh;
    padding: var(--section-padding);
    padding-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* TYPOGRAPHY */
.page-title {
    font-size: var(--font-size-md);
    text-transform: uppercase;
    font-family: var(--font-mono);
    color: var(--cyan);
    opacity: 0.5;
}

.main-title {
    font-family: var(--font-display);
    font-size: 3rem;
}

.sub-title {
    font-size: var(--font-size-md);
    color: var(--muted-foreground);
}

.mark {
    background: var(--gradient-text);
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: var(--font-display);
}

/* NAVIGATION */
.nav-bar {
    overflow: visible;
    position: fixed;
    height: 60px;
    width: 90%;
    padding: 1rem 1.5rem;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--nav-bg);
    backdrop-filter: var(--backdrop-blur-large);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: var(--glass-border);
    color: var(--foreground);
    border-radius: var(--radius-nav);
    z-index: 10;
}

.nav-head {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.nav-logo {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-foreground);
}

.nav-head-text {
    font-size: var(--font-size-lg);
    font-family: var(--font-display);
}

.hamburger-menu {
    position: relative;
    width: 32px;
    height: 32px;
    background: var(--bg-white-alpha);
    border-radius: 10px;
    border: 1px solid var(--border);
    gap: 0.2rem;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.bar {
    position: absolute;
    width: 15px;
    height: 2px;
    background-color: white;
    border-radius: 20px;
    transition: var(--transition-smooth);
}

.bar:nth-child(1) {
    top: 9px;
}
.bar:nth-child(2) {
    top: 14px;
}
.bar:nth-child(3) {
    top: 19px;
}

.active .bar:nth-child(1) {
    top: 14px;
    transform: rotate(45deg);
}

.active .bar:nth-child(2) {
    opacity: 0;
    transform: translateY(-10px);
}

.active .bar:nth-child(3) {
    top: 14px;
    transform: rotate(-45deg);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    list-style-type: none;
    padding: 0.3rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
}

.show.nav-links {
    display: flex;
    opacity: 1;
    visibility: visible;
}

.nav-link {
    border-radius: var(--radius-pill);
}

.nav-link.current {
    background: var(--gradient-primary);
}

.nav-link.current a {
    color: black;
}

.nav-link a {
    display: block;
    padding: 0.3rem 1rem;
    color: var(--muted-foreground);
    font-size: var(--font-size-md);
    font-weight: 600;
    text-decoration: none;
}

.nav-btn {
    display: block;
    padding: 0.5rem 1.3rem;
    border-radius: var(--radius-button);
    border: none;
    font-weight: 600;
}

/* HOME */
#home {
    position: relative;
    padding-top: 8.5rem;
    flex-direction: row;
    justify-content: space-between;
    gap: 3rem;
    align-items: center;
}

.grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(oklch(1 0 0 / 0.04) 1px, transparent 1px),
        linear-gradient(90deg, oklch(1 0 0 / 0.04) 1px, transparent 1px);
    background-size: 48px 48px;
}

.radial-glow {
    position: absolute;
    inset: 0;
    background: var(--gradient-radial);
}

.blur-blob-1,
.blur-blob-2 {
    position: absolute;
    top: 25%;
    width: var(--big-blob-size);
    height: var(--big-blob-size);
    border-radius: 50%;
    filter: var(--blur-filter);
}

.blur-blob-1 {
    left: -8rem;
    background: oklch(0.7 0.22 260 / var(--blob-bg-alpha));
}

.blur-blob-2 {
    right: -8px;
    background: oklch(0.65 0.25 300 / var(--blob-bg-alpha));
}

.home-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.home-batch {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.4rem 1rem;
    background: var(--bg-white-alpha);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    font-size: var(--font-size-sm);
    font-weight: 600;
}

.glow-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--cyan);
    animation: 1.5s fade-up linear infinite;
}

.home-batch svg {
    color: var(--cyan);
}

.home-heading {
    font-family: var(--font-display);
    font-size: 4.2rem;
}

.gradient-text {
    background: var(--gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: var(--font-display);
}

.home-sub-head {
    font-family: var(--font-display);
    display: inline-flex;
    font-size: 1.6rem;
    font-weight: bold;
}

.ti-cursor {
    padding-left: 0.5rem;
    font-size: inherit;
    line-height: inherit;
}

.home-des {
    font-size: var(--font-size-lg);
    color: var(--muted-foreground);
}

.home-des b {
    color: white;
    word-spacing: 0.5rem;
}

.home-btn-div {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    z-index: 2;
}

.home-button {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    border-radius: 30px;
    border: none;
    font-size: 1rem;
    font-weight: bold;
    transition: var(--transition-smooth);
}

.home-button:hover {
    transform: scale(1.09);
}

.gradient-btn {
    background: var(--gradient-primary);
}

.glass-btn {
    background: var(--bg-white-alpha);
    border: 1px solid var(--border);
    color: white;
}

.home-experience {
    display: flex;
    gap: 1.3rem;
}

.experience {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.experience h1 {
    background: var(--gradient-text);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1.4rem;
}

.experience p {
    text-transform: uppercase;
    font-size: var(--font-size-sm);
    color: var(--muted-foreground);
    letter-spacing: 0.1rem;
}

.profile-div {
    position: relative;
    display: flex;
    justify-content: center;
}

.profile {
    width: 24rem;
    height: 24rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: black;
    font-weight: bold;
    font-size: 4.5rem;
    font-family: var(--font-display);
    box-shadow: var(--shadow-glow);
}

/* TERMINAL */
.terminal {
    width: 300px;
    height: 150px;
    position: absolute;
    bottom: -50px;
    left: -60px;
    background-color: var(--nav-bg);
    backdrop-filter: var(--backdrop-blur-small);
    border-radius: 30px;
    border: var(--panel-border);
    animation: 3s bounce ease-in-out infinite;
    animation-delay: 1s;
}

.terminal-nav {
    display: flex;
    gap: 0.5rem;
    height: 30px;
    border-bottom: var(--panel-border);
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 1rem;
}

.terminal-nav-btns {
    display: flex;
    gap: 0.5rem;
}

.terminal-nav-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: white;
}

.close {
    background-color: var(--mac-red);
}
.minimize {
    background-color: var(--mac-yellow);
}
.expand {
    background-color: var(--mac-green);
}

.terminal-path p {
    font-size: var(--font-size-sm);
    color: var(--muted-foreground);
    font-family: var(--font-mono);
}

.terminal-lines {
    padding: 0.5rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.terminal-lines p {
    font-family: var(--font-mono);
    font-size: var(--font-size-sm);
}

.cyan-highlight {
    color: var(--cyan);
    font-family: var(--font-mono);
}

.purple-highlight {
    color: var(--violet);
    font-family: var(--font-mono);
}

.code {
    width: 150px;
    padding: 1.1rem;
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--nav-bg);
    backdrop-filter: var(--backdrop-blur-small);
    border-radius: 30px;
    border: var(--panel-border);
    font-family: var(--font-mono);
    font-size: var(--font-size-sm);
    animation: 3s bounce ease-in-out infinite;
}

.text-gradient {
    background: var(--gradient-text);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: var(--font-display);
}

/* ABOUT */
#about {
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    gap: 3rem;
}

.text-div {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    padding: 0.5rem 1rem;
    background: var(--bg-white-alpha);
    border-radius: var(--radius-pill);
    font-size: var(--font-size-md);
    border: var(--border-glass);
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: start;
    gap: 1.2rem;
}

.grid-content {
    width: 320px;
    height: 190px;
    background-color: var(--card);
    border-radius: var(--radius);
    padding: 1.5rem;
    border: var(--border-glass);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
}

.grid-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius);
    color: black;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.grid-title {
    font-size: var(--font-size-lg);
    font-family: var(--font-display);
}

.grid-sub-title {
    color: var(--muted-foreground);
    font-size: var(--font-size-md);
}

/* SKILLS */
#skills .grid-container {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

#skills .grid-content {
    width: 100%;
    height: 100%;
}

.skill-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius);
    background: var(--gradient-primary);
    color: black;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
}

.progress-div {
    border-radius: var(--radius-pill);
    width: 100%;
    height: 10px;
    background: var(--secondary);
}

.progress-val {
    width: 0%;
    height: 100%;
    border-radius: var(--radius-pill);
    background: var(--gradient-primary);
}

/* PROJECTS */
.projects {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: stretch;
}

.project {
    width: 360px;
    background: var(--card);
    border: var(--border-glass);
    border-radius: var(--radius);
    padding: 1.7rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.2rem;
}

.project-image {
    width: 100%;
    height: 220px;
    border-radius: var(--radius);
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: black;
}

.project-name {
    font-size: var(--font-size-xl);
    font-family: var(--font-display);
}

.project-des {
    color: var(--muted-foreground);
    font-size: var(--font-size-md);
}

.project .tag {
    padding: 0.2rem 0.5rem;
    font-family: var(--font-mono);
    font-size: var(--font-size-sm);
}

.project-btn-div {
    display: flex;
    gap: 0.6rem;
}

.project-btn {
    padding: 0.5rem 1rem;
    flex: 1;
    border: none;
    border-radius: var(--radius-pill);
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    font-weight: bold;
}

.project-btn:hover {
    scale: 1.05;
}

.project-btn.glass-btn {
    border: var(--border-glass);
}

/* REVIEWS */
.reviews {
    display: flex;
    gap: 2rem;
}

.review {
    position: relative;
    width: 420px;
    height: 220px;
    background-color: var(--glass-div);
    border: var(--glass-border);
    border-radius: var(--radius);
    overflow: hidden;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
}

.review-blob {
    position: absolute;
    width: 100px;
    height: 100px;
    background: var(--gradient-primary);
    filter: blur(40px);
    opacity: 0.4;
    top: 0;
    right: 0;
}

.review-icon {
    width: fit-content;
    display: flex;
    align-items: center;
    justify-content: center;
}

.review-icon svg {
    font-size: 4rem;
    color: var(--violet);
}

.review-quote {
    font-size: var(--font-size-sm);
    font-family: var(--font-mono);
}

.user {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-foreground);
    font-weight: bold;
}

.user-name {
    font-size: 1rem;
}

.user-position {
    font-size: 0.8rem;
    color: var(--muted-foreground);
}

/* CONTACT */
.contact-div {
    display: flex;
    width: 100%;
    height: 100%;
    background: var(--card);
    padding: 2rem;
    border-radius: var(--radius);
    gap: 2rem;
    align-items: center;
}

.gradient-wrapper {
    border-radius: var(--radius);
    padding: 0.1rem;
    background: var(--gradient-primary);
}

.contact-icons {
    display: flex;
    gap: 0.5rem;
}

.contact-icon {
    height: fit-content;
    padding: 0.8rem;
    border-radius: var(--radius-button);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass);
    border: var(--border-glass);
}

.contact-icon svg {
    color: var(--foreground);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form input,
.contact-form textarea {
    background: var(--glass);
    border: var(--border-glass);
    border-radius: var(--radius-pill);
    padding: 1rem;
    color: var(--foreground);
    outline: none;
}

.contact-form input {
    height: 50px;
}

.contact-form textarea {
    height: 150px;
    font-size: var(--font-size-sm);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--muted-foreground);
}

.contact-form button {
    display: inline-flex;
    gap: 0.5rem;
    justify-content: center;
    align-items: center;
    height: 50px;
    border-radius: var(--radius-pill);
    font-weight: bold;
    border: none;
}

.contact-form button:hover {
    transform: scale(1.03);
}

.contact-div div,
form {
    flex: 1;
}

/* FOOTER */
footer {
    width: 100%;
    height: 100px;
    background: var(--card);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0.5rem;
}

footer i {
    color: oklch(65% 0.24 25);
}

/* EFFECTS */
.project::before,
.grid-content::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(
        circle at top left,
        rgba(255, 255, 255, 0.15),
        transparent 40%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.project:hover::before,
.grid-content:hover::before {
    opacity: 1;
}

/* ANIMATIONS */

@keyframes fade-up {
    0%,
    100% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
}

@keyframes bounce {
    0%,
    100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(15px);
    }
}

/* MEDIA QUERIES */
@media screen and (max-width: 1024px) {
    section {
        padding: 2rem;
        padding-bottom: 5rem;
    }

    .main-title {
        font-size: 2.1rem;
    }

    .hamburger-menu {
        display: flex;
    }

    .nav-btn {
        display: none;
    }

    .nav-links {
        position: fixed;
        width: 100%;
        list-style-type: none;
        position: absolute;
        top: calc(100% + 20px);
        left: 0;
        border-radius: var(--radius);
        padding: 2rem;
        flex-direction: column;
        opacity: 0;
        visibility: hidden;
        gap: 1.5rem;
        background: oklch(0.22 0.03 var(--color-dark) / 1);
        backdrop-filter: var(--backdrop-blur-large);
        -webkit-backdrop-filter: var(--backdrop-blur-large);
        border: 1px solid var(--nav-border);
        transition:
            opacity 0.4s ease,
            visibility 0.4s ease;
    }

    .nav-link a {
        color: white;
        font-size: var(--font-size-md);
        text-decoration: none;
    }

    .blur-blob-1,
    .blur-blob-2 {
        width: var(--blob-size);
        height: var(--blob-size);
    }

    #home {
        flex-direction: column;
    }

    .home-heading {
        font-family: var(--font-display);
        font-size: 2.8rem;
    }

    .home-sub-head {
        font-size: 1.3rem;
    }

    .home-des {
        font-size: 1rem;
        color: var(--muted-foreground);
    }

    .profile {
        width: 20rem;
        height: 20rem;
    }

    .terminal {
        width: 250px;
        left: -10px;
    }

    .home-button {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }

    .home-button svg {
        width: 19px;
        height: 19px;
    }

    .experience p {
        font-size: 0.7rem;
    }

    #about {
        flex-direction: column;
        align-items: flex-start;
    }

    .grid-container,
    #skills .grid-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .grid-content,
    .project,
    .review {
        width: 100%;
        height: 100%;
    }

    .project-image {
        height: 200px;
    }

    .reviews {
        gap: 2rem;
        flex-direction: column;
    }

    .contact-div {
        flex-direction: column;
        align-items: flex-start;
    }

    .contact-div div,
    form {
        width: 100%;
        flex: 0;
    }
    .tag {
        font-size: 0.8rem;
    }
    .home-batch {
        padding: 0.4rem 1rem;
    }
}
