/* ===== BASE RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: #050814;
    color: #e5e7eb;
    line-height: 1.6;
}

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

/* ===== THEME COLORS ===== */
:root {
    --bg-dark: #050814;
    --bg-elevated: #0b1020;
    --bg-card: #0f172a;
    --accent: #38bdf8; /* neon blue */
    --accent-soft: rgba(56, 189, 248, 0.15);
    --text-main: #e5e7eb;
    --text-muted: #9ca3af;
    --border-subtle: #1f2933;
}

/* ===== LAYOUT HELPERS ===== */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-title {
    font-size: 2.2rem;
    letter-spacing: 0.05em;
}

.section-subtitle {
    color: var(--text-muted);
    margin-top: 8px;
    font-size: 0.95rem;
}

.highlight {
    color: var(--accent);
}

/* ===== NAVBAR ===== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(5, 8, 20, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-subtle);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
}

.logo {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 2px solid var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--accent);
    font-size: 0.95rem;
}

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

.nav-link {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    position: relative;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.25s ease;
}

.nav-link:hover {
    color: var(--text-main);
}

.nav-link:hover::after {
    width: 100%;
}

/* ===== HERO ===== */
.hero {
    padding: 110px 0 80px;
    background: radial-gradient(circle at top, #111827 0, #020617 55%);
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-text {
    flex: 2;
}

.hero-intro {
    font-size: 0.95rem;
    color: var(--accent);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.hero-name {
    font-size: 2.8rem;
    margin-bottom: 8px;
}

.hero-role {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 18px;
}

.hero-tagline {
    max-width: 420px;
    font-size: 0.98rem;
    color: #d1d5db;
    margin-bottom: 22px;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    border-radius: 999px;
    font-size: 0.9rem;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
}

.primary-btn {
    background: var(--accent);
    color: #020617;
    font-weight: 600;
}

.primary-btn:hover {
    background: #0ea5e9;
    transform: translateY(-1px);
}

.secondary-btn {
    border-color: var(--border-subtle);
    color: var(--text-main);
    background: rgba(15, 23, 42, 0.7);
}

.secondary-btn:hover {
    border-color: var(--accent);
    background: rgba(15, 23, 42, 0.95);
}

.hero-highlight {
    flex: 1.2;
    display: flex;
    justify-content: center;
}

.hero-card {
    background: radial-gradient(circle at top, rgba(56, 189, 248, 0.12), transparent 55%),
                #020617;
    border-radius: 18px;
    padding: 20px 22px;
    border: 1px solid var(--border-subtle);
    width: 100%;
    max-width: 260px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.9rem;
}

.hero-card p:last-child {
    color: var(--text-muted);
}

/* ===== ABOUT ===== */
.about {
    background: #020617;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.about-content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.about-text {
    flex: 2;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.about-text p + p {
    margin-top: 12px;
}

.about-info {
    flex: 1.4;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.info-item {
    display: flex;
    flex-direction: column;
    padding: 10px 12px;
    background: #020617;
    border-radius: 10px;
    border: 1px solid var(--border-subtle);
}

.info-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
}

.info-value {
    font-size: 0.9rem;
}

/* ===== SKILLS ===== */
.skills {
    background: #050814;
}

.skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.skill-card {
    flex: 1 1 260px;
    background: var(--bg-card);
    border-radius: 14px;
    padding: 18px 18px 16px;
    border: 1px solid var(--border-subtle);
}

.skill-card h3 {
    font-size: 1rem;
    margin-bottom: 8px;
}

.skill-card ul {
    list-style: none;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.skill-card li + li {
    margin-top: 6px;
}

.skill-card a{
    display: inline-block;
    font-size: 0.92rem;
    color: var(--text-muted);
    text-decoration: none;
    border-bottom: 1px dashed transparent;
}

.skill-card a:hover{
    color: var(--accent);
    border-color: var(--accent);
}
/* ===== PROJECTS ===== */
.projects {
    background: #020617;
    border-top: 1px solid var(--border-subtle);
}

.projects-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.project-card {
    flex: 1 1 320px;
    background: var(--bg-card);
    border-radius: 14px;
    padding: 18px 18px 16px;
    border: 1px solid var(--border-subtle);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.project-tag {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--accent);
}

.project-title {
    font-size: 1.05rem;
}

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

.project-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 4px;
}

.project-meta span {
    font-size: 0.75rem;
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: #bae6fd;
}

.project-card.placeholder {
    border-style: dashed;
    border-color: var(--border-subtle);
    opacity: 0.9;
}

/* ===== CONTACT ===== */
.contact {
    background: #050814;
    border-top: 1px solid var(--border-subtle);
}

.contact-content {
    display: flex;
    gap: 40px;
}

.contact-info {
    flex: 2;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.contact-info p {
    margin-bottom: 18px;
}

.contact-item {
    margin-bottom: 12px;
}

.contact-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
}

.contact-link {
    display: inline-block;
    font-size: 0.92rem;
    color: var(--text-main);
    text-decoration: none;
    border-bottom: 1px dashed transparent;
}

.contact-link:hover {
    color: var(--accent);
    border-color: var(--accent);
}

.contact-note {
    flex: 1.4;
    background: var(--bg-card);
    border-radius: 14px;
    padding: 18px;
    border: 1px solid var(--border-subtle);
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ===== FOOTER ===== */
.footer {
    background: #020617;
    border-top: 1px solid var(--border-subtle);
    padding: 18px 0;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .hero-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-highlight {
        width: 100%;
        justify-content: flex-start;
    }

    .about-content,
    .contact-content {
        flex-direction: column;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 700px) {
    .nav-links {
        gap: 14px;
    }

    .hero-name {
        font-size: 2.2rem;
    }

    .section {
        padding: 60px 0;
    }
}

@media (max-width: 520px) {
    .nav-container {
        flex-direction: column;
        gap: 10px;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .projects-grid,
    .skills-grid {
        flex-direction: column;
    }
}
