/* Theme: Music - Day 13 (Letter M): Inspired by musical scores, piano keys, concert halls, vinyl records, rhythm and harmony, audio waveforms, orchestral elegance, jazz clubs, melodic flow, acoustic textures */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;800;900&family=Nunito:wght@300;400;600;700;800&display=swap');

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

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

body {
    font-family: 'Nunito', sans-serif;
    font-size: 17px;
    line-height: 1.8;
    color: #2a1810;
    background: #fffbf5;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(90deg, #000 1px, transparent 1px),
        linear-gradient(0deg, #000 1px, transparent 1px);
    background-size: 50px 12px;
    background-position: 0 150px;
    opacity: 0.015;
    pointer-events: none;
    z-index: 0;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(218, 165, 32, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(139, 69, 19, 0.03) 0%, transparent 45%),
        radial-gradient(circle at 50% 50%, rgba(184, 134, 11, 0.02) 0%, transparent 55%);
    pointer-events: none;
    z-index: 0;
    animation: harmonicFloat 35s ease-in-out infinite alternate;
}

@keyframes harmonicFloat {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }
}

#topnav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 251, 245, 0.97);
    border-bottom: 3px solid #daa520;
    box-shadow: 0 4px 20px rgba(42, 24, 16, 0.08);
    transition: all 0.4s ease;
}

#topnav.scrolled {
    background: rgba(255, 251, 245, 1);
    box-shadow: 0 6px 30px rgba(42, 24, 16, 0.12);
}

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

.logo h1 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 900;
    color: #2a1810;
    margin: 0;
    letter-spacing: 1px;
    position: relative;
    padding-left: 3.5rem;
}

.logo h1::before {
    content: '♫';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2.5rem;
    color: #daa520;
    animation: noteFloat 4s ease-in-out infinite;
}

@keyframes noteFloat {
    0%, 100% {
        transform: translateY(-50%) rotate(0deg);
    }
    50% {
        transform: translateY(-60%) rotate(-5deg);
    }
}

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

.nav-menu li a {
    display: block;
    padding: 0.9rem 1.8rem;
    color: #2a1810;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.35s ease;
    position: relative;
    letter-spacing: 0.5px;
    border-radius: 8px;
}

.nav-menu li a::before {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 70%;
    height: 2px;
    background: #daa520;
    transition: transform 0.35s ease;
}

.nav-menu li a:hover::before,
.nav-menu li a.active::before {
    transform: translateX(-50%) scaleX(1);
}

.nav-menu li a:hover,
.nav-menu li a.active {
    color: #daa520;
    background: rgba(218, 165, 32, 0.08);
}

.mobile-toggle {
    display: none;
    background: #daa520;
    border: none;
    color: #fffbf5;
    font-size: 1.8rem;
    width: 55px;
    height: 55px;
    cursor: pointer;
    transition: all 0.35s ease;
    border-radius: 8px;
}

.mobile-toggle:hover {
    background: #b8860b;
    transform: scale(1.05);
}

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

#hero::before {
    content: '𝄞';
    position: absolute;
    top: 8%;
    right: 5%;
    font-size: 22rem;
    color: rgba(218, 165, 32, 0.03);
    animation: trebleClefSpin 50s linear infinite;
}

#hero::after {
    content: '♪';
    position: absolute;
    bottom: 10%;
    left: 4%;
    font-size: 18rem;
    color: rgba(139, 69, 19, 0.025);
    animation: noteRise 20s ease-in-out infinite;
}

@keyframes trebleClefSpin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes noteRise {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-40px);
    }
}

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

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

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

.hero-text h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 2.5rem;
    color: #2a1810;
    letter-spacing: -1px;
}

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

.hero-subtitle {
    font-size: 1.4rem;
    color: #6b4423;
    margin-bottom: 3rem;
    line-height: 1.7;
    font-weight: 400;
}

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

