/* ============================================
   Helena Bourdillon — Speaker Website
   Design System & Styles
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    --color-bg: #1a1a1a;
    --color-bg-dark: #0d0d0d;
    --color-bg-elevated: #2a2a2a;
    --color-gold: #d4a574;
    --color-gold-hover: #e8c49a;
    --color-text: #ffffff;
    --color-text-secondary: #9a9a9a;
    --color-text-muted: #999999;
    --color-text-subtle: #aaaaaa;
    --color-border-gold: rgba(212, 165, 116, 0.2);
    --color-border-light: rgba(255, 255, 255, 0.1);
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-logo: 'Montserrat', sans-serif;
}

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* --- Subtle Gold Edge Glow (Vignette) --- */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9999;
    box-shadow: inset 0 0 120px rgba(232, 196, 154, 0.06),
                inset 0 0 300px rgba(232, 196, 154, 0.03);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.2;
}

h1 { font-size: 58px; }
h2 { font-size: 42px; }
h3 { font-size: 28px; }
h4 { font-size: 20px; }

.gold { color: var(--color-gold); }

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 18px 45px;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    font-family: var(--font-body);
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--color-gold);
    color: var(--color-bg);
}

.btn-primary:hover {
    background: var(--color-gold-hover);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
}

.btn-outline:hover {
    background: var(--color-gold);
    color: var(--color-bg);
}

.btn-dark {
    background: var(--color-bg-elevated);
    color: var(--color-gold);
}

.btn-dark:hover {
    background: #333333;
    color: var(--color-gold-hover);
}

/* --- Navigation --- */
.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 60px;
    border-bottom: 1px solid var(--color-border-gold);
    position: relative;
    z-index: 100;
}

.site-header.scrolled {
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
}

.logo {
    font-family: var(--font-logo);
    font-size: 28px;
    font-weight: 700;
    color: var(--color-gold);
    letter-spacing: 8px;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(212, 165, 116, 0.2), 0 0 25px rgba(212, 165, 116, 0.12);
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-links a {
    color: #999;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--color-gold);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    display: block;
    width: 28px;
    height: 2px;
    background: var(--color-gold);
    margin: 6px 0;
    transition: all 0.3s;
}

.nav-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.nav-toggle.open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* --- Hero Section --- */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    padding: 60px;
    padding-top: 80px;
    padding-bottom: 30px;
    gap: 60px;
}

.hero-content {
    display: flex;
    flex-direction: column;
    padding-top: 40px;
}

.hero-content h1 {
    margin-bottom: 50px;
    line-height: 1.15;
}

.hero-content p {
    font-size: 18px;
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin-bottom: 55px;
    text-align: justify;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    padding: 18px 35px;
    min-width: 200px;
    text-align: center;
}

.hero-image {
    height: 600px;
    border-radius: 8px;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

/* --- Credentials Strip --- */
.credentials-section {
    padding: 25px 60px 65px;
}

.credentials {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-items: center;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.credential-number {
    font-family: var(--font-heading);
    font-size: 42px;
    color: var(--color-gold);
}

.credential-label {
    font-size: 12px;
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 5px;
}

/* --- Client Logos --- */
.logos-section {
    background: var(--color-bg-dark);
    padding: 70px 60px 65px;
}

.logos-label {
    text-align: center;
    font-size: 12px;
    color: var(--color-gold);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 35px;
}

.logos-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: center;
    justify-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.client-logo {
    height: 30px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.7;
    transition: opacity 0.3s;
}

.client-logo:hover {
    opacity: 1;
}

/* --- Section Divider --- */
.section-divider {
    width: 120px;
    height: 1px;
    background: var(--color-gold);
    margin: 0 auto;
    opacity: 0.5;
}

/* --- Section Styles --- */
.section {
    padding: 70px 60px;
}

.section-dark {
    background: var(--color-bg-dark);
}

.section-gold {
    background: var(--color-gold);
    color: var(--color-bg);
}

.section-label {
    font-size: 16px;
    color: var(--color-gold);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.section-title {
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--color-text-secondary);
    line-height: 1.8;
    max-width: 700px;
    text-align: justify;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* --- Keynote Teaser --- */
.keynote-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: end;
    margin-top: 0;
}

.keynote-points {
    list-style: none;
    margin-top: 5px;
}

.keynote-points li {
    padding: 5px 0;
    padding-left: 30px;
    position: relative;
    color: var(--color-text-secondary);
    font-size: 16px;
    line-height: 1.6;
}

.keynote-points li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    width: 8px;
    height: 8px;
    background: var(--color-gold);
    border-radius: 50%;
}

.home-mobile-points {
    display: none;
}

.keynote-points-centred {
    margin-top: 25px;
}

.keynote-points-centred p {
    color: #ffffff;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.6;
    padding: 12px 0;
    text-align: center;
    margin: 0;
}

.keynote-points-centred p + p::before {
    content: '';
    display: block;
    width: 60px;
    height: 1px;
    background: var(--color-gold);
    opacity: 0.5;
    margin: 0 auto 12px;
}

/* --- Image Carousel --- */
.image-carousel-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
}

