/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-card: #1a1a25;
    --bg-hover: #252535;
    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --text-muted: #6b6b7b;
    --accent: #6366f1;
    --accent-hover: #4f46e5;
    --accent-light: #818cf8;
    --border: #2a2a3a;
    --github: #f97316;
    --linkedin: #0a66c2;
    --instagram: #e4405f;
    --success: #22c55e;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s;
}

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

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
}

/* Section Headers */
.section-header {
    margin-bottom: 48px;
}

.section-tag {
    display: inline-block;
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 120px 24px 80px;
    animation: fadeIn 1s ease-out;
}

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

.hero-greeting {
    font-size: 1.1rem;
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 16px;
}

.name {
    font-size: clamp(3.5rem, 10vw, 6rem);
    font-weight: 700;
    background: linear-gradient(135deg, #fff 0%, #a5b4fc 50%, #6366f1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.hero-title {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
    font-weight: 500;
}

.location {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.tagline {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.8;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.tagline a {
    color: var(--accent);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s;
}

.tagline a:hover {
    border-bottom-color: var(--accent);
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 1rem;
}

.btn-primary {
    background: var(--accent);
    color: white;
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.3);
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--bg-hover);
    border-color: var(--accent);
}

.btn-outline {
    background: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
    padding: 12px 24px;
}

.btn-outline:hover {
    background: var(--accent);
    color: white;
}

.social-links {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.social-link {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.social-link:hover {
    color: var(--text-primary);
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.2);
}

.social-link svg {
    width: 22px;
    height: 22px;
}

/* About Section */
.about {
    padding: 120px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 64px;
    align-items: start;
}

.about-text p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 24px;
}

.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.highlight {
    text-align: center;
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
}

.highlight-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 8px;
}

.highlight-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

@media (max-width: 900px) {
    .about-content {
        grid-template-columns: 1fr;
    }
    .about-highlights {
        flex-direction: row;
        justify-content: center;
    }
}

/* Work Section */
.work {
    padding: 120px 0;
    background: var(--bg-secondary);
}

.work-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-bottom: 48px;
}

.work-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.work-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.work-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 12px;
}

.work-company {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
}

.work-meta {
    display: flex;
    gap: 16px;
    align-items: center;
}

.work-role {
    color: var(--accent);
    font-weight: 500;
}

.work-date {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.work-description {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

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

.skill-tag {
    background: var(--bg-hover);
    color: var(--text-secondary);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
}

.resume-cta {
    text-align: center;
}

/* Skills Section */
.skills {
    padding: 120px 0;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.skill-category {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px;
}

.skill-category h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.skill-items {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-pill {
    background: var(--bg-hover);
    color: var(--text-secondary);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.skill-pill:hover {
    background: var(--accent);
    color: white;
}

@media (max-width: 900px) {
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .skills-grid {
        grid-template-columns: 1fr;
    }
}

/* Projects Section */
.projects {
    padding: 120px 0;
    background: var(--bg-secondary);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.project-card.featured {
    border-color: var(--accent);
    position: relative;
}

.project-card.featured::before {
    content: 'Featured';
    position: absolute;
    top: -1px;
    right: 20px;
    background: var(--accent);
    color: white;
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 0 0 8px 8px;
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.project-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
}

.project-status {
    background: var(--success);
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.project-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.tech-tag {
    background: var(--bg-hover);
    color: var(--text-muted);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.8rem;
}

.project-links {
    margin-top: auto;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.project-link:hover {
    color: var(--accent-light);
}

.project-link svg {
    width: 18px;
    height: 18px;
}

.project-link.inactive {
    color: var(--text-muted);
    cursor: default;
}

@media (max-width: 900px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

/* Travel Section */
.travel {
    padding: 120px 0;
}

.travel-intro {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 48px;
    max-width: 600px;
}

.travel-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.travel-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s;
}

.travel-card:hover {
    transform: translateY(-4px);
}

.travel-placeholder {
    height: 180px;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-hover) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.travel-icon {
    font-size: 4rem;
    opacity: 0.7;
}

.travel-info {
    padding: 24px;
}

.travel-info h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.travel-info p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.travel-card.coming-soon {
    opacity: 0.7;
}

.travel-cta {
    text-align: center;
}

@media (max-width: 768px) {
    .travel-grid {
        grid-template-columns: 1fr;
    }
}

/* Activity Section */
.activity {
    padding: 120px 0;
    background: var(--bg-secondary);
}

.activity-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.activity-column {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.activity-column:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.column-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 24px;
    background: var(--bg-hover);
    border-bottom: 1px solid var(--border);
}

.column-icon {
    width: 26px;
    height: 26px;
}

.activity-column:nth-child(1) .column-icon {
    color: var(--github);
}

.activity-column:nth-child(2) .column-icon {
    color: var(--linkedin);
}

.activity-column:nth-child(3) .column-icon {
    color: var(--instagram);
}

.column-header h3 {
    font-size: 1.05rem;
    font-weight: 600;
}

.activity-list {
    padding: 20px;
    min-height: 250px;
}

.loading {
    text-align: center;
    color: var(--text-secondary);
    padding: 60px 20px;
}

.activity-item {
    padding: 16px;
    background: var(--bg-hover);
    border-radius: 12px;
    margin-bottom: 12px;
    border: 1px solid transparent;
    transition: all 0.3s;
    animation: fadeIn 0.5s ease-out;
}

.activity-item:hover {
    border-color: var(--border);
}

.activity-item:last-child {
    margin-bottom: 0;
}

.activity-item.placeholder {
    text-align: center;
    padding: 48px 24px;
}

.activity-repo {
    font-size: 0.8rem;
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 6px;
}

.activity-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 8px;
}

.activity-text strong {
    color: var(--text-primary);
    font-weight: 600;
}

.activity-meta {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.connect-link {
    display: inline-block;
    margin-top: 16px;
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.connect-link:hover {
    color: var(--accent-light);
}

@media (max-width: 900px) {
    .activity-grid {
        grid-template-columns: 1fr;
    }
}

/* Contact Section */
.contact {
    padding: 120px 0;
    text-align: center;
}

.contact-text {
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 48px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.contact-options {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 32px 48px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
    min-width: 180px;
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--accent);
}

.contact-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.contact-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.contact-value {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1rem;
}

/* Footer */
footer {
    padding: 60px 24px;
    text-align: center;
    border-top: 1px solid var(--border);
    background: var(--bg-secondary);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-text {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 8px;
}

.footer-sub {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-out;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* Selection */
::selection {
    background: var(--accent);
    color: white;
}