/* --- RESET & VARIABLES --- */
:root {
    --bg-color: #050505;
    --text-color: #e0e0e0;
    --accent-color: #ffffff;
    --secondary-accent: #333333;
    --discord-color: #5865F2;
    --gold: #d4af37;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, .logo {
    font-family: 'Cinzel', serif;
    text-transform: uppercase;
    font-weight: 700;
}

/* --- INTRO ANIMATION --- */
#intro-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    pointer-events: none; /* Allows clicks to pass through after fade */
}

.intro-text {
    font-size: clamp(1.5rem, 5vw, 4rem); /* Responsive font size */
    letter-spacing: 0.2em;
    color: #fff;
    white-space: nowrap;
}

.highlight-text {
    font-weight: 900; /* Slight bold difference */
    color: #fff;
    transition: opacity 2.5s ease;
}

.fade-group {
    transition: opacity 1.5s ease;
}

/* Helper classes for JS */
.faded-out {
    opacity: 0;
}

.hidden-overlay {
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.5s ease, visibility 1.5s;
}

/* --- NAVIGATION --- */
#navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 40px;
    background: rgba(5, 5, 5, 0.9);
    backdrop-filter: blur(10px);
    z-index: 100;
    border-bottom: 1px solid #222;
    transition: opacity 1s ease;
    opacity: 0; /* Hidden initially */
}

#navbar.visible {
    opacity: 1;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    letter-spacing: 2px;
    color: #fff;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #aaa;
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #fff;
}

.nav-btn {
    border: 1px solid #fff;
    padding: 8px 16px;
    color: #fff !important;
}

.nav-btn:hover {
    background: #fff;
    color: #000 !important;
}

/* --- HERO SECTION --- */
#main-content {
    opacity: 0;
    transition: opacity 2s ease;
}

#main-content.content-visible {
    opacity: 1;
}

.hero {
    height: 100vh;
    background-image: url('hero.png');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(5,5,5,1));
}

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

.hero h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    letter-spacing: 5px;
    margin-bottom: 10px;
    line-height: 1.1;
}

.subtitle {
    font-size: 1.2rem;
    letter-spacing: 3px;
    color: #ccc;
    margin-bottom: 40px;
}

.cta-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 15px 35px;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 2px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #fff;
    color: #000;
}

.btn-primary:hover {
    background: var(--discord-color);
    color: #fff;
}

.btn-secondary {
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
}

.btn-secondary:hover {
    border-color: #fff;
}

/* --- CONTENT SECTIONS --- */
.content-section, .services-section, .leader-section {
    padding: 100px 20px;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    letter-spacing: 5px;
}

.divider {
    width: 60px;
    height: 2px;
    background: var(--gold);
    margin: 20px auto;
}

/* Mandate */
.text-block p {
    font-size: 1.2rem;
    color: #aaa;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 30px;
}

/* Leader Section */
.leader-section {
    background: #0a0a0a;
    border-top: 1px solid #111;
    border-bottom: 1px solid #111;
}

.leader-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

@media (max-width: 768px) {
    .leader-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.leader-info h3 {
    font-size: 2rem;
    margin: 10px 0;
    color: #fff;
}

.obe {
    color: var(--gold);
    font-size: 1.2rem;
    letter-spacing: 3px;
    display: block;
    margin-top: 5px;
}

.credentials {
    list-style: none;
    margin: 30px 0;
    border-left: 2px solid var(--gold);
    padding-left: 20px;
}

@media (max-width: 768px) {
    .credentials {
        border-left: none;
        border-top: 2px solid var(--gold);
        padding-left: 0;
        padding-top: 20px;
    }
}

.credentials li {
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    color: #ccc;
}

.leader-quote blockquote {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    line-height: 1.4;
    color: #fff;
    margin-bottom: 20px;
}

.leader-quote cite {
    color: var(--gold);
    font-style: normal;
    letter-spacing: 1px;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: #0f0f0f;
    padding: 40px;
    border: 1px solid #222;
    transition: transform 0.3s;
}

.service-card:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #fff;
}

.service-card p {
    color: #888;
}

/* Footer */
.site-footer {
    padding: 100px 20px 50px;
    text-align: center;
    background: #000;
}

.big-btn {
    display: inline-block;
    margin: 30px 0;
    padding: 20px 50px;
    font-size: 1.2rem;
}

.copyright {
    color: #444;
    font-size: 0.8rem;
    margin-top: 50px;
}

/* Mobile Nav Adjustments */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* Simple hiding for mobile to keep clean, usually requires hamburger */
    }
    .nav-container {
        justify-content: center;
    }
}
