:root {
    --primary: #005D8A;
    --primary-dark: #00456B;
    --secondary: #FFC107;
    --secondary-dark: #E6AD00;
    --light: #F8F9FA;
    --dark: #212529;
    --gray: #6C757D;
    --light-gray: #E9ECEF;
    --white: #FFFFFF;
    --success: #28A745;
    --blue-accent: #0074D9;
    --accent-pink: #E83E8C;
    --accent-teal: #20C997;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--dark);
    background-color: var(--light);
    line-height: 1.6;
}

/* Modern Header */
.site-header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1030;
}

.site-header .navbar-brand {
    font-weight: 700;
    color: var(--primary);
}

.site-header .nav-link {
    color: var(--dark);
    font-weight: 500;
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.site-header .nav-link:hover {
    background-color: var(--light-gray);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(0,93,138,0.9) 0%, rgba(29,53,87,0.9) 100%);
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 4rem 0;
    margin-bottom: 3rem;
    position: relative;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero h1 {
    font-weight: 800;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* TOC */
.toc {
    background-color: var(--light);
    border-radius: 8px;
    padding: 1.5rem 2rem;
    margin-bottom: 2rem;
}

.toc h2 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.toc ol {
    margin-bottom: 0;
    padding-left: 1.25rem;
}

.toc li {
    margin-bottom: 0.4rem;
}

.toc a {
    color: var(--primary);
    text-decoration: none;
}

.toc a:hover {
    text-decoration: underline;
}

/* Content Sections */
.content-section {
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    padding: 2rem;
    margin-bottom: 2rem;
}

.content-section h2 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.content-section h3 {
    color: var(--primary-dark);
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

/* Insider Tip Cards */
.insider-card {
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin-bottom: 2rem;
    overflow: hidden;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.insider-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.insider-card-img {
    height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.insider-card-content {
    padding: 1.5rem;
}

.insider-card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--accent-pink);
    color: white;
    font-weight: 600;
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
    border-radius: 30px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Quick Facts */
.quick-facts {
    background-color: var(--light);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.quick-fact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.quick-fact-icon {
    font-size: 1.2rem;
    color: var(--primary);
    margin-right: 0.75rem;
    flex-shrink: 0;
}

/* Images */
.img-feature {
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin: 1.5rem 0;
    max-width: 100%;
    height: auto;
}

.img-credit {
    font-size: 0.75rem;
    color: var(--gray);
    text-align: right;
    margin-top: -1rem;
    margin-bottom: 1rem;
}

/* Seasonal Timeline */
.seasonal-timeline {
    list-style: none;
    padding: 0;
    position: relative;
}

.seasonal-timeline:before {
    content: " ";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 20px;
    width: 3px;
    background-color: var(--light-gray);
    z-index: 0;
}

.seasonal-item {
    margin-bottom: 25px;
    position: relative;
    padding-left: 50px;
}

.seasonal-badge {
    position: absolute;
    left: 10px;
    width: 20px;
    height: 20px;
    background-color: var(--primary);
    border-radius: 50%;
    z-index: 1;
}

.seasonal-content {
    padding: 1rem;
    background-color: var(--light);
    border-radius: 8px;
}

.seasonal-badge.spring { background-color: var(--accent-teal); }
.seasonal-badge.summer { background-color: var(--secondary); }
.seasonal-badge.autumn { background-color: var(--accent-pink); }
.seasonal-badge.winter { background-color: var(--blue-accent); }

/* FAQ Section */
.faq-item {
    background-color: var(--white);
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.faq-question {
    padding: 1.25rem;
    background-color: var(--light);
    cursor: pointer;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    padding: 0 1.25rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer.show {
    padding: 1.25rem;
    max-height: 500px;
}

/* CTA Buttons */
.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.btn-secondary {
    background-color: var(--secondary);
    border-color: var(--secondary);
    color: var(--dark);
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    background-color: var(--secondary-dark);
    border-color: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

/* Map */
#insider-map {
    background-color: #f8f9fa;
    border: 1px solid #eee;
}

.popup-content {
    max-width: 250px;
}

.filter-btn.active {
    font-weight: 600;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background-color: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    text-decoration: none;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 1000;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    border: none;
}

.back-to-top.show { opacity: 1; }
.back-to-top:hover {
    transform: translateY(-5px);
    color: var(--white);
}

/* Sticky CTA */
.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    padding: 1rem;
    box-shadow: 0 -5px 15px rgba(0,0,0,0.1);
    z-index: 999;
    display: flex;
    justify-content: center;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.sticky-cta.show { transform: translateY(0); }

/* Footer */
.site-footer {
    background-color: var(--primary);
    color: var(--white);
    padding: 4rem 0 2rem;
    margin-top: 3rem;
}

.site-footer a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.2s ease;
}

.site-footer a:hover {
    color: var(--white);
    text-decoration: underline;
}

.footer-links h5 {
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li { margin-bottom: 0.5rem; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    margin-top: 2rem;
    font-size: 0.9rem;
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

:focus {
    outline: 3px solid rgba(0,93,138,0.5);
    outline-offset: 2px;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary);
    color: white;
    padding: 8px;
    z-index: 9999;
    transition: top 0.3s ease;
}

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

@media (forced-colors: active) {
    .btn:focus,
    .form-control:focus,
    a:focus {
        outline: 3px solid SelectedItem;
    }
}

/* Responsive */
@media (max-width: 992px) {
    .hero h1 { font-size: 2rem; }
    .content-section { padding: 1.5rem; }
    .insider-card-img { height: 180px; }
}

@media (max-width: 768px) {
    .hero { padding: 3rem 0; }
    .hero h1 { font-size: 1.8rem; }
    .seasonal-timeline:before { left: 15px; }
    .seasonal-item { padding-left: 40px; }
    .seasonal-badge { left: 5px; }
    #insider-map { height: 350px !important; }
    .filter-btn { margin-top: 0.5rem; }
}

@media (max-width: 576px) {
    .hero { padding: 2rem 0; }
    .hero h1 { font-size: 1.5rem; }
    .content-section { padding: 1.25rem; }
    .insider-card-img { height: 160px; }
    .btn-primary, .btn-secondary, .btn-outline {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    .back-to-top {
        bottom: 5rem;
        right: 1rem;
        width: 2.5rem;
        height: 2.5rem;
    }
}
