
/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --obsidian: #0a0a0a;
    --gold: #d4af37;
    --white: #ffffff;
    --gray: #888888;
    --card-bg: rgba(255, 255, 255, 0.03);
    --border: rgba(212, 175, 55, 0.2);
    --text: #e0e0e0;
}

body.light-mode {
    --obsidian: #ffffff;
    --gold: #d4af37;
    --white: #0a0a0a;
    --gray: #333333;
    --card-bg: rgba(0, 0, 0, 0.03);
    --border: rgba(212, 175, 55, 0.3);
    --text: #2a2a2a;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--obsidian);
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(212, 175, 55, 0.05) 0%, transparent 50%);
    background-attachment: fixed;
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
}

/* Skip Link for Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--gold);
    color: var(--obsidian);
    padding: 8px;
    text-decoration: none;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}

/* Navigation */
nav {
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

body.light-mode nav {
    background-color: rgba(255, 255, 255, 0.95);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-container img {
    height: 40px;
    width: auto;
}

.logo-text {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--gold);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
}

.nav-link:hover,
.nav-link:focus {
    color: var(--gold);
}

.nav-link.active {
    color: var(--gold);
    border-bottom: 2px solid var(--gold);
}

/* Dark Mode Toggle */
.dark-mode-toggle {
    background: none;
    border: 1px solid var(--border);
    color: var(--gold);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.dark-mode-toggle:hover {
    background-color: var(--gold);
    color: var(--obsidian);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: 1px solid var(--border);
    color: var(--gold);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.5rem;
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: rgba(10, 10, 10, 0.98);
        flex-direction: column;
        gap: 0;
        padding: 1rem;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    body.light-mode .nav-links {
        background-color: rgba(255, 255, 255, 0.98);
    }

    .nav-links.active {
        max-height: 500px;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
        padding: 0.5rem 0;
    }

    .nav-link {
        display: block;
        padding: 1rem;
        color: var(--text);
    }

    .dark-mode-toggle {
        margin-top: 1rem;
    }
}

/* Hero Section with Background Image and Parallax */
.hero {
    text-align: center;
    padding: 6rem 2rem;
    position: relative;
    background-image: url('hero-patriotic.webp.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.95) 0%, rgba(10, 10, 10, 0.7) 50%, rgba(10, 10, 10, 0.95) 100%);
    z-index: 1;
}

body.light-mode .hero::before {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.7) 50%, rgba(255, 255, 255, 0.95) 100%);
}

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

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.25rem;
    color: #e0e0e0;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

body.light-mode .hero p {
    color: #2a2a2a;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.5);
}

@media (max-width: 768px) {
    .hero {
        background-attachment: scroll;
        padding: 4rem 1rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }
}

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

/* Card Styles */
.card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.1);
}

.card h2 {
    color: var(--gold);
    margin-bottom: 1rem;
    font-size: 1.75rem;
}

.card h3 {
    color: var(--gold);
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.card p {
    color: var(--text);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.card ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.card li {
    color: var(--text);
    margin-bottom: 0.5rem;
}

/* Service Cards */
.service-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

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

.service-card p {
    color: var(--text);
    margin-bottom: 1.5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    background-color: var(--gold);
    color: var(--obsidian);
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover,
.btn:focus {
    background-color: #c19b2e;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.mt-2 {
    margin-top: 1rem;
}

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

/* Footer */
footer {
    background-color: rgba(10, 10, 10, 0.95);
    color: var(--text);
    text-align: center;
    padding: 2rem;
    border-top: 1px solid var(--border);
    margin-top: 4rem;
}

body.light-mode footer {
    background-color: rgba(255, 255, 255, 0.95);
}

footer nav {
    margin-top: 1rem;
    background: none;
    border: none;
    padding: 0;
    position: static;
}

footer a {
    color: var(--gold);
    text-decoration: none;
    margin: 0 1rem;
    transition: color 0.3s ease;
}

footer a:hover,
footer a:focus {
    color: #c19b2e;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 2rem 1rem;
    }

    footer a {
        display: block;
        margin: 0.5rem 0;
    }
}

/* Accessibility */
*:focus {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}
/* Logo dark mode inversion */
body:not(.light-mode) .logo-container img {
    filter: invert(1);
}

body.light-mode .logo-container img {
    filter: invert(0);
}
