/*
Theme Name: History That Unites
Theme URI: https://thefreewebsiteguys.com
Author: The Free Website Guys
Author URI: https://thefreewebsiteguys.com
Description: A professional theme for History That Unites - Author, Speaker, Leadership Expert. Features fully customizable content including text, images, colors, and more through the WordPress Customizer.
Version: 1.0.6
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: history-that-unites
Tags: one-page, custom-colors, custom-logo, custom-menu, featured-images, theme-options, translation-ready
*/

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Inter:wght@300;400;500;600;700&display=swap');

/* CSS Custom Properties */
:root {
    /* Navy/Slate Dark Theme - Default */
    --background: hsl(222, 47%, 6%);
    --foreground: hsl(45, 30%, 95%);

    --card: hsl(222, 40%, 10%);
    --card-foreground: hsl(45, 30%, 95%);

    --popover: hsl(222, 40%, 10%);
    --popover-foreground: hsl(45, 30%, 95%);

    /* Primary Color - Teal (customizable) */
    --primary: hsl(168, 55%, 40%);
    --primary-foreground: hsl(45, 30%, 95%);

    /* Secondary Color - Teal/Emerald (customizable) */
    --secondary: hsl(168, 55%, 35%);
    --secondary-foreground: hsl(45, 30%, 95%);

    /* Muted Navy */
    --muted: hsl(222, 30%, 18%);
    --muted-foreground: hsl(220, 15%, 65%);

    /* Blue-Green Accent */
    --accent: hsl(180, 50%, 40%);
    --accent-foreground: hsl(45, 30%, 95%);

    /* Subtle Purple - Highlight */
    --highlight: hsl(260, 45%, 50%);
    --highlight-foreground: hsl(45, 30%, 95%);

    --destructive: hsl(0, 84.2%, 60.2%);
    --destructive-foreground: hsl(210, 40%, 98%);

    --border: hsl(222, 25%, 20%);
    --input: hsl(222, 25%, 20%);
    --ring: hsl(168, 55%, 40%);

    --radius: 0.5rem;

    /* Cream for light sections */
    --cream: hsl(45, 40%, 96%);
    --cream-foreground: hsl(222, 47%, 11%);

    /* Typography */
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', system-ui, sans-serif;

    /* RGB variants for rgba() - must be "R, G, B" (no rgb()) */
    --background-rgb: 11, 16, 25;
    --foreground-rgb: 242, 240, 232;
    --card-rgb: 20, 26, 38;
    --primary-rgb: 45, 155, 138;
    --secondary-rgb: 38, 128, 118;
    --muted-rgb: 37, 45, 61;
    --highlight-rgb: 107, 91, 149;
    --cream-foreground-rgb: 17, 24, 39;
    --border-rgb: 42, 49, 66;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--foreground);
    background-color: var(--background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
}

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

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

