/* Theme: Beach Bungalow - Day 28, random theme: Inspired by coastal living, weathered wood, ocean breezes, sandy textures, driftwood, coral accents, sea glass, nautical elements, sun-bleached palettes, tropical paradise */

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

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

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

body {
    font-family: 'Lato', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #3d5a5c;
    background: #fdfaf6;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 25% 40%, rgba(255, 183, 147, 0.08) 0%, transparent 55%),
        radial-gradient(ellipse at 75% 60%, rgba(138, 198, 209, 0.09) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(138, 198, 209, 0.02) 35px, rgba(138, 198, 209, 0.02) 70px);
    pointer-events: none;
    z-index: 0;
}

#topnav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(253, 250, 246, 0.93);
    backdrop-filter: blur(12px);
    border-bottom: 3px solid #ffb793;
    box-shadow: 0 3px 18px rgba(61, 90, 92, 0.08);
    transition: all 0.3s ease;
}

#topnav.scrolled {
    background: rgba(253, 250, 246, 0.96);
    box-shadow: 0 5px 25px rgba(61, 90, 92, 0.12);
}

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

.logo h1 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #3d5a5c;
    margin: 0;
    letter-spacing: 0.5px;
    position: relative;
}

.logo h1::after {
    content: '~';
    position: absolute;
    bottom: -8px;
    left: 0;
    color: #ffb793;
    font-size: 1.4rem;
}

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

.nav-menu li a {
    display: block;
    padding: 0.75rem 1.4rem;
    color: #3d5a5c;
    text-decoration: none;
    font-weight: 400;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    letter-spacing: 0.3px;
    border-radius: 6px;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #ffb793;
    transition: width 0.3s ease;
    border-radius: 1px;
}

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

.nav-menu li a:hover,
.nav-menu li a.active {
    color: #d48166;
    background: rgba(255, 183, 147, 0.08);
}

.mobile-toggle {
    display: none;
    background: #ffb793;
    border: none;
    color: #3d5a5c;
    font-size: 1.5rem;
    width: 48px;
    height: 48px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
    box-shadow: 0 3px 12px rgba(255, 183, 147, 0.3);
}

.mobile-toggle:hover {
    background: #d48166;
    color: #fdfaf6;
    transform: scale(1.04);
}

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

#hero::before {
    content: '';
    position: absolute;
    top: -18%;
    right: -12%;
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, rgba(255, 183, 147, 0.2) 0%, transparent 68%);
    border-radius: 50%;
    animation: beachWave 28s ease-in-out infinite;
}

#hero::after {
    content: '';
    position: absolute;
    bottom: -15%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(138, 198, 209, 0.18) 0%, transparent 68%);
    border-radius: 50%;
    animation: beachWave 32s ease-in-out infinite reverse;
}

@keyframes beachWave {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: translate(25px, -30px) scale(1.08);
        opacity: 0.85;
    }
}

.hero-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2.5rem;
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 5rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    animation: coastalFadeIn 1s ease-out;
}

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

.hero-text h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.8rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2rem;
    color: #3d5a5c;
    letter-spacing: -0.5px;
}

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

.hero-subtitle {
    font-size: 1.25rem;
    color: #6b8a8c;
    margin-bottom: 3rem;
    line-height: 1.7;
    font-weight: 300;
    letter-spacing: 0.2px;
}

.hero-buttons {
    display: flex;
    gap: 1.6rem;
    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: 0.95rem;
    letter-spacing: 0.4px;
    border-radius: 8px;
    font-family: 'Lato', sans-serif;
}

.btn-primary {
    background: #ffb793;
    color: #3d5a5c;
    border: 2px solid #ffb793;
    box-shadow: 0 6px 20px rgba(255, 183, 147, 0.35);
}

.btn-primary:hover {
    background: #d48166;
    border-color: #d48166;
    transform: translateY(-2px);
    box-shadow: 0 9px 28px rgba(212, 129, 102, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #8ac6d1;
    border: 2px solid #8ac6d1;
    box-shadow: 0 4px 15px rgba(138, 198, 209, 0.2);
}

.btn-secondary:hover {
    background: #8ac6d1;
    color: #fdfaf6;
    transform: translateY(-2px);
    box-shadow: 0 7px 22px rgba(138, 198, 209, 0.35);
}

.hero-image {
    animation: coastalFadeIn 1s ease-out 0.2s both;
}

.profile-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);
    padding: 2.2rem;
    box-shadow: 
        0 0 0 2px rgba(255, 183, 147, 0.25),
        0 12px 40px rgba(61, 90, 92, 0.12);
    transition: all 0.4s ease;
    position: relative;
    border-radius: 16px;
}

