/* Theme: Noir - Film noir detective aesthetics, high contrast black/white/red, vintage cinema, dramatic shadows */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Courier+Prime:wght@400;700&display=swap');

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 75px;
}

body {
    font-family: 'Courier Prime', monospace;
    font-size: 17px;
    line-height: 1.8;
    color: #e8e8e8;
    background: #0d0d0d;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 1px, rgba(255, 255, 255, 0.02) 1px, rgba(255, 255, 255, 0.02) 2px);
    opacity: 0.3;
    pointer-events: none;
    z-index: 0;
    animation: scanlines 8s linear infinite;
}

@keyframes scanlines {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(10px);
    }
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 20% 30%, rgba(220, 20, 60, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

#topnav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(13, 13, 13, 0.95);
    border-bottom: 2px solid #dc143c;
    box-shadow: 0 4px 20px rgba(220, 20, 60, 0.3);
    transition: all 0.3s ease;
}

#topnav.scrolled {
    background: rgba(0, 0, 0, 0.98);
    box-shadow: 0 6px 30px rgba(220, 20, 60, 0.4);
}

.nav-container {
    max-width: 1350px;
    margin: 0 auto;
    padding: 0 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 75px;
}

.logo h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem;
    font-weight: 400;
    color: #dc143c;
    margin: 0;
    letter-spacing: 4px;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(220, 20, 60, 0.5);
    position: relative;
}

.logo h1::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 40px;
    height: 2px;
    background: #dc143c;
    box-shadow: 0 0 8px rgba(220, 20, 60, 0.6);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0;
}

.nav-menu li a {
    display: block;
    padding: 0.6rem 1.5rem;
    color: #b8b8b8;
    text-decoration: none;
    font-weight: 400;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-family: 'Bebas Neue', sans-serif;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background: #dc143c;
    transition: width 0.3s ease;
    box-shadow: 0 0 6px rgba(220, 20, 60, 0.8);
}

.nav-menu li a:hover::after,
.nav-menu li a.active::after {
    width: 60%;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    color: #dc143c;
    text-shadow: 0 0 8px rgba(220, 20, 60, 0.4);
}

.mobile-toggle {
    display: none;
    background: transparent;
    border: 2px solid #dc143c;
    color: #dc143c;
    font-size: 1.3rem;
    width: 45px;
    height: 45px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(220, 20, 60, 0.3);
}

.mobile-toggle:hover {
    background: rgba(220, 20, 60, 0.1);
    box-shadow: 0 0 15px rgba(220, 20, 60, 0.5);
}

#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 130px 0 90px;
    position: relative;
    overflow: hidden;
}

#hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -150px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(220, 20, 60, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: noirGlow 20s ease-in-out infinite;
}

#hero::after {
    content: '';
    position: absolute;
    bottom: -120px;
    left: -120px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    animation: noirGlow 25s ease-in-out infinite reverse;
}

@keyframes noirGlow {
    0%, 100% {
        transform: translate(0, 0);
        opacity: 0.6;
    }
    50% {
        transform: translate(30px, -30px);
        opacity: 1;
    }
}

.hero-content {
    max-width: 1350px;
    margin: 0 auto;
    padding: 0 3rem;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 5.5rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    animation: fadeInNoir 1.2s ease-out;
}

