/* ============================================
   SPEAKER PAGE STYLES
   ============================================ */

/* Light Navigation for Speaker Pages */
.nav-light {
    background: var(--white);
    box-shadow: var(--shadow);
}

.nav-light .nav-menu a {
    color: var(--navy);
}

.nav-light .nav-toggle span {
    background: var(--navy);
}

/* Speaker Hero */
.speaker-hero {
    padding: 8rem 0 5rem;
    background: var(--off-white);
}

.speaker-hero-grid {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 4rem;
    align-items: start;
}

.speaker-hero-image {
    position: relative;
}

.speaker-hero-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

.speaker-badge {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--navy);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: var(--shadow);
}

.speaker-hero-content {
    padding-top: 1rem;
}

.speaker-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.speaker-category {
    color: var(--red);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.speaker-location {
    color: var(--gray-600);
    font-size: 0.9rem;
}

.speaker-hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
}

.speaker-tagline {
    font-size: 1.5rem;
    color: var(--navy-light);
    font-family: 'Playfair Display', serif;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.speaker-intro {
    font-size: 1.125rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.speaker-topics-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.topic-pill {
    background: var(--white);
    color: var(--navy);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.topic-pill:hover {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}

.speaker-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.speaker-social {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.speaker-social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--navy);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    background: var(--white);
    border-radius: 100px;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.speaker-social-link:hover {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}

/* Video Container for YouTube Embed */
.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: var(--radius-lg);
}

@media (max-width: 968px) {
    .speaker-hero-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }

    .speaker-hero-image img {
        height: 400px;
    }

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

    .speaker-meta {
        justify-content: center;
    }

    .speaker-topics-list {
        justify-content: center;
    }

    .speaker-cta {
        justify-content: center;
    }
}

/* Video Section */
.video-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

/* Video Grid for Multiple Videos */
.video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.video-grid-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.video-container-small {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.video-container-small iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: var(--radius);
}

/* Video Carousel */
.video-carousel-wrapper {
    max-width: 100%;
    overflow: hidden;
    margin: 0 auto;
}

.video-carousel {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 0.5rem 0 1rem;
    scrollbar-width: thin;
    scrollbar-color: var(--navy) var(--off-white);
}

.video-carousel::-webkit-scrollbar {
    height: 8px;
}

.video-carousel::-webkit-scrollbar-track {
    background: var(--off-white);
    border-radius: 4px;
}

.video-carousel::-webkit-scrollbar-thumb {
    background: var(--navy);
    border-radius: 4px;
}

.video-carousel-item {
    flex: 0 0 300px;
    scroll-snap-align: start;
    position: relative;
    aspect-ratio: 16/9;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.video-carousel-item iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.carousel-hint {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 0.5rem;
}

@media (max-width: 768px) {
    .video-carousel-item {
        flex: 0 0 260px;
    }
}

@media (max-width: 600px) {
    .video-grid,
    .video-grid-two {
        grid-template-columns: 1fr;
    }
    
    .video-carousel-item {
        flex: 0 0 85vw;
    }
}

.video-placeholder {
    aspect-ratio: 16/9;
    background: var(--navy-dark);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.play-button {
    width: 80px;
    height: 80px;
    background: var(--red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
}

.play-button:hover {
    transform: scale(1.1);
    background: var(--red-dark);
}

.video-placeholder p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0;
}

/* Bio Section */
.bio-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 4rem;
    align-items: start;
}

.bio-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--gray-700);
}

.bio-content h2 {
    margin-bottom: 1.5rem;
}

.bio-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: sticky;
    top: 100px;
}

.credentials-card,
.social-card {
    background: var(--off-white);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
}

.credentials-card h3,
.social-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--navy);
}

.credentials-list {
    list-style: none;
}

.credentials-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.5rem 0;
    font-size: 0.9rem;
    color: var(--gray-700);
}

.credentials-list svg {
    color: var(--red);
    flex-shrink: 0;
    margin-top: 2px;
}

