/* Theme: Renaissance - Classical art, gold leaf accents, marble textures, ornate borders, museum elegance */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500;600;700&family=Montserrat:wght@300;400;500;600;700;800&display=swap');

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

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

body {
    font-family: 'Cormorant Garamond', serif;
    font-size: 19px;
    line-height: 1.9;
    color: #2b2520;
    background: #f5f1eb;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(180, 151, 90, 0.02) 35px, rgba(180, 151, 90, 0.02) 70px),
        repeating-linear-gradient(-45deg, transparent, transparent 35px, rgba(139, 115, 85, 0.02) 35px, rgba(139, 115, 85, 0.02) 70px);
    pointer-events: none;
    z-index: 0;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at top left, rgba(180, 151, 90, 0.08) 0%, transparent 50%),
                radial-gradient(ellipse at bottom right, rgba(139, 115, 85, 0.06) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

#topnav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(245, 241, 235, 0.97);
    border-bottom: 3px double #b4975a;
    box-shadow: 0 8px 32px rgba(43, 37, 32, 0.12);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

#topnav.scrolled {
    background: rgba(245, 241, 235, 0.99);
    box-shadow: 0 12px 48px rgba(43, 37, 32, 0.18);
    border-bottom-color: #8b7355;
}

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

.logo h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.1rem;
    font-weight: 600;
    color: #8b7355;
    margin: 0;
    letter-spacing: 3px;
    text-transform: uppercase;
    position: relative;
    font-variant: small-caps;
}

.logo h1::before {
    content: '❦';
    position: absolute;
    left: -35px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.8rem;
    color: #b4975a;
}

.logo h1::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #b4975a 50%, transparent 100%);
}

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

.nav-menu li a {
    display: block;
    padding: 1rem 1.8rem;
    color: #4a3f35;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border: 1px solid transparent;
}

.nav-menu li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(180, 151, 90, 0.15) 0%, rgba(139, 115, 85, 0.15) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #b4975a 0%, #8b7355 100%);
    transition: width 0.4s ease;
}

.nav-menu li a:hover::before,
.nav-menu li a.active::before {
    opacity: 1;
}

.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: #8b7355;
    border-color: rgba(180, 151, 90, 0.3);
}

.mobile-toggle {
    display: none;
    background: linear-gradient(135deg, #b4975a 0%, #8b7355 100%);
    border: 2px solid #8b7355;
    color: #f5f1eb;
    font-size: 1.6rem;
    width: 58px;
    height: 58px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 24px rgba(139, 115, 85, 0.3);
    position: relative;
}

.mobile-toggle::before {
    content: '';
    position: absolute;
    inset: -4px;
    border: 1px solid rgba(180, 151, 90, 0.4);
    pointer-events: none;
}

.mobile-toggle:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 32px rgba(139, 115, 85, 0.4);
}

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

#hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -15%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(180, 151, 90, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    animation: marbleFloat 30s ease-in-out infinite;
}

#hero::after {
    content: '';
    position: absolute;
    bottom: -25%;
    left: -10%;
    width: 750px;
    height: 750px;
    background: radial-gradient(circle, rgba(139, 115, 85, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: marbleFloat 35s ease-in-out infinite reverse;
}

@keyframes marbleFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translate(30px, -40px) scale(1.08);
        opacity: 0.7;
    }
}

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

.hero-text {
    animation: fadeInUp 1.2s cubic-bezier(0.23, 1, 0.32, 1);
}

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

.hero-text h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 5.2rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 2.5rem;
    color: #2b2520;
    letter-spacing: 0.5px;
    position: relative;
    font-variant: small-caps;
}

.hero-text h1::first-letter {
    font-size: 6.5rem;
    color: #b4975a;
    float: left;
    line-height: 0.85;
    margin-right: 0.15em;
    font-weight: 700;
}

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

.hero-subtitle {
    font-size: 1.55rem;
    color: #6b5d4f;
    margin-bottom: 3.5rem;
    line-height: 1.8;
    font-weight: 400;
    font-style: italic;
    position: relative;
    padding-left: 2.5rem;
}

