/* Template 77 - Vintage Circus / Bold Showman */
@import url('https://fonts.googleapis.com/css2?family=Abril+Fatface&family=Barnum&family=Oswald:wght@400;500;600;700&family=Lato:wght@400;700&display=swap');

:root {
    --circus-red: #c41e3a;
    --circus-gold: #d4af37;
    --circus-cream: #f5e6c8;
    --circus-navy: #1a1a2e;
    --circus-burgundy: #722f37;
    --tent-stripe: #e8d5b7;
    --spotlight: #fff8e7;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Lato', sans-serif;
    line-height: 1.7;
    color: var(--circus-navy);
    background: var(--circus-cream);
    font-weight: 400;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        90deg,
        var(--circus-cream) 0px,
        var(--circus-cream) 40px,
        var(--tent-stripe) 40px,
        var(--tent-stripe) 80px
    );
    opacity: 0.3;
    pointer-events: none;
    z-index: -1;
}

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

/* Header - Marquee Style */
.site-header {
    background: var(--circus-navy);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 8px solid var(--circus-gold);
}

.site-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: repeating-linear-gradient(
        90deg,
        var(--circus-gold) 0px,
        var(--circus-gold) 10px,
        var(--circus-red) 10px,
        var(--circus-red) 20px
    );
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
}

.site-logo a {
    font-family: 'Abril Fatface', serif;
    font-size: 2rem;
    color: var(--circus-gold);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 2px 2px 0 var(--circus-red), 4px 4px 0 rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.site-logo a:hover {
    color: var(--spotlight);
    text-shadow: 2px 2px 0 var(--circus-red), 4px 4px 0 rgba(0,0,0,0.3), 0 0 30px var(--circus-gold);
}

.site-nav ul {
    list-style: none;
    display: flex;
    gap: 0;
    align-items: center;
}

.site-nav li {
    border-left: 2px solid var(--circus-burgundy);
}

.site-nav li:last-child {
    border-right: 2px solid var(--circus-burgundy);
}

.site-nav a {
    color: var(--circus-cream);
    text-decoration: none;
    font-family: 'Oswald', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 0.75rem 1.5rem;
    display: block;
    transition: all 0.3s ease;
}

.site-nav a:hover {
    background: var(--circus-red);
    color: var(--circus-gold);
}

/* Hero Section */
.section.head {
    padding: 6rem 0;
    text-align: center;
    position: relative;
    background: linear-gradient(135deg, var(--circus-navy) 0%, var(--circus-burgundy) 100%);
}

.section.head::before {
    content: '★ WELCOME ★';
    position: absolute;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Oswald', sans-serif;
    font-size: 0.9rem;
    color: var(--circus-gold);
    letter-spacing: 8px;
    text-transform: uppercase;
}

.section.head h1 {
    font-family: 'Abril Fatface', serif;
    font-size: 4.5rem;
    color: var(--circus-cream);
    margin-bottom: 1.5rem;
    text-shadow: 4px 4px 0 var(--circus-red), 8px 8px 0 rgba(0,0,0,0.2);
    letter-spacing: 2px;
}

.section.head p {
    font-size: 1.2rem;
    color: var(--circus-cream);
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: rgba(0,0,0,0.2);
    border: 3px solid var(--circus-gold);
    border-radius: 0;
    position: relative;
}

.section.head p::before,
.section.head p::after {
    content: '✦';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: var(--circus-gold);
    font-size: 1.5rem;
}

.section.head p::before {
    left: -2rem;
}

.section.head p::after {
    right: -2rem;
}

/* Section Styling */
.section {
    padding: 5rem 0;
}

.section header {
    text-align: center;
    margin-bottom: 4rem;
}

.section header h2 {
    font-family: 'Abril Fatface', serif;
    font-size: 3rem;
    color: var(--circus-navy);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section header h2::before,
.section header h2::after {
    content: '★';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: var(--circus-red);
    font-size: 1.5rem;
}

.section header h2::before {
    left: -3rem;
}

.section header h2::after {
    right: -3rem;
}

.section header p {
    font-size: 1.125rem;
    color: var(--circus-burgundy);
    max-width: 600px;
    margin: 0 auto;
}

/* Footer */
.footer {
    background: var(--circus-navy);
    padding: 4rem 0 2rem;
    border-top: 8px solid var(--circus-gold);
    margin-top: 4rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 0;
    right: 0;
    height: 4px;
    background: repeating-linear-gradient(
        90deg,
        var(--circus-red) 0px,
        var(--circus-red) 10px,
        transparent 10px,
        transparent 20px
    );
}

.footer-columns {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 3rem;
}

.footer-about {
    flex: 1;
    max-width: 400px;
}

.footer-tagline {
    color: var(--circus-cream);
    line-height: 1.8;
    font-size: 1rem;
}

.footer-links ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--circus-cream);
    text-decoration: none;
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border: 2px solid transparent;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 2px dashed var(--circus-burgundy);
}

.footer-bottom::before {
    content: '~ THE END ~';
    display: block;
    font-family: 'Abril Fatface', serif;
    color: var(--circus-gold);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    letter-spacing: 4px;
}

.copyright a {
    color: var(--circus-cream);
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Animations */
@keyframes spotlight {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    animation: circusFadeIn 0.8s ease forwards;
}

@keyframes circusFadeIn {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

body:not(.faq) h3,
:not(section.faq) h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    color: var(--circus-navy);
    margin-top: 15px;
    margin-bottom: 10px;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 1px;
}