@keyframes fadeInNoir {
    0% {
        opacity: 0;
        transform: translateX(-60px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-text h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 4.5rem;
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: #ffffff;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-shadow: 
        0 0 20px rgba(220, 20, 60, 0.3),
        2px 2px 0 rgba(0, 0, 0, 0.5);
}

.hero-text h1 br {
    display: block;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #dc143c;
    margin-bottom: 3rem;
    line-height: 1.6;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(220, 20, 60, 0.4);
}

.hero-buttons {
    display: flex;
    gap: 1.8rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 1.1rem 2.8rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
    letter-spacing: 2px;
    font-family: 'Bebas Neue', sans-serif;
    text-transform: uppercase;
    position: relative;
    border: 2px solid;
}

.btn-primary {
    background: #dc143c;
    color: #0d0d0d;
    border-color: #dc143c;
    box-shadow: 0 5px 20px rgba(220, 20, 60, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(220, 20, 60, 0.6);
    background: #ff1744;
    border-color: #ff1744;
}

.btn-secondary {
    background: transparent;
    color: #e8e8e8;
    border-color: #e8e8e8;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.btn-secondary:hover {
    background: #e8e8e8;
    color: #0d0d0d;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

.hero-image {
    animation: fadeInNoir 1.2s ease-out 0.3s both;
}

.profile-card {
    background: rgba(20, 20, 20, 0.8);
    backdrop-filter: blur(10px);
    padding: 2rem;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.7),
        inset 0 0 0 1px rgba(220, 20, 60, 0.3);
    border: 2px solid #1a1a1a;
    transition: all 0.4s ease;
    position: relative;
}

.profile-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    height: 4px;
    background: linear-gradient(90deg, transparent 0%, #dc143c 50%, transparent 100%);
    box-shadow: 0 0 10px rgba(220, 20, 60, 0.6);
}

.profile-card:hover {
    transform: translateY(-10px);
    box-shadow: 
        0 30px 80px rgba(0, 0, 0, 0.8),
        inset 0 0 0 1px rgba(220, 20, 60, 0.5),
        0 0 30px rgba(220, 20, 60, 0.3);
}

.profile-card img {
    width: 100%;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    border: 1px solid #2a2a2a;
    filter: grayscale(30%);
    transition: filter 0.4s ease;
}

.profile-card:hover img {
    filter: grayscale(0%);
}

.profile-details h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.profile-details p {
    color: #b8b8b8;
    margin-bottom: 1.8rem;
    line-height: 1.6;
}

.social-links a {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: #dc143c;
    color: #0d0d0d;
    text-decoration: none;
    font-weight: 700;
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(220, 20, 60, 0.4);
    border: 2px solid #dc143c;
}

.social-links a:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(220, 20, 60, 0.6);
    background: #ff1744;
    border-color: #ff1744;
}

section {
    padding: 90px 0;
    position: relative;
    z-index: 1;
}

.container {
    max-width: 1350px;
    margin: 0 auto;
    padding: 0 3rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4.5rem;
    position: relative;
}

.section-header::before {
    content: '';
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #dc143c 50%, transparent 100%);
    box-shadow: 0 0 10px rgba(220, 20, 60, 0.6);
}

.section-header h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3.8rem;
    font-weight: 400;
    line-height: 1.2;
    color: #ffffff;
    letter-spacing: 4px;
    text-transform: uppercase;
    text-shadow: 
        0 0 20px rgba(220, 20, 60, 0.3),
        2px 2px 0 rgba(0, 0, 0, 0.5);
}

#experience {
    background: rgba(20, 20, 20, 0.4);
    backdrop-filter: blur(20px);
}

.timeline {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 110px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #dc143c 0%, #8b0000 50%, #dc143c 100%);
    box-shadow: 0 0 10px rgba(220, 20, 60, 0.5);
}

.timeline-item {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 3.5rem;
    margin-bottom: 4rem;
    position: relative;
}

.timeline-year {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.8rem;
    font-weight: 400;
    color: #dc143c;
    position: relative;
    z-index: 2;
    text-align: right;
    padding-right: 2rem;
    letter-spacing: 3px;
    text-shadow: 0 0 15px rgba(220, 20, 60, 0.5);
}

.timeline-year::after {
    content: '';
    position: absolute;
    right: -47px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background: #dc143c;
    border: 3px solid #0d0d0d;
    box-shadow: 
        0 0 0 5px rgba(220, 20, 60, 0.2),
        0 0 15px rgba(220, 20, 60, 0.6);
}