.hero-subtitle::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #b4975a 0%, #8b7355 100%);
}

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

.btn {
    display: inline-block;
    padding: 1.4rem 3.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    border: 2px solid;
}

.btn::before {
    content: '';
    position: absolute;
    inset: -5px;
    border: 1px solid;
    opacity: 0.3;
    transition: all 0.5s ease;
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::after {
    width: 120%;
    height: 200%;
}

.btn-primary {
    background: linear-gradient(135deg, #b4975a 0%, #8b7355 100%);
    color: #f5f1eb;
    border-color: #8b7355;
    box-shadow: 0 12px 36px rgba(139, 115, 85, 0.35);
}

.btn-primary::before {
    border-color: #b4975a;
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 48px rgba(139, 115, 85, 0.45);
}

.btn-secondary {
    background: transparent;
    color: #8b7355;
    border-color: #8b7355;
    box-shadow: 0 8px 28px rgba(139, 115, 85, 0.2);
}

.btn-secondary::before {
    border-color: #b4975a;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #b4975a 0%, #8b7355 100%);
    color: #f5f1eb;
    transform: translateY(-4px);
    box-shadow: 0 14px 40px rgba(139, 115, 85, 0.35);
}

.hero-image {
    animation: fadeInUp 1.2s cubic-bezier(0.23, 1, 0.32, 1) 0.3s both;
}

.profile-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(245, 241, 235, 0.9) 100%);
    padding: 3rem;
    box-shadow: 
        0 0 0 1px rgba(139, 115, 85, 0.2),
        0 0 0 8px rgba(180, 151, 90, 0.08),
        0 28px 70px rgba(43, 37, 32, 0.2);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 3px double #b4975a;
}

.profile-card::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border: 1px solid rgba(180, 151, 90, 0.3);
    pointer-events: none;
}

.profile-card::after {
    content: '❦';
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2.5rem;
    color: #b4975a;
    background: #f5f1eb;
    padding: 0 1rem;
}

.profile-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 
        0 0 0 1px rgba(139, 115, 85, 0.3),
        0 0 0 8px rgba(180, 151, 90, 0.12),
        0 38px 90px rgba(43, 37, 32, 0.28);
}

.profile-card img {
    width: 100%;
    margin-bottom: 2.5rem;
    box-shadow: 0 16px 48px rgba(43, 37, 32, 0.25);
    border: 4px solid rgba(180, 151, 90, 0.3);
    position: relative;
}

.profile-details h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.4rem;
    margin-bottom: 0.8rem;
    color: #2b2520;
    font-weight: 600;
    letter-spacing: 1px;
    font-variant: small-caps;
}

.profile-details p {
    color: #6b5d4f;
    margin-bottom: 2.5rem;
    line-height: 1.8;
    font-weight: 400;
}

.social-links a {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: linear-gradient(135deg, #b4975a 0%, #8b7355 100%);
    color: #f5f1eb;
    text-decoration: none;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 32px rgba(139, 115, 85, 0.35);
    border: 2px solid #8b7355;
    position: relative;
}

.social-links a::before {
    content: '';
    position: absolute;
    inset: -5px;
    border: 1px solid rgba(180, 151, 90, 0.3);
}

.social-links a:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 44px rgba(139, 115, 85, 0.45);
}

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

.container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 4rem;
}

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

.section-header::before {
    content: '❦';
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 3.5rem;
    color: #b4975a;
    opacity: 0.4;
}

.section-header h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 4.5rem;
    font-weight: 600;
    line-height: 1.2;
    color: #2b2520;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
    font-variant: small-caps;
}

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

#experience {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.4) 0%, rgba(245, 241, 235, 0.6) 100%);
}

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

.timeline::before {
    content: '';
    position: absolute;
    left: 140px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #b4975a 0%, #8b7355 50%, #b4975a 100%);
    box-shadow: 0 0 20px rgba(180, 151, 90, 0.3);
}

.timeline-item {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 5rem;
    margin-bottom: 5.5rem;
    position: relative;
}

