/* styles.css */

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

body {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    background-color: #ffffff;
    color: #333333;
    line-height: 1.6;
    font-size: 16px;
}

a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s ease;
}

a:hover {
    color: #777;
}

/* Layout Helfer */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    background-color: #fff;
    border-bottom: 1px solid #eee;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

/* Logo Styles */
.logo-link {
    display: flex;
    align-items: center;
}

.site-logo {
    height: 50px; 
    width: auto;
    display: block;
}

.back-link {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Main Content */
.content-wrapper {
    padding: 60px 20px;
}

h1, h2 {
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    text-align: center;
}

h1 { font-size: 2.5rem; margin-bottom: 10px; }
h2 { font-size: 1.8rem; }

.lead {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 40px;
    font-style: italic;
}

.text-block {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.text-block p {
    margin-bottom: 20px;
}

/* Kleiner Flyer im Text */
.flyer-small-container {
    text-align: center;
    margin: 40px auto;
}

.flyer-small-container img {
    max-width: 100%;
    width: 350px;
    height: auto;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 1px solid #f0f0f0;
}

/* NEU: Abstand für die Social Icons unter dem Flyer */
.flyer-socials {
    margin-top: 20px;
}

.divider {
    border: 0;
    height: 1px;
    background: #eee;
    margin: 60px auto;
    max-width: 200px;
}

/* Gallery Grid */
.gallery-section h2 {
    margin-bottom: 40px;
}

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

.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 1 / 1;
    background-color: #f9f9f9;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.loader {
    grid-column: 1 / -1;
    text-align: center;
    padding: 20px;
    color: #999;
}

/* Footer */
.site-footer {
    background-color: #f4f4f4;
    padding: 40px 0;
    text-align: center;
    margin-top: 60px;
}

.social-icons {
    margin-bottom: 20px;
}

/* Buttons Design (Pink) */
.social-icons a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    margin: 0 10px;
    border-radius: 50%;
    transition: all 0.3s ease;
    
    /* Standard: Pinker Rahmen und Icon */
    border: 1px solid #ff007f; 
    color: #ff007f;
}

.social-icons a:hover {
    /* Hover: Pinker Hintergrund, weißes Icon */
    background-color: #ff007f;
    border-color: #ff007f;
    color: #fff;
}

.site-footer p {
    font-size: 0.8rem;
    color: #888;
}

/* Lightbox (Modal) */
.lightbox {
    display: none; 
    position: fixed; 
    z-index: 1000; 
    padding-top: 60px; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgba(0,0,0,0.9); 
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 85vh;
    animation-name: zoom;
    animation-duration: 0.3s;
}

@keyframes zoom {
    from {transform:scale(0.8); opacity: 0;} 
    to {transform:scale(1); opacity: 1;}
}

.close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 1001;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    .header-flex {
        flex-direction: column;
        gap: 15px;
    }
    .site-logo {
        height: 40px;
    }
    .flyer-small-container img {
        width: 100%;
        max-width: 300px;
    }
}

