/* Roboto Font Einbindung */
@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

/* CSS Variablen für Farben */
:root {
    --hopfen-gruen: #2d5016;
    --hopfen-gruen-light: #4a7c2a;
    --hopfen-gruen-dark: #1a3009;
    --braun: #6b4423;
    --braun-light: #8b5a2b;
    --braun-dark: #4a2f18;
    --beige: #f5f2ed;
    --weiss: #ffffff;
    --grau: #f8f8f8;
    --grau-dunkel: #d0d0d0;
    --text-dunkel: #333333;
    --text-hell: #666666;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dunkel);
    background-color: var(--beige);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Maximale Breite für die gesamte Website */
body {
    max-width: 2000px;
    margin: 0 auto;
}

/* Navigation */
#header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.6);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

#header.hero-mode {
    background-color: rgba(45, 80, 22, 0.3);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#header.hero-mode .nav-menu {
    display: flex !important;
}

#header.hero-mode .hamburger {
    display: none !important;
}

.navbar {
    width: 100%;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    height: 60px;
    width: auto;
    background-color: white;
    padding: 5px;
    border-radius: 8px;
}

.logo-text {
    display: none;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--hopfen-gruen);
}

#header.hero-mode .logo-text {
    color: var(--beige);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-menu li a {
    color: var(--text-dunkel);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
    padding: 8px 12px;
    border-radius: 6px;
}

#header.hero-mode .nav-menu li a {
    color: var(--beige);
}

.nav-menu li a:hover {
    background-color: var(--grau-dunkel);
    color: var(--hopfen-gruen-dark);
}

#header.hero-mode .nav-menu li a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--beige);
}

.nav-menu li a.active {
    background-color: var(--hopfen-gruen);
    color: var(--beige);
}

#header.hero-mode .nav-menu li a.active {
    background-color: rgba(255, 255, 255, 0.3);
}

/* Hamburger Menu - Bierkrug Icon */
.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger i {
    font-size: 28px;
    color: var(--hopfen-gruen);
    transition: all 0.3s ease;
}

#header.hero-mode .hamburger i {
    color: var(--beige);
}

/* Wenn Menü geöffnet: zeige X */
.hamburger.active i::before {
    content: "\f00d"; /* Font Awesome X (times) */
}

.hamburger:hover i {
    transform: scale(1.1);
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    background-image: url('../img/IMG_2632.JPEG');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 0;
    backface-visibility: hidden;
    perspective: 1000px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(45, 80, 22, 0.3);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--weiss);
    padding: 20px;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    color: var(--weiss);
    text-shadow:
        0 0 20px rgba(0, 0, 0, 0.7),
        0 0 40px rgba(0, 0, 0, 0.5),
        2px 4px 8px rgba(0, 0, 0, 0.8);
    letter-spacing: 1px;
}

/* Sections */
.section {
    padding: 60px 0;
    background-color: var(--beige);
}

.section-header {
    position: relative;
    margin-bottom: 60px;
}

.section-header h1 {
    font-size: 3rem;
    color: var(--hopfen-gruen);
    text-align: center;
    padding: 30px 0 0 0;
    font-weight: 700;
    margin: 0;
}

.section h1 {
    font-size: 3rem;
    color: var(--hopfen-gruen);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
}

.section h2 {
    font-size: 2rem;
    color: var(--braun);
    margin-bottom: 20px;
    font-weight: 600;
}

.section h3 {
    font-size: 1.5rem;
    color: var(--hopfen-gruen-light);
    margin: 30px 0 20px;
    font-weight: 500;
}

/* Parallax Images */
.parallax-image {
    width: 100%;
    height: 500px;
    position: relative;
    display: block;
    overflow: hidden;
}

.parallax-image::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    width: 120%;
    height: 140%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-image: inherit;
    transform: translate3d(0, var(--parallax-y, 0px), 0);
    backface-visibility: hidden;
    perspective: 1000px;
}

/* Overlay für Parallax-Bilder */
.parallax-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(45, 80, 22, 0.1);
    z-index: 1;
}

/* Auf großen Bildschirmen größere Höhe für bessere Qualität */
.section-header .parallax-image {
    margin: 0;
}

/* Content Wrapper */
.content-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin: 40px 0;
}

.text-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dunkel);
}

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

/* Image Galleries */
.image-gallery,
.image-gallery-small,
.image-gallery-large {
    display: grid;
    gap: 20px;
    margin: 30px 0;
}

