/**
 * Theme1 Info-Box Styles
 * Frontend-Stile für den Informationsblock
 */

/* Google Fonts einbinden */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200;300;400;500;600;700&display=swap');

.wp-block-theme1-info-box {
    position: relative;
    margin: 2rem 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.theme1-info-box-inner {
    padding: 0;
}

.theme1-info-box-header {
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.theme1-info-box-title {
    font-family: 'Oswald', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.theme1-info-box-date {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 6px;
}

.theme1-info-box-content {
    padding: 2rem;
}

.theme1-info-box-entrance {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.theme1-info-box-entrance-time,
.theme1-info-box-entrance-fee {
    display: flex;
    flex-direction: column;
}

.theme1-info-box-label {
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.theme1-info-box-value {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
}

.theme1-info-box-events {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.theme1-info-box-event {
    display: flex;
    margin-bottom: 1rem;
    align-items: center;
}

.theme1-info-box-event:last-child {
    margin-bottom: 0;
}

.theme1-info-box-event-time {
    font-family: 'Oswald', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    min-width: 120px;
    padding-right: 1rem;
}

.theme1-info-box-event-description {
    font-family: 'Oswald', sans-serif;
    font-size: 1.25rem;
    font-weight: 400;
}

/* Food-Image Styles */
.theme1-info-box-food-image-container {
    margin: 2rem 0;
    text-align: center;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.theme1-info-box-food-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    transition: opacity 0.5s ease, transform 0.5s ease;
    will-change: opacity, transform;
}

.theme1-info-box-food-image.animate {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Animation für das Food-Image */
@keyframes foodImageAppear {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.theme1-info-box-additional-info {
    font-family: 'Oswald', sans-serif;
}

.theme1-info-box-additional-info-item {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.theme1-info-box-additional-info-item:last-child {
    margin-bottom: 0;
}

/* Farbvarianten */
.wp-block-theme1-info-box.has-primary-background-color {
    background-color: #1e3a32;
}

.wp-block-theme1-info-box.has-accent-background-color {
    background-color: #d4af37;
}

.wp-block-theme1-info-box.has-white-color {
    color: #ffffff;
}

.wp-block-theme1-info-box.has-primary-color {
    color: #1e3a32;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .theme1-info-box-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .theme1-info-box-date {
        margin-top: 1rem;
    }
    
    .theme1-info-box-entrance {
        flex-direction: column;
    }
    
    .theme1-info-box-entrance-time {
        margin-bottom: 1rem;
    }
    
    .theme1-info-box-event {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .theme1-info-box-event-time {
        margin-bottom: 0.5rem;
    }
    
    .theme1-info-box-food-image-container {
        margin: 1.5rem 0;
    }
}

@media (max-width: 480px) {
    .theme1-info-box-title {
        font-size: 2rem;
    }
    
    .theme1-info-box-date {
        font-size: 1.25rem;
    }
    
    .theme1-info-box-value {
        font-size: 1.25rem;
    }
    
    .theme1-info-box-event-time,
    .theme1-info-box-event-description {
        font-size: 1.1rem;
    }
} 