/* CSS Design System for Troop 93 Website */

:root {
    /* Colors */
    --primary: #11d411;
    --primary-alt: #13ec5b;
    --forest: #0d1b12;
    --moss: #4c9a66;
    --khaki: #eef2ed;
    --background-light: #f6f8f6;
    --background-dark: #102216;
    --white: #ffffff;
    --slate-800: #1e293b;
    --slate-600: #475569;
    --slate-500: #64748b;
    --primary-light: #dcfce7;
    --moss-light: #ecfdf5;
    --moss-dark: #064e3b;
    --slate-400: #94a3b8;

    /* Fonts */
    --font-display: 'Plus Jakarta Sans', sans-serif;

    /* Spacing & Borders */
    --radius-lg: 0.5rem;
    --radius-xl: 0.75rem;
    --radius-2xl: 1rem;
    --radius-3xl: 1.5rem;
    --radius-full: 9999px;

    --container-max: 80rem;
    /* 1280px */
}

/* Base Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-display);
    background-color: var(--background-light);
    color: var(--forest);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.1;
    font-weight: 800;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* Layout Utilities */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-padding {
    padding: 5rem 0;
}

.hidden {
    display: none;
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.justify-center {
    justify-content: center;
}

.gap-2 {
    gap: 0.5rem;
}

.gap-3 {
    gap: 0.75rem;
}

.gap-4 {
    gap: 1rem;
}

.gap-6 {
    gap: 1.5rem;
}

.gap-8 {
    gap: 2rem;
}

.gap-10 {
    gap: 2.5rem;
}

.gap-12 {
    gap: 3rem;
}

.grid {
    display: grid;
}

.grid-cols-1 {
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .md-flex {
        display: flex !important;
    }

    .md-hidden {
        display: none !important;
    }

    .md-grid-cols-2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .md-grid-cols-3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .md-flex-row {
        flex-direction: row;
    }
}

@media (min-width: 1024px) {
    .lg-grid-cols-3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .lg-grid-cols-4 {
        grid-template-columns: repeat(4, 1fr);
    }

    .lg-grid-cols-12 {
        grid-template-columns: repeat(12, 1fr);
    }

    .lg-col-span-7 {
        grid-column: span 7;
    }

    .lg-col-span-5 {
        grid-column: span 5;
    }
}

/* Glass Header */
header {
    background: rgba(246, 248, 246, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(13, 27, 18, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

header.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--forest);
}

.nav-link:hover {
    color: var(--primary);
}

/* Hero Section */
.hero {
    position: relative;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: var(--white);
    text-align: center;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(13, 27, 18, 0.6), rgba(13, 27, 18, 0.4));
    z-index: -1;
}

/* Components */
.btn-primary {
    background-color: var(--primary);
    color: var(--forest);
    padding: 1rem 2rem;
    border-radius: var(--radius-xl);
    font-weight: 800;
    font-size: 1.125rem;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    box-shadow: 0 20px 25px -5px rgba(17, 212, 17, 0.2);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1rem 2rem;
    border-radius: var(--radius-xl);
    font-weight: 800;
    font-size: 1.125rem;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Card Styles */
.card {
    background: var(--white);
    border-radius: var(--radius-2xl);
    border: 1px solid rgba(13, 27, 18, 0.05);
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05);
}

/* Footer */
footer {
    background-color: var(--forest);
    color: var(--white);
    padding: 5rem 0 3rem;
}

.footer-link {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

.footer-link:hover {
    color: var(--primary);
}


/* Details/Summary Styles (Board of Review Style) */
details.card {
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

details.card[open] {
    background-color: var(--white);
    /* Ensure background is solid when open */
}

summary {
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--forest);
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

summary::-webkit-details-marker {
    display: none !important;
}

/* Hide marker in other browsers */
details>summary {
    list-style: none;
}

details[open] summary .material-symbols-outlined {
    transform: rotate(180deg);
    transition: transform 0.3s ease;
}

details summary .material-symbols-outlined {
    transition: transform 0.3s ease;
}

.details-content {
    margin-top: 1.5rem;
    padding-left: 1.5rem;
    border-left: 2px solid var(--primary-light);
}

.details-content ul {
    list-style: disc;
    /* Changed from list-style-type to explicitly set style */
    margin-left: 1rem;
    padding-left: 1rem;
    color: var(--primary);
}

.details-content li {
    color: var(--slate-600);
    margin-bottom: 0.5rem;
}