.image-carousel-track {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
}

.image-carousel-slide {
    display: none;
    width: 100%;
    background: var(--color-bg-elevated);
    border-radius: 8px;
    height: 350px;
}

.image-carousel-slide.active {
    display: block;
}

.image-carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.image-carousel-slide.contain img {
    object-fit: contain;
}

.image-carousel-slide.crop-top img {
    object-position: top;
}

.image-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.image-carousel-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-text-muted);
    cursor: pointer;
    transition: background 0.3s;
}

.image-carousel-dots .dot.active {
    background: var(--color-gold);
}

/* --- Video Embed --- */
.video-embed {
    border: 1px solid var(--color-gold);
    border-radius: 6px;
    padding: 4px;
    box-shadow: 0 0 20px rgba(212, 165, 116, 0.15), 0 0 40px rgba(212, 165, 116, 0.05);
}

.video-embed > div {
    border-radius: 4px;
    overflow: hidden;
}

/* --- Testimonials Carousel --- */
.carousel {
    margin-top: 40px;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

.carousel-container {
    position: relative;
    overflow: hidden;
    transition: height 0.45s ease;
}

.carousel-track {
    display: flex;
    transition: transform 0.45s ease;
}

.testimonial-card {
    width: 100%;
    min-width: 100%;
    flex: 0 0 100%;
    background: var(--color-bg-elevated);
    padding: 45px 50px;
    border: 1px solid var(--color-border-light);
    position: relative;
    box-sizing: border-box;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.testimonial-quote-mark {
    font-family: var(--font-heading);
    font-size: 60px;
    color: var(--color-gold);
    line-height: 1;
    margin-bottom: 15px;
    text-align: center;
    text-shadow: 0 0 15px rgba(212, 165, 116, 0.4), 0 0 30px rgba(212, 165, 116, 0.35);
}

.testimonial-text {
    font-size: 16px;
    color: var(--color-text-secondary);
    line-height: 1.8;
    font-style: italic;
    text-align: center;
    margin-bottom: 25px;
}

.testimonial-author {
    font-weight: 600;
    font-size: 14px;
    color: var(--color-text);
}

.testimonial-role {
    font-size: 13px;
    color: var(--color-text-muted);
    margin-top: 3px;
}

/* Carousel arrows */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, color 0.3s ease;
    z-index: 2;
}

.carousel-btn:hover {
    background: var(--color-gold);
    color: var(--color-bg-dark);
}

.carousel-btn-prev {
    left: -60px;
}

.carousel-btn-next {
    right: -60px;
}

/* Carousel dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-text-muted);
    border: none;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
    padding: 0;
}

.carousel-dot.active {
    background: var(--color-gold);
    transform: scale(1.2);
}

/* --- CTA Section --- */
.cta-section {
    text-align: center;
    padding: 70px 60px;
}

.cta-section h2 {
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 18px;
    margin-bottom: 40px;
    text-align: center;
}

.section-gold .cta-section h2 {
    color: var(--color-bg);
}

.section-gold .cta-section p {
    color: #3d3d3d;
}

/* --- Footer --- */
.site-footer {
    background: var(--color-bg);
    padding: 40px 60px;
    border-top: none;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    font-family: var(--font-logo);
    font-size: 22px;
    font-weight: 700;
    color: var(--color-gold);
    letter-spacing: 8px;
    text-decoration: none;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(212, 165, 116, 0.2), 0 0 25px rgba(212, 165, 116, 0.12);
}

.footer-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.footer-links a {
    color: var(--color-text-muted);
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--color-gold);
}

.social-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.social-links a {
    display: flex;
    align-items: center;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.social-links a:hover {
    opacity: 1;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--color-border-light);
    font-size: 13px;
    color: var(--color-text-muted);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Page Header (inner pages) --- */
.page-header {
    padding: 30px 60px 30px;
    text-align: center;
}

.page-header h1 {
    font-size: 48px;
    margin-bottom: 25px;
}

.page-header p {
    font-size: 18px;
    color: var(--color-text-secondary);
    max-width: 600px;
    margin: 0 auto 0;
}

.page-header .section-label {
    margin-top: 50px;
}

.page-header + .section {
    padding-top: 0;
}

#contact-form-section {
    padding-bottom: 0;
}

