/* ============================================
   Rene M. Miller — Speaker Website
   Brand Colors: Navy #0A305A, Crimson #A70A2B, Gray #AAAFB5, White #FFFFFF
   Typography: Jost (Google Fonts — closest free match to Futura)
   ============================================ */

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

:root {
    --navy: #0A305A;
    --crimson: #A70A2B;
    --gray: #AAAFB5;
    --white: #FFFFFF;
    --light-bg: #F4F5F7;
    --navy-light: #0E4175;
    --crimson-dark: #8A0823;
    --text-dark: #1A1A2E;
    --text-muted: #5A6170;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Jost', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
}

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

a {
    color: var(--crimson);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--crimson-dark);
}

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

/* --- Typography --- */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.15rem; }

/* --- Header / Navigation --- */
.site-header {
    background-color: var(--navy);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

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

.nav-logo {
    color: var(--white);
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.nav-logo:hover {
    color: var(--white);
}

.nav-logo span {
    color: var(--crimson);
}

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

.nav-menu a {
    color: var(--white);
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.5rem 0;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--crimson);
    transition: width 0.3s ease;
}

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

.nav-menu a:hover {
    color: var(--white);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    background: none;
    border: none;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background-color: var(--white);
    transition: all 0.3s ease;
}

/* --- Hero Section --- */
.hero {
    background-color: var(--navy);
    color: var(--white);
    padding: 8rem 0 5rem;
    margin-top: 70px;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--crimson), var(--navy-light));
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.2rem;
    margin-bottom: 1rem;
}

.hero-tagline {
    font-size: 1.35rem;
    color: var(--gray);
    margin-bottom: 2rem;
    line-height: 1.5;
}

.hero-image img {
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 0.9rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--crimson);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--crimson-dark);
    color: var(--white);
}

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

.btn-outline:hover {
    background-color: var(--white);
    color: var(--navy);
}

.btn-outline-dark {
    border: 2px solid var(--navy);
    color: var(--navy);
    background: transparent;
}

.btn-outline-dark:hover {
    background-color: var(--navy);
    color: var(--white);
}

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

/* --- Sections --- */
.section {
    padding: 5rem 0;
}

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

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

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    color: var(--navy);
    margin-bottom: 0.75rem;
}

.section-dark .section-title h2 {
    color: var(--white);
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto;
}

.section-dark .section-title p {
    color: var(--gray);
}

/* --- Page Hero (inner pages) --- */
.page-hero {
    background-color: var(--navy);
    color: var(--white);
    padding: 6rem 0 3rem;
    margin-top: 70px;
    text-align: center;
}

.page-hero h1 {
    margin-bottom: 0.75rem;
}

