/* Neue Stile für Tagesbeschreibung */
.day-description {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background-color: #f8f9fa;
    border-left: 3px solid #3498db;
    border-radius: 3px;
    font-style: italic;
    color: #555;
    line-height: 1.6;
}

.day-description p {
    margin: 0;
}

.day-description-modal {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eaeaea;
}

.day-description-modal h3 {
    font-size: 1.1rem;
    color: #3498db;
    margin-bottom: 0.5rem;
}

/* Zusätzliche Stile für Datumsgruppierung hinzufügen */
.dates-container {
    margin-top: 2rem;
}

.date-group {
    margin-bottom: 3rem;
}

.date-header {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #3498db;
    font-weight: 300;
}

/* Bestehende Stile beibehalten */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

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

h1 {
    text-align: center;
    margin-bottom: 2rem;
    color: #2c3e50;
    font-weight: 300;
    font-size: 2.5rem;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    grid-gap: 1.5rem;
}

.gallery-item {
    background: white;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    position: relative;
}

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

.gallery-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.gallery-info {
    padding: 1rem;
}

.gallery-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.gallery-description {
    font-size: 0.9rem;
    color: #7f8c8d;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
    display: flex;
    flex-direction: column;
    margin: 5% auto;
    width: 90%;
    max-width: 1000px;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
}

@media (min-width: 768px) {
    .modal-content {
        flex-direction: row;
        height: 80vh;
    }
}

.modal-image-container {
    flex: 3;
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer; /* Zeigt an, dass das Bild klickbar ist */
    position: relative;
}

.modal-image-container:hover::after {
    content: "Klicken für Vollbild";
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 0.8rem;
    opacity: 0.8;
}

.modal-image-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.modal-details {
    flex: 2;
    padding: 2rem;
    overflow-y: auto;
}

.close {
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 35px;
    color: white;
    z-index: 1100;
    cursor: pointer;
    text-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
}

#map {
    height: 200px;
    width: 100%;
    margin: 1rem 0;
    border-radius: 5px;
}

#imageMeta {
    font-size: 0.8rem;
    color: #7f8c8d;
    margin-top: 1rem;
}

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.gallery-item {
    animation: fadeIn 0.5s ease-in forwards;
}

.loading-indicator {
    text-align: center;
    padding: 2rem;
    grid-column: 1 / -1;
}

/* Vollbild-Modal Styles */
.fullscreen-modal {
    display: none;
    position: fixed;
    z-index: 1200; /* Höher als das normale Modal */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    cursor: pointer;
    animation: fadeIn 0.3s ease-out;
}

.fullscreen-image-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fullscreen-image-container img {
    max-width: 98%;
    max-height: 98%;
    object-fit: contain;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s ease-out;
}

.close-fullscreen {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: white;
    z-index: 1250;
    cursor: pointer;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.8);
}

