/*
Theme Name: Hell's Half Acre
Theme URI: https://hellshalfacreky.com
Author: Antigravity
Author URI: https://google.com
Description: A bold, cinematic, militant, forged, and powerful WordPress theme.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hellshalfacre
*/
:root {
    --crimson: #4A0D12;
    --blood-red: #6B1015;
    --ember: #D94A1E;
    --gold: #F5A623;
    --charcoal: #1C1717;
    --gunmetal: #3A3434;
    --tan: #C79A63;
    
    --bg-dark: #080505;
    --text-main: #e8e3e3;
    --text-muted: #a69b9b;
    
    --font-heading: 'Cinzel', serif;
    --font-body: 'Montserrat', sans-serif;
    
    --glow-ember: 0 0 25px rgba(217, 74, 30, 0.4);
    --glow-gold: 0 0 25px rgba(245, 166, 35, 0.4);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

/* Background Effects */
.fx-overlay {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    pointer-events: none;
    z-index: 0;
    background: 
        radial-gradient(circle at 50% 0%, rgba(107, 16, 21, 0.15) 0%, transparent 60%),
        radial-gradient(circle at 100% 100%, rgba(217, 74, 30, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 0% 100%, rgba(74, 13, 18, 0.1) 0%, transparent 50%);
    mix-blend-mode: screen;
}

/* Typography Base */
h1, h2, h3, h4, .font-heading {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
}

h1.headline {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    color: var(--text-main);
    text-shadow: 0 4px 20px rgba(0,0,0,0.8), 0 0 15px rgba(217,74,30,0.3);
    margin-bottom: 0.5rem;
    line-height: 1.1;
}

h2.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--tan);
    margin-bottom: 1rem;
    position: relative;
}

h3.pillar-title {
    font-size: 1.5rem;
    color: var(--gold);
    margin-bottom: 1rem;
}

p {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 400;
}

.body-large {
    font-size: 1.3rem;
    color: var(--text-main);
    font-weight: 500;
    margin-bottom: 1rem;
}

/* Base Layout */
.section {
    position: relative;
    z-index: 1;
    padding: 7rem 2rem;
    display: flex;
    justify-content: center;
}

.container {
    max-width: 1100px;
    width: 100%;
    position: relative;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1.1rem 3.5rem;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    cursor: pointer;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--blood-red), var(--crimson));
    color: var(--text-main);
    border: 1px solid var(--ember);
    box-shadow: 0 4px 15px rgba(217, 74, 30, 0.2);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--ember), var(--blood-red));
    box-shadow: var(--glow-ember);
    color: #fff;
    transform: translateY(-2px);
}

.btn-gold {
    background: transparent;
    color: var(--gold);
    border: 1px solid var(--gold);
    box-shadow: inset 0 0 10px rgba(245, 166, 35, 0.1);
}

.btn-gold:hover {
    background: rgba(245, 166, 35, 0.1);
    box-shadow: inset 0 0 20px rgba(245, 166, 35, 0.3), var(--glow-gold);
    color: #fff;
    border-color: #fff;
    transform: translateY(-2px);
}

/* Separators */
.title-separator {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--ember), transparent);
    margin: 1rem 0 2.5rem;
}

.title-separator.centered {
    margin: 1rem auto 3.5rem;
    background: linear-gradient(90deg, transparent, var(--ember), transparent);
    width: 100px;
}

/* Utilities */
.centered { text-align: center; }