ul, ol {
    list-style: none;
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Typography Utilities */
.font-display {
    font-family: var(--font-display);
}

.font-body {
    font-family: var(--font-body);
}

.text-gradient-gold {
    background: linear-gradient(135deg, hsl(168, 55%, 45%), hsl(168, 60%, 55%));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-teal {
    background: linear-gradient(135deg, hsl(168, 55%, 45%), hsl(180, 60%, 55%));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Main content - never clip sections */
.site-main {
    overflow: visible;
    min-height: 0;
}

/* Section Styles */
section {
    position: relative;
    overflow: visible;
}

.section-cream {
    background-color: var(--cream);
    color: var(--cream-foreground);
}

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

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

.py-24 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

/* Border Gradient */
.border-gradient-gold {
    border: 1px solid transparent;
    background: linear-gradient(var(--card), var(--card)) padding-box,
                linear-gradient(135deg, hsla(168, 55%, 40%, 0.5), hsla(168, 60%, 35%, 0.2)) border-box;
}

/* Shadows */
.shadow-elegant {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
}

.shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.2);
}

.shadow-xl {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

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

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-fade-in-left {
    animation: fadeInLeft 0.8s ease-out forwards;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-fade-in-right {
    animation: fadeInRight 0.8s ease-out forwards;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    white-space: nowrap;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.btn:focus {
    outline: 2px solid var(--ring);
    outline-offset: 2px;
}

.btn-default {
    height: 2.5rem;
    padding: 0.5rem 1rem;
}

.btn-sm {
    height: 2.25rem;
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
}

.btn-lg {
    height: 2.75rem;
    padding: 0.5rem 2rem;
    border-radius: 0.375rem;
}

.btn-xl {
    height: 3.5rem;
    padding: 0.5rem 2.5rem;
    font-size: 1rem;
    border-radius: 0.375rem;
}

.btn-gold {
    background-color: var(--highlight);
    color: var(--highlight-foreground);
    font-weight: 600;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
}

.btn-gold:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
    transform: scale(1.02);
}

.btn-gold:active {
    transform: scale(0.98);
}

.btn-gold-outline {
    border: 2px solid var(--highlight);
    color: var(--highlight);
    background-color: transparent;
    font-weight: 600;
}

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

.btn-hero {
    background-color: var(--highlight);
    color: var(--highlight-foreground);
    font-weight: 600;
    font-size: 1rem;
    padding: 1rem 2rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
    border-radius: 9999px;
}

.btn-hero:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
    transform: scale(1.02);
}

.btn-hero:active {
    transform: scale(0.98);
}

.btn-hero-outline {
    border: 2px solid rgba(var(--foreground), 0.8);
    color: var(--foreground);
    background-color: transparent;
    font-weight: 600;
    font-size: 1rem;
    padding: 1rem 2rem;
    border-radius: 9999px;
}

.btn-hero-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

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

.btn-outline:hover {
    background-color: var(--accent);
    color: var(--accent-foreground);
}

.btn svg {
    width: 1.25rem;
    height: 1.25rem;
}

/* Theme SVG icons - ensure visible on site and in customizer */
.htu-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    vertical-align: middle;
}

.htu-icon svg {
    width: 1.25rem;
    height: 1.25rem;
    display: block;
    stroke: currentColor;
}

.icon-container .htu-icon svg,
.icon-lg .htu-icon svg,
.htu-icon.icon-lg svg {
    width: 1.75rem;
    height: 1.75rem;
}

.icon-container.icon-lg .htu-icon svg {
    width: 1.75rem;
    height: 1.75rem;
}

.icon-container.icon-md .htu-icon svg,
.icon-md .htu-icon svg {
    width: 1.25rem;
    height: 1.25rem;
}

.icon-container.icon-sm .htu-icon svg,
.icon-sm .htu-icon svg {
    width: 1rem;
    height: 1rem;
}

/* Icon Container */
.icon-container {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
}

.icon-sm {
    width: 2.5rem;
    height: 2.5rem;
}

.icon-md {
    width: 3rem;
    height: 3rem;
}

.icon-lg {
    width: 4rem;
    height: 4rem;
}

/* Navigation - match React: transparent until scrolled */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    transition: all 0.3s ease;
    background-color: transparent;
}

.site-header.scrolled {
    background-color: var(--card);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
}

.site-header .nav-wrapper {
    padding: 1rem 1.5rem;
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-logo img {
    height: 80px;
    width: auto;
}

.nav-menu {
    display: none;
    align-items: center;
    gap: 2rem;
}

@media (min-width: 768px) {
    .nav-menu {
        display: flex;
    }
}

.nav-menu a {
    color: rgba(var(--foreground-rgb), 0.8);
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.mobile-menu-toggle {
    display: block;
    padding: 0.5rem;
    background: none;
    border: none;
    color: var(--foreground);
    cursor: pointer;
}

@media (min-width: 768px) {
    .mobile-menu-toggle {
        display: none;
    }
}

.mobile-menu {
    position: fixed;
    inset: 0;
    top: 112px;
    z-index: 40;
    background-color: var(--card);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem;
    display: none;
}

.mobile-menu.open {
    display: block;
}

@media (min-width: 768px) {
    .mobile-menu {
        display: none !important;
    }
}

.mobile-menu a {
    display: block;
    color: var(--foreground);
    font-weight: 500;
    font-size: 1.125rem;
    padding: 0.75rem 0;
    transition: color 0.3s ease;
}

.mobile-menu a:hover {
    color: var(--primary);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, 
        rgba(11, 16, 28, 0.4), 
        rgba(11, 16, 28, 0.7), 
        var(--background));
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 5rem 1.5rem;
    max-width: 56rem;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    margin-bottom: 2rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 9999px;
    border: 1px solid rgba(var(--primary-rgb), 0.3);
    background-color: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 4.5rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 6rem;
    }
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    max-width: 42rem;
    margin: 0 auto 2.5rem;
    line-height: 1.75;
}

@media (min-width: 768px) {
    .hero-subtitle {
        font-size: 1.25rem;
    }
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
}