.image-gallery {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.image-gallery-small {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.image-gallery-large {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.image-gallery-large img {
    height: 300px;
}

.image-gallery img,
.image-gallery-small img,
.image-gallery-large img,
.slider-container img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.image-gallery img:hover,
.image-gallery-small img:hover,
.image-gallery-large img:hover,
.slider-container img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

/* Image Slider */
.image-slider {
    position: relative;
    margin: 30px 0;
    overflow: hidden;
}

.slider-container {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px 0;
    scrollbar-width: thin;
    scrollbar-color: var(--hopfen-gruen) var(--grau);
}

.slider-container::-webkit-scrollbar {
    height: 8px;
}

.slider-container::-webkit-scrollbar-track {
    background: var(--grau);
    border-radius: 4px;
}

.slider-container::-webkit-scrollbar-thumb {
    background: var(--hopfen-gruen);
    border-radius: 4px;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--hopfen-gruen);
    color: var(--beige);
    border: none;
    padding: 15px 20px;
    font-size: 1.5rem;
    cursor: pointer;
    border-radius: 50%;
    z-index: 10;
    transition: background-color 0.3s ease;
}

.slider-btn:hover {
    background-color: var(--hopfen-gruen-dark);
}

.slider-btn.prev {
    left: 10px;
}

.slider-btn.next {
    right: 10px;
}

/* Opening Hours */
.opening-hours {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.hours-card {
    background-color: var(--weiss);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    border-top: 4px solid var(--hopfen-gruen);
}

.hours-card h3 {
    color: var(--hopfen-gruen);
    font-size: 2rem;
    margin-bottom: 15px;
}

.hours-card .time {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--braun);
    margin: 15px 0;
}

.hours-card .description {
    font-size: 1.2rem;
    color: var(--text-dunkel);
    margin: 10px 0;
}

.hours-card .extra {
    font-size: 1rem;
    color: var(--text-hell);
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--grau);
}

.social-info {
    text-align: center;
    font-size: 1.2rem;
    margin: 40px 0;
    padding: 30px;
    background-color: var(--hopfen-gruen-light);
    color: var(--beige);
    border-radius: 12px;
}

.text-content a {
    color: var(--hopfen-gruen-dark);
    font-weight: 600;
    text-decoration: underline;
}

.text-content a:hover {
    color: var(--hopfen-gruen-light);
}

.social-info a {
    color: inherit;
    font-weight: 600;
    text-decoration: underline;
}

/* Contact Info */
.contact-info {
    background-color: var(--weiss);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 40px 0;
}

.contact-info h2 {
    color: var(--hopfen-gruen);
    margin-bottom: 20px;
}

.contact-info p {
    margin: 10px 0;
    font-size: 1.1rem;
}

.contact-info a {
    color: var(--braun);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: var(--braun-light);
    text-decoration: underline;
}

.whatsapp-link {
    text-align: center;
    margin-top: 40px;
}

.whatsapp-link a {
    color: var(--hopfen-gruen);
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.whatsapp-link i {
    font-size: 5rem;
    line-height: 1;
}

.whatsapp-link span {
    font-size: 1.2rem;
    font-weight: 600;
}

.whatsapp-link a:hover {
    color: var(--hopfen-gruen-dark);
    transform: scale(1.1);
}

.legal-links {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin: 40px 0;
}

.legal-links a {
    background-color: var(--hopfen-gruen);
    color: var(--beige);
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.legal-links a:hover {
    background-color: var(--hopfen-gruen-dark);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: zoom 0.3s;
}

@keyframes zoom {
    from {transform: translate(-50%, -50%) scale(0.8)}
    to {transform: translate(-50%, -50%) scale(1)}
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 50px;
    color: var(--beige);
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.lightbox-close:hover {
    color: var(--braun-light);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(45, 80, 22, 0.7);
    color: var(--beige);
    border: none;
    padding: 20px 15px;
    font-size: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
    z-index: 2001;
}

.lightbox-nav:hover {
    background-color: var(--hopfen-gruen);
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

/* Footer */
.footer {
    background-color: var(--hopfen-gruen-dark);
    color: var(--beige);
    padding: 30px 0;
    text-align: center;
}

.footer-credits {
    font-size: 1rem;
    margin: 0;
    letter-spacing: 0.5px;
}

.footer-credits i {
    margin: 0 5px;
    color: var(--beige);
    transition: transform 0.3s ease;
}

.footer-credits i.fa-heart {
    color: #ff6b6b;
}

.footer-credits i.fa-beer-mug-empty {
    color: #ffd700;
}

.footer-credits i:hover {
    transform: scale(1.2);
}

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

    .section h1 {
        font-size: 2.5rem;
    }

    .nav-menu {
        position: fixed;
        right: -100%;
        top: 80px;
        flex-direction: column;
        background-color: rgba(245, 242, 237, 0.98);
        width: 100%;
        text-align: center;
        transition: right 0.3s ease;
        padding: 20px 0;
        gap: 0;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu li {
        margin: 15px 0;
    }

    .nav-menu li a {
        display: block;
        padding: 12px 20px;
    }

    #header.hero-mode .nav-menu {
        display: none;
    }

    #header.hero-mode .nav-menu.active {
        display: flex;
        right: 0;
    }

    #header.hero-mode .nav-menu.active li a {
        color: var(--text-dunkel);
    }

    #header.hero-mode .nav-menu.active li a:hover {
        background-color: var(--grau-dunkel);
        color: var(--hopfen-gruen-dark);
    }

    #header.hero-mode .nav-menu.active li a.active {
        background-color: var(--hopfen-gruen);
        color: var(--beige);
    }

    #header.hero-mode .hamburger {
        display: flex !important;
    }

    .hamburger {
        display: flex;
    }

    /* Parallax bleibt auf Mobile aktiv */
}

@media (max-width: 992px) {
    .logo-text {
        display: block;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .section h1 {
        font-size: 2rem;
    }

    .section h2 {
        font-size: 1.5rem;
    }

    .logo img {
        height: 50px;
    }

    .image-gallery,
    .image-gallery-small,
    .image-gallery-large {
        grid-template-columns: 1fr;
    }

    .opening-hours {
        grid-template-columns: 1fr;
    }

    .legal-links {
        flex-direction: column;
        align-items: center;
    }

    .slider-btn {
        padding: 10px 15px;
        font-size: 1.2rem;
    }

    .lightbox-nav {
        padding: 15px 10px;
        font-size: 24px;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .section {
        padding: 40px 0;
    }

    .container {
        padding: 0 15px;
    }

    .text-content {
        font-size: 1rem;
    }

    .contact-info {
        padding: 20px;
    }
}
