/*
Theme Name: Portofino Schafflund
Theme URI: https://wordpress.org/themes/twentytwenty/
Author: Mirco Pieper
Author URI: https://bear-it-solutions.io
Description: Das Standard Theme für Arman Ulu's Restaurants
Version: 0.0.1
Requires at least: 6.8
Tested up to: 6.8
Requires PHP: 8.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: Bellini Eckernförde
This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

@font-face {
    font-family: 'Merchant';
    src: url('./Merchant-Light.ttf');
}


* {
    padding: 0;
    margin: 0;

    font-family: Merchant;
}


.hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;

}

.hero::before {
    content: "";
    z-index: -1;
    position: absolute;
    width: 100%;
    height: 100%;
    background: url("./images/background-test.JPG");
    background-position: center center;
    background-attachment: scroll;
    background-size: cover;
    filter: brightness(.5);
    transition: all .3s ease;
}

@media (max-width: 1200px) {
    .hero::before {
        content: "";
        z-index: -1;
        position: absolute;
        width: 100%;
        height: 100%;
        background: url("./images/background-test.JPG");
        background-position: 40% 20%;
        background-attachment: scroll;
        background-size: cover;
        filter: brightness(.5);
        transition: all .3s ease;
    }
}

@media (max-width: 768px) {
    .hero::before {
        content: "";
        z-index: -1;
        position: absolute;
        width: 100%;
        height: 100%;
        background: url("./images/background-test.JPG");
        background-position: 40% 20%;
        background-attachment: scroll;
        background-size: cover;
        filter: brightness(.5);
        transition: all .3s ease;
    }
    .hero img{
        max-width: 240px;
    }
}

p {
    padding: 10px 0;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    color: white;
    background: rgb(11, 11, 11);
    background-size: cover;
}


.content {
    text-align: center;
    margin: auto;
}

.section {
    padding: 25px 20px;
    font-size: 18px

}

section {
    max-width: 1300px;
    margin: auto;
    padding: 35px 7%;
    text-align: center;
}

@media (min-width: 1300px) {
    .content {
        width: 70%;
    }

    .section {
        padding: 150px 20px;
        font-size: 18px;
    }
}


header {
    display: flex;
    justify-content: space-between;
    position: fixed;
    top: 0;
    height: 100px;
    line-height: 100px;
    width: 100%;
    /* From https://css.glass */
    background: rgba(14, 14, 14, 0.2);
    /*box-shadow: 0 4px 30px rgba(255, 255, 255, .1);*/
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    color: #fff;
    z-index: 999;
}


.nav {
    width: 100%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
}

.nav ul {
    padding: 0 50px;
    list-style: none;
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}


.mobile-header {
    background-color: #1d1d1d;
    color: #fff;
    height: 100vh;
}

.mobile-header h1 {
    color: white;
}


.header-image {
    height: 100vh;
    background: url("./images/background-test.JPG");
    background-size: cover;
    display: flex;
}
.header-image::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.4);
}

@media (min-width: 1400px) {
    .header-image {
        height: 100vh;
        background: url("./images/background-test.JPG") no-repeat center center fixed;
        background-size: cover;

    }
}

.contact-info{
    display: none;
}
@media (min-width: 1400px) {
    .contact-info{
        display: inline-flex;
    }
}

.content-image {
    height: 80vh;
    background: url("./images/background-test.JPG") no-repeat center center fixed;
    background-size: cover;
}



.shrink {
    height: 50px;
    line-height: 50px;
    background: rgb(11, 11, 11);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transition: all .2s ease-in-out;
}

.image-shrink {
    height: 50px;
    transition: all .2s ease-in-out;
}

.image-normal {
    height: 100px;
    transition: all .2s ease-in-out;
}

nav ul li {
    line-height: 40px;
}

@media (min-width: 1200px) {
    nav ul li {
        line-height: 100px;
    }

}

.shrink nav ul li {
    line-height: 50px;
    transition: all .2s ease-in;
}

.normal nav ul li {
    line-height: 120px;
    transition: all .2s ease-in;
}

.normal {
    height: 100px;
    line-height: 100px;
    transition: all .2s ease-in;
}


.about-this-restaurant {
    padding: 50px 100px;
}


