
:root {
    --primary: #1b3a2b;
    --primary-light: #2d5a43;
    --primary-dark: #0f241a;
    --accent: #dcae1d;
    --accent-light: #fcd55c;
    --bg: #f9f8f4;
    --bg-card: #ffffff;
    --text: #2c3e35;
    --text-muted: #627b6e;
    --border: #e2e8e4;
    --shadow: rgba(27, 58, 43, 0.05);
    --shadow-hover: rgba(27, 58, 43, 0.12);
    --font-sans: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: var(--font-sans);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Header & Navigation */
header {
    background: rgba(27, 58, 43, 0.95);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--accent);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.25rem;
}

.logo span {
    color: var(--accent);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

nav a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--accent);
}

/* Main Container */
main {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: #ffffff;
    border-radius: 16px;
    padding: 3.5rem 2rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow);
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle, rgba(220,174,29,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero h1 {
    font-size: 2.75rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.hero p {
    font-size: 1.15rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    color: #cbdad1;
}

/* Interactive Wizard Tool */
.wizard-card {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 2rem;
    max-width: 650px;
    margin: -4rem auto 3rem;
    box-shadow: 0 8px 32px var(--shadow-hover);
    border: 1px solid var(--border);
    position: relative;
    z-index: 10;
}

.wizard-card h2 {
    font-size: 1.35rem;
    margin-bottom: 1.25rem;
    color: var(--primary);
    text-align: center;
}

.search-group {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.select-wrapper {
    flex-grow: 1;
}

select, input[type="text"] {
    width: 100%;
    padding: 0.85rem 1rem;
    border-radius: 8px;
    border: 2px solid var(--border);
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--text);
    background-color: var(--bg);
    outline: none;
    transition: border-color 0.3s;
}

select:focus, input[type="text"]:focus {
    border-color: var(--primary);
}

.btn {
    background: var(--accent);
    color: var(--primary-dark);
    border: none;
    padding: 0.85rem 1.5rem;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: background 0.3s, transform 0.1s;
}

.btn:hover {
    background: var(--accent-light);
    transform: translateY(-1px);
}

.wizard-result {
    display: none;
    border-top: 1px solid var(--border);
    padding-top: 1.5rem;
    margin-top: 1rem;
}

.result-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.badge-prohibited { background: #fee2e2; color: #991b1b; }
.badge-allowed { background: #dcfce7; color: #166534; }
.badge-discretion { background: #fef9c3; color: #854d0e; }
.badge-permit { background: #dbeafe; color: #1e40af; }

.result-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.result-item h4 {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

.result-item p {
    font-weight: 600;
    color: var(--primary-dark);
}

.result-details {
    background: var(--bg);
    padding: 1rem;
    border-radius: 8px;
    font-size: 0.95rem;
    border-left: 4px solid var(--primary);
}

/* Grids and Layouts */
.section-title {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
    position: relative;
    padding-bottom: 0.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--accent);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.card {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 1.75rem;
    border: 1px solid var(--border);
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 6px var(--shadow);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px var(--shadow-hover);
    border-color: var(--primary-light);
}

.card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--primary-dark);
}

.card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    flex-grow: 1;
    margin-bottom: 1rem;
}

.card-footer {
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.9rem;
}

/* Page Contents (States & Guides) */
.page-header {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: #ffffff;
    padding: 3rem 2rem;
    border-radius: 16px;
    margin-bottom: 2rem;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.page-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2.5rem;
}

.content-area {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 2.5rem;
    border: 1px solid var(--border);
    box-shadow: 0 4px 6px var(--shadow);
}

.content-area h2 {
    color: var(--primary);
    margin: 2rem 0 1rem;
    font-size: 1.5rem;
}

.content-area p {
    margin-bottom: 1.25rem;
    font-size: 1.05rem;
}

.content-area ul, .content-area ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.content-area li {
    margin-bottom: 0.5rem;
}

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.widget {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid var(--border);
    box-shadow: 0 4px 6px var(--shadow);
}

.widget h3 {
    font-size: 1.15rem;
    margin-bottom: 1rem;
    color: var(--primary);
    border-bottom: 2px solid var(--border);
    padding-bottom: 0.5rem;
}

.status-box {
    text-align: center;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.state-quick-info {
    list-style: none;
}

.state-quick-info li {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.95rem;
}

.state-quick-info li strong {
    color: var(--primary-dark);
}

.disclaimer {
    background: #fef3c7;
    border-left: 4px solid var(--accent);
    color: #92400e;
    padding: 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    margin-top: 2rem;
}

/* FAQ System */
.faq-section {
    margin-top: 3rem;
}

.faq-item {
    margin-bottom: 1.25rem;
    background: var(--bg);
    border-radius: 8px;
    border: 1px solid var(--border);
}

.faq-question {
    padding: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    padding: 1rem;
    border-top: 1px solid var(--border);
    background: var(--bg-card);
    border-radius: 0 0 8px 8px;
}

/* Footer styling */
footer {
    background: var(--primary-dark);
    color: #cbdad1;
    padding: 3rem 2rem 1.5rem;
    margin-top: 5rem;
    border-top: 4px solid var(--accent);
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-col h4 {
    color: #ffffff;
    margin-bottom: 1rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col a {
    color: #cbdad1;
    text-decoration: none;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--accent);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
    font-size: 0.85rem;
}

@media(max-width: 768px) {
    .nav-container { flex-direction: column; gap: 1rem; }
    .search-group { flex-direction: column; }
    .page-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2rem; }
}
