/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fafafa;
}

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

/* Mobile Header */
.mobile-header {
    display: block;
    background: linear-gradient(135deg, #4a90e2 0%, #7b68ee 100%);
    color: white;
}

.mobile-tagline {
    background: rgba(0, 0, 0, 0.1);
    padding: 1rem;
    text-align: center;
}

.mobile-tagline h2 {
    font-size: 1.1rem;
    font-weight: 400;
    margin: 0;
}

.mobile-nav .nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
}

.logo img {
    max-width: 150px;
    height: auto;
}

.menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    transition: all 0.3s ease;
    transform-origin: center;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.mobile-menu-content {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.mobile-menu-content.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.menu-section {
    margin-bottom: 2rem;
}

.menu-section h3 {
    color: #4a90e2;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 0.5rem;
}

.menu-section ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.5rem;
}

.menu-section a {
    color: #666;
    text-decoration: none;
    padding: 0.5rem 0;
    transition: color 0.3s;
}

.menu-section a:hover {
    color: #4a90e2;
}

/* Desktop Header */
.desktop-header {
    display: none;
    background: linear-gradient(135deg, #4a90e2 0%, #7b68ee 100%);
    color: white;
}

.header-tagline {
    background: rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    text-align: center;
}

.header-tagline h2 {
    font-size: 1.2rem;
    font-weight: 400;
}

.main-nav .nav-container {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 2rem;
    align-items: center;
    padding: 1rem 2rem;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links > a,
.dropdown > a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links > a:hover,
.dropdown > a:hover {
    color: #ffd700;
}

/* Search Section */
.search-container {
    display: flex;
    background: white;
    border-radius: 25px;
    padding: 0.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.search-input {
    flex: 1;
    border: none;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border-radius: 20px;
    outline: none;
    color: #333;
}

.search-btn {
    background: #4a90e2;
    color: white;
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    transition: background 0.3s;
}

.search-btn:hover {
    background: #357abd;
}

.search-by {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.9rem;
}

.search-nav {
    display: flex;
    gap: 1.5rem;
}

/* Tourism Section */
.tourism-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.history-btn:hover {
    background: rgba(255, 215, 0, 0.3);
}

/* Dropdown Styles */
.dropdown {
    position: relative;
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    color: #333;
    min-width: 200px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    padding: 1rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

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

.dropdown-content a {
    display: block;
    padding: 0.5rem 1rem;
    color: #666;
    text-decoration: none;
    transition: all 0.3s;
}

.dropdown-content a:hover {
    background: #f8f9fa;
    color: #4a90e2;
    padding-left: 1.5rem;
}

/* Cities Menu */
.cities-menu {
    min-width: 600px;
}

.cities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    padding: 1rem;
}

.city-column {
    display: flex;
    flex-direction: column;
}

/* Counties Menu */
.counties-menu {
    min-width: 700px;
    padding: 1.5rem;
}

.counties-menu {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.county-section h4 {
    color: #4a90e2;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 0.25rem;
}

.county-section {
    display: flex;
    flex-direction: column;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
}

.btn-primary {
    background: #ffd700;
    color: #333;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.btn-primary:hover {
    background: #ffed4a;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

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

/* Featured Sections */
.featured-sections {
    padding: 4rem 0;
    background: white;
}

.section-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    border-top: 4px solid #4a90e2;
}

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

.feature-card h3 {
    color: #333;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.card-link {
    color: #4a90e2;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.card-link:hover {
    color: #357abd;
}

/* Latest Resources */
.latest-resources {
    padding: 4rem 0;
    background: #f8f9fa;
}

.latest-resources h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 3rem;
    position: relative;
}

.latest-resources h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #4a90e2;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.resource-item {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.resource-item:hover {
    transform: translateY(-3px);
}

.resource-item h4 {
    margin-bottom: 1rem;
}

.resource-item h4 a {
    color: #333;
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.3s;
}

.resource-item h4 a:hover {
    color: #4a90e2;
}

.resource-item p {
    color: #666;
    line-height: 1.6;
}

/* Footer */
footer {
    background: #2c3e50;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h3 {
    color: #ffd700;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section ul {
    list-style: none;
}

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

.footer-section a {
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #ffd700;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    text-align: center;
    padding: 1rem 2rem;
    margin-top: 2rem;
    color: #95a5a6;
}

/* Responsive Design */
@media (min-width: 768px) {
    .mobile-header {
        display: none;
    }
    
    .desktop-header {
        display: block;
    }
    
    .hero-content h1 {
        font-size: 3.5rem;
    }
    
    .hero-buttons {
        gap: 2rem;
    }
}

@media (max-width: 767px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .section-grid {
        grid-template-columns: 1fr;
    }
    
    .resources-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero {
        padding: 2rem 1rem;
    }
    
    .featured-sections,
    .latest-resources {
        padding: 2rem 0;
    }
    
    .feature-card,
    .resource-item {
        padding: 1.5rem;
    }
    
    .mobile-menu-content {
        padding: 1rem;
    }
    
    .menu-section ul {
        grid-template-columns: 1fr;
    }
}

/* Animation for smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
a:focus,
button:focus,
input:focus {
    outline: 2px solid #4a90e2;
    outline-offset: 2px;
}

/* Loading animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card,
.resource-item {
    animation: fadeIn 0.6s ease-out;
}

/* Additional hover effects */
.logo img {
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #4a90e2;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #357abd;
}-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    text-decoration: none;
    background: rgba(255, 215, 0, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: background 0.3s;
}

