/* Open Sans local fonts */
@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    src: url('fonts/open-sans/OpenSans-Regular.ttf') format('ttf');
}

@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 600;
    src: url('fonts/open-sans/OpenSans-SemiBold.ttf') format('ttf');
}

@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 700;
    src: url('fonts/open-sans/OpenSans-Bold.ttf') format('ttf');
}

/*
Theme Name: GeneratePress Child
Theme URI: http://example.com/
Description: Child theme for GeneratePress restaurant site
Author: Your Name
Author URI: http://example.com/
Template: generatepress
Version: 1.0.0
Text Domain: generatepress-child
*/

/* =====================================================
   GLOBAL STYLES
===================================================== */

body {
    font-family: 'Open Sans', sans-serif;
    background-color: #fff;
    color: #333;
    margin: 0;
    padding: 0;
}

h1, h2, h3 {
    margin: 0 0 10px 0;
}

a {
    text-decoration: none;
    color: inherit;
}
/* =====================================================
   RESTAURANT IMAGE SECTION
===================================================== */
.restaurant-image {
    position: relative;      /* for overlay positioning */
    width: 100%;
    /* Height can be flexible or fixed depending on layout */
}

.restaurant-image img {
    width: 100%;
    height: auto;            /* responsive scaling */
    display: block;          /* remove inline spacing */
    object-fit: cover;       /* ensure image fills the container */
}

.restaurant-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;              /* center text */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;               /* or another accent color */
    text-align: center;
    background: rgba(0,0,0,0.3); /* optional semi-transparent overlay */
    padding: 1rem;
}

/* =====================================================
   INFO SECTION: ADDRESS / HOURS / CONTACT
===================================================== */
.restaurant-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 50px 20px;
    background-color: #fff;
}

.restaurant-info .info-block {
    flex: 1 1 250px;
    margin: 20px;
    text-align: center;
}

.restaurant-info h3 {
    text-transform: lowercase;
    margin-bottom: 10px;
}

.wegbeschreibung-button {
    display: block;
    background-color: #FFE699; /* pastel yellow accent */
    color: #333;
    padding: 10px;
    text-decoration: none;
}

/* =====================================================
   PARALLAX SECTION
===================================================== */
.parallax {
    height: 350px;
    background-image: url('images/parallax_main.jpg'); 
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.parallax .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.2);
}

/* =====================================================
   TESTIMONIALS SECTION
===================================================== */
.testimonials {
    padding: 50px 20px;
    background-color: #fff;
}

.testimonials .testimonial {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 50px;
}

.testimonials .testimonial.reverse {
    flex-direction: row-reverse;
}

.testimonials .testimonial-text {
    flex: 1 1 300px;
    padding: 20px;
    font-size: 1rem;
}

.testimonials .testimonial-image {
    flex: 1 1 300px;
    padding: 20px;
    text-align: center;
}

.testimonials .testimonial-image img {
    border-radius: 50%;
    max-width: 200px;
    height: auto;
}


/* =====================================================
   FOOTER PAYMENT
===================================================== */
.price-icon svg {
    width: 1em;
    height: 1em;
    fill: currentColor; /* inherits text color */
    vertical-align: middle;
}
.payment-method {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
}

.payment-label {
    line-height: 1;
}

.payment-icon {
    width: 1em;
    height: 1em;
    fill: currentColor;
    flex-shrink: 0;
}


/* =====================================================
   FOOTER SOCIAL
===================================================== */
.footer-social {
    display: flex;
    justify-content: right;
}

.footer-social a .footer-social-icon {
    width: 32px;
    height: 32px;
    fill: #4267B2; /* default Facebook blue, can change to accent color */
    transition: transform 0.2s ease, fill 0.2s ease;
}

.footer-social a:hover .footer-social-icon {
    transform: scale(1.1);
    fill: #79A9D1; /* optional hover color (your accent) */
}

/* =====================================================
   MENU PAGE
===================================================== */
.site.grid-container.container.hfeed {
    max-width: 768px;
}

/* =====================================================
   MOBILE-FIRST RESPONSIVENESS
===================================================== */
@media screen and (max-width: 768px) {
    .restaurant-image-overlay {
        padding: 0.5rem;
    }
    .restaurant-info {
        flex-direction: column;
        padding: 30px 10px;
    }
    .restaurant-info .info-block {
        margin: 10px 0;
    }
    .testimonials .testimonial {
        flex-direction: column !important;
        text-align: center;
    }
    .testimonials .testimonial-image {
        margin-bottom: 20px;
    }
    .testimonials .testimonial-text,
    .testimonials .testimonial-image {
        flex: 1 1 100px;
    }
    .parallax {
        background-attachment: scroll; /* fallback for mobile */
    }
    .pebPDFEmbed .pebSizedContainer {
        height: 400px !important;
    }
}