.profile-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #ffb793 0%, #8ac6d1 100%);
    border-radius: 16px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.profile-card:hover {
    transform: translateY(-6px);
    box-shadow: 
        0 0 0 2px rgba(255, 183, 147, 0.4),
        0 18px 55px rgba(61, 90, 92, 0.18);
}

.profile-card:hover::before {
    opacity: 0.15;
}

.profile-card img {
    width: 100%;
    margin-bottom: 1.6rem;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(61, 90, 92, 0.15);
}

.profile-details h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 0.6rem;
    color: #3d5a5c;
    font-weight: 600;
}

.profile-details p {
    color: #6b8a8c;
    margin-bottom: 1.8rem;
    line-height: 1.6;
    font-weight: 300;
}

.social-links a {
    display: inline-block;
    padding: 0.95rem 2.3rem;
    background: #8ac6d1;
    color: #fdfaf6;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.4px;
    transition: all 0.3s ease;
    border-radius: 8px;
    box-shadow: 0 5px 18px rgba(138, 198, 209, 0.3);
    font-family: 'Lato', sans-serif;
}

.social-links a:hover {
    background: #6fa7b3;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(111, 167, 179, 0.4);
}

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

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2.5rem;
}

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

.section-header::before {
    content: '~';
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    color: #ffb793;
    font-size: 2.5rem;
    font-family: 'Playfair Display', serif;
}

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

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #ffb793 0%, #8ac6d1 100%);
    border-radius: 2px;
}

#experience {
    background: rgba(138, 198, 209, 0.04);
}

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

.timeline::before {
    content: '';
    position: absolute;
    left: 210px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #ffb793 0%, #8ac6d1 50%, #ffb793 100%);
}

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

.timeline-year {
    font-family: 'Playfair Display', serif;
    font-size: 4.5rem;
    font-weight: 600;
    color: rgba(255, 183, 147, 0.4);
    position: relative;
    z-index: 2;
    text-align: right;
    padding-right: 4.5rem;
    letter-spacing: -1px;
}

.timeline-year::after {
    content: '';
    position: absolute;
    right: -82px;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    background: #ffb793;
    border-radius: 50%;
    box-shadow: 
        0 0 0 5px rgba(253, 250, 246, 1),
        0 0 0 10px rgba(255, 183, 147, 0.2);
}

.timeline-content {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(12px);
    padding: 2.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 6px 22px rgba(61, 90, 92, 0.08);
    position: relative;
    border-radius: 14px;
    border-left: 3px solid transparent;
}

.timeline-content:hover {
    transform: translateX(8px);
    box-shadow: 0 10px 32px rgba(61, 90, 92, 0.14);
    border-left-color: #ffb793;
    background: rgba(255, 255, 255, 0.8);
}

.timeline-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.9rem;
    margin-bottom: 0.6rem;
    color: #3d5a5c;
    font-weight: 600;
}

.timeline-content h4 {
    color: #8ac6d1;
    font-size: 1.15rem;
    margin-bottom: 1.3rem;
    font-weight: 700;
}

.timeline-content p {
    color: #6b8a8c;
    line-height: 1.8;
    margin: 0;
    font-weight: 300;
}

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

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

#ai {
    background: rgba(255, 183, 147, 0.04);
}

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

.project-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    padding: 3.2rem;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 8px 28px rgba(61, 90, 92, 0.1);
    border-radius: 16px;
    border-top: 4px solid #ffb793;
}

.project-card::after {
    content: '~';
    position: absolute;
    top: 25px;
    right: 25px;
    font-size: 2.8rem;
    color: rgba(138, 198, 209, 0.12);
    font-family: 'Playfair Display', serif;
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 42px rgba(61, 90, 92, 0.15);
    background: rgba(255, 255, 255, 0.85);
}

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

.project-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    color: #3d5a5c;
    margin: 0;
    font-weight: 600;
}

.project-client {
    color: #8ac6d1;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.project-card > p {
    color: #6b8a8c;
    line-height: 1.8;
    margin-bottom: 2.4rem;
    font-weight: 300;
}

