/**
 * Main CSS Entry Point - BeyondTemplates Theme
 *
 * Modern, conversion-focused design for course creators
 * Run `npm run build:css` to compile to style.css
 */

/* Import Aspekta Font */
@import 'fonts.css';

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* CSS Variables */
:root {
    --primary-color: #8b5cf6;      /* Purple */
    --primary-dark: #7c3aed;
    --secondary-color: #ec4899;     /* Pink */
    --accent-color: #ffb800;        /* Brand Yellow */
    --accent-hover: #e6a600;        /* Darker Yellow for hover */
    --text-dark: #1f2937;
    --text-medium: #4b5563;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --success-color: #10b981;

    --font-body: 'Aspekta', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    --font-heading: 'Instrument Serif', Georgia, serif;

    --container-width: 1200px;
    --section-padding: 5rem 2rem;
    --border-radius: 12px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
}

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

body {
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

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

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

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

h1 {
    font-size: 3.5rem;
    font-weight: 500;
}

@media (max-width: 768px) {

h1 {
        font-size: 2.5rem
}
    }

h2 {
    font-size: 2.75rem;
}

@media (max-width: 768px) {

h2 {
        font-size: 2rem
}
    }

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-medium);
}

/* Container */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Site Structure */
.site {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.site-content {
    flex: 1;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
}
.btn:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow-lg);
    }

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.btn-primary:hover {
        background: linear-gradient(135deg, var(--primary-dark), var(--secondary-color));
        color: white;
    }

.btn-secondary {
    background-color: var(--bg-white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
}

/* Section Labels */
.section-label {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: var(--bg-light);
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 50px;
    margin-bottom: 1rem;
}

/* Center-align section intro text when heading is centered */
.has-text-align-center + p,
h2.has-text-align-center + p,
h3.has-text-align-center + p {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 800px !important;
}

/* Hide ConvertKit branding */
.formkit-powered-by-convertkit-container {
    display: none !important;
}

/* Header */
.site-header {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}
.site-header .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
.site-header .site-branding {
        margin: 0;
    }
.site-header .site-branding .site-title {
            font-size: 1.5rem;
            line-height: 1.85rem;
            margin: 0;
        }
.site-header .site-branding .site-title a {
                color: var(--text-dark);
                font-weight: 700;
            }
.site-header .site-branding .site-title a:hover {
                    color: var(--primary-color);
                }
.site-header .main-navigation ul {
            list-style: none;
            display: flex;
            gap: 2rem;
            margin: 0;
        }
.site-header .main-navigation ul a {
                color: var(--text-medium);
                font-weight: 500;
            }
.site-header .main-navigation ul a:hover {
                    color: var(--primary-color);
                }
.site-header .main-navigation ul a:after {
                    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
                }
.site-header .main-navigation ul a.current-menu-item,
                .site-header .main-navigation ul a.current_page_item {
                    color: var(--primary-color);
                    font-weight: 600;
                }
@media (max-width: 768px) {
.site-header .main-navigation {
            display: none
    }
        }

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 2rem;
}
@media (max-width: 768px) {
.hero-section {
        min-height: 500px;
        padding: 3rem 1.5rem
}
    }
.hero-section .hero-title {
        color: white;
        margin-bottom: 1.5rem;
        font-size: 4rem;
    }
@media (max-width: 768px) {
.hero-section .hero-title {
            font-size: 2.5rem
    }
        }
.hero-section .hero-subtitle {
        font-size: 1.5rem;
        line-height: 1.85rem;
        margin-bottom: 2.5rem;
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
        color: rgba(255, 255, 255, 0.95);
    }
@media (max-width: 768px) {
.hero-section .hero-subtitle {
            font-size: 1.25rem
    }
        }
.hero-section .hero-cta .btn {
            font-size: 1.25rem;
            padding: 1.25rem 2.5rem;
            background-color: white;
            color: var(--primary-color);
        }
.hero-section .hero-cta .btn:hover {
                background-color: var(--bg-light);
                transform: translateY(-3px);
            }