/* Services Section */
.services-section {
    padding: 6rem 0;
}

.services-grid {
    display: grid;
    gap: 2rem;
    max-width: 80rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    text-align: center;
    padding: 2rem;
}

.service-card .icon-container {
    width: 4rem;
    height: 4rem;
    margin-bottom: 1.5rem;
    background-color: rgba(var(--secondary-rgb), 0.1);
    color: var(--secondary);
    transition: all 0.3s ease;
}

.service-card:hover .icon-container {
    background-color: var(--secondary);
    color: var(--secondary-foreground);
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.service-card p {
    color: rgba(var(--cream-foreground-rgb), 0.7);
    margin-bottom: 1.5rem;
    line-height: 1.75;
}

.service-card .service-link {
    display: inline-flex;
    align-items: center;
    color: var(--secondary);
    font-weight: 500;
    transition: color 0.3s ease;
}

.service-card .service-link:hover {
    color: rgba(var(--secondary-rgb), 0.8);
}

/* About Section */
.about-section {
    padding: 6rem 0;
}

.about-grid {
    display: grid;
    gap: 4rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .about-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.about-image-wrapper {
    position: relative;
}

.about-image {
    position: relative;
    z-index: 10;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-elegant);
}

.about-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.about-image-decor-1 {
    position: absolute;
    top: -1rem;
    left: -1rem;
    width: 6rem;
    height: 6rem;
    border: 2px solid rgba(var(--primary-rgb), 0.3);
    border-radius: 1rem;
}

.about-image-decor-2 {
    position: absolute;
    bottom: -1rem;
    right: -1rem;
    width: 8rem;
    height: 8rem;
    background-color: rgba(var(--secondary-rgb), 0.2);
    border-radius: 1rem;
    z-index: -1;
}

.about-content .section-label {
    color: var(--primary);
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    display: block;
    font-size: 1.25rem;
}

.about-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .about-content h2 {
        font-size: 3rem;
    }
}

.about-content .about-text {
    margin-bottom: 2rem;
}

.about-content .about-text p {
    color: var(--muted-foreground);
    line-height: 1.75;
    margin-bottom: 1rem;
}

.about-content .about-text p:last-child {
    margin-bottom: 0;
}

/* Books Section */
.books-section {
    padding: 6rem 0;
}

.book-card {
    max-width: 56rem;
    margin: 0 auto;
    padding: 2.5rem 3rem;
    border-radius: 1rem;
    background-color: var(--background);
}

.book-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 768px) {
    .book-content {
        flex-direction: row;
    }
}

.book-cover {
    flex-shrink: 0;
}

.book-cover img {
    width: 8rem;
    border-radius: 0.5rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

@media (min-width: 768px) {
    .book-cover img {
        width: 11rem;
    }
}

.book-cover img:hover {
    transform: scale(1.05);
}

.book-info {
    flex: 1;
    text-align: center;
}

@media (min-width: 768px) {
    .book-info {
        text-align: left;
    }
}

.book-info p {
    color: var(--muted-foreground);
    line-height: 1.75;
    margin-bottom: 1rem;
}

.book-info p.lead {
    font-size: 1.125rem;
}

@media (min-width: 768px) {
    .book-info p.lead {
        font-size: 1.25rem;
    }
}

.book-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

@media (min-width: 640px) {
    .book-buttons {
        flex-direction: row;
    }
}

@media (min-width: 768px) {
    .book-buttons {
        justify-content: flex-start;
    }
}

/* Speaking Section */
.speaking-section {
    padding: 6rem 0;
    position: relative;
    overflow: visible;
}

.speaking-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom right, 
        rgba(var(--secondary-rgb), 0.2), 
        var(--background), 
        rgba(var(--highlight-rgb), 0.1));
}

.speaking-content {
    position: relative;
    z-index: 10;
    max-width: 56rem;
    margin: 0 auto;
    text-align: center;
}

.audiences-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.audience-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--muted-foreground);
}

.audience-item svg {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--secondary);
}

.audience-item span {
    font-weight: 500;
}

/* Course Section */
.course-section {
    padding: 6rem 0;
    background-color: rgba(var(--muted-rgb), 0.3);
}

.course-grid {
    display: grid;
    gap: 4rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .course-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.course-info .section-label {
    color: var(--primary);
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    display: block;
    font-size: 1.25rem;
}

.course-info h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .course-info h2 {
        font-size: 3rem;
    }
}

