/* ============================================
   0xm0nster: CYBER-CORPORATE REDESIGN
   Elite, Professional, Minimalist
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Titillium+Web:wght@600;700;900&family=Space+Mono:wght@400;700&display=swap');

:root {
    /* Color Palette */
    --bg-primary: #090C10;
    --bg-secondary: #0F1419;
    --card-bg: #1A202C;
    --border-color: #2D3748;
    
    /* Text Colors */
    --text-primary: #F0F0F0;
    --text-secondary: #B0B0B0;
    --text-muted: #808080;
    
    /* Accent (Glow) */
    --accent: #00FFC0;
    --accent-glow: rgba(0, 255, 192, 0.2);
    
    /* Typography */
    --font-title: 'Titillium Web', sans-serif;
    --font-body: 'Space Mono', monospace;
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */

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

html, body {
    width: 100%;
    height: 100%;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-title);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 {
    font-size: 3.5rem;
    font-weight: 900;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    margin-top: 3rem;
}

h3 {
    font-size: 1.4rem;
    font-weight: 700;
}

p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

/* ============================================
   NAVIGATION
   ============================================ */

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background: rgba(9, 12, 16, 0.95);
    position: fixed;
    width: 90%;
    top: 0;
    left: 5%;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.nav-brand {
    font-weight: 900;
    color: var(--text-primary);
    font-family: var(--font-title);
    font-size: 1.4rem;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: none;
    font-family: var(--font-body);
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--accent);
    text-shadow: 0 0 10px var(--accent-glow);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

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

/* ============================================
   MAIN CONTENT
   ============================================ */

main {
    margin-top: 80px;
    width: 100%;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 3rem 5% 5rem 5%;
}

.hero-inner {
    max-width: 900px;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.hero-title .accent {
    color: var(--accent);
    text-shadow: 0 0 20px var(--accent-glow);
}

.hero-sub {
    font-size: 1.3rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin-bottom: 3rem;
    line-height: 1.8;
}

/* ============================================
   BUTTONS & CTA
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border: 2px solid var(--accent);
    background: transparent;
    color: var(--accent);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn:hover {
    background: var(--accent);
    color: var(--bg-primary);
    box-shadow: 0 0 20px var(--accent-glow);
}

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

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

/* ============================================
   SECTIONS
   ============================================ */

section {
    padding: 4rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

section h2 {
    color: var(--text-primary);
    position: relative;
    padding-bottom: 1rem;
}

section h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: var(--accent);
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about-content {
    display: grid;
    gap: 2rem;
    max-width: 900px;
}

.about-content p {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--text-secondary);
}

.about-highlight {
    color: var(--accent);
    font-weight: 700;
}

/* ============================================
   SKILLS / FOCUS SECTION
   ============================================ */

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.skill-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 2.5rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--accent-glow), transparent);
    transition: left 0.5s ease;
}

.skill-card:hover::before {
    left: 100%;
}

.skill-card:hover {
    border-color: var(--accent);
    box-shadow: 0 0 20px var(--accent-glow);
}

.skill-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1rem;
    text-shadow: 0 0 10px var(--accent-glow);
    display: inline-block;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--accent);
    border-radius: 4px;
    background: transparent;
    filter: brightness(1.1);
}

.skill-card h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

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

/* ============================================
   PORTFOLIO / ACHIEVEMENTS
   ============================================ */

.achievements-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.achievement-item {
    background: var(--card-bg);
    border-left: 4px solid var(--accent);
    padding: 2rem;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.achievement-item:hover {
    box-shadow: 0 0 20px var(--accent-glow);
    transform: translateX(8px);
}

.achievement-label {
    font-size: 0.8rem;
    color: var(--accent);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.achievement-title {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-family: var(--font-title);
}

.achievement-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact-section {
    text-align: center;
    padding: 5rem 5%;
}

.contact-section h2 {
    justify-content: center;
}

.contact-intro {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 2rem auto 3rem auto;
    line-height: 1.9;
}

.contact-cta {
    margin-top: 2rem;
}

/* ============================================
   FOOTER
   ============================================ */

footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 3rem 5%;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

footer p {
    margin: 0.5rem 0;
}

/* ============================================
   LINKS & INTERACTIVE
   ============================================ */

a {
    color: var(--accent);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    text-shadow: 0 0 10px var(--accent-glow);
}

/* ============================================
   POST LIST / CARDS
   ============================================ */

.post-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.post-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.post-card:hover {
    border-color: var(--accent);
    box-shadow: 0 0 20px var(--accent-glow);
    transform: translateY(-4px);
}

.post-card h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.post-card p {
    flex-grow: 1;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.post-card a {
    color: var(--accent);
    font-weight: 600;
    transition: all 0.3s ease;
}

.post-card a:hover {
    text-shadow: 0 0 10px var(--accent-glow);
}

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

.post-card-meta {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

/* ============================================
   CODE BLOCKS & TERMINALS
   ============================================ */

code {
    font-family: 'Space Mono', monospace;
    background: var(--card-bg);
    padding: 2px 6px;
    border-radius: 2px;
    color: var(--accent);
    font-size: 0.9em;
}

pre {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    border-radius: 4px;
    overflow-x: auto;
    margin: 2rem 0;
}

pre code {
    background: none;
    padding: 0;
    color: var(--accent);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
    h1 {
        font-size: 2.8rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero {
        min-height: 70vh;
        padding: 2rem 5%;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    section {
        padding: 3rem 5%;
    }
}

@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 1.5rem;
        width: 100%;
        left: 0;
        padding: 1rem 5%;
    }
    
    .nav-links {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        text-align: center;
    }
    
    main {
        margin-top: 200px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-sub {
        font-size: 1.05rem;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .achievements-list {
        grid-template-columns: 1fr;
    }
    
    section {
        padding: 2rem 5%;
    }
}

@media (max-width: 480px) {
    nav {
        padding: 1rem 3%;
    }
    
    h1 {
        font-size: 1.6rem;
    }
    
    h2 {
        font-size: 1.3rem;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    section {
        padding: 1.5rem 3%;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes glow-pulse {
    0%, 100% {
        text-shadow: 0 0 5px var(--accent-glow);
    }
    50% {
        text-shadow: 0 0 20px var(--accent-glow);
    }
}

.glow-text {
    animation: glow-pulse 3s ease-in-out infinite;
}