.timeline-year {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3.5rem;
    font-weight: 600;
    color: #8b7355;
    position: relative;
    z-index: 2;
    text-align: right;
    padding-right: 3rem;
    letter-spacing: 2px;
}

.timeline-year::after {
    content: '';
    position: absolute;
    right: -70px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: #b4975a;
    border: 5px solid #f5f1eb;
    box-shadow: 
        0 0 0 8px rgba(180, 151, 90, 0.2),
        0 0 20px rgba(180, 151, 90, 0.4);
}

.timeline-content {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(245, 241, 235, 0.95) 100%);
    padding: 3rem;
    border: 2px solid rgba(180, 151, 90, 0.3);
    border-left: 5px solid #b4975a;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 12px 40px rgba(43, 37, 32, 0.15);
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    bottom: 12px;
    border: 1px solid rgba(180, 151, 90, 0.2);
    pointer-events: none;
}

.timeline-content:hover {
    transform: translateX(18px);
    box-shadow: 0 20px 60px rgba(43, 37, 32, 0.25);
    border-left-width: 7px;
}

.timeline-content h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.3rem;
    margin-bottom: 0.7rem;
    color: #2b2520;
    font-weight: 600;
    letter-spacing: 1px;
}

.timeline-content h4 {
    color: #8b7355;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
}

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

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

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

#ai {
    background: rgba(245, 241, 235, 0.5);
}

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

.project-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(245, 241, 235, 0.95) 100%);
    padding: 3.5rem;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 16px 52px rgba(43, 37, 32, 0.18);
    border: 3px double #b4975a;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border: 1px solid rgba(180, 151, 90, 0.3);
    pointer-events: none;
}

.project-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #b4975a 0%, #8b7355 50%, #b4975a 100%);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 26px 72px rgba(43, 37, 32, 0.28);
}

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

.project-header h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.8rem;
    color: #2b2520;
    margin: 0;
    font-weight: 600;
    letter-spacing: 1px;
    font-variant: small-caps;
}

.project-client {
    color: #8b7355;
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 2rem;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
}

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

.project-impact {
    background: linear-gradient(135deg, rgba(180, 151, 90, 0.12) 0%, rgba(139, 115, 85, 0.12) 100%);
    padding: 2rem;
    border-left: 5px solid #b4975a;
    color: #2b2520;
    line-height: 1.9;
    position: relative;
}

.project-impact::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    bottom: 8px;
    border: 1px solid rgba(180, 151, 90, 0.2);
    pointer-events: none;
}

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

#speaking {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.5) 0%, rgba(245, 241, 235, 0.7) 100%);
}

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

.year-section {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(245, 241, 235, 0.95) 100%);
    padding: 3.2rem;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 14px 48px rgba(43, 37, 32, 0.16);
    border: 2px solid rgba(180, 151, 90, 0.3);
    position: relative;
}

.year-section::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    bottom: 12px;
    border: 1px solid rgba(180, 151, 90, 0.2);
    pointer-events: none;
}

.year-section:hover {
    transform: translateY(-10px);
    box-shadow: 0 22px 64px rgba(43, 37, 32, 0.24);
}

.year-section h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    margin-bottom: 2.5rem;
    color: #8b7355;
    text-align: center;
    padding-bottom: 1.8rem;
    border-bottom: 2px solid rgba(180, 151, 90, 0.3);
    font-weight: 600;
    letter-spacing: 2px;
}

.year-section.books {
    grid-column: span 2;
    background: linear-gradient(135deg, #b4975a 0%, #8b7355 100%);
    border: 3px double #6b5d4f;
    box-shadow: 0 22px 64px rgba(139, 115, 85, 0.4);
}

.year-section.books::before {
    border-color: rgba(255, 255, 255, 0.3);
}

.year-section.books h3 {
    color: #f5f1eb;
    border-bottom-color: rgba(245, 241, 235, 0.4);
}

.achievements {
    list-style: none;
}

.achievements li {
    padding: 1.3rem 0;
    color: #6b5d4f;
    border-bottom: 1px solid rgba(180, 151, 90, 0.2);
    line-height: 1.9;
    position: relative;
    padding-left: 3rem;
}

.achievements li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: #b4975a;
    font-size: 1.4rem;
}