.active {
    color: #f9f9f9;
    text-decoration: none;
    background-image: linear-gradient(#fff, #fff);
    background-size: 0% 0.1em;
    background-position-y: 100%;
    padding-bottom: 4px;
    background-position-x: 50%;
    background-repeat: no-repeat;

}

a {
    color: #f9f9f9;
    text-decoration: none;
    background-image: linear-gradient(#fff, #fff);
    background-size: 0% 0.1em;
    background-position-y: 100%;
    padding-bottom: 4px;
    background-position-x: 50%;
    background-repeat: no-repeat;
    transition: background-size 0.2s ease-out;
}

a:hover,
a:focus,
a:active {
    color: #fff;
    background-size: 100% 0.1em;
}

footer {
    background: rgb(11, 11, 11);
    color: white;
    flex-shrink: 0;
}

footer > .div {
}


h2 {
    font-size: 3rem;
    font-weight: 600;
    padding-bottom: 15px;
}


.menu-images {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
}

.menu-image {
    width: 90%;
    text-align: center;
}

#mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(14, 14, 14, 0.5);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 9998; /* Ensure the menu appears above other content */
    display: none;
}

#menu-items {
    list-style-type: none;
    padding: 0;
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

#menu-items li {
    margin-bottom: 5px;
}

#menu-items li a {
    /*display: block;*/
    /*padding: 10px 20px;*/
    /*background-color: #f4f4f4;*/
    /*color: #333;*/
    /*text-decoration: none;*/
}

/* Show menu items when menu-toggle is clicked */
#menu-toggle.active + #menu-items {
    display: block;
}





#paralax::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Dunkles Overlay */
    z-index: 1;
}

#paralax > * {
    position: relative;
    z-index: 2;
}
/* Standard-Stil: Mobile First Ansatz */
#paralax {
    position: relative;
    background: url("./images/paralax.jpg") no-repeat 0 50%;
    background-size: cover;
    background-attachment: scroll; /* Kein Parallax auf kleinen Geräten */
    padding: 40px 0;
}

/* Tablet (zwischen 600px und 899px) */
@media (min-width: 600px) and (max-width: 899px) {
    #paralax {
        background: url("./images/paralax.jpg") no-repeat 0 20%;
        background-size: cover;
        background-attachment: scroll; /* Kein Parallax */

    }
}

@media (min-width: 1025px) and (hover:hover) and (pointer: fine){
    #paralax {
        background: url("./images/paralax.jpg") no-repeat center center fixed;
        background-size: cover;
    }
}


footer p {
    height: 35px;
    line-height: 35px;
}

.privacy-list {
    list-style: none;
}

.privacy-list li {
    padding-bottom: 25px;
}

.burger {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 9999;
    line-height: 40px;
    background-image: none;
}

.mobile-header-icons {
    position: absolute;
    display: flex;
    justify-content: center;
    top: 10px;
    line-height: 40px;
    width: 100%;
    margin: auto;
}

.mobile-header-icons a {

    padding-right: 30px;
    padding-left: 30px;
}

.button-bar {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
}

.gold {
    background: #fff;
    color: black;
    border-radius: 5px;
    transition: all .1s;

}

.gold:hover {
    background: #e0dede;
    color: black;
    transition: all .1s;
}

.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
    justify-items: center;
    align-items: center;
}


/* Galerie-Wrapper */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 10px;
    margin: 0 auto;
    padding: 10px;
}

/* Einzelnes Galerie-Item */
.gallery-item {
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(255, 255, 255, 0.1);
    aspect-ratio: 1 / 1;
}

/* Bilder in der Galerie */
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 0 100%;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Hover-Effekt für Bilder */
.gallery-item:hover img {
    transform: scale(1.05);
    opacity: 0.9;
}


.opening-hours {
    width: 90%;
    margin: 0 auto;
}


.opening-hours h2 {
    margin-bottom: 20px;
}

.inactive {
    opacity: .6;
}

/* Stundenliste */
.hours-list {
    display: flex;
    flex-direction: column; /* Liste bleibt immer vertikal */
    gap: 10px; /* Abstand zwischen den Einträgen */
}

.hours-item {
    display: flex;
    justify-content: space-between; /* Tag links, Zeit rechts */
    align-items: center;
    padding: 10px 15px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hours-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.hours-item .day {
    font-weight: bold;
    font-size: 1.2rem;
    color: #444;
}

.hours-item .time {
    font-size: 1.1rem;
    color: #666;
}

/* Hervorhebung des aktuellen Tages */
.current-day {
    background-color: #fffbe0;
    border: 1px solid #ffd700;
}

.current-day:hover {
    background-color: #fff3c0;
}