/* Lead Magnet Section */
.lead-magnet-section {
    padding: var(--section-padding);
    background-color: var(--bg-light);
}
.lead-magnet-section .lead-magnet-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        align-items: center;
    }
@media (max-width: 968px) {
.lead-magnet-section .lead-magnet-grid {
            grid-template-columns: 1fr;
            gap: 2rem
    }
        }
.lead-magnet-section .lead-magnet-image img {
            border-radius: var(--border-radius);
            box-shadow: var(--shadow-lg);
        }
.lead-magnet-section .lead-magnet-content h2 {
            margin-bottom: 1.5rem;
        }
.lead-magnet-section .lead-magnet-content .benefits-list {
            list-style: none;
            margin: 2rem 0;
        }
.lead-magnet-section .lead-magnet-content .benefits-list li {
                padding: 0.75rem 0;
                padding-left: 2rem;
                position: relative;
                color: var(--text-medium);
            }
.lead-magnet-section .lead-magnet-content .benefits-list li:before {
                    content: "✓";
                    position: absolute;
                    left: 0;
                    color: var(--success-color);
                    font-weight: bold;
                    font-size: 1.25rem;
                }

/* Opt-in Form */
.opt-in-form {
    margin-top: 2rem;
}
.opt-in-form .email-form {
        display: flex;
        gap: 1rem;
    }
@media (max-width: 768px) {
.opt-in-form .email-form {
            flex-direction: column
    }
        }
.opt-in-form .email-form input[type="email"] {
            flex: 1;
            padding: 1rem 1.5rem;
            border: 2px solid var(--border-color);
            border-radius: var(--border-radius);
            font-size: 1rem;
        }
.opt-in-form .email-form input[type="email"]:focus {
                outline: none;
                border-color: var(--primary-color);
            }
.opt-in-form .email-form button {
            white-space: nowrap;
        }

/* Trust Section */
.trust-section {
    padding: var(--section-padding);
    text-align: center;
}
.trust-section .trust-content {
        max-width: 800px;
        margin: 0 auto;
    }
.trust-section .trust-content h2 {
            margin-bottom: 1rem;
        }
.trust-section .trust-content > p {
            font-size: 1.25rem;
            margin-bottom: 3rem;
        }
.trust-section .trust-stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
    }
@media (max-width: 768px) {
.trust-section .trust-stats {
            grid-template-columns: 1fr;
            gap: 2rem
    }
        }
.trust-section .trust-stats .stat-item {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }
.trust-section .trust-stats .stat-item .stat-number {
                font-size: 3rem;
                font-weight: 700;
                color: var(--primary-color);
            }
.trust-section .trust-stats .stat-item .stat-label {
                color: var(--text-medium);
                font-weight: 500;
            }

/* Book Section */
.book-section {
    padding: var(--section-padding);
    background-color: var(--bg-white);
}
.book-section .book-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        align-items: center;
    }
@media (max-width: 968px) {
.book-section .book-grid {
            grid-template-columns: 1fr;
            gap: 2rem
    }
        }
.book-section .book-image {
        order: 2;
    }
@media (max-width: 968px) {
.book-section .book-image {
            order: 1
    }
        }
.book-section .book-image img {
            border-radius: var(--border-radius);
            box-shadow: var(--shadow-lg);
        }
.book-section .book-content {
        order: 1;
    }
@media (max-width: 968px) {
.book-section .book-content {
            order: 2
    }
        }
.book-section .book-content h2 {
            margin-top: 0.5rem;
            margin-bottom: 1.5rem;
        }
.book-section .book-content h3 {
            margin-top: 2rem;
            margin-bottom: 1rem;
            font-size: 1.5rem;
            line-height: 1.85rem;
        }
.book-section .book-content .book-features {
            list-style: none;
            margin: 1.5rem 0 2rem 0;
        }
.book-section .book-content .book-features li {
                padding: 0.75rem 0;
                padding-left: 2rem;
                position: relative;
                color: var(--text-medium);
            }
