/* --- GLOBAL STYLES & ROYAL THEME --- */
:root {
    --maroon: #800000;
    --gold: #D4AF37;
    --dark-blue: #0b0f14;
    --text-light: #e0e0e0;
}

body {
    background-color: var(--dark-blue);
    color: var(--text-light);
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    margin: 0;
    padding: 0;
    line-height: 1.8;
    background-image: 
        linear-gradient(rgba(128, 0, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(128, 0, 0, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

/* --- NEWSPAPER FONT CLASSES (Proper Redaction 20) --- */
.newspaper-title {
    font-family: 'Redaction 20', monospace; /* The heavy stamped look */
    letter-spacing: 4px;
    text-transform: uppercase;
    line-height: 1.2;
    font-size: 4.5rem; /* Made it slightly bigger for impact */
}

.newspaper-subtitle {
    font-family: 'Redaction 20', monospace; /* The heavy stamped look */
    text-transform: uppercase;
    color: var(--gold);
    font-size: 1.8rem;
    margin-bottom: 10px;
}

/* --- NAVIGATION --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background: rgba(11, 15, 20, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

/* LOGO FIX: Framing it to hide the brown contrast */
.logo-text {
    background-color: #2a0808; /* A very dark maroon that blends into the site */
    padding: 5px 15px;
    border-radius: 4px;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.logo-img {
    height: 50px;
    display: block; /* Removes weird spacing under the image */
    /* mix-blend-mode removed because it failed on brown backgrounds */
}
/* --- HERO SECTION --- */
.hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    background: radial-gradient(circle at 50% 30%, #1a0505 0%, var(--dark-blue) 70%);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    box-shadow: 0 0 100px rgba(128, 0, 0, 0.2);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-subtitle {
    color: var(--gold);
    letter-spacing: 4px;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.hero-content h1 {
    font-size: 4.5rem;
    color: #fff;
    margin: 0;
}

.divider {
    width: 80px;
    height: 3px;
    background-color: var(--gold);
    margin: 30px auto;
}

.description {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.5rem;
    max-width: 600px;
    margin: 0 auto;
    color: #ccc;
}

/* --- SECTIONS --- */
.section {
    padding: 100px 10%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    color: var(--gold);
    font-size: 3rem;
    margin-bottom: 50px;
    border-left: 5px solid var(--maroon);
    padding-left: 20px;
}

.content-box {
    background: rgba(255, 255, 255, 0.03);
    border-left: 1px solid var(--gold);
    padding: 40px;
    font-size: 1.2rem;
}

/* --- TIMELINE --- */
.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 2px;
    background: linear-gradient(to bottom, var(--gold), var(--maroon));
}

.timeline-item {
    margin-bottom: 50px;
    position: relative;
}

.timeline-dot {
    position: absolute;
    left: -46px;
    top: 5px;
    width: 14px;
    height: 14px;
    background: var(--maroon);
    border: 2px solid var(--gold);
    border-radius: 50%;
}

.timeline-content ul {
    padding-left: 20px;
    color: #bbb;
}

/* --- ORGANOGRAM PANEL LAYOUT --- */
.organogram {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

.org-row {
    display: flex;
    justify-content: center;
    gap: 25px;
    width: 100%;
}

/* Make cards slightly smaller to fit rows */
.organogram .card {
    flex: 1;
    max-width: 280px;
    background: linear-gradient(145deg, #111, #1a1a1a);
    border: 1px solid rgba(212, 175, 55, 0.15);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.organogram .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(128, 0, 0, 0.4);
    border-color: var(--gold);
}

/* Highlight the In-Charge */
.tier-highlight {
    border: 2px solid var(--gold) !important;
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.2);
}

.card-graphic {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #1a0505, #0b0f14);
    border-bottom: 2px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-size: 2rem;
}

.card h3 { 
    color: #fff; 
    font-size: 1.3rem; 
    margin: 15px 0 5px 0; 
}

.card .post { 
    color: var(--gold); 
    text-transform: uppercase; 
    letter-spacing: 1px; 
    font-size: 0.8rem; 
    margin-bottom: 15px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

/* --- FORM SECTION --- */
.form-section { text-align: center; }

/* Fail-safe button */
.form-fallback-btn {
    display: inline-block;
    background-color: var(--gold);
    color: var(--dark-blue);
    text-decoration: none;
    padding: 15px 30px;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 4px;
    margin-bottom: 20px;
    transition: background 0.3s;
}

.form-fallback-btn:hover {
    background-color: #fff;
}

.iframe-container {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid var(--gold);
    box-shadow: 0 0 40px rgba(128, 0, 0, 0.2);
}

/* --- FOOTER --- */
footer {
    text-align: center;
    padding: 30px;
    background: #050505;
    border-top: 1px solid #222;
    color: #666;
    font-size: 0.9rem;
}