/* Global CSS Variables for Dark Theme */
:root {
    --primary-color: #2F9E44;
    /* Tactical Green */
    --accent-color: #F08C00;
    /* Safety Orange */
    --bg-dark: #1A1A1A;
    --bg-darker: #121212;
    --text-light: #F8F9FA;
    --text-muted: #ADB5BD;
    --font-heading: 'Roboto', sans-serif;
    /* Placeholder, will import */
    --font-body: 'Open Sans', sans-serif;
    /* Placeholder, will import */
    --transition-speed: 0.3s;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-light);
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-speed) ease;
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
}

.btn-primary:hover {
    background-color: #2b8a3e;
    transform: translateY(-2px);
}

.btn-accent {
    background-color: var(--accent-color);
    color: #fff;
}

.btn-accent:hover {
    background-color: #e67700;
    transform: translateY(-2px);
}

/* Navigation */
header {
    background-color: rgba(18, 18, 18, 0.95);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 60px;
    /* Adjust as needed based on header size */
    width: auto;
    transition: transform var(--transition-speed);
}

.logo a:hover img {
    transform: scale(1.05);
}

.logo-text {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-light);
    letter-spacing: 1px;
    margin-left: 10px;
    text-transform: uppercase;
}

/* Hide text on small screens if needed, or adjust size */
@media (max-width: 480px) {
    .logo-text {
        font-size: 0.9rem;
    }
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-light);
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../img/hero-bg.jpg');
    /* Placeholder image */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding-top: 80px;
    /* Offset for fixed header */
}

.hero-content {
    max-width: 800px;
    padding: 20px;
    animation: fadeIn 1s ease-out;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 30px;
    color: var(--text-muted);
}

/* Sections */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* About Section */
#about {
    background-color: var(--bg-darker);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.about-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

/* Footer */
footer {
    background-color: var(--bg-darker);
    padding: 4rem 0 2rem;
    border-top: 1px solid #333;
    text-align: center;
}

.social-links {
    margin-bottom: 2rem;
}

.social-links a {
    font-size: 1.5rem;
    margin: 0 1rem;
    color: var(--text-muted);
}

.social-links a:hover {
    color: var(--primary-color);
}

.copyright {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Calendar Wrapper handled in calendar.css */
/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Navigation */
.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(18, 18, 18, 0.98);
        padding: 20px 0;
        text-align: center;
        border-top: 1px solid #333;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 15px 0;
    }

    .hamburger {
        display: block;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .logo img {
        height: 40px;
    }

    .logo-text {
        font-size: 0.9rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }
}

/* Calendar Reponsive Styles */
@media (max-width: 600px) {
    .calendar-day {
        min-height: 80px;
        padding: 5px;
    }

    .calendar-day-header {
        font-size: 0.7rem;
        padding: 5px;
    }

    .calendar-event {
        font-size: 0.6rem;
        padding: 2px 4px;
    }

    /* Hide long event names on very small screens if needed, or truncate more */
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    height: 250px;
    border: 1px solid #333;
    transition: transform var(--transition-speed);
}

.gallery-item:hover {
    transform: scale(1.02);
    border-color: var(--primary-color);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Table Styles */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
    background-color: var(--bg-darker);
    border-radius: 8px;
    overflow: hidden;
}

th,
td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #333;
}

th {
    background-color: var(--primary-color);
    color: #fff;
    font-weight: 600;
}

tr:last-child td {
    border-bottom: none;
}

tr:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

/* Membership Styles */
.step {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 5px;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--accent-color);
}