.book-section .book-content .book-features li:before {
                    content: "→";
                    position: absolute;
                    left: 0;
                    color: var(--primary-color);
                    font-weight: bold;
                    font-size: 1.25rem;
                }

/* Course Section */
.course-section {
    padding: var(--section-padding);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}
.course-section .course-content {
        max-width: 900px;
        margin: 0 auto;
    }
.course-section .course-content .section-label {
            background-color: rgba(255, 255, 255, 0.2);
            color: white;
        }
.course-section .course-content h2 {
            color: white;
            margin-bottom: 1rem;
        }
.course-section .course-content .course-subtitle {
            font-size: 1.25rem;
            margin-bottom: 3rem;
            color: rgba(255, 255, 255, 0.95);
        }
.course-section .course-modules {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
        margin: 3rem 0;
    }
@media (max-width: 968px) {
.course-section .course-modules {
            grid-template-columns: repeat(2, 1fr)
    }
        }
@media (max-width: 568px) {
.course-section .course-modules {
            grid-template-columns: 1fr
    }
        }
.course-section .course-modules .module-card {
            background-color: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            padding: 2rem;
            border-radius: var(--border-radius);
            border: 1px solid rgba(255, 255, 255, 0.2);
        }
.course-section .course-modules .module-card h3 {
                font-size: 1rem;
                text-transform: uppercase;
                letter-spacing: 0.05em;
                color: rgba(255, 255, 255, 0.8);
                margin-bottom: 0.5rem;
            }
.course-section .course-modules .module-card h4 {
                font-size: 1.5rem;
                line-height: 1.85rem;
                color: white;
                margin-bottom: 1rem;
            }
.course-section .course-modules .module-card p {
                font-size: 0.95rem;
                color: rgba(255, 255, 255, 0.9);
                margin: 0;
            }
.course-section .course-cta {
        margin-top: 3rem;
    }
.course-section .course-cta p {
            color: rgba(255, 255, 255, 0.95);
            font-size: 1.125rem;
            margin-bottom: 1.5rem;
        }
.course-section .course-cta p strong {
                color: white;
            }
.course-section .course-cta .btn {
            background-color: white;
            color: var(--primary-color);
        }
.course-section .course-cta .btn:hover {
                background-color: var(--bg-light);
            }

/* Testimonials Section */
.testimonials-section {
    padding: var(--section-padding);
    background-color: var(--bg-light);
}
.testimonials-section h2 {
        text-align: center;
        margin-bottom: 3rem;
    }
.testimonials-section .testimonials-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
@media (max-width: 968px) {
.testimonials-section .testimonials-grid {
            grid-template-columns: 1fr
    }
        }
.testimonials-section .testimonials-grid .testimonial-card {
            background-color: white;
            padding: 2rem;
            border-radius: var(--border-radius);
            box-shadow: var(--shadow-md);
        }
.testimonials-section .testimonials-grid .testimonial-card .testimonial-text {
                font-size: 1.125rem;
                font-style: italic;
                margin-bottom: 1.5rem;
                color: var(--text-dark);
                line-height: 1.6;
            }
.testimonials-section .testimonials-grid .testimonial-card .testimonial-author {
                display: flex;
                flex-direction: column;
                gap: 0.25rem;
            }
.testimonials-section .testimonials-grid .testimonial-card .testimonial-author strong {
                    color: var(--text-dark);
                }
.testimonials-section .testimonials-grid .testimonial-card .testimonial-author span {
                    font-size: 0.875rem;
                    color: var(--text-light);
                }

/* Final CTA Section */
.final-cta-section {
    padding: var(--section-padding);
    text-align: center;
    background-color: var(--bg-white);
}
.final-cta-section h2 {
        margin-bottom: 1rem;
    }
.final-cta-section p {
        font-size: 1.25rem;
        margin-bottom: 2rem;
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
    }