.social-links-speaker {
    display: flex;
    gap: 0.75rem;
}

.social-links-speaker a {
    width: 44px;
    height: 44px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy);
    transition: var(--transition);
    border: 1px solid var(--gray-200);
}

.social-links-speaker a:hover {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}

@media (max-width: 968px) {
    .bio-grid {
        grid-template-columns: 1fr;
    }

    .bio-sidebar {
        position: static;
    }
}

/* Keynotes Section */
.keynotes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.keynote-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    position: relative;
    transition: var(--transition);
}

.keynote-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.keynote-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--gray-100);
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    line-height: 1;
}

.keynote-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    padding-right: 3rem;
}

.keynote-subtitle {
    color: var(--red);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem !important;
}

.keynote-card > p:last-of-type {
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.6;
}

.keynote-meta {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-200);
}

.keynote-meta span {
    font-size: 0.85rem;
    color: var(--gray-600);
}

@media (max-width: 968px) {
    .keynotes-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
}

/* Large Testimonial */
.testimonial-card-large {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 3rem;
    background: var(--off-white);
    border-radius: var(--radius-lg);
}

.testimonial-quote-large {
    color: var(--gray-200);
    margin-bottom: 1.5rem;
}

.testimonial-text-large {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--gray-700);
    font-style: italic;
    margin-bottom: 2rem;
}

.testimonial-author-large strong {
    display: block;
    font-size: 1.1rem;
    color: var(--navy);
    margin-bottom: 0.25rem;
}

.testimonial-author-large span {
    color: var(--gray-600);
    font-size: 0.9rem;
}

/* Other Speakers Grid */
.speakers-grid-small {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 600px;
    margin: 0 auto;
}

.speaker-card-small {
    display: block;
    background: var(--off-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.speaker-card-small:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.speaker-card-small img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    object-position: top center;
}

.speaker-card-small-info {
    padding: 1.25rem;
    text-align: center;
}

.speaker-card-small-info h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.speaker-card-small-info p {
    color: var(--gray-600);
    font-size: 0.85rem;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .speakers-grid-small {
        grid-template-columns: 1fr;
        max-width: 280px;
    }
}

/* Speaker Quote */
.speaker-quote {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-style: italic;
    color: var(--navy);
    border-left: 3px solid var(--red);
    padding-left: 1.25rem;
    margin: 1.5rem 0;
}

/* Expertise Card */
.expertise-card {
    background: var(--off-white);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
}

.expertise-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--navy);
}

.expertise-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.expertise-tags span {
    background: var(--white);
    color: var(--gray-700);
    padding: 0.35rem 0.75rem;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid var(--gray-200);
}

/* Large Keynote Cards */
.keynotes-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.keynote-card-large {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    position: relative;
}

.keynote-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.keynote-card-large .keynote-number {
    position: static;
    font-size: 2rem;
    color: var(--gray-200);
}

.keynote-audience {
    background: var(--navy);
    color: var(--white);
    padding: 0.35rem 1rem;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
}

.keynote-card-large h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.keynote-card-large .keynote-subtitle {
    color: var(--red);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.5rem !important;
}

.keynote-card-large > p {
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.keynote-takeaways {
    background: var(--off-white);
    padding: 1.5rem;
    border-radius: var(--radius);
    margin: 1.5rem 0;
}

.keynote-takeaways h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    color: var(--navy);
    margin-bottom: 1rem;
}

.keynote-takeaways ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.keynote-takeaways li {
    font-size: 0.9rem;
    color: var(--gray-700);
    padding-left: 1.25rem;
    position: relative;
}

.keynote-takeaways li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--red);
    font-weight: bold;
}

.keynote-formats {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-200);
}

.keynote-formats span {
    font-size: 0.85rem;
    color: var(--gray-600);
}

@media (max-width: 768px) {
    .keynote-takeaways ul {
        grid-template-columns: 1fr;
    }
    
    .keynote-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
}