.btn {
    display: inline-block;
    padding: 1.1rem 2.8rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.35s ease;
    font-size: 1rem;
    letter-spacing: 0.5px;
    font-family: 'Nunito', sans-serif;
    position: relative;
    border: 2px solid transparent;
    border-radius: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, #daa520 0%, #b8860b 100%);
    color: #fffbf5;
    box-shadow: 0 8px 25px rgba(218, 165, 32, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(218, 165, 32, 0.4);
    background: linear-gradient(135deg, #b8860b 0%, #8b6914 100%);
}

.btn-secondary {
    background: #fffbf5;
    color: #daa520;
    border: 2px solid #daa520;
}

.btn-secondary:hover {
    background: #daa520;
    color: #fffbf5;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(218, 165, 32, 0.3);
}

.hero-image {
    animation: slideInFromRight 1.2s ease-out 0.2s both;
}

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

.profile-card {
    background: linear-gradient(145deg, #ffffff 0%, #faf5ed 100%);
    padding: 2.5rem;
    box-shadow: 
        0 0 0 1px rgba(218, 165, 32, 0.15),
        0 20px 60px rgba(42, 24, 16, 0.12);
    transition: all 0.4s ease;
    position: relative;
    border-radius: 15px;
}

.profile-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #daa520 0%, #b8860b 50%, #daa520 100%);
    border-radius: 15px 15px 0 0;
}

.profile-card::after {
    content: '♬';
    position: absolute;
    bottom: 20px;
    right: 20px;
    font-size: 5rem;
    color: rgba(218, 165, 32, 0.04);
}

.profile-card:hover {
    transform: translateY(-10px);
    box-shadow: 
        0 0 0 1px rgba(218, 165, 32, 0.3),
        0 30px 80px rgba(42, 24, 16, 0.18);
}

.profile-card img {
    width: 100%;
    margin-bottom: 2rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(42, 24, 16, 0.15);
}

.profile-details h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 0.8rem;
    color: #2a1810;
    font-weight: 800;
}

.profile-details p {
    color: #6b4423;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.social-links a {
    display: inline-block;
    padding: 1rem 2.2rem;
    background: linear-gradient(135deg, #8b4513 0%, #a0522d 100%);
    color: #fffbf5;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: all 0.35s ease;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(139, 69, 19, 0.3);
}

.social-links a:hover {
    background: linear-gradient(135deg, #6b3410 0%, #8b4513 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(139, 69, 19, 0.4);
}

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

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

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

.section-header::before {
    content: '♩';
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 3rem;
    color: rgba(218, 165, 32, 0.3);
}

.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.2;
    color: #2a1810;
    letter-spacing: -0.5px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, transparent, #daa520, transparent);
}

#experience {
    background: linear-gradient(180deg, #faf5ed 0%, #fffbf5 100%);
}

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

.timeline::before {
    content: '';
    position: absolute;
    left: 120px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: repeating-linear-gradient(
        0deg,
        #daa520,
        #daa520 10px,
        transparent 10px,
        transparent 20px
    );
}

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

.timeline-year {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 800;
    color: #daa520;
    position: relative;
    z-index: 2;
    text-align: right;
    padding-right: 2.5rem;
}

.timeline-year::after {
    content: '●';
    position: absolute;
    right: -47px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: #daa520;
    text-shadow: 0 0 0 8px #fffbf5;
}

.timeline-content {
    background: #ffffff;
    padding: 2.5rem;
    transition: all 0.35s ease;
    box-shadow: 0 5px 20px rgba(42, 24, 16, 0.08);
    position: relative;
    border-radius: 10px;
    border-left: 4px solid transparent;
}

.timeline-content:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 35px rgba(42, 24, 16, 0.12);
    border-left-color: #daa520;
}

.timeline-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: #2a1810;
    font-weight: 800;
}

.timeline-content h4 {
    color: #b8860b;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

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

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

.timeline-content a:hover {
    border-bottom-color: #daa520;
}

#ai {
    background: #fffbf5;
}

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

.project-card {
    background: linear-gradient(145deg, #ffffff 0%, #faf5ed 100%);
    padding: 3rem;
    transition: all 0.35s ease;
    position: relative;
    box-shadow: 0 8px 30px rgba(42, 24, 16, 0.1);
    border-radius: 10px;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #daa520 0%, #b8860b 33%, #8b4513 66%, #daa520 100%);
    border-radius: 10px 10px 0 0;
}

.project-card::after {
    content: '🎵';
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 4rem;
    opacity: 0.04;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 45px rgba(42, 24, 16, 0.15);
}

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

.project-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: #2a1810;
    margin: 0;
    font-weight: 800;
}

.project-client {
    color: #b8860b;
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 2rem;
}