/* Footer */
.site-footer {
    background-color: var(--text-dark);
    color: white;
    padding: 3rem 2rem 2rem;
}
.site-footer .site-info {
        max-width: var(--container-width);
        margin: 0 auto;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 1rem;
        flex-wrap: wrap;
    }
.site-footer .site-info p {
            color: rgba(255, 255, 255, 0.7);
            font-size: 0.875rem;
            margin: 0;
        }
.site-footer .site-info .footer-separator {
            color: rgba(255, 255, 255, 0.5);
            font-size: 0.875rem;
        }
.site-footer .footer-navigation {
        margin: 0;
    }
.site-footer .footer-navigation ul {
            list-style: none;
            display: flex;
            justify-content: center;
            gap: 1rem;
            flex-wrap: wrap;
            margin: 0;
            padding: 0;
        }
.site-footer .footer-navigation ul li:not(:last-child)::after {
                    content: '|';
                    margin-left: 1rem;
                    color: rgba(255, 255, 255, 0.5);
                }
.site-footer .footer-navigation ul a {
                color: rgba(255, 255, 255, 0.9);
                text-decoration: none;
                font-size: 0.875rem;
            }
.site-footer .footer-navigation ul a:hover {
                    color: white;
                }

/* Content Pages (Blog, etc) */
.entry-header {
    margin-bottom: 2rem;
}
.entry-header .entry-title {
        font-size: 2.5rem;
    }
.entry-header .entry-title a {
            color: var(--text-dark);
            text-decoration: none;
        }
.entry-header .entry-title a:hover {
                color: var(--primary-color);
            }

.entry-content {
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
    padding: 0;
}

.entry-content img {
        max-width: 100%;
        height: auto;
    }

/* Sidebar */
.widget-area {
    margin-top: 3rem;
}
.widget-area .widget {
        margin-bottom: 2rem;
    }
.widget-area .widget .widget-title {
            font-size: 1.25rem;
            margin-bottom: 1rem;
        }

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-0 {
    margin-bottom: 0;
}

.mt-3 {
    margin-top: 3rem;
}

/* ========================================
   WORDPRESS BLOCK STYLES
   ======================================== */

/* Course Card Block Style */
.is-style-course-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}
.is-style-course-card .wp-block-heading {
        color: var(--text-dark);
        margin-bottom: 1rem;
    }
.is-style-course-card p {
        color: var(--text-medium);
        margin-bottom: 1.5rem;
    }
/* Only add hover effect if the card contains a link/button */
.is-style-course-card:has(a) {
        transition: all 0.3s ease;
        cursor: pointer;
    }
.is-style-course-card:has(a):hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-lg);
        }

/* Testimonial Card Block Style */
.is-style-testimonial-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--primary-color);
}
.is-style-testimonial-card .wp-block-quote {
        margin: 0;
        border: none;
        padding: 0;
    }
.is-style-testimonial-card .wp-block-quote p {
            font-size: 1.125rem;
            font-style: italic;
            color: var(--text-dark);
            margin-bottom: 1rem;
        }
.is-style-testimonial-card .wp-block-quote cite {
            font-style: normal;
            font-weight: 600;
            color: var(--text-dark);
        }

/* Gradient Primary Button */
.is-style-gradient-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) !important;
    border: none !important;
}
.is-style-gradient-primary:hover {
        background: linear-gradient(135deg, var(--primary-dark), var(--secondary-color)) !important;
        transform: translateY(-2px);
    }

/* Outline Button */
.is-style-outline {
    background-color: transparent !important;
    border: 2px solid var(--primary-color) !important;
    color: var(--primary-color) !important;
}
.is-style-outline:hover {
        background-color: var(--primary-color) !important;
        color: white !important;
    }

/* WordPress Cover Block - Vertical Centering */
.wp-block-cover.alignfull.is-style-hero-gradient {
    min-height: 600px !important;
    padding-top: 80px !important;
    padding-bottom: 80px !important;
    margin-top: 0 !important;
}

.wp-block-cover__inner-container {
    width: 100%;
}

/* Hero right column - center its content vertically */
.hero-right {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    min-height: 400px !important;
}

