/* Reset und Basis-Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

/* Header und Navigation */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

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

.nav-logo h1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #2D5016;
    font-size: 1.5rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #FF6B35;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 20px 50px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.hero-content {
    flex: 1;
    max-width: 600px;
    margin-right: 2rem;
}

.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: #2D5016;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
    color: white;
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.4);
}

/* Sections */
.section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #2D5016;
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    text-align: center;
    margin-bottom: 3rem;
}

/* Regionen Section */
.regionen {
    padding: 80px 0;
    background: #fff;
}

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

.region-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.region-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f0f0f0;
}

.region-header h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #2D5016;
}

.park-count {
    background: #FF6B35;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.region-parks {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.park-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    border-radius: 15px;
    background: #f8f9fa;
    cursor: pointer;
    transition: all 0.3s ease;
}

.park-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.park-item img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 10px;
    margin-right: 1rem;
}

.park-info h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: #2D5016;
    margin-bottom: 0.5rem;
}

.park-info p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.park-distance {
    color: #FF6B35;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Wetter Section */
.wetter {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.wetter .section-title,
.wetter .section-subtitle {
    color: white;
}

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

.weather-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

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

.weather-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    margin-bottom: 1rem;
}

.weather-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.weather-temp {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.weather-desc {
    color: rgba(255, 255, 255, 0.8);
}

/* Footer */
.footer {
    background: #2D5016;
    color: white;
    padding: 50px 0 20px;
}

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

.footer-section h3,
.footer-section h4 {
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 1rem;
    color: #FF6B35;
}

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

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

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

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 2rem;
    border-radius: 20px;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 15px;
}

.close:hover {
    color: #FF6B35;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 120px 20px 50px;
    }

    .hero-content {
        margin-right: 0;
        margin-bottom: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .regionen-grid {
        grid-template-columns: 1fr;
    }

    .weather-grid {
        grid-template-columns: 1fr;
    }

    .park-item {
        flex-direction: column;
        text-align: center;
    }

    .park-item img {
        margin-right: 0;
        margin-bottom: 1rem;
        width: 100%;
        height: 150px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .region-card {
        padding: 1.5rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.region-card,
.weather-card {
    animation: fadeInUp 0.6s ease forwards;
}

/* Hover Effects */
.park-item img {
    transition: transform 0.3s ease;
}

.park-item:hover img {
    transform: scale(1.05);
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #e55a2b;
}


/* Maps & Videos Section */
.maps-videos {
    padding: 80px 0;
    background: #f8f9fa;
}

.maps-videos-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.maps-container,
.videos-container {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.maps-container h3,
.videos-container h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #2D5016;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Google Maps */
.google-map {
    width: 100%;
    height: 400px;
    border-radius: 15px;
    border: 2px solid #e9ecef;
}

/* YouTube Playlists */
.playlist-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.playlist-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.playlist-item:hover {
    transform: translateY(-5px);
}

.playlist-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    padding: 1rem;
    border-radius: 15px;
    background: #f8f9fa;
    transition: background 0.3s ease;
}

.playlist-link:hover {
    background: #e9ecef;
}

.playlist-thumbnail {
    position: relative;
    width: 120px;
    height: 68px;
    margin-right: 1rem;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
}

.playlist-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 0, 0, 0.8);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: background 0.3s ease;
}

.playlist-link:hover .play-button {
    background: rgba(255, 0, 0, 1);
}

.playlist-item h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: #2D5016;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.playlist-item p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
}

/* Responsive Design for Maps & Videos */
@media (max-width: 1024px) {
    .maps-videos-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .google-map {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .maps-container,
    .videos-container {
        padding: 1.5rem;
    }
    
    .playlist-link {
        flex-direction: column;
        text-align: center;
    }
    
    .playlist-thumbnail {
        margin-right: 0;
        margin-bottom: 1rem;
        width: 100%;
        height: 180px;
    }
    
    .google-map {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .maps-videos {
        padding: 60px 0;
    }
    
    .maps-container,
    .videos-container {
        padding: 1rem;
    }
    
    .playlist-thumbnail {
        height: 150px;
    }
}

/* Map Marker Styles */
.gm-style .gm-style-iw-c {
    border-radius: 10px;
    padding: 0;
}

.gm-style .gm-style-iw-d {
    overflow: hidden !important;
}

.map-info-window {
    padding: 1rem;
    max-width: 250px;
}

.map-info-window h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: #2D5016;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.map-info-window p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.map-info-window .info-price {
    color: #FF6B35;
    font-weight: 600;
}

.map-info-window .info-link {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.3rem 0.8rem;
    background: #FF6B35;
    color: white;
    text-decoration: none;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: background 0.3s ease;
}

.map-info-window .info-link:hover {
    background: #e55a2b;
}


/* Leaflet Map Styles */
.leaflet-container {
    font-family: 'Open Sans', sans-serif;
}

.custom-marker {
    background: transparent !important;
    border: none !important;
}

.leaflet-popup-content-wrapper {
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.leaflet-popup-content {
    margin: 0;
    padding: 0;
}

.map-info-window {
    padding: 1rem;
    max-width: 250px;
}

.map-info-window h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: #2D5016;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.map-info-window p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.map-info-window .info-link {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.3rem 0.8rem;
    background: #FF6B35;
    color: white;
    text-decoration: none;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: background 0.3s ease;
}

.map-info-window .info-link:hover {
    background: #e55a2b;
}

/* Leaflet control styling */
.leaflet-control-zoom a {
    background-color: white;
    border: 2px solid #ccc;
    color: #333;
}

.leaflet-control-zoom a:hover {
    background-color: #f8f9fa;
    border-color: #FF6B35;
}

.leaflet-control-attribution {
    background-color: rgba(255, 255, 255, 0.8);
    font-size: 0.7rem;
}

/* Map error state styling */
.map-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
}

.map-error h3 {
    color: #6c757d;
    margin-bottom: 1rem;
    font-family: 'Montserrat', sans-serif;
}

.map-error p {
    color: #6c757d;
    margin-bottom: 1.5rem;
}

.map-error button {
    background: #FF6B35;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    font-family: 'Open Sans', sans-serif;
    transition: background 0.3s ease;
}

.map-error button:hover {
    background: #e55a2b;
}