.course-info p {
    color: var(--muted-foreground);
    font-size: 1.125rem;
    margin-bottom: 2rem;
    line-height: 1.75;
}

.course-info p.main-text {
    color: rgba(var(--foreground-rgb), 0.9);
}

.benefits-card {
    background-color: var(--card);
    border-radius: 1rem;
    padding: 2rem;
    border: 1px solid var(--border);
}

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

.benefits-header .icon-container {
    width: 3.5rem;
    height: 3.5rem;
    background-color: rgba(var(--highlight-rgb), 0.2);
}

.benefits-header svg {
    width: 1.75rem;
    height: 1.75rem;
    color: var(--highlight);
}

.benefits-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.benefit-item {
    display: flex;
    gap: 1rem;
}

.benefit-item .icon-container {
    width: 2.5rem;
    height: 2.5rem;
    background-color: rgba(var(--primary-rgb), 0.1);
    flex-shrink: 0;
}

.benefit-item svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--primary);
}

.benefit-item h4 {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.benefit-item p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* Testimonials Section */
.testimonials-section {
    padding: 6rem 0;
}

.testimonials-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.testimonial-card {
    position: relative;
    background-color: var(--background);
    border-radius: 1rem;
    padding: 2rem;
    border: 1px solid var(--border);
    transition: border-color 0.3s ease;
}

.testimonial-card:hover {
    border-color: rgba(var(--primary-rgb), 0.3);
}

.testimonial-quote-icon {
    position: absolute;
    top: -1rem;
    left: 2rem;
    width: 2rem;
    height: 2rem;
    background-color: var(--highlight);
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-quote-icon svg {
    width: 1rem;
    height: 1rem;
    color: var(--highlight-foreground);
}

.testimonial-rating {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
    padding-top: 0.5rem;
}

.testimonial-rating svg {
    width: 1rem;
    height: 1rem;
    fill: var(--highlight);
    color: var(--highlight);
}

.testimonial-text {
    color: rgba(var(--foreground-rgb), 0.9);
    line-height: 1.75;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    border-top: 1px solid rgba(var(--border-rgb), 0.5);
    padding-top: 1rem;
}

.testimonial-author .name {
    font-weight: 600;
    color: var(--foreground);
}

.testimonial-author .role {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* Newsletter Section */
.newsletter-section {
    padding: 6rem 0;
    position: relative;
    overflow: visible;
}

.newsletter-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom right, 
        rgba(var(--highlight-rgb), 0.1), 
        var(--background), 
        rgba(var(--secondary-rgb), 0.1));
}

.newsletter-content {
    position: relative;
    z-index: 10;
    max-width: 42rem;
    margin: 0 auto;
    text-align: center;
}

.newsletter-icon {
    width: 4rem;
    height: 4rem;
    background-color: rgba(var(--primary-rgb), 0.2);
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.newsletter-icon svg {
    width: 2rem;
    height: 2rem;
    color: var(--primary);
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 28rem;
    margin: 0 auto;
}

@media (min-width: 640px) {
    .newsletter-form {
        flex-direction: row;
    }
}

.newsletter-form input {
    flex: 1;
    height: 3rem;
    padding: 0 1rem;
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: 0.375rem;
    color: var(--foreground);
    font-size: 1rem;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary);
}

.newsletter-form input::placeholder {
    color: var(--muted-foreground);
}

.newsletter-privacy {
    font-size: 0.75rem;
    color: var(--muted-foreground);
    margin-top: 1rem;
}

.newsletter-success {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: var(--primary);
}

.newsletter-success svg {
    width: 1.5rem;
    height: 1.5rem;
}

.newsletter-success span {
    font-weight: 600;
    font-size: 1.125rem;
}

/* Contact Section */
.contact-section {
    padding: 6rem 0;
}

.contact-grid {
    display: grid;
    gap: 4rem;
    align-items: stretch;
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.contact-info {
    text-align: center;
}

@media (min-width: 1024px) {
    .contact-info {
        text-align: left;
    }
}

.contact-info .section-label {
    color: var(--primary);
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    display: block;
    font-size: 1.25rem;
}

.contact-info h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .contact-info h2 {
        font-size: 3rem;
    }
}

.contact-info > p {
    color: var(--muted-foreground);
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
    line-height: 1.75;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%;
}

@media (min-width: 1024px) {
    .contact-methods {
        align-items: flex-start;
    }
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 0.75rem;
    background-color: var(--card);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    width: 100%;
    max-width: 22rem;
}

@media (min-width: 640px) {
    .contact-method {
        max-width: 28rem;
    }
}

@media (min-width: 1024px) {
    .contact-method {
        max-width: none;
    }
}

.contact-method:hover {
    border-color: rgba(var(--primary-rgb), 0.5);
}

.contact-method .icon-container {
    width: 3rem;
    height: 3rem;
    background-color: rgba(var(--primary-rgb), 0.1);
    transition: background-color 0.3s ease;
}

.contact-method:hover .icon-container {
    background-color: rgba(var(--primary-rgb), 0.2);
}

.contact-method svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--primary);
}

