/* Template 37 - Copper Forge / Industrial Steampunk */
@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@400;700;900&family=Philosopher:wght@400;700&family=EB+Garamond:wght@400;500;600&display=swap');

:root {
    --copper: #b87333;
    --copper-light: #d4956a;
    --copper-dark: #8b5a2b;
    --bronze: #cd7f32;
    --brass: #c9ae5d;
    --iron: #48464a;
    --steel: #71797e;
    --charcoal: #1c1c1e;
    --smoke: #2d2d30;
    --parchment: #f5e6c8;
    --cream: #fffef5;
    --rust: #a0522d;
    --patina: #4a7c59;
}

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

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

body {
    font-family: 'EB Garamond', Georgia, serif;
    line-height: 1.75;
    color: var(--cream);
    background: var(--charcoal);
    font-weight: 400;
    font-size: 1.1rem;
    position: relative;
}

/* Riveted metal texture overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 0 0, transparent 70%, rgba(184,115,51,0.03) 100%),
        radial-gradient(circle at 100% 100%, transparent 70%, rgba(184,115,51,0.03) 100%);
    pointer-events: none;
    z-index: -1;
}

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

/* Header - Industrial bar with gear accents */
.site-header {
    background: linear-gradient(180deg, var(--smoke) 0%, var(--charcoal) 100%);
    border-bottom: 4px solid var(--copper);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5), inset 0 -1px 0 var(--copper-dark);
}

.site-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: repeating-linear-gradient(
        90deg,
        var(--copper) 0px,
        var(--copper) 20px,
        var(--brass) 20px,
        var(--brass) 40px
    );
}

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

.site-logo a {
    font-family: 'Cinzel Decorative', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--copper);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    position: relative;
    transition: all 0.4s ease;
}

.site-logo a::before,
.site-logo a::after {
    content: '\2699';
    font-size: 1rem;
    color: var(--brass);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.6s ease;
}

.site-logo a::before {
    left: -1.5rem;
}

.site-logo a::after {
    right: -1.5rem;
}

.site-logo a:hover::before {
    transform: translateY(-50%) rotate(180deg);
}

.site-logo a:hover::after {
    transform: translateY(-50%) rotate(-180deg);
}

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

.site-nav li {
    border-left: 1px solid var(--iron);
}

.site-nav li:last-child {
    border-right: 1px solid var(--iron);
}

.site-nav a {
    color: var(--parchment);
    text-decoration: none;
    font-family: 'Philosopher', sans-serif;
    font-size: 0.95rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 1rem 1.5rem;
    display: block;
    transition: all 0.3s ease;
    position: relative;
}

.site-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--copper);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.site-nav a:hover {
    color: var(--copper-light);
    background: rgba(184,115,51,0.1);
}

.site-nav a:hover::after {
    width: 100%;
}

/* Hero Section */
.section.head {
    padding: 6rem 0;
    text-align: center;
    position: relative;
    background: linear-gradient(180deg, transparent 0%, rgba(184,115,51,0.05) 100%);
}

.section.head::before {
    content: '\2699 \2699 \2699';
    position: absolute;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.5rem;
    color: var(--copper);
    letter-spacing: 1rem;
    opacity: 0.4;
}

.section.head h1 {
    font-family: 'Cinzel Decorative', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--copper);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.section.head p {
    font-size: 1.2rem;
    color: var(--parchment);
    max-width: 800px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    border: 1px solid var(--iron);
    border-left: 4px solid var(--copper);
    background: rgba(45,45,48,0.5);
}

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

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

.section header h2 {
    font-family: 'Cinzel Decorative', serif;
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--copper);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    position: relative;
    display: inline-block;
}

.section header h2::before,
.section header h2::after {
    content: '\2014\2014';
    color: var(--brass);
    margin: 0 1rem;
}

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

body:not(.faq) h3,
:not(section.faq) h3 {
    font-family: 'Philosopher', sans-serif;
    font-size: 1.5rem;
    color: var(--copper-light);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Footer */
.footer {
    background: var(--smoke);
    padding: 3rem 0 1.5rem;
    border-top: 4px solid var(--copper);
    margin-top: 4rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--brass);
}

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

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

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

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

.footer-links a {
    color: var(--parchment);
    text-decoration: none;
    font-family: 'Philosopher', sans-serif;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    position: relative;
}

.footer-links a::before {
    content: '\2699';
    margin-right: 0.5rem;
    color: var(--copper);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.footer-links a:hover::before {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--iron);
}

.copyright a {
    color: var(--steel);
    font-size: 0.9rem;
}

/* Animations */
@keyframes gearSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

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

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

html, body {
    height: 100%;
}

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

main {
    flex: 1;
}