/* Hero Gradient Cover */
.is-style-hero-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    min-height: 600px !important;
    display: flex !important;
    align-items: center !important;
}
.is-style-hero-gradient .wp-block-cover__inner-container {
        max-width: var(--container-width);
        margin: 0 auto;
    }
.is-style-hero-gradient .wp-block-group {
        min-height: 600px !important;
        display: flex !important;
        align-items: center !important;
    }

/* Stats Grid Pattern */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    text-align: center;
    padding: 3rem 0;
}
.stats-grid .stat-item .stat-number {
            font-size: 3rem;
            font-weight: 700;
            color: var(--primary-color);
            display: block;
            margin-bottom: 0.5rem;
        }
.stats-grid .stat-item .stat-label {
            color: var(--text-medium);
            font-size: 1rem;
        }

/* Course Grid Pattern */
.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

/* Feature List with Icons */
.feature-list {
    list-style: none;
    padding: 0;
}
.feature-list li {
        padding: 1rem 0;
        padding-left: 2.5rem;
        position: relative;
        color: var(--text-medium);
        font-size: 1.125rem;
    }
.feature-list li:before {
            content: "✓";
            position: absolute;
            left: 0;
            color: var(--success-color);
            font-weight: bold;
            font-size: 1.5rem;
        }

/* Section Padding Utilities */
.section-padding {
    padding: 5rem 2rem;
}
@media (max-width: 768px) {
.section-padding {
        padding: 3rem 1.5rem
}
    }

.section-padding-small {
    padding: 3rem 2rem;
}

@media (max-width: 768px) {

.section-padding-small {
        padding: 2rem 1.5rem
}
    }

/* Background Color Utilities */
.bg-light {
    background-color: var(--bg-light);
}

.bg-gradient-purple {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.bg-gradient-purple h1, .bg-gradient-purple h2, .bg-gradient-purple h3, .bg-gradient-purple h4, .bg-gradient-purple h5, .bg-gradient-purple h6, .bg-gradient-purple p {
        color: white;
    }

/* Text Alignment for WordPress Blocks */
.has-text-align-center {
    text-align: center;
}

/* WordPress Core Block Overrides */
.wp-block-group {
    max-width: var(--container-width);
    margin-left: auto;
    margin-right: auto;
}

.wp-block-columns {
    max-width: var(--container-width);
    margin-left: auto;
    margin-right: auto;
}

.wp-block-button__link {
    border-radius: var(--border-radius);
    padding: 1rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.wp-block-button__link:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow-lg);
    }

.wp-block-image img {
        border-radius: var(--border-radius);
    }

/* Badge/Label Styles */
.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: var(--bg-light);
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 50px;
    margin-bottom: 1rem;
}

.badge-free {
    background-color: #d1fae5;
    color: #065f46;
}

.badge-premium {
    background-color: #fef3c7;
    color: #92400e;
}

.badge-coming-soon {
    background-color: #e0e7ff;
    color: #3730a3;
}

/* Full-width alignment support */
.alignfull {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    max-width: 100vw;
    width: 100vw;
}

/* Ensure cover blocks stretch properly */
.wp-block-cover.alignfull {
    padding-left: 0;
    padding-right: 0;
}

/* Enhanced Header Styling for BeyondTemplates */
.site-header {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}
.site-header .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
.site-header .site-branding {
        margin: 0;
        display: flex;
        align-items: center;
    }
.site-header .site-branding .site-title {
            font-size: 1.75rem;
            margin: 0;
            font-weight: 800;
            letter-spacing: -0.02em;
            line-height: 1;
        }
.site-header .site-branding .site-title a {
                color: var(--text-dark);
                font-weight: 800;
                background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
                -webkit-background-clip: text;
                -webkit-text-fill-color: transparent;
                background-clip: text;
                transition: all 0.3s ease;
            }
.site-header .site-branding .site-title a:hover {
                    opacity: 0.8;
                }
