:root {
    --primary-color: #D90429; /* A strong red accent */
    --secondary-color: #2B2D42; /* Dark slate blue */
    --text-color: #222;
    --background-color: #f8f9fa;
    --card-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
}

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    color: var(--text-color);
    background-color: var(--background-color);
    line-height: 1.6;
}

h1, h2, h3 {
    font-weight: 600;
}

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

/* Header and Navbar */
header {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 70px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: var(--secondary-color);
    font-weight: 600;
    transition: color 0.3s ease;
}

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

/* Hero Section */
.hero {
    height: 60vh;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('hero-background.png');
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

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

.search-bar {
    display: flex;
    justify-content: center;
    max-width: 600px;
    margin: 0 auto;
}

.search-bar input {
    width: 100%;
    padding: 15px 20px;
    border: none;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    font-size: 1rem;
}

.search-bar button {
    padding: 15px 25px;
    border: none;
    background-color: var(--primary-color);
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    transition: background-color 0.3s ease;
}

.search-bar button:hover {
    background-color: #b80021;
}

/* Page Hero Section */
.page-hero {
    height: 40vh;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 0 20px;
}

.page-hero h1 {
    font-size: 3rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}

.content-section {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 20px;
}

.content-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

/* Featured Guides Section */
.featured-guides {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 20px;
    text-align: center;
}

.featured-guides h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: #fff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-content {
    padding: 20px;
}

.card-content h3 {
    margin-top: 0;
}

/* Make card links behave correctly */
.card-link {
    text-decoration: none;
    color: inherit;
}

/* Interactive Map Section */
.interactive-map-section {
    text-align: center;
    padding: 4rem 20px;
    background: #fff;
}

.interactive-map-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.interactive-map-section p {
    max-width: 600px;
    margin: 0 auto 2rem auto;
}

#map-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

#map-container svg {
    width: 100%;
    height: auto;
    stroke: #fff;
    stroke-width: 1;
}

.region {
    fill: #adb5bd;
    transition: fill 0.3s ease;
    cursor: pointer;
}

.region:hover {
    fill: var(--primary-color);
}

#map-tooltip {
    position: absolute;
    background: var(--secondary-color);
    color: white;
    padding: 8px 12px;
    border-radius: var(--border-radius);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
    font-weight: 600;
    transform: translate(-50%, -100%);
    white-space: nowrap;
}

#map {
    width: 100%;
    height: 560px;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
}

.custom-attrib {
    background: rgba(255,255,255,0.9);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    color: #555;
}

/* Article Page Specifics */
.article-content {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 2rem 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
}

.article-content h2 {
    font-size: 2.2rem;
    margin-top: 0;
}

.article-content h3 {
    font-size: 1.6rem;
    margin-top: 2rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

.article-content p, .article-content ul, .article-content li {
    font-size: 1.1rem;
    line-height: 1.8;
}

.article-content ul {
    padding-left: 20px;
}

.article-content a {
    text-decoration: underline;
}

/* Footer */
footer {
    background: var(--secondary-color);
    color: #ccc;
    text-align: center;
    padding: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* Simple hide for now, could be a hamburger menu */
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .search-bar {
        flex-direction: column;
    }
    .search-bar input, .search-bar button {
        border-radius: var(--border-radius);
    }
     .search-bar button {
        margin-top: 10px;
    }
}