/* 
   Theme: High End Modern Tech
   Colors: Dark Mode #1a1a1a, Neon Lime #ccff00, Electric Blue #00f0ff
   Font: Urbanist / Inter
*/

:root {
    --bg-primary: #1a1a1a;
    --bg-secondary: #222222;
    --bg-card: rgba(40, 40, 40, 0.4);

    --accent-primary: #ccff00;
    /* Neon Lime */
    --accent-secondary: #00f0ff;
    /* Electric Blue */

    --text-main: #ffffff;
    --text-muted: #b0b0b0;

    --font-heading: 'Urbanist', sans-serif;
    --font-body: 'Urbanist', sans-serif;

    --border-radius: 4px;
    /* Sharp/Slightly rounded */
    --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-accent {
    color: var(--accent-primary);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: var(--transition);
    cursor: pointer;
    font-size: 0.9rem;
}

.btn-sm {
    padding: 0.5rem 1.5rem;
    font-size: 0.8rem;
}

.btn-primary {
    background-color: var(--accent-primary);
    color: #000;
    border: 1px solid var(--accent-primary);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--accent-primary);
    box-shadow: 0 0 15px rgba(204, 255, 0, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-main);
    border: 1px solid var(--text-main);
}

.btn-secondary:hover {
    border-color: var(--accent-secondary);
    color: var(--accent-secondary);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 3rem;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(26, 26, 26, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a:not(.btn) {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:not(.btn):hover {
    color: var(--text-main);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    /* nav height */
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.1) 0%, rgba(26, 26, 26, 0) 70%);
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content .eyebrow {
    display: block;
    color: var(--accent-secondary);
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero-content .lead {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.cta-group {
    display: flex;
    gap: 1rem;
}

.hero-image-wrapper {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    filter: grayscale(100%);
    transition: var(--transition);
}

.hero-image-wrapper:hover .hero-image {
    filter: grayscale(0%);
}

.glow-effect {
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 100px;
    height: 100px;
    border-left: 2px solid var(--accent-primary);
    border-bottom: 2px solid var(--accent-primary);
    z-index: 10;
}

/* Sections General */
.section {
    padding: 6rem 0;
}

.section-header {
    margin-bottom: 4rem;
    position: relative;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.section-header p {
    color: var(--text-muted);
}

.line {
    width: 60px;
    height: 4px;
    background-color: var(--accent-primary);
    margin-top: 1rem;
}

/* About Section Redesign */
.about-layout {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.about-main {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.about-image-block {
    position: relative;
}

.image-frame {
    position: relative;
    border-radius: var(--border-radius);
    z-index: 1;
}

.feature-image {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    filter: grayscale(100%) contrast(1.1);
    transition: var(--transition);
    display: block;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.about-image-block:hover .feature-image {
    filter: grayscale(0%) contrast(1);
    transform: scale(1.02);
}

.accent-corner {
    position: absolute;
    bottom: -15px;
    right: -15px;
    width: 60px;
    height: 60px;
    border-right: 3px solid var(--accent-primary);
    border-bottom: 3px solid var(--accent-primary);
    z-index: 2;
}

/* Stats Bar */
.stats-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-card);
    padding: 2rem 3rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    position: relative;
    overflow: hidden;
}

.stats-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent-primary);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex: 1;
}

.stat-item i {
    font-size: 2.5rem;
    color: var(--accent-secondary);
    opacity: 0.8;
}

.stat-text h3 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    color: var(--text-main);
}

.stat-text p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0 2rem;
}

/* Stats grid - legacy cleanup if needed, but we replaced it in HTML */

/* Track Record Section */
.filter-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.filter-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    border-radius: 50px;
    transition: var(--transition);
    font-family: var(--font-body);
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    background: rgba(204, 255, 0, 0.05);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    border-color: var(--accent-secondary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.card-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tag {
    display: inline-block;
    font-size: 0.75rem;
    color: var(--accent-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    padding: 0.25rem 0.75rem;
    border: 1px solid rgba(0, 240, 255, 0.3);
    border-radius: 50px;
}

.card-header h3 {
    font-size: 1.5rem;
    line-height: 1.3;
}

.card-body {
    flex-grow: 1;
}

.star-item {
    margin-bottom: 1.5rem;
}

.star-item h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
    letter-spacing: 1px;
}

.star-item p {
    font-size: 0.95rem;
    color: #e0e0e0;
}

.star-item.highlight h4 {
    color: var(--accent-primary);
}

.star-item.highlight p {
    color: #ffffff;
    font-weight: 500;
}

/* Contact Section Redesign */
.contact-section {
    background: linear-gradient(0deg, #111111 0%, var(--bg-primary) 100%);
    padding-bottom: 8rem;
}

.contact-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    overflow: hidden;
    min-height: 500px;
}

.contact-visual {
    position: relative;
    height: 100%;
}

.contact-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: var(--transition);
}

.contact-split:hover .contact-image {
    filter: grayscale(50%);
}

.contact-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 240, 255, 0.2) 0%, rgba(26, 26, 26, 0) 100%);
    mix-blend-mode: overlay;
}

.contact-content-wrapper {
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-content-wrapper h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

.contact-content-wrapper p {
    color: var(--text-muted);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.contact-actions-vertical {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-row-btn {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    text-decoration: none;
    transition: var(--transition);
}

.contact-row-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-primary);
    transform: translateX(10px);
}

.icon-box {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
    font-size: 1.25rem;
}

.contact-row-btn.linked-in .icon-box {
    color: var(--accent-secondary);
}

.btn-text {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.btn-text .label {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.btn-text .value {
    color: var(--text-main);
    font-weight: 600;
    font-size: 1.1rem;
}


/* Footer */
footer {
    padding: 2rem 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Responsive */
@media (max-width: 900px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .cta-group {
        justify-content: center;
    }

    .about-main {
        grid-template-columns: 1fr;
    }

    .about-image-block {
        order: -1;
        /* Image first on mobile? Or last? Let's keep text first usually, or image first for personality */
        margin-bottom: 2rem;
    }

    .stats-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
    }

    .stat-divider {
        display: none;
    }

    .contact-split {
        grid-template-columns: 1fr;
        height: auto;
        /* Allow full height expansion */
    }

    .contact-visual {
        height: 300px;
    }

    .contact-image {
        object-position: top center;
        /* Focus on face */
    }

    .contact-content-wrapper {
        padding: 2rem 1.5rem;
    }

    .contact-content-wrapper h2 {
        font-size: 2rem;
    }

    .contact-row-btn {
        padding: 1rem;
        gap: 1rem;
    }

    .btn-text .value {
        font-size: 0.9rem;
        word-break: break-word;
        /* Handle long emails */
    }

    .nav-links {
        display: none;
        /* Simplification */
    }
}