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

:root {
    --bg-main: #FDF8FA;
    /* very light pinkish white */
    --card-nav: #FFF0FA;
    --card-sidebar: #F4EFFF;
    --border-purple: #DBC5FA;
    --border-pink: #F8DDF1;

    --text-primary: #111827;
    --text-secondary: #4B5563;

    --accent-pink: #FF5CB2;
    --accent-pink-light: #FFDFFA;
    --accent-purple: #8B5CF6;

    /* Content sections colors */
    --soft-blue: #E8EEFD;
    --soft-green: #E2F5E9;
    --soft-pink: #FDE8F5;
    --soft-purple: #EBE4FA;

    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-pill: 500px;
}

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

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    padding: 32px 20px;
}

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

li {
    list-style: none;
}

.app-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* TOP NAVIGATION */
.top-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--card-nav);
    padding: 12px 24px;
    border-radius: var(--radius-lg);
    border: 2px solid var(--border-pink);
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-primary);
}

.logo-area svg {
    width: 32px;
    height: 32px;
    color: var(--accent-purple);
}

.top-nav {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-links {
    display: flex;
    gap: 12px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-pink);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-primary);
    transition: all 0.2s;
    background: transparent;
}

.nav-item svg {
    width: 18px;
    height: 18px;
    stroke-width: 1.5;
}

.nav-item:hover {
    background: #FFF;
}

.nav-item.active {
    background: var(--accent-pink);
    border-color: var(--accent-pink);
    color: #FFF;
}

.btn-hire {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--accent-pink-light);
    color: var(--text-primary);
    border: 1px solid var(--border-pink);
    font-weight: 600;
    padding: 10px 24px;
    border-radius: var(--radius-md);
    transition: all 0.2s;
}

.btn-hire:hover {
    background: var(--accent-pink);
    color: #fff;
    border-color: var(--accent-pink);
}

.btn-hire svg {
    width: 18px;
    height: 18px;
    stroke-width: 1.5;
}

/* MAIN LAYOUT */
.main-layout {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 32px;
}

/* SIDEBAR */
.sidebar {
    background: var(--card-sidebar);
    border: 2px solid var(--border-purple);
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 32px;
    height: fit-content;
}

.profile-top {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.avatar-wrapper {
    flex: 0 0 160px;
    height: 160px;
    position: relative;
    border-radius: 20px;
    background: #E5E7EB;
}

.avatar-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.hello-badge {
    position: absolute;
    bottom: -10px;
    left: 10px;
    background: var(--accent-purple);
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    box-shadow: 0 4px 10px rgba(139, 92, 246, 0.3);
    transform: rotate(-10deg);
}

.hello-badge span {
    font-size: 1.1rem;
}

.social-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--border-purple);
    color: var(--text-primary);
    transition: all 0.2s;
    background: transparent;
}

.social-icon:hover {
    background: var(--accent-purple);
    color: #fff;
    border-color: var(--accent-purple);
}