.timeline-content {
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border: 1px solid #2a2a2a;
    border-left: 3px solid #dc143c;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.timeline-content:hover {
    transform: translateX(8px);
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.7),
        0 0 20px rgba(220, 20, 60, 0.2);
    border-left-width: 5px;
    background: rgba(25, 25, 25, 0.7);
}

.timeline-content h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.9rem;
    margin-bottom: 0.4rem;
    color: #ffffff;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.timeline-content h4 {
    color: #dc143c;
    font-size: 1.05rem;
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.timeline-content p {
    color: #b8b8b8;
    line-height: 1.8;
    margin: 0;
}

.timeline-content a {
    color: #dc143c;
    text-decoration: none;
    font-weight: 700;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.timeline-content a:hover {
    border-bottom-color: #dc143c;
    text-shadow: 0 0 8px rgba(220, 20, 60, 0.4);
}

#ai {
    background: linear-gradient(180deg, rgba(13, 13, 13, 0.5) 0%, rgba(20, 20, 20, 0.5) 100%);
    backdrop-filter: blur(20px);
}

.ai-projects {
    display: grid;
    gap: 3rem;
}

.project-card {
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border: 1px solid #2a2a2a;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #dc143c 0%, #8b0000 50%, #dc143c 100%);
    box-shadow: 0 0 10px rgba(220, 20, 60, 0.6);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.7),
        0 0 20px rgba(220, 20, 60, 0.2);
    background: rgba(25, 25, 25, 0.7);
}

.project-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.project-header h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.2rem;
    color: #ffffff;
    margin: 0;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.project-client {
    color: #dc143c;
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.project-card > p {
    color: #b8b8b8;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.project-impact {
    background: rgba(220, 20, 60, 0.08);
    padding: 1.5rem;
    border-left: 3px solid #dc143c;
    color: #e8e8e8;
    line-height: 1.8;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.3);
}

.project-impact strong {
    color: #ffffff;
    font-weight: 700;
}

#speaking {
    background: rgba(20, 20, 20, 0.4);
    backdrop-filter: blur(20px);
}

.speaking-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.year-section {
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border: 1px solid #2a2a2a;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.year-section:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.7),
        0 0 20px rgba(220, 20, 60, 0.2);
    background: rgba(25, 25, 25, 0.7);
}

.year-section h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #dc143c;
    text-align: center;
    padding-bottom: 1.2rem;
    border-bottom: 2px solid rgba(220, 20, 60, 0.3);
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-shadow: 0 0 15px rgba(220, 20, 60, 0.5);
}

.year-section.books {
    grid-column: span 2;
    background: rgba(220, 20, 60, 0.1);
    border: 1px solid rgba(220, 20, 60, 0.3);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.5),
        inset 0 0 30px rgba(220, 20, 60, 0.1);
}

.achievements {
    list-style: none;
}

.achievements li {
    padding: 1rem 0;
    color: #b8b8b8;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    line-height: 1.8;
    position: relative;
    padding-left: 2rem;
}

.achievements li::before {
    content: '▪';
    position: absolute;
    left: 0;
    color: #dc143c;
    font-size: 1.5rem;
    text-shadow: 0 0 8px rgba(220, 20, 60, 0.6);
}

.achievements li:last-child {
    border-bottom: none;
}

.achievements strong {
    color: #ffffff;
    font-weight: 700;
}

#personal {
    background: linear-gradient(180deg, rgba(13, 13, 13, 0.5) 0%, rgba(20, 20, 20, 0.5) 100%);
    backdrop-filter: blur(20px);
}

#contact {
    background: rgba(20, 20, 20, 0.4);
    backdrop-filter: blur(20px);
}

.contact-card {
    background: rgba(20, 20, 20, 0.8);
    backdrop-filter: blur(15px);
    padding: 5rem 4rem;
    text-align: center;
    box-shadow: 
        0 30px 80px rgba(0, 0, 0, 0.7),
        inset 0 0 0 1px rgba(220, 20, 60, 0.3);
    max-width: 1000px;
    margin: 0 auto;
    border: 2px solid #1a1a1a;
    position: relative;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent 0%, #dc143c 20%, #dc143c 80%, transparent 100%);
    box-shadow: 0 0 15px rgba(220, 20, 60, 0.6);
}