.project-impact {
    background: rgba(138, 198, 209, 0.08);
    padding: 1.8rem;
    color: #3d5a5c;
    line-height: 1.8;
    border-radius: 12px;
    border-left: 3px solid #8ac6d1;
    font-weight: 300;
}

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

#speaking {
    background: rgba(138, 198, 209, 0.04);
}

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

.year-section {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(12px);
    padding: 2.8rem;
    transition: all 0.3s ease;
    box-shadow: 0 6px 22px rgba(61, 90, 92, 0.08);
    border-radius: 14px;
    position: relative;
    border-top: 3px solid rgba(255, 183, 147, 0.3);
}

.year-section:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 32px rgba(61, 90, 92, 0.14);
    border-top-color: #ffb793;
    background: rgba(255, 255, 255, 0.8);
}

.year-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    margin-bottom: 2.4rem;
    color: #3d5a5c;
    text-align: center;
    padding-bottom: 1.7rem;
    border-bottom: 2px solid rgba(138, 198, 209, 0.2);
    font-weight: 600;
}

.year-section.books {
    grid-column: span 2;
    background: linear-gradient(135deg, rgba(61, 90, 92, 0.95) 0%, rgba(61, 90, 92, 0.98) 100%);
    border-top-color: #ffb793;
}

.year-section.books h3 {
    color: #ffb793;
    border-bottom-color: rgba(255, 183, 147, 0.25);
}

.achievements {
    list-style: none;
}

.achievements li {
    padding: 1.25rem 0;
    color: #6b8a8c;
    border-bottom: 1px solid rgba(61, 90, 92, 0.06);
    line-height: 1.8;
    position: relative;
    padding-left: 2rem;
    font-weight: 300;
}

.achievements li::before {
    content: '~';
    position: absolute;
    left: 0;
    top: 1.25rem;
    color: #8ac6d1;
    font-family: 'Playfair Display', serif;
}

.year-section.books .achievements li {
    color: rgba(253, 250, 246, 0.9);
    border-bottom-color: rgba(253, 250, 246, 0.12);
}

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

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

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

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

#personal {
    background: rgba(255, 183, 147, 0.04);
}

#contact {
    background: rgba(138, 198, 209, 0.06);
}

.contact-card {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(15px);
    padding: 5.5rem 4.8rem;
    text-align: center;
    box-shadow: 0 15px 45px rgba(61, 90, 92, 0.12);
    max-width: 1100px;
    margin: 0 auto;
    border-radius: 20px;
    border: 3px solid rgba(255, 183, 147, 0.25);
}

.contact-card h2 {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    margin-bottom: 2.4rem;
    color: #3d5a5c;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.contact-card > p {
    font-size: 1.25rem;
    color: #6b8a8c;
    line-height: 1.8;
    margin-bottom: 4rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
}

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

.contact-link {
    display: flex;
    align-items: center;
    gap: 1.3rem;
    padding: 1.3rem 3.2rem;
    background: #ffb793;
    color: #3d5a5c;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.4px;
    transition: all 0.3s ease;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(255, 183, 147, 0.35);
    font-family: 'Lato', sans-serif;
}

.contact-link:hover {
    background: #d48166;
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(212, 129, 102, 0.4);
}

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

#footer {
    background: linear-gradient(135deg, rgba(61, 90, 92, 0.95) 0%, rgba(61, 90, 92, 0.98) 100%);
    padding: 4rem 0;
    text-align: center;
    color: rgba(253, 250, 246, 0.7);
    border-top: 3px solid #8ac6d1;
}

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

#footer a:hover {
    color: #8ac6d1;
}

@media screen and (max-width: 1200px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 4.2rem;
        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(253, 250, 246, 0.96);
        backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 3rem;
        gap: 0;
        box-shadow: 0 14px 35px rgba(61, 90, 92, 0.12);
        transform: translateY(-150%);
        transition: transform 0.4s ease;
        border-bottom: 3px solid #ffb793;
    }

    .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(61, 90, 92, 0.05);
    }

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

    .mobile-toggle {
        display: block;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    section {
        padding: 75px 0;
    }

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

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

    .profile-card {
        padding: 1.7rem;
    }

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

    .timeline-content {
        padding: 2rem;
    }

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

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

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

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

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