/* Media Features */
.media-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.media-feature-card {
    background: var(--off-white);
    padding: 1.5rem;
    border-radius: var(--radius);
    text-align: center;
}

.media-outlet {
    display: block;
    font-weight: 700;
    color: var(--navy);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.media-feature-card p {
    font-size: 0.85rem;
    color: var(--gray-600);
    line-height: 1.5;
    margin-bottom: 0;
}

@media (max-width: 968px) {
    .media-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .media-features-grid {
        grid-template-columns: 1fr;
    }
}

.media-feature-highlight {
    border-left: 3px solid var(--red);
}

.media-features-secondary {
    text-align: center;
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--gray-100);
    border-radius: var(--radius);
}

.media-features-secondary p {
    margin-bottom: 0;
    color: var(--gray-700);
}

/* Photo Gallery */
.photo-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.gallery-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-xl);
}

.gallery-item img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    object-position: top;
}

@media (max-width: 968px) {
    .photo-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .photo-gallery {
        grid-template-columns: 1fr;
    }
    
    .gallery-item img {
        height: 400px;
    }
}

/* Clients List */
.clients-list {
    text-align: center;
}

.clients-text {
    font-size: 1.1rem;
    line-height: 2;
    color: var(--gray-700);
}

/* Testimonials Large Grid */
.testimonials-large-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

/* Center the 3rd testimonial if there's an odd number */
.testimonials-large-grid .testimonial-card-large:nth-child(3):last-child {
    grid-column: 1 / -1;
    max-width: 600px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .testimonials-large-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-large-grid .testimonial-card-large:nth-child(3):last-child {
        max-width: 100%;
    }
    
    .testimonial-card-large {
        text-align: left;
    }
}

/* Press Photos Gallery */
.press-photos-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.gallery-item {
    aspect-ratio: 3/4;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

@media (max-width: 992px) {
    .press-photos-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .press-photos-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

/* Booking Contact */
.booking-contact {
    margin: 2rem 0;
}

.booking-contact p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.25rem;
}

.booking-contact a {
    color: var(--white);
    text-decoration: underline;
}

.booking-contact a:hover {
    color: rgba(255, 255, 255, 0.8);
}

/* ============================================
   BOOK SECTION (Inline/Compact)
   ============================================ */

/* Book Feature Section - Large */
.book-feature {
    display: flex;
    align-items: flex-start;
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.book-feature-image {
    flex-shrink: 0;
}

.book-feature-image img {
    width: 240px;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.2));
    transition: transform 0.3s ease;
}

.book-feature-image img:hover {
    transform: scale(1.03);
}

.book-feature-content {
    flex: 1;
}

.book-description {
    color: var(--text);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.book-highlights {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.book-highlight-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text);
    font-size: 0.95rem;
}

.book-highlight-item svg {
    color: var(--accent);
    flex-shrink: 0;
}

.book-quote {
    font-style: italic;
    color: var(--text);
    font-size: 1rem;
    line-height: 1.6;
    border-left: 3px solid var(--accent);
    padding: 1rem 1.25rem;
    margin: 1.5rem 0;
    background: rgba(255,255,255,0.5);
    border-radius: 0 var(--radius) var(--radius) 0;
}

.book-quote cite {
    display: block;
    margin-top: 0.5rem;
    font-style: normal;
    font-weight: 600;
    color: var(--navy);
    font-size: 0.9rem;
}

.book-ctas {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.book-bulk {
    color: var(--text-light);
    font-size: 0.9rem;
    font-style: italic;
}

/* Book Section Responsive */
@media (max-width: 600px) {
    .book-feature {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .book-feature-image img {
        width: 180px;
    }

    .book-highlights {
        text-align: left;
    }

    .book-quote {
        text-align: left;
    }

    .book-ctas {
        justify-content: center;
        flex-direction: column;
        gap: 0.75rem;
    }
}