.page-hero p {
    font-size: 1.2rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

/* --- Cards --- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--white);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid var(--crimson);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.card h3 {
    color: var(--navy);
    margin-bottom: 0.75rem;
}

.card p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* --- Stats Bar --- */
.stats-bar {
    background-color: var(--crimson);
    color: var(--white);
    padding: 3rem 0;
}

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

.stat-item h3 {
    font-size: 2.5rem;
    margin-bottom: 0.25rem;
}

.stat-item p {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

/* --- About Page --- */
.about-intro {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: start;
}

.about-photo img {
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.about-text p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: var(--text-muted);
}

.about-text p:first-child {
    font-size: 1.25rem;
    color: var(--text-dark);
    font-weight: 500;
}

.credentials-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.credentials-list li {
    padding: 0.75rem 1rem;
    background: var(--light-bg);
    border-radius: 4px;
    border-left: 3px solid var(--crimson);
    font-weight: 500;
}

/* --- Speaking Topics --- */
.topic-card {
    background: var(--white);
    border-radius: 8px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-left: 5px solid var(--crimson);
    margin-bottom: 2rem;
}

.topic-card h3 {
    color: var(--navy);
    margin-bottom: 1rem;
    font-size: 1.35rem;
}

.topic-card p {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 1.05rem;
}

.topic-card .audience-tag {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.35rem 0.75rem;
    background: var(--light-bg);
    border-radius: 4px;
    font-size: 0.85rem;
    color: var(--navy);
    font-weight: 600;
}

/* --- Media / Video Grid --- */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.video-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.video-card .video-embed {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

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

.video-card .video-info {
    padding: 1.25rem;
}

.video-card .video-info h3 {
    color: var(--navy);
    margin-bottom: 0.5rem;
    font-size: 1.15rem;
}

.video-card .video-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* --- Film Section --- */
.film-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 3rem;
    padding: 2.5rem;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.film-card:nth-child(even) {
    direction: rtl;
}

.film-card:nth-child(even) > * {
    direction: ltr;
}

.film-info h3 {
    color: var(--navy);
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.film-info p {
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.7;
}

/* --- Book Page --- */
.book-section {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
}

.book-cover {
    background: var(--light-bg);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.book-cover .placeholder-cover {
    background: var(--navy);
    color: var(--white);
    padding: 3rem 2rem;
    border-radius: 4px;
}

.book-cover .placeholder-cover h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.book-details h2 {
    color: var(--navy);
    margin-bottom: 1rem;
}

.book-details p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

/* --- Contact Page --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info h3 {
    color: var(--navy);
    margin-bottom: 1.5rem;
}

.contact-info p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    line-height: 1.7;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.contact-detail svg {
    width: 20px;
    height: 20px;
    fill: var(--crimson);
    flex-shrink: 0;
}

.contact-form label {
    display: block;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 0.35rem;
    font-size: 0.95rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #E1E4E8;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    margin-bottom: 1.25rem;
    transition: border-color 0.3s ease;
}

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

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

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

.photo-gallery img {
    border-radius: 8px;
    width: 100%;
    height: 280px;
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.photo-gallery img:hover {
    transform: scale(1.02);
}

/* --- Events Page --- */
.events-list {
    max-width: 800px;
    margin: 0 auto;
}

.event-card {
    display: flex;
    gap: 2rem;
    padding: 2rem;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 1.5rem;
    border-left: 5px solid var(--crimson);
    transition: transform 0.3s ease;
}

.event-card:hover {
    transform: translateX(4px);
}

.event-card.event-past {
    border-left-color: var(--gray);
    opacity: 0.85;
}

.event-date-block {
    min-width: 80px;
    text-align: center;
    padding-top: 0.25rem;
}

.event-month {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--crimson);
}

.event-past .event-month {
    color: var(--gray);
}

.event-day {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.1;
}

.event-details h3 {
    color: var(--navy);
    margin-bottom: 0.35rem;
    font-size: 1.25rem;
}

.event-location {
    color: var(--crimson);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.event-details p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* --- Blog Page --- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.blog-card-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-card-content {
    padding: 1.5rem;
}

.blog-tag {
    display: inline-block;
    padding: 0.25rem 0.65rem;
    background: var(--light-bg);
    color: var(--navy);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 3px;
    margin-bottom: 0.75rem;
}

.blog-card-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    line-height: 1.35;
}

.blog-card-content h3 a {
    color: var(--navy);
}

.blog-card-content h3 a:hover {
    color: var(--crimson);
}

.blog-card-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* --- Blog Article --- */
.blog-article p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.blog-article h2 {
    color: var(--navy);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.blog-article h3 {
    color: var(--navy);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.blog-article a {
    color: var(--crimson);
    text-decoration: underline;
}

.blog-article a:hover {
    color: var(--crimson-dark);
}

.blog-meta {
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--light-bg);
    font-size: 0.85rem;
    color: var(--gray);
}

/* --- Lead Magnet Bar --- */
.lead-magnet-bar {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    padding: 3.5rem 0;
    color: var(--white);
}

.lead-magnet-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.lead-magnet-text h2 {
    color: var(--white);
    margin-bottom: 0.75rem;
}

.lead-magnet-text p {
    color: var(--gray);
    font-size: 1.1rem;
    line-height: 1.6;
}

.inline-form {
    display: flex;
    gap: 0.75rem;
}

.inline-form input[type="email"] {
    flex: 1;
    padding: 0.85rem 1rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-family: inherit;
    font-size: 1rem;
}

.inline-form input[type="email"]::placeholder {
    color: var(--gray);
}

.inline-form input[type="email"]:focus {
    outline: none;
    border-color: var(--crimson);
    background: rgba(255, 255, 255, 0.15);
}

.form-note {
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: var(--gray);
    opacity: 0.8;
}

/* --- Footer --- */
.site-footer {
    background-color: var(--navy);
    color: var(--white);
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand p {
    color: var(--gray);
    margin-top: 0.5rem;
    line-height: 1.6;
}

.footer-links h4,
.footer-contact h4 {
    margin-bottom: 1rem;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links ul {
    list-style: none;
}

.footer-links a {
    color: var(--gray);
    display: block;
    padding: 0.25rem 0;
    transition: color 0.3s ease;
}

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

.footer-contact p {
    color: var(--gray);
    margin-bottom: 0.5rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 0.75rem;
}

.footer-social a {
    display: inline-flex;
    transition: opacity 0.3s ease;
}

.footer-social a:hover {
    opacity: 0.7;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
    color: var(--gray);
    font-size: 0.9rem;
}

/* --- Responsive --- */
@media (max-width: 992px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 1.85rem; }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

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

    .hero-image {
        max-width: 500px;
        margin: 0 auto;
    }

    .about-intro {
        grid-template-columns: 1fr;
    }

    .about-photo {
        max-width: 400px;
        margin: 0 auto;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .film-card {
        grid-template-columns: 1fr;
    }

    .film-card:nth-child(even) {
        direction: ltr;
    }

    .book-section {
        grid-template-columns: 1fr;
    }

    .book-cover {
        max-width: 350px;
        margin: 0 auto;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .lead-magnet-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .inline-form {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }

    .nav-menu {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background-color: var(--navy);
        flex-direction: column;
        padding: 1rem 1.5rem 1.5rem;
        gap: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-menu a {
        display: block;
        padding: 0.85rem 0;
    }

    .nav-toggle {
        display: flex;
    }

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

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

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

    .hero {
        padding: 5rem 0 3rem;
    }

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

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

    .section {
        padding: 3rem 0;
    }

    .page-hero {
        padding: 4rem 0 2rem;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }

    .stat-item h3 {
        font-size: 2rem;
    }

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

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

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

    .event-card {
        flex-direction: column;
        gap: 1rem;
    }

    .event-date-block {
        min-width: auto;
        text-align: left;
        display: flex;
        gap: 0.5rem;
        align-items: baseline;
    }

    .event-day {
        font-size: 1.5rem;
    }
}

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

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

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