.social-icon svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.sidebar-name {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.role-pill {
    background: #EBE4FA;
    color: var(--accent-purple);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 8px 12px;
    border-radius: var(--radius-md);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    width: 100%;
}

.role-pill .star {
    font-size: 0.6rem;
}

.bio {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.contact-pills {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-pill {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #EBE4FA;
    border: 1px solid var(--border-purple);
    border-radius: var(--radius-lg);
    padding: 12px 16px;
    text-decoration: none;
    color: var(--text-primary);
    transition: background 0.2s;
}

.contact-pill:hover {
    background: #DFD5F5;
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #C4B5E8;
    color: var(--text-primary);
}

.contact-icon svg {
    width: 16px;
    height: 16px;
}

.contact-text {
    display: flex;
    justify-content: space-between;
    flex: 1;
    align-items: center;
}

.contact-label {
    font-size: 0.95rem;
    color: var(--text-primary);
    font-weight: 500;
}

.contact-value {
    font-size: 0.95rem;
    font-weight: 600;
}

/* MAIN CONTENT */
.main-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
    background: transparent;
    border-radius: 0;
    padding: 0;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 800px;
}

.section {
    scroll-margin-top: 100px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.card-block {
    background: #FFF;
    border-radius: var(--radius-lg);
    padding: 32px;
    border: 2px solid var(--border-purple);
}

.card-block.blue {
    background: #E8EEFD;
    border-color: #D1DDF9;
}

.card-block.green {
    background: #E6F8ED;
    border-color: #C4EFD5;
}

.card-block.pink {
    background: #FCEDF6;
    border-color: #F8DDF1;
}

.card-block.purple {
    background: #EBE4FA;
    border-color: var(--border-purple);
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.card-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 24px;
}

/* Grid Layouts inside sections */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: stretch;
}

/* Skill Cards (2x2 Grid from Reference) */
.skill-card {
    padding: 32px;
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.skill-card.blue {
    background: #E8EEFD;
    border: 2px solid #D1DDF9;
}

.skill-card.green {
    background: #E6F8ED;
    border: 2px solid #C4EFD5;
}

.skill-card.pink {
    background: #FCEDF6;
    border: 2px solid #F8DDF1;
}

.skill-card.purple {
    background: #EBE4FA;
    border: 2px solid #DBC5FA;
}

.skill-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    margin-bottom: 20px;
}

.skill-card.blue .skill-icon-wrap {
    border: 1px solid #A4BCF6;
    color: #4B7AF2;
}

.skill-card.green .skill-icon-wrap {
    border: 1px solid #9AEDB5;
    color: #1EC158;
}

.skill-card.pink .skill-icon-wrap {
    border: 1px solid #F4BAE6;
    color: #EE61CA;
}

.skill-card.purple .skill-icon-wrap {
    border: 1px solid #C4A1F6;
    color: #8B5CF6;
}

.skill-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.skill-card-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.skill-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
    flex-grow: 1;
}

.skill-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.skill-list li svg {
    width: 14px;
    height: 14px;
    margin-top: 2px;
}

.skill-card.blue .skill-list li svg {
    color: #4B7AF2;
}

.skill-card.green .skill-list li svg {
    color: #1EC158;
}

.skill-card.pink .skill-list li svg {
    color: #EE61CA;
}

.skill-card.purple .skill-list li svg {
    color: #8B5CF6;
}

.skill-btn {
    align-self: flex-start;
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 600;
}

.skill-card.blue .skill-btn {
    background: #D6E3FA;
    color: #4B7AF2;
    border: 1px solid #A4BCF6;
}

.skill-card.green .skill-btn {
    background: #D2F2DD;
    color: #139540;
    border: 1px solid #9AEDB5;
}

.skill-card.pink .skill-btn {
    background: #F8DAEE;
    color: #C641A3;
    border: 1px solid #F4BAE6;
}

.skill-card.purple .skill-btn {
    background: #E0CFF6;
    color: #7240E1;
    border: 1px solid #C4A1F6;
}

/* Portfolio grid specific */
.project-card {
    background: transparent;
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1.5px solid #F4BAE6;
}

.project-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    background: #E5E7EB;
    cursor: pointer;
    border-radius: 12px;
    margin: 12px 12px 0 12px;
    width: calc(100% - 24px);
}

.project-info {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.project-info h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.project-info p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
    flex-grow: 1;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    font-size: 0.8rem;
    font-weight: 500;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    background: #FFF;
    color: var(--text-secondary);
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: 14px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-purple);
    background: #FFF;
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s;
}

.form-control:focus {
    border-color: var(--accent-purple);
}

.btn-contact {
    display: inline-block;
    background: var(--accent-purple);
    color: white;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: background 0.2s;
    border: 1px solid #5b21b6;
    cursor: pointer;
}

.btn-contact:hover {
    background: #7c3aed;
}

/* Lightbox styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    justify-content: center;
    align-items: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    border-radius: var(--radius-md);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    animation: zoomIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    object-fit: contain;
}

@keyframes zoomIn {
    from {
        transform: scale(0.95);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: var(--text-primary);
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s;
    z-index: 2001;
}

.lightbox-close:hover {
    color: var(--accent-pink);
}

.behance-btn {
    position: absolute;
    bottom: 40px;
    z-index: 2005;
    display: none;
    margin: 0 auto;
}

@media (max-width: 1024px) {
    .main-layout {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
    }

    .top-header {
        flex-direction: column;
        gap: 16px;
    }

    .top-nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .grid-2 {
        grid-template-columns: 1fr;
    }
}

html {
    scroll-behavior: smooth;
}