/* Main CSS - Additional styles and overrides */

/* Main container padding adjustment */
.container {
    padding: 0 24px;
}

@media (min-width: 600px) {
    .container {
        padding: 0 40px;
    }
}

/* Section styling */
.section-intro {
    max-width: 800px;
    margin: 0 auto 32px;
}

/* Service card details */
.service-details {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(0, 0, 0, 0.12);
}

/* Topic cards */
.speaking-topics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin: 24px 0;
}

.topic-card {
    background-color: var(--mdc-theme-surface);
    padding: 24px;
    border-radius: 4px;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.14);
}

/* Service list */
.service-list {
    margin: 32px 0;
}

.service-item {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

/* Personal story */
.personal-story {
    margin-top: 32px;
    padding: 24px;
    background-color: var(--mdc-theme-surface);
    border-radius: 4px;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.14);
}

/* Career Highlights Section */
.career-highlights-section {
    background-color: var(--mdc-theme-surface);
}

.career-highlights-section h2 {
    text-align: center;
    margin-bottom: 32px;
}

.career-highlights-list {
    max-width: 800px;
    margin: 0 auto;
}

.career-highlights-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 16px;
}

.career-highlights-list li {
    padding: 16px 20px;
    background-color: #fff;
    border-left: 4px solid var(--mdc-theme-primary);
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.career-highlights-list li:hover {
    transform: translateX(4px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.career-highlights-list li strong {
    color: var(--mdc-theme-primary);
    font-size: 1.1rem;
    margin-right: 8px;
}

/* Professional Journey Section - Option A Styling (matches Career Highlights) */
.professional-journey-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 16px;
}

.professional-journey-item {
    padding: 16px 20px;
    background-color: #fff;
    border-left: 4px solid var(--mdc-theme-primary);
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.professional-journey-item:hover {
    transform: translateX(4px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.professional-journey-item strong {
    color: var(--mdc-theme-primary);
    font-size: 1.1rem;
    margin-right: 8px;
}

.professional-journey-item .journey-title {
    font-weight: 500;
    color: var(--mdc-theme-on-surface);
}

.professional-journey-item .journey-summary {
    margin: 8px 0 0 0;
    font-size: 0.9rem;
    line-height: 1.5;
    color: rgba(0, 0, 0, 0.7);
}

/* Horizontal Timeline */
.timeline-section {
    margin-top: 48px;
}

.timeline-title {
    text-align: center;
    margin-bottom: 32px;
    color: var(--mdc-theme-primary);
}

.timeline-horizontal {
    position: relative;
    padding: 60px 0 40px 0;
    overflow-x: auto;
    overflow-y: visible;
    scrollbar-width: thin;
    scrollbar-color: var(--mdc-theme-primary) rgba(76, 175, 80, 0.1);
}

.timeline-horizontal::-webkit-scrollbar {
    height: 6px;
}

.timeline-horizontal::-webkit-scrollbar-track {
    background: rgba(76, 175, 80, 0.1);
    border-radius: 3px;
}

.timeline-horizontal::-webkit-scrollbar-thumb {
    background-color: var(--mdc-theme-primary);
    border-radius: 3px;
}

.timeline-horizontal::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 35px;
    height: 3px;
    background: linear-gradient(90deg, 
        var(--mdc-theme-primary) 0%, 
        var(--mdc-theme-primary-light) 100%);
}

.timeline-container {
    display: flex;
    gap: 40px;
    min-width: min-content;
    padding: 0 20px;
}

.timeline-item {
    position: relative;
    min-width: 200px;
    max-width: 250px;
    padding-top: 50px;
    text-align: center;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 28px;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--mdc-theme-surface);
    border: 4px solid var(--mdc-theme-primary);
    z-index: 2;
    transition: all 0.3s ease;
}

.timeline-item:hover::before {
    transform: translateX(-50%) scale(1.3);
    box-shadow: 0 0 0 4px rgba(76, 175, 80, 0.2);
}

.timeline-year {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--mdc-theme-primary);
    background-color: var(--mdc-theme-surface);
    padding: 4px 12px;
    border-radius: 16px;
    white-space: nowrap;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.timeline-title-text {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--mdc-theme-on-surface);
    margin-bottom: 8px;
    display: block;
}

.timeline-description {
    font-size: 0.85rem;
    line-height: 1.5;
    color: rgba(0, 0, 0, 0.7);
    margin: 0;
    text-align: left;
}

/* Contact form max width */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

/* CAPTCHA and scheduling sections */
.captcha-section, .scheduling-section {
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
}

.scheduling-section {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Footer logo */
.footer-section:first-child h4 {
    font-weight: 700;
    font-size: 1.2rem;
}

/* Site attribution */
.site-attribution {
    margin-top: 12px;
    font-size: 0.85rem;
    color: rgba(0, 0, 0, 0.6);
}

.site-attribution a {
    color: rgba(0, 0, 0, 0.8);
    text-decoration: underline;
    transition: color 0.2s ease;
}

.site-attribution a:hover {
    color: var(--mdc-theme-primary);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .mdc-typography--headline1 {
        font-size: 2.8rem;
    }

    .mdc-typography--headline2 {
        font-size: 2.2rem;
    }

    .mdc-typography--headline3 {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }

    .mdc-icon-button {
        display: block;
    }

    .mobile-menu {
        display: block;
    }

    .hero-content {
        padding-top: 32px;
    }

    .mdc-typography--headline1 {
        font-size: 2.2rem;
    }

    .mdc-typography--headline2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .mdc-typography--headline1 {
        font-size: 1.8rem;
    }

    .mdc-typography--headline2 {
        font-size: 1.5rem;
    }

    .mdc-typography--headline3 {
        font-size: 1.3rem;
    }

    .container {
        padding: 0 16px;
    }

    .section {
        padding: 48px 0;
    }
}

/* ===== PHOTO INTEGRATION STYLES ===== */

/* Option 1: Hero Section Photo */
.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.hero-text {
    flex: 1;
    text-align: left;
}

.hero-image {
    flex: 0 0 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image img {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--mdc-theme-primary);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3), 0 16px 32px rgba(76, 175, 80, 0.2);
    animation: fadeInScale 0.8s ease-out;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* About Section - Single Column Layout */
.about-content-single {
    max-width: 900px;
    margin: 0 auto;
}

.about-profile-header {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-bottom: 32px;
    padding: 24px;
    background-color: var(--mdc-theme-surface);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.about-profile-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--mdc-theme-primary);
    flex-shrink: 0;
}

.about-profile-text h3 {
    margin: 0 0 8px 0;
    color: var(--mdc-theme-on-surface);
}

.profile-title {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--mdc-theme-primary);
    margin: 0 0 8px 0;
}

.profile-subtitle {
    font-size: 0.9rem;
    color: rgba(0, 0, 0, 0.6);
    margin: 0;
}

.about-bio {
    margin-bottom: 32px;
}

/* Responsive Photo Styles */
@media (max-width: 992px) {
    .hero-content {
        gap: 32px;
    }

    .hero-image {
        flex: 0 0 300px;
    }

    .hero-image img {
        width: 300px;
        height: 300px;
    }

    .about-layout {
        grid-template-columns: 280px 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .hero-content {
        flex-direction: column-reverse;
        text-align: center;
        gap: 32px;
    }

    .hero-text {
        text-align: center;
    }

    .hero-image {
        flex: 0 0 auto;
    }

    .hero-image img {
        width: 250px;
        height: 250px;
    }

    .about-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .about-profile-card {
        max-width: 350px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .hero-image img {
        width: 200px;
        height: 200px;
        border: 3px solid var(--mdc-theme-primary);
    }
}