/* Hero Section */
.hero {
    min-height: 100vh;
    align-items: center;
    text-align: center;
    padding-top: 5rem;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    /* Dark smoky fade */
    background: linear-gradient(to bottom, rgba(8,5,5,0.4) 0%, var(--bg-dark) 100%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.logo-wrapper {
    margin-bottom: 2.5rem;
    position: relative;
    display: inline-block;
}

.brand-crest {
    max-width: 250px;
    height: auto;
    filter: drop-shadow(0 15px 30px rgba(0,0,0,0.9));
    position: relative;
    z-index: 2;
    animation: float 6s ease-in-out infinite;
}

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

.logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 160px;
    height: 160px;
    background: radial-gradient(circle, var(--ember) 0%, transparent 60%);
    filter: blur(45px);
    opacity: 0.35;
    z-index: 1;
    animation: firepulse 4s infinite alternate;
}

@keyframes firepulse {
    0% { opacity: 0.2; transform: translate(-50%, -50%) scale(0.85); }
    100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1.15); }
}

.subheadline {
    color: var(--tan);
    font-size: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 5px;
    margin-bottom: 3.5rem;
    font-weight: 500;
}

/* Framed Layout Blocks */
.framed-block {
    background: linear-gradient(160deg, var(--charcoal), #0c0a0a);
    padding: 5rem 4rem;
    position: relative;
    box-shadow: 0 25px 50px rgba(0,0,0,0.8);
    border-radius: 2px;
}

.framed-border {
    position: absolute;
    top: 15px; left: 15px; right: 15px; bottom: 15px;
    border: 1px solid rgba(199, 154, 99, 0.15); /* Tan border */
    pointer-events: none;
    border-radius: 1px;
}

.framed-border.gold {
    border-color: rgba(245, 166, 35, 0.25);
}

.about-content {
    max-width: 800px;
}

.about-content p {
    margin-bottom: 1.5rem;
}

/* Pillars Section */
.pillar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.pillar-card {
    background: var(--gunmetal);
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    border-top: 3px solid var(--blood-red);
    transition: transform 0.4s ease, background 0.4s ease, border-color 0.4s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border-radius: 2px;
}

.pillar-card:hover {
    transform: translateY(-8px);
    background: var(--charcoal);
    border-top-color: var(--ember);
    box-shadow: 0 15px 40px rgba(0,0,0,0.7), 0 -5px 20px rgba(217, 74, 30, 0.15);
}

.pillar-card .card-border {
    position: absolute;
    inset: 8px;
    border: 1px solid rgba(255,255,255,0.03);
    pointer-events: none;
    transition: border-color 0.4s ease;
}

.pillar-card:hover .card-border {
    border-color: rgba(255,255,255,0.08);
}

.pillar-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    color: var(--tan);
    transition: color 0.4s ease, transform 0.4s ease;
}

.pillar-card:hover .pillar-icon {
    color: var(--gold);
    transform: scale(1.1);
}

.heraldic-icon {
    width: 100%;
    height: 100%;
}

/* Manifesto Section */
.manifesto {
    text-align: center;
    padding: 8rem 2rem;
    background: radial-gradient(ellipse at center, rgba(74, 13, 18, 0.25) 0%, transparent 60%);
}

.rally-cry {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.4;
    color: var(--tan);
    font-weight: 600;
    max-width: 900px;
    margin: 0 auto;
    text-shadow: 0 5px 15px rgba(0,0,0,0.8);
}

.rally-cry .highlight {
    color: var(--gold);
    display: block;
    margin-top: 1rem;
    text-shadow: 0 0 20px rgba(245, 166, 35, 0.3);
}

/* Contact Section */
.contact-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-desc {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: var(--text-main);
    margin-bottom: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Footer */
.footer {
    padding: 4rem 2rem 3rem;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.03);
    background: #050404;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--tan);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    opacity: 0.8;
}

.copyright {
    font-size: 0.95rem;
    opacity: 0.6;
}

/* Responsive Overrides */
@media (max-width: 768px) {
    .framed-block {
        padding: 3rem 2rem;
    }
    .hero-content {
        padding-top: 2rem;
    }
    .section {
        padding: 5rem 1.5rem;
    }
    .subheadline {
        font-size: 1rem;
        letter-spacing: 3px;
        margin-bottom: 2.5rem;
    }
}