@keyframes zoomIn {
    from { 
        transform: scale(0.95);
        opacity: 0;
    }
    to { 
        transform: scale(1);
        opacity: 1;
    }
}
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    right: 0; /* Ausrichtung rechts */
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {background-color: #f1f1f1}
.dropdown-content.show {
    display: block;
}


/* Zusätzliche Stile für die Startseite */

/* Hero-Bereich */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background: linear-gradient(135deg, #3498db, #2c3e50);
    background-size: cover;
    background-position: center;
    color: white;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    width: 100%;
}

/* Navigation */
.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.main-nav.scrolled {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 0.8rem 0;
}

.main-nav.scrolled .nav-link,
.main-nav.scrolled .logo {
    color: #2c3e50;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: white;
    padding-left: 2rem;
}

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

.nav-link {
    margin-left: 2rem;
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #3498db;
}

.signin-btn {
    margin-left: 2rem;
    background-color: white;
    color: #3498db;
    padding: 0.5rem 1.2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.signin-btn:hover {
    background-color: #3498db;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Hero-Content */
.hero-content {
    margin-top: 6rem;
    max-width: 800px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    padding: 2rem;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: white;
    font-weight: bold;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

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

.btn {
    padding: 0.8rem 2rem;
    border-radius: 30px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #3498db;
    color: white;
}

.btn-primary:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background-color: white;
    color: #3498db;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Features-Bereich */
.features-section {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 3rem;
    font-weight: 300;
}

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

.feature-card {
    background-color: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background-color: #3498db;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon i {
    font-size: 2rem;
    color: white;
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: #2c3e50;
}

.feature-card p {
    color: #7f8c8d;
}

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

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-logo h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

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

.footer-links a:hover {
    color: #3498db;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .main-nav {
        flex-direction: column;
        padding: 1rem 0;
    }

    .nav-links {
        margin-top: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-link {
        margin: 0.5rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}





/* Dark Mode Styles - Am Ende der style.css hinzufügen */
:root {
    --primary-color: #3498db;
    --secondary-color: #2c3e50;
    --text-color: #333;
    --bg-color: #f5f5f5;
    --card-bg: white;
    --card-shadow: rgba(0, 0, 0, 0.1);
    --header-bg: white;
    --header-shadow: rgba(0, 0, 0, 0.1);
    --footer-bg: #2c3e50;
    --footer-text: white;
    --hero-bg: linear-gradient(135deg, #3498db, #2c3e50);
    --hero-overlay: rgba(0, 0, 0, 0.3);
    --feature-bg: #f8f9fa;
    --feature-card-bg: white;
    --modal-bg: white;
    --modal-text: #333;
}

/* Dark Mode */
[data-theme="dark"] {
    --primary-color: #4facec;
    --secondary-color: #61dafb;
    --text-color: #ecf0f1;
    --bg-color: #121212;
    --card-bg: #1e1e1e;
    --card-shadow: rgba(0, 0, 0, 0.4);
    --header-bg: #1e1e1e;
    --header-shadow: rgba(0, 0, 0, 0.5);
    --footer-bg: #0a0a0a;
    --footer-text: #ecf0f1;
    --hero-bg: linear-gradient(135deg, #222, #000);
    --hero-overlay: rgba(0, 0, 0, 0.6);
    --feature-bg: #1a1a1a;
    --feature-card-bg: #2a2a2a;
    --modal-bg: #1e1e1e;
    --modal-text: #ecf0f1;
}

/* CSS-Variablen anwenden */
body {
    background-color: var(--bg-color);
    color: var(--text-color);
    transition: all 0.3s ease;
}

.hero {
    background: var(--hero-bg);
}

.hero-overlay {
    background-color: var(--hero-overlay);
}

.main-nav.scrolled {
    background-color: var(--header-bg);
    box-shadow: 0 2px 10px var(--header-shadow);
}

.main-nav.scrolled .nav-link,
.main-nav.scrolled .logo {
    color: var(--text-color);
}

.feature-card {
    background-color: var(--feature-card-bg);
    box-shadow: 0 4px 15px var(--card-shadow);
}

.features-section {
    background-color: var(--feature-bg);
}

.section-title {
    color: var(--text-color);
}

.gallery-item {
    background: var(--card-bg);
    box-shadow: 0 4px 15px var(--card-shadow);
}

.gallery-title {
    color: var(--text-color);
}

.modal-content {
    background-color: var(--modal-bg);
}

.modal-details {
    color: var(--modal-text);
}

.day-description {
    background-color: var(--feature-card-bg);
    color: var(--text-color);
}

/* Styles für den Umschalter */
.theme-switch-wrapper {
    position: fixed;
    z-index: 1100;
    right: 20px;
    bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--card-bg);
    box-shadow: 0 0 10px var(--card-shadow);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.theme-switch-wrapper:hover {
    transform: scale(1.1);
}

.theme-icon {
    font-size: 24px;
    color: var(--text-color);
    transition: all 0.3s ease;
}

/* Styles für das Modal im Dark Mode */
[data-theme="dark"] .modal-content {
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.8);
}

[data-theme="dark"] .modal-image-container {
    background-color: #000;
}

[data-theme="dark"] .gallery-description {
    color: #aaa;
}

[data-theme="dark"] #imageMeta {
    color: #aaa;
}

.main-footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
}