.project-card > p {
    color: #6b4423;
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.project-impact {
    background: rgba(218, 165, 32, 0.08);
    padding: 1.8rem;
    color: #2a1810;
    line-height: 1.8;
    border-radius: 8px;
    border-left: 4px solid #daa520;
}

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

#speaking {
    background: linear-gradient(180deg, #faf5ed 0%, #fffbf5 100%);
}

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

.year-section {
    background: #ffffff;
    padding: 2.5rem;
    transition: all 0.35s ease;
    box-shadow: 0 5px 20px rgba(42, 24, 16, 0.08);
    border-radius: 10px;
    position: relative;
}

.year-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #daa520;
    opacity: 0.3;
    transition: opacity 0.35s ease;
    border-radius: 10px 10px 0 0;
}

.year-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 35px rgba(42, 24, 16, 0.12);
}

.year-section:hover::before {
    opacity: 1;
}

.year-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #2a1810;
    text-align: center;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid rgba(218, 165, 32, 0.2);
    font-weight: 800;
}

.year-section.books {
    grid-column: span 2;
    background: linear-gradient(135deg, #daa520 0%, #b8860b 100%);
}

.year-section.books::before {
    background: rgba(255, 251, 245, 0.3);
}

.year-section.books h3 {
    color: #fffbf5;
    border-bottom-color: rgba(255, 251, 245, 0.3);
}

.achievements {
    list-style: none;
}

.achievements li {
    padding: 1.2rem 0;
    color: #6b4423;
    border-bottom: 1px solid rgba(42, 24, 16, 0.08);
    line-height: 1.8;
    position: relative;
    padding-left: 2rem;
}

.achievements li::before {
    content: '♪';
    position: absolute;
    left: 0;
    top: 1.2rem;
    font-size: 1.2rem;
    color: #daa520;
}

.year-section.books .achievements li {
    color: rgba(255, 251, 245, 0.95);
    border-bottom-color: rgba(255, 251, 245, 0.2);
}

.year-section.books .achievements li::before {
    color: #fffbf5;
}

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

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

.year-section.books .achievements strong {
    color: #fffbf5;
}

#personal {
    background: #fffbf5;
}

#contact {
    background: linear-gradient(135deg, rgba(218, 165, 32, 0.05) 0%, rgba(139, 69, 19, 0.05) 100%);
}

.contact-card {
    background: linear-gradient(145deg, #ffffff 0%, #faf5ed 100%);
    padding: 5rem 4rem;
    text-align: center;
    box-shadow: 
        0 0 0 1px rgba(218, 165, 32, 0.2),
        0 25px 70px rgba(42, 24, 16, 0.15);
    max-width: 900px;
    margin: 0 auto;
    border-radius: 15px;
}

.contact-card h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    margin-bottom: 2rem;
    color: #2a1810;
    font-weight: 900;
}

.contact-card > p {
    font-size: 1.2rem;
    color: #6b4423;
    line-height: 1.8;
    margin-bottom: 3rem;
    max-width: 700px;
    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: 1.2rem;
    padding: 1.3rem 2.5rem;
    background: linear-gradient(135deg, #daa520 0%, #b8860b 100%);
    color: #fffbf5;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: all 0.35s ease;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(218, 165, 32, 0.3);
}

.contact-link:hover {
    background: linear-gradient(135deg, #b8860b 0%, #8b6914 100%);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(218, 165, 32, 0.4);
}

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

#footer {
    background: #2a1810;
    padding: 3rem 0;
    text-align: center;
    color: rgba(255, 251, 245, 0.7);
    border-top: 3px solid #daa520;
}

#footer a {
    color: #daa520;
    text-decoration: none;
    transition: color 0.3s ease;
}

#footer a:hover {
    color: #b8860b;
}

@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: 75px;
    }

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

    .nav-menu {
        position: fixed;
        top: 75px;
        left: 0;
        right: 0;
        background: #fffbf5;
        flex-direction: column;
        padding: 2rem;
        gap: 0;
        box-shadow: 0 15px 40px rgba(42, 24, 16, 0.15);
        transform: translateY(-150%);
        transition: transform 0.4s ease;
        border-bottom: 3px solid #daa520;
    }

    .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(42, 24, 16, 0.08);
        border-radius: 0;
    }

    .nav-menu li a::before {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

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

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

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

    .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: -40px;
        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: 70px;
    }

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

    #hero {
        padding: 120px 0 80px;
    }

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

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

    .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: 2rem;
    }

    .profile-card {
        padding: 2rem;
    }

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

    .timeline-content {
        padding: 2rem;
    }

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

    .contact-card {
        padding: 3rem 2rem;
    }

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

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

    .contact-link {
        justify-content: center;
        padding: 1.2rem 2rem;
    }
}