.contact-card h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3.8rem;
    margin-bottom: 1.8rem;
    color: #ffffff;
    font-weight: 400;
    letter-spacing: 4px;
    text-transform: uppercase;
    text-shadow: 
        0 0 20px rgba(220, 20, 60, 0.3),
        2px 2px 0 rgba(0, 0, 0, 0.5);
}

.contact-card > p {
    font-size: 1.2rem;
    color: #b8b8b8;
    line-height: 1.8;
    margin-bottom: 3.5rem;
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 3rem;
    background: #dc143c;
    color: #0d0d0d;
    text-decoration: none;
    font-weight: 700;
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(220, 20, 60, 0.4);
    border: 2px solid #dc143c;
}

.contact-link:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(220, 20, 60, 0.6);
    background: #ff1744;
    border-color: #ff1744;
}

.contact-link .icon {
    font-size: 1.5rem;
}

#footer {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(15px);
    padding: 3rem 0;
    text-align: center;
    color: #808080;
    border-top: 2px solid #dc143c;
    box-shadow: 0 -5px 20px rgba(220, 20, 60, 0.3);
}

#footer a {
    color: #dc143c;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 700;
}

#footer a:hover {
    color: #ff1744;
    text-shadow: 0 0 10px rgba(220, 20, 60, 0.5);
}

@media screen and (max-width: 1200px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 4rem;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image {
        max-width: 500px;
        margin: 0 auto;
    }

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

    .year-section.books {
        grid-column: span 1;
    }
}

@media screen and (max-width: 900px) {
    .nav-container {
        padding: 0 2rem;
        height: 70px;
    }

    html {
        scroll-padding-top: 70px;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(13, 13, 13, 0.98);
        backdrop-filter: blur(15px);
        flex-direction: column;
        padding: 2.5rem;
        gap: 0;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
        transform: translateY(-150%);
        transition: transform 0.4s ease;
        border-bottom: 2px solid #dc143c;
    }

    .nav-menu.active {
        transform: translateY(0);
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu li a {
        width: 100%;
        text-align: center;
        padding: 1rem;
        border-bottom: 1px solid rgba(220, 20, 60, 0.1);
    }

    .mobile-toggle {
        display: block;
    }

    .hero-text h1 {
        font-size: 3.2rem;
    }

    .section-header h2 {
        font-size: 3rem;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 3.5rem;
        padding-left: 4rem;
    }

    .timeline-year {
        text-align: left;
        padding-right: 0;
    }

    .timeline-year::after {
        left: -37px;
        right: auto;
    }

    .contact-card {
        padding: 4rem 2.5rem;
    }
}

@media screen and (max-width: 600px) {
    .container {
        padding: 0 1.5rem;
    }

    .nav-container {
        padding: 0 1.5rem;
        height: 65px;
    }

    html {
        scroll-padding-top: 65px;
    }

    #hero {
        padding: 100px 0 70px;
    }

    .hero-text h1 {
        font-size: 2.4rem;
    }

    .hero-subtitle {
        font-size: 1.05rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    section {
        padding: 70px 0;
    }

    .section-header {
        margin-bottom: 3.5rem;
    }

    .section-header h2 {
        font-size: 2.4rem;
    }

    .profile-card {
        padding: 1.5rem;
    }

    .timeline-item {
        padding-left: 3.5rem;
    }

    .timeline-content {
        padding: 1.8rem;
    }

    .project-card {
        padding: 2rem 1.5rem;
    }

    .contact-card {
        padding: 3.5rem 1.8rem;
    }

    .contact-card h2 {
        font-size: 2.8rem;
    }

    .contact-info {
        flex-direction: column;
    }

    .contact-link {
        justify-content: center;
        padding: 1rem 2rem;
        font-size: 0.95rem;
    }
}