/* CSS Variables */
:root {
    --primary-color: #006AA7;
    --secondary-color: #FECC00;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --white: #fff;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: var(--primary-color);
    color: var(--white);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    color: var(--white);
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
}

.logo h1 span {
    color: var(--secondary-color);
}

/* Navigation */
.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links > li {
    position: relative;
}

.nav-links a {
    color: var(--white);
    padding: 10px 0;
    transition: var(--transition);
    font-weight: 500;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--secondary-color);
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 180px;
    box-shadow: var(--shadow);
    border-radius: 4px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    border-bottom: 1px solid #eee;
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.dropdown-menu a {
    display: block;
    padding: 12px 15px;
    color: var(--text-color);
}

.dropdown-menu a:hover {
    background: var(--light-bg);
    color: var(--primary-color);
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color), #004d7a);
    color: var(--white);
    padding: 60px 20px;
    text-align: center;
}

.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.hero-content p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Map Section */
.map-section {
    padding: 40px 0;
    background: var(--light-bg);
}

.main-map {
    height: 500px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    z-index: 1;
}

.city-map {
    height: 450px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    margin-bottom: 20px;
}

.map-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.map-btn {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: var(--transition);
}

.map-btn:hover {
    background: #005a8a;
    transform: translateY(-2px);
}

.map-btn.active {
    background: var(--secondary-color);
    color: var(--text-color);
}

/* Info Section */
.info-section {
    padding: 60px 0;
}

.info-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: var(--primary-color);
}

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

.info-card {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.info-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.info-card p {
    color: #666;
}

/* Cities Section */
.cities-section {
    padding: 60px 0;
    background: var(--light-bg);
}

.cities-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: var(--primary-color);
}

.cities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.city-card {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: block;
}

.city-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.city-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.city-card h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.city-card p {
    color: #666;
    font-size: 0.95rem;
}

/* Map Types Section */
.map-types-section {
    padding: 60px 0;
}

.map-types-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: var(--primary-color);
}

.map-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.map-type-card {
    background: var(--white);
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: block;
}

.map-type-card:hover {
    transform: translateX(5px);
    border-left-color: var(--secondary-color);
}

.map-type-card h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.map-type-card p {
    color: #666;
    font-size: 0.95rem;
}

/* SEO Content Section */
.seo-content {
    padding: 60px 0;
    background: var(--light-bg);
}

.seo-content h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: var(--primary-color);
}

.seo-content article {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.seo-content h3 {
    color: var(--primary-color);
    margin: 25px 0 15px;
    font-size: 1.3rem;
}

.seo-content h3:first-child {
    margin-top: 0;
}

.seo-content p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 15px;
}

/* City Info Section */
.city-info {
    padding: 60px 0;
}

.city-info h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: var(--primary-color);
}

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

.city-detail-card {
    background: var(--white);
    padding: 25px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.city-detail-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 10px;
}

.city-detail-card ul {
    color: #666;
}

.city-detail-card li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.city-detail-card li:last-child {
    border-bottom: none;
}

/* Attractions List */
.attractions-list {
    padding: 60px 0;
    background: var(--light-bg);
}

.attractions-list h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: var(--primary-color);
}

.attractions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.attraction-card {
    background: var(--white);
    padding: 25px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.attraction-card:hover {
    transform: translateY(-5px);
}

.attraction-card h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.attraction-card p {
    color: #666;
    font-size: 0.95rem;
}

/* Related Pages */
.related-pages {
    padding: 60px 0;
}

.related-pages h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: var(--primary-color);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.related-link {
    display: block;
    background: var(--white);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow);
    color: var(--primary-color);
    font-weight: 500;
    transition: var(--transition);
}

.related-link:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Breadcrumbs */
.breadcrumbs {
    background: var(--light-bg);
    padding: 15px 0;
    border-bottom: 1px solid #ddd;
}

.breadcrumbs ul {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.breadcrumbs li {
    color: #666;
}

.breadcrumbs li::after {
    content: '/';
    margin-left: 10px;
    color: #999;
}

.breadcrumbs li:last-child::after {
    display: none;
}

.breadcrumbs a {
    color: var(--primary-color);
}

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

/* Footer */
.footer {
    background: #222;
    color: var(--white);
    padding: 50px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #bbb;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 20px;
    text-align: center;
    color: #999;
}

.footer-bottom a {
    color: var(--secondary-color);
}

/* Map Legend */
.map-legend {
    background: var(--white);
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    margin-top: 20px;
}

.map-legend h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.legend-items {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.legend-marker {
    width: 15px;
    height: 15px;
    border-radius: 50%;
}

.legend-marker.city {
    background: var(--primary-color);
}

.legend-marker.attraction {
    background: #e74c3c;
}

.legend-marker.landmark {
    background: #27ae60;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--primary-color);
        flex-direction: column;
        gap: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav-links.active {
        max-height: 500px;
    }

    .nav-links > li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-links > li > a {
        display: block;
        padding: 15px 20px;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        background: rgba(0, 0, 0, 0.1);
        border-radius: 0;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
    }

    .dropdown:hover .dropdown-menu,
    .dropdown.active .dropdown-menu {
        display: block;
    }

    .dropdown-menu a {
        color: var(--white);
        padding-left: 40px;
    }

    .dropdown-menu a:hover {
        background: rgba(255, 255, 255, 0.1);
        color: var(--secondary-color);
    }

    .hero-content h2 {
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .main-map,
    .city-map {
        height: 350px;
    }

    .info-section h2,
    .cities-section h2,
    .map-types-section h2,
    .seo-content h2,
    .city-info h2,
    .attractions-list h2,
    .related-pages h2 {
        font-size: 1.5rem;
    }

    .seo-content article {
        padding: 25px;
    }

    .footer-grid {
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 1.4rem;
    }

    .hero {
        padding: 40px 15px;
    }

    .hero-content h2 {
        font-size: 1.5rem;
    }

    .map-controls {
        flex-direction: column;
        align-items: center;
    }

    .map-btn {
        width: 100%;
        max-width: 250px;
    }

    .info-card,
    .city-card,
    .map-type-card,
    .city-detail-card,
    .attraction-card {
        padding: 20px;
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .map-controls,
    .mobile-menu-toggle {
        display: none;
    }

    .main-map,
    .city-map {
        height: 400px;
        page-break-inside: avoid;
    }

    body {
        font-size: 12pt;
    }
}