.year-section.books .achievements li {
    color: rgba(245, 241, 235, 0.95);
    border-bottom-color: rgba(245, 241, 235, 0.3);
}

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

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

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

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

#personal {
    background: rgba(245, 241, 235, 0.6);
}

#contact {
    background: linear-gradient(135deg, rgba(180, 151, 90, 0.08) 0%, rgba(139, 115, 85, 0.08) 100%);
}

.contact-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(245, 241, 235, 0.95) 100%);
    padding: 6.5rem 5.5rem;
    text-align: center;
    box-shadow: 0 32px 88px rgba(43, 37, 32, 0.22);
    max-width: 1200px;
    margin: 0 auto;
    border: 3px double #b4975a;
    position: relative;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 18px;
    left: 18px;
    right: 18px;
    bottom: 18px;
    border: 1px solid rgba(180, 151, 90, 0.3);
    pointer-events: none;
}

.contact-card::after {
    content: '❦';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 3rem;
    color: #b4975a;
    background: #f5f1eb;
    padding: 0 1.5rem;
}

.contact-card h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 4.8rem;
    margin-bottom: 2.5rem;
    color: #2b2520;
    font-weight: 600;
    letter-spacing: 2px;
    font-variant: small-caps;
}

.contact-card > p {
    font-size: 1.45rem;
    color: #6b5d4f;
    line-height: 1.9;
    margin-bottom: 4rem;
    max-width: 950px;
    margin-left: auto;
    margin-right: auto;
}

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

.contact-link {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.6rem 4rem;
    background: linear-gradient(135deg, #b4975a 0%, #8b7355 100%);
    color: #f5f1eb;
    text-decoration: none;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 14px 44px rgba(139, 115, 85, 0.4);
    border: 2px solid #8b7355;
    position: relative;
}

.contact-link::before {
    content: '';
    position: absolute;
    inset: -5px;
    border: 1px solid rgba(180, 151, 90, 0.3);
}

.contact-link::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.contact-link:hover::after {
    width: 120%;
    height: 200%;
}

.contact-link:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 56px rgba(139, 115, 85, 0.5);
}

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

#footer {
    background: linear-gradient(135deg, #2b2520 0%, #4a3f35 100%);
    padding: 4rem 0;
    text-align: center;
    color: rgba(245, 241, 235, 0.8);
    border-top: 3px double #b4975a;
}

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

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

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

    .hero-subtitle::before {
        display: none;
    }

    .hero-subtitle {
        padding-left: 0;
    }

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

    .hero-image {
        max-width: 600px;
        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 2.5rem;
        height: 92px;
    }

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

    .nav-menu {
        position: fixed;
        top: 92px;
        left: 0;
        right: 0;
        background: rgba(245, 241, 235, 0.98);
        backdrop-filter: blur(15px);
        flex-direction: column;
        padding: 3.5rem;
        gap: 0;
        box-shadow: 0 28px 68px rgba(43, 37, 32, 0.25);
        transform: translateY(-150%);
        transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        border-bottom: 3px double #b4975a;
    }

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

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

    .nav-menu li a {
        width: 100%;
        text-align: center;
        padding: 1.5rem;
        border-bottom: 1px solid rgba(180, 151, 90, 0.2);
    }

    .mobile-toggle {
        display: block;
    }

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

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

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

    .timeline-item {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        margin-bottom: 5rem;
        padding-left: 5.5rem;
    }

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

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

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

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

    .nav-container {
        padding: 0 2rem;
        height: 84px;
    }

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

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

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

    .hero-text h1::first-letter {
        font-size: 4.5rem;
    }

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

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

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

    section {
        padding: 100px 0;
    }

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

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

    .profile-card {
        padding: 2.5rem;
    }

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

    .timeline-content {
        padding: 2.5rem;
    }

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

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

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

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

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