/* --- CSS VARIABLES --- */
:root {
    --primary-blue: #003087;
    --primary-dark: #00225c;
    --accent-gold: #FFD700;
    --text-dark: #0b0c0c;
    --text-grey: #505a5f;
    --text-light: #f3f2f1;
    --white: #ffffff;
    --light-grey-bg: #f3f2f1;
    --container-width: 1200px;
    --header-height: 70px;
}

/* --- RESET --- */
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.6;
}
a { text-decoration: none; color: var(--primary-blue); transition: 0.2s; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* --- CONTAINER --- */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 4px;
}

.btn-fivem { background-color: #ff7e00; color: var(--white); }
.btn-fivem:hover { background-color: #e06b00; transform: translateY(-2px); box-shadow: 0 4px 10px rgba(0,0,0,0.2); }

.btn-gold { background-color: var(--accent-gold); color: var(--text-dark); }
.btn-gold:hover { background-color: #e6c200; }

/* --- HEADER --- */
.main-header {
    background-color: var(--white);
    border-bottom: 1px solid #e1e1e1;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

.logo-area img { height: 50px; width: auto; }

/* Navigation Links */
.main-nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.main-nav a {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
}
.main-nav a:hover { color: var(--primary-blue); }

/* --- HERO SECTION --- */
.hero {
    position: relative;
    height: 500px;
    background-color: var(--primary-blue);
    color: var(--white);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover; opacity: 0.4; z-index: 1;
}

.hero-content {
    position: relative; z-index: 2; max-width: 700px;
}

.hero h1 {
    font-family: 'Roboto Slab', serif;
    font-size: 48px;
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero p { font-size: 18px; margin-bottom: 30px; opacity: 0.9; }

/* --- SECTIONS --- */
.section-padding { padding: 80px 0; }
.section-title {
    font-size: 32px;
    color: var(--primary-blue);
    margin-bottom: 40px;
    border-bottom: 4px solid var(--primary-blue);
    display: inline-block;
    padding-bottom: 10px;
}

/* --- GRIDS --- */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }

/* --- CARDS --- */
.card {
    background: var(--white);
    border: 1px solid #e1e1e1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.08); }

.card-img { height: 200px; width: 100%; object-fit: cover; background: #f0f0f0; }
.card-body { padding: 25px; flex: 1; display: flex; flex-direction: column; }

.card-title { font-size: 1.25rem; color: var(--primary-blue); margin-bottom: 10px; font-weight: 700; }
.card-meta { font-size: 0.8rem; color: var(--text-grey); text-transform: uppercase; margin-bottom: 10px; font-weight: 600; }
.card-text { font-size: 0.95rem; color: var(--text-grey); margin-bottom: 20px; flex: 1; }

/* --- FEATURES --- */
.feature-card {
    background: var(--white);
    padding: 30px;
    text-align: center;
    border: 1px solid #eee;
}
.feature-icon { font-size: 40px; margin-bottom: 15px; color: var(--primary-blue); }
.feature-card h3 { margin-bottom: 10px; color: var(--primary-blue); }
.feature-card p { font-size: 0.9rem; color: var(--text-grey); }

/* --- FOOTER --- */
.main-footer { background-color: #1e1e1e; color: #b1b4b6; padding: 60px 0 20px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; margin-bottom: 40px; }
.footer-col h4 { color: var(--white); margin-bottom: 20px; border-bottom: 2px solid var(--accent-gold); display: inline-block; padding-bottom: 5px; }
.footer-col a { color: #b1b4b6; display: block; margin-bottom: 10px; }
.footer-col a:hover { color: var(--accent-gold); }
.footer-bottom { border-top: 1px solid #505a5f; padding-top: 20px; text-align: center; font-size: 0.85rem; }

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .header-content { flex-direction: column; height: auto; padding: 10px; gap: 10px; }
    .main-nav { flex-wrap: wrap; justify-content: center; }
    .hero h1 { font-size: 32px; text-align: center; }
    .hero-content { text-align: center; }
    .hero-btns { justify-content: center; }
}