/* Template 48 - Circus Carnival / Vintage Showtime */
@import url('https://fonts.googleapis.com/css2?family=Abril+Fatface&family=Barnum&family=Righteous&family=Poppins:wght@400;500;600&display=swap');

:root {
    --circus-red: #c41e3a;
    --circus-gold: #d4a853;
    --circus-cream: #faf3e0;
    --circus-navy: #1a1a2e;
    --circus-burgundy: #722f37;
    --stripe-light: #f5e6d3;
    --stripe-dark: #c41e3a;
    --text-dark: #2d2d2d;
    --text-light: #faf3e0;
    --accent-teal: #2e8b8b;
}

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

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background: var(--circus-cream);
    font-weight: 400;
    overflow-x: hidden;
    position: relative;
}

/* Vintage paper texture */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%' height='100%' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
    z-index: -1;
}

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

/* Header - Carnival Marquee */
.site-header {
    background: var(--circus-navy);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

/* Animated light bulbs border */
.site-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: repeating-linear-gradient(90deg, 
        var(--circus-gold) 0px, var(--circus-gold) 15px, 
        var(--circus-red) 15px, var(--circus-red) 30px,
        var(--circus-cream) 30px, var(--circus-cream) 45px);
    animation: marqueeMove 2s linear infinite;
}

@keyframes marqueeMove {
    0% { background-position: 0 0; }
    100% { background-position: 45px 0; }
}

.header-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 1.5rem 0 1rem;
}

.site-logo {
    text-align: center;
    margin-bottom: 1rem;
}

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

.site-logo a:hover {
    transform: scale(1.05);
    text-shadow: 4px 4px 0 var(--circus-red), 8px 8px 0 rgba(0,0,0,0.3);
}

.site-nav ul {
    list-style: none;
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.site-nav a {
    color: var(--circus-cream);
    text-decoration: none;
    font-family: 'Righteous', cursive;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.6rem 1.2rem;
    border: 2px solid transparent;
    border-radius: 0;
    transition: all 0.3s ease;
    position: relative;
    background: var(--circus-burgundy);
    clip-path: polygon(10% 0%, 100% 0%, 90% 100%, 0% 100%);
}

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

/* Hero Section - Big Top */
.section.head {
    padding: 6rem 0;
    text-align: center;
    position: relative;
    background: repeating-linear-gradient(
        -45deg,
        var(--circus-cream) 0px,
        var(--circus-cream) 30px,
        var(--stripe-light) 30px,
        var(--stripe-light) 60px
    );
}

.section.head::before {
    content: '★ WELCOME TO THE SHOW ★';
    display: block;
    font-family: 'Righteous', cursive;
    font-size: 0.9rem;
    color: var(--circus-red);
    letter-spacing: 4px;
    margin-bottom: 1.5rem;
}

.section.head h1 {
    font-family: 'Abril Fatface', cursive;
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: var(--circus-navy);
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 3px 3px 0 var(--circus-gold);
    position: relative;
    display: inline-block;
}

.section.head p {
    font-size: 1.15rem;
    color: var(--text-dark);
    max-width: 700px;
    margin: 0 auto;
    padding: 2rem;
    background: var(--circus-cream);
    border: 4px solid var(--circus-navy);
    box-shadow: 8px 8px 0 var(--circus-gold);
    position: relative;
}

.section.head p::before,
.section.head p::after {
    content: '✦';
    position: absolute;
    font-size: 1.5rem;
    color: var(--circus-red);
}

.section.head p::before { top: -12px; left: 20px; }
.section.head p::after { bottom: -12px; right: 20px; }

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

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

.section header h2 {
    font-family: 'Abril Fatface', cursive;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--circus-navy);
    text-transform: uppercase;
    letter-spacing: 2px;
    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.2rem;
}

.section header h2::before { left: -2rem; }
.section header h2::after { right: -2rem; }

.section header p {
    font-size: 1.1rem;
    color: var(--text-dark);
    max-width: 600px;
    margin: 0 auto;
}

/* Footer - Closing Act */
.footer {
    background: var(--circus-navy);
    padding: 0;
    margin-top: 5rem;
    position: relative;
}

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

.footer-columns {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 4rem 2rem 2rem;
    gap: 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: 1.5rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--circus-gold);
    text-decoration: none;
    font-family: 'Righteous', cursive;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
}

.footer-links a::before {
    content: '►';
    margin-right: 6px;
    font-size: 0.7rem;
    color: var(--circus-red);
}

.footer-links a:hover {
    color: var(--circus-cream);
    text-shadow: 0 0 10px var(--circus-gold);
}

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

.footer-bottom::before {
    content: '— THE END —';
    display: block;
    font-family: 'Abril Fatface', cursive;
    color: var(--circus-gold);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

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

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

.fade-in {
    opacity: 0;
    transform: translateY(30px) rotate(-1deg);
    animation: carnivalFadeIn 0.7s ease forwards;
}

@keyframes carnivalFadeIn {
    to {
        opacity: 1;
        transform: translateY(0) rotate(0deg);
    }
}

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: 'Righteous', cursive;
    font-size: 1.5rem;
    color: var(--circus-navy);
    margin-top: 15px;
    margin-bottom: 10px;
    text-align: left;
    text-transform: uppercase;
}