#book-a-call {
    padding-top: 50px;
}

/* --- Content Blocks --- */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.content-block p {
    font-size: 16px;
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
}

.content-block h3 {
    margin-bottom: 20px;
    color: var(--color-text);
}

/* --- Contact Form --- */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 15px 20px;
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border-light);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 15px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-gold);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' fill='none' stroke-width='1.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    cursor: pointer;
}

.form-group select option {
    background: var(--color-bg-elevated);
    color: var(--color-text);
}

.form-consent {
    margin-bottom: 30px;
}

.consent-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    color: var(--color-text-secondary);
    cursor: pointer;
    line-height: 1.5;
    text-transform: none;
    letter-spacing: 0;
}

.consent-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: var(--color-gold);
    cursor: pointer;
}

/* --- Credential List (About page) --- */
.credentials-grid {
    align-items: end;
}

.credentials-list {
    list-style: none;
    margin-top: 30px;
}

.credentials-list li {
    padding: 6px 0;
    font-size: 16px;
    color: var(--color-text-secondary);
    border-bottom: none;
    display: flex;
    align-items: baseline;
    gap: 15px;
    text-align: justify;
}

.credentials-list li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--color-gold);
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
    top: -2px;
}

/* --- Speaking Topics Cards --- */
.topics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.topic-card {
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border-light);
    padding: 40px;
    transition: border-color 0.3s;
}

.topic-card:hover {
    border-color: var(--color-border-gold);
}

.topic-card h3 {
    color: var(--color-gold);
    font-size: 22px;
    margin-bottom: 15px;
}

.topic-card p {
    color: var(--color-text-secondary);
    font-size: 15px;
    line-height: 1.7;
}

/* --- Animations --- */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   Responsive Design
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
    h1 { font-size: 44px; }
    h2 { font-size: 34px; }

    .carousel-btn-prev { left: -50px; }
    .carousel-btn-next { right: -50px; }

    .hero {
        padding: 40px;
        gap: 40px;
    }

    .hero-image {
        height: 450px;
    }

    .section {
        padding: 80px 40px;
    }

    .site-header {
        padding: 20px 40px;
    }

    .keynote-grid {
        gap: 40px;
    }

    .carousel-btn {
        display: none;
    }

    .carousel {
        max-width: 100%;
    }

    .testimonial-card {
        padding: 30px 25px;
    }

    .topics-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile */
@media (max-width: 768px) {
    h1 { font-size: 36px; }
    h2 { font-size: 28px; }
    h3 { font-size: 22px; }

    .site-header {
        padding: 18px 25px;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(13, 13, 13, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        z-index: 99;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        font-size: 18px;
        letter-spacing: 3px;
    }

    .nav-toggle {
        display: block;
        z-index: 101;
    }

    .hero {
        grid-template-columns: 1fr;
        padding: 30px 25px;
        min-height: auto;
        gap: 40px;
    }

    .hero-content {
        order: 2;
    }

    .hero-image {
        order: 1;
        height: 350px;
    }

    .hero-content p {
        font-size: 16px;
    }

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

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

    .credentials {
        flex-direction: column;
        gap: 25px;
        text-align: center;
    }

    .credential-number {
        font-size: 36px;
    }

    .logos-section {
        padding: 40px 25px;
        overflow: hidden;
    }

    .logos-grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 30px 40px;
        max-width: 100%;
    }

    .client-logo {
        height: 22px;
        max-width: 100%;
    }

    .section {
        padding: 60px 25px;
    }

    .keynote-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .content-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .credentials-grid {
        align-items: start;
    }

    .credentials-list {
        margin-top: -25px;
    }

    #contact-form {
        text-align: center;
    }

    #my-cal-inline {
        height: 800px !important;
    }

    .audience-learn {
        margin-top: 25px !important;
    }

    .keynote-right {
        padding-top: 25px !important;
        text-align: center;
    }

    .hero-divider {
        margin-top: 30px;
    }

    .credentials-section {
        padding-bottom: 30px;
    }

    .credentials-divider {
        margin-top: 0;
    }

    .home-desktop-points {
        display: none;
    }

    .home-mobile-points {
        display: block;
    }

    .cta-section {
        padding: 60px 25px;
    }

    .page-header {
        padding: 50px 25px 40px;
    }

    .page-header h1 {
        font-size: 36px;
    }

    .footer-content {
        flex-direction: column;
        gap: 25px;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .site-footer {
        padding: 40px 25px;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    h1 { font-size: 30px; }
    h2 { font-size: 24px; }

    .hero-image {
        height: 280px;
    }

    .btn {
        padding: 15px 35px;
        font-size: 12px;
    }
}