.site-header .main-navigation ul {
            list-style: none;
            display: flex;
            gap: 2.5rem;
            margin: 0;
            align-items: center;
        }
.site-header .main-navigation ul li {
                margin: 0;
            }
.site-header .main-navigation ul a {
                color: var(--text-medium);
                font-weight: 500;
                font-size: 1rem;
                transition: all 0.2s ease;
                position: relative;
            }
.site-header .main-navigation ul a:after {
                    content: '';
                    position: absolute;
                    bottom: -5px;
                    left: 0;
                    width: 0;
                    height: 2px;
                    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
                    transition: width 0.3s ease;
                }
.site-header .main-navigation ul a:hover {
                    color: var(--primary-color);
                }
.site-header .main-navigation ul a:hover:after {
                        width: 100%;
                    }
.site-header .main-navigation ul a.current-menu-item,
                .site-header .main-navigation ul a.current_page_item {
                    color: var(--primary-color);
                    font-weight: 600;
                }
.site-header .main-navigation ul a.current-menu-item:after, .site-header .main-navigation ul a.current_page_item:after {
                        width: 100%;
                    }
@media (max-width: 768px) {
.site-header .main-navigation {
            display: none
    }
        }

/* Mobile Menu Toggle (optional - add if needed) */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    color: var(--text-dark);
}
@media (max-width: 768px) {
.mobile-menu-toggle {
        display: block
}
    }
.mobile-menu-toggle svg {
        width: 28px;
        height: 28px;
    }

/* Scrolled Header State */
.site-header.scrolled {
    padding: 1rem 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Logo-specific styling */
.site-header .site-branding .custom-logo-link {
    display: flex;
    align-items: center;
    line-height: 1;
    transition: opacity 0.3s ease;
}
.site-header .site-branding .custom-logo-link:hover {
        opacity: 0.9;
    }
.site-header .site-branding .custom-logo-link img.custom-logo {
        height: 60px;
        width: auto;
        display: block;
        max-width: 250px;
    }

/* ========================================
   ANIMATED CURSOR EFFECT (Canva Style)
   ======================================== */

.animated-cursor {
    display: flex;
    align-items: flex-start;
    gap: 2px;
}

/* Yellow cursor arrow (like Canva) - separate element to the left */
.cursor-arrow {
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.3));
    flex-shrink: 0;
    margin-top: -17px;
    margin-right: -18px;
    transition: transform 300ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Yellow rounded label with dark text */
.cursor-label {
    background: #FFD400;
    color: #1a1a1a;
    padding: 8px 24px;
    border-radius: 18px;
    font-size: 1rem;
    font-weight: 600;
    white-space: nowrap;
    border: 3px solid white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    min-width: 75px;
    text-align: center;
    animation: labelBounce 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s backwards;
    transition: transform 200ms ease;
}

.cursor-click-ring {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 0;
    height: 0;
    border: 2px solid #FFD400;
    border-radius: 50%;
    opacity: 0;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

/* Click animation */
.animated-cursor.clicking .cursor-arrow {
    animation: cursorClick 300ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.animated-cursor.clicking .cursor-label {
    /* Keep label visible, no animation */
}

.animated-cursor.clicking .cursor-click-ring {
    animation: clickRing 400ms ease-out;
}

/* Keyframe animations */
@keyframes labelBounce {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    60% {
        transform: scale(1.05);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes cursorClick {
    0%, 100% {
        transform: scale(1) translateY(0);
    }
    50% {
        transform: scale(0.9) translateY(2px);
    }
}

@keyframes labelClick {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(0.95);
    }
}

@keyframes clickRing {
    0% {
        width: 0;
        height: 0;
        opacity: 0.8;
        border-width: 2px;
    }
    100% {
        width: 50px;
        height: 50px;
        opacity: 0;
        border-width: 1px;
    }
}

/* Hide on mobile devices */
@media (max-width: 768px) {
    .animated-cursor {
        display: none !important;
    }
}

/* Accessibility: Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .animated-cursor {
        display: none !important;
    }
}