.contact-method .method-info {
    flex: 1;
}

.contact-method .method-label {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.contact-method .method-value {
    font-weight: 500;
    color: var(--foreground);
}

.contact-method .arrow {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--muted-foreground);
    transition: all 0.3s ease;
}

.contact-method:hover .arrow {
    color: var(--primary);
    transform: translateX(0.25rem);
}

.speaking-cta-card {
    background-color: var(--card);
    border-radius: 1rem;
    padding: 2rem 2.5rem;
    border: 1px solid var(--border);
}

.speaking-cta-card .icon-container {
    width: 3.5rem;
    height: 3.5rem;
    background-color: rgba(var(--secondary-rgb), 0.2);
    margin-bottom: 1.5rem;
}

.speaking-cta-card .icon-container svg {
    width: 1.75rem;
    height: 1.75rem;
    color: var(--secondary);
}

.speaking-cta-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .speaking-cta-card h3 {
        font-size: 1.875rem;
    }
}

.speaking-cta-card > p {
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
    line-height: 1.75;
}

.speaking-features {
    margin-bottom: 2rem;
    list-style: none;
    padding-left: 0;
}

.speaking-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(var(--foreground-rgb), 0.9);
    margin-bottom: 0.75rem;
}

.speaking-feature .bullet {
    width: 0.5rem;
    height: 0.5rem;
    min-width: 0.5rem;
    min-height: 0.5rem;
    border-radius: 9999px;
    background-color: var(--secondary);
    flex-shrink: 0;
}

/* Footer */
.site-footer {
    padding: 4rem 0;
    border-top: 1px solid var(--border);
    background-color: var(--card);
}

.footer-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

@media (min-width: 768px) {
    .footer-main {
        flex-direction: row;
    }
}

.footer-brand {
    text-align: center;
}

@media (min-width: 768px) {
    .footer-brand {
        text-align: left;
    }
}

.footer-brand img {
    height: 6rem;
    width: auto;
    margin: 0 auto 1rem;
}

@media (min-width: 768px) {
    .footer-brand img {
        margin: 0 0 1rem 0;
    }
}

.footer-brand p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    max-width: 20rem;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-social a {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    border: 1px solid var(--secondary);
    color: var(--secondary);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.footer-social svg {
    width: 1.25rem;
    height: 1.25rem;
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(var(--border-rgb), 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
    }
}

.footer-bottom a {
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: var(--primary);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header .section-label {
    color: var(--primary);
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    display: block;
    font-size: 1.25rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .section-header h2 {
        font-size: 3rem;
    }
}

.section-header p {
    color: var(--muted-foreground);
    font-size: 1.125rem;
    max-width: 42rem;
    margin: 0 auto;
    line-height: 1.75;
}

/* In section-cream context */
.section-cream .section-header h2 {
    color: var(--cream-foreground);
}

.section-cream .section-header p {
    color: rgba(var(--cream-foreground-rgb), 0.7);
}

.section-cream .service-card h3 {
    color: var(--cream-foreground);
}

/* Responsive visibility utilities */
.hidden {
    display: none !important;
}

@media (min-width: 768px) {
    .md\:block {
        display: block !important;
    }
    .md\:flex {
        display: flex !important;
    }
    .md\:hidden {
        display: none !important;
    }
}

/* WordPress specific */
.wp-block-image img {
    max-width: 100%;
    height: auto;
}

/* Customizer preview fixes */
.customize-partial-edit-shortcut {
    z-index: 100;
}

/* Video embed responsive */
.video-embed {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

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

/* Screen reader text */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

/* Toast notifications */
.toast-container {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    z-index: 9999;
}

.toast {
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    padding: 1rem 1.5rem;
    margin-top: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.toast-success {
    border-color: var(--primary);
}

.toast-error {
    border-color: var(--destructive);
}

.toast-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.toast-description {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}
