/* --- BASE STYLES & VARIABLES --- */
:root {
    --color-pink: #b76e79;
    --color-dark-bg: #1a1a1d;
    --color-text-primary: #ffffff;
    --color-text-secondary: #c5c5c5;
    --color-border: #333;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s ease;
    --radial-gradient-bg: radial-gradient(circle at 50% 0%, #3a2d32 0%, #1a1a1d 40%);
}

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

html {
    scroll-behavior: smooth;
}

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

/* --- REUSABLE COMPONENTS --- */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 6rem 0;
    border-bottom: 1px solid var(--color-border);
}

.section:last-of-type {
    border-bottom: none;
}

.section__title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 4rem;
    color: var(--color-text-primary);
    font-weight: 500;
    letter-spacing: 1px;
}

.section__title i {
    color: var(--color-text-secondary);
    margin-right: 0.75rem;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    border: 1px solid transparent;
    font-size: 0.95rem;
}

.btn--primary {
    background-color: var(--color-pink);
    color: var(--color-text-primary);
}

.btn--primary:hover {
    transform: translateY(-3px);
    background-color: #c47e8a;
    box-shadow: 0 8px 25px rgba(183, 110, 121, 0.2);
}

.btn--secondary {
    background-color: transparent;
    color: var(--color-text-primary);
    border-color: var(--color-border);
}

.btn--secondary:hover {
    transform: translateY(-3px);
    background-color: var(--color-text-primary);
    color: var(--color-dark-bg);
}

/* --- HEADER / NAVIGATION --- */
.main-header {
    position: sticky;
    top: 0;
    width: 100%;
    background-color: rgba(26, 26, 29, 0.7);
    backdrop-filter: blur(10px);
    z-index: 100;
    border-bottom: 1px solid var(--color-border);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 4.5rem;
}

.nav__logo {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--color-text-primary);
    text-decoration: none;
    font-weight: 600;
}

/* --- HERO SECTION --- */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 5rem;
}

.hero__image {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 2rem;
    border: 3px solid var(--color-border);
    box-shadow: 0 0 25px rgba(183, 110, 121, 0.2);
}

.hero__title {
    font-family: var(--font-heading);
    font-size: 3rem;
    line-height: 1.3;
    color: var(--color-text-primary);
    margin-bottom: 1rem;
    font-weight: 700;
    min-height: 130px;
}

.hero__title .highlight {
    background: linear-gradient(90deg, #d4939d, var(--color-pink));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero__subtitle {
    font-size: 1.1rem;
    max-width: 580px;
    margin: 0 auto 2.5rem;
}

.hero__buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* --- TECH STACK SECTION --- */
.tech-stack__column {
    margin-bottom: 3.5rem;
}

.tech-stack__column:last-child {
    margin-bottom: 0;
}

.tech-stack__column h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
    color: var(--color-text-primary);
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 0.75rem;
}

.tech-stack__items {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.tech-stack__items span {
    background-color: transparent;
    color: var(--color-text-secondary);
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid var(--color-border);
    transition: var(--transition);
}

.tech-stack__items span:hover {
    color: var(--color-text-primary);
    border-color: var(--color-pink);
}

.full-stack__content p {
    margin-bottom: 1.5rem;
}

.github-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* --- FOOTER --- */
.footer {
    text-align: center;
    padding: 2.5rem 0;
    font-size: 0.9rem;
    background-color: var(--color-dark-bg);
}

/* --- MOBILE MENU STYLES --- */
.nav__toggle {
    display: none;
    font-size: 1.5rem;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav__toggle:hover {
    color: #b76e79;
}

/* Sidebar Overlay */
.nav__overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.nav__overlay.show-overlay {
    opacity: 1;
    visibility: visible;
}

.nav__menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 75%;
    max-width: 280px;
    height: 100%;
    background-color: #b76e79;
    /* Restored Brand Pink */
    z-index: 1000;
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.3);
}

.nav__menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.nav__logo-mobile {
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.nav__logo-mobile span {
    color: #ffffff;
    font-size: 1.1rem;
}

.nav__close {
    font-size: 1.6rem;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav__close:hover {
    color: rgba(255, 255, 255, 0.8);
    transform: rotate(90deg);
}

.nav__list-mobile {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.nav__item-mobile {
    width: 100%;
}

.nav__link-mobile {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    font-size: 1.15rem;
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 1rem 0.5rem;
    position: relative;
    width: 100%;
}

.nav__link-mobile i {
    width: 24px;
    font-size: 1.3rem;
    color: #ffffff;
}

.nav__separator {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.3);
    margin: 0.5rem 0.5rem 1rem 0.5rem;
}

/* Active State matches image (White line) */
.nav__link-mobile.active::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 3.5rem;
    width: calc(100% - 4rem);
    height: 2px;
    background: #ffffff;
}

.nav__submenu-mobile {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-left: 3.8rem;
    margin-top: 0.2rem;
    margin-bottom: 1rem;
}

.nav__submenu-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.4rem 0;
}

.nav__submenu-link i {
    width: 20px;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.nav__submenu-link:hover {
    color: #ffffff;
}

.show-menu {
    left: 0;
}

@media screen and (max-width: 768px) {
    .nav__toggle {
        display: block;
    }
}