/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    padding-top: 80px; /* Adjust based on header height */
}

/* Header Styles */
.header {
    background: linear-gradient(135deg, #2c5530 0%, #4a7c59 100%);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1002;
    transition: all 0.3s ease;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo {
    font-family: 'Oswald', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    cursor: pointer;
    z-index: 1004;
    position: relative;
}

.logo i {
    color: #ffd700;
    font-size: 2.5rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: #ffd700;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #ffd700;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Burger Menu Styles */
.burger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
    z-index: 1003;
}

.burger-line {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.burger-menu.active .burger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger-menu.active .burger-line:nth-child(2) {
    opacity: 0;
}

.burger-menu.active .burger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Navigation */
@media (max-width: 768px) {
    body {
        padding-top: 70px; /* Smaller padding for mobile */
    }

    .burger-menu {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh; /* Fallback for older browsers */
        height: 100dvh; /* Dynamic viewport height - fills actual visible area */
        background: linear-gradient(135deg, #2c5530 0%, #4a7c59 100%);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 3rem;
        transition: left 0.3s ease;
        z-index: 1001;
        font-size: 1.2rem;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        opacity: 0;
        transform: translateX(-50px);
        transition: all 0.3s ease;
    }

    .nav-links.active li {
        opacity: 1;
        transform: translateX(0);
    }

    .nav-links.active li:nth-child(1) {
        transition-delay: 0.1s;
    }

    .nav-links.active li:nth-child(2) {
        transition-delay: 0.2s;
    }

    .nav-links.active li:nth-child(3) {
        transition-delay: 0.3s;
    }

    .nav-links.active li:nth-child(4) {
        transition-delay: 0.4s;
    }

    .nav-links.active li:nth-child(5) {
        transition-delay: 0.5s;
    }

    .nav-links a {
        font-size: 1.5rem;
        padding: 1rem;
        display: block;
        text-align: center;
    }

    .nav {
        padding: 0 1rem;
    }

    .logo {
        font-size: 1.5rem;
    }

    .logo i {
        font-size: 2rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.2rem;
    }

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

/* Hero Section */
.hero {
    background: linear-gradient(rgba(44, 85, 48, 0.3), rgba(74, 124, 89, 0.3)), url('images/header.webp');
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    background-size: cover;
    background-position: center;
    scroll-margin-top: 80px; /* Offset für fixed header */
}

/* Site logo (used above or below headings) */
.site-logo {
    display: block;
    margin: 0.5rem auto 1rem; /* Abstand oben/unten, zentriert horizontal */
    max-width: 220px;  /* maximale Breite */
    width: auto;       /* nicht 100% - so bleibt es zentriert */
    height: auto;
}

@media (max-width: 768px) {
    .site-logo {
        max-width: 160px;
    }
}

/* Section header wrapper to precisely center title and logo */
.section-header {
    display: flex;
    flex-direction: column;
    align-items: center; /* exakt horizontal zentrieren */
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    text-align: center; /* fallback: center inline elements */
}

.section-header .section-title {
    display: inline-block; /* sorgt dafür, dass text-align:center das Element genau mittig setzt */
}

.hero-content h1 {
    font-family: 'Oswald', sans-serif;
    font-size: 4rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* Button Styles */
.btn {
    display: inline-block;
    background: #ffd700;
    color: #2c5530;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.btn:hover {
    background: #ffed4e;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

/* Layout Containers */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 4rem 0;
    scroll-margin-top: 80px; /* Offset für fixed header */
}

.section-title {
    font-family: 'Oswald', sans-serif;
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #2c5530;
    position: relative;
}

.section-title::after {
    content: '';
    width: 100px;
    height: 4px;
    background: #ffd700;
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

/* Features Grid */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
}

.feature i {
    font-size: 3rem;
    color: #4a7c59;
    margin-bottom: 1rem;
}

.feature h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2c5530;
}

/* Menu Grid */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.menu-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.menu-item:hover {
    transform: translateY(-5px);
}

.menu-item-image {
    height: 200px;
    background: linear-gradient(45deg, #4a7c59, #6b8e23);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

.menu-item-content {
    padding: 1.5rem;
}

.menu-item h3 {
    font-family: 'Oswald', sans-serif;
    margin-bottom: 0.5rem;
    color: #2c5530;
}

.menu-item .price {
    color: #ffd700;
    font-weight: 600;
    font-size: 1.2rem;
    margin-top: 0.5rem;
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.contact-info {
    background: #2c5530;
    color: white;
    padding: 2rem;
    border-radius: 15px;
}

.contact-info h3 {
    font-family: 'Oswald', sans-serif;
    margin-bottom: 1rem;
    color: #ffd700;
}

.contact-info p {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Special rule for text paragraphs with inline links */
.contact-info p:not(:has(i)):not(:has(strong)) {
    display: block !important;
    gap: 0;
}

.contact-info p {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Remove default link styling for contact info links */
.contact-info a {
    color: inherit;
    text-decoration: none;
    display: inline;
    vertical-align: baseline;
    line-height: inherit;
}
.contact-info a:hover {
    color: #ffd700;
}

/* Google Maps Section */
.map-container {
    display: block;
    margin-top: 3rem;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.map-wrapper {
    position: relative;
    height: 400px;
    width: 100%;
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 968px) {
    .map-wrapper {
        height: 300px;
    }
}

/* Footer Styles */
.footer {
    background: linear-gradient(135deg, #2c5530 0%, #1a3a1e 100%);
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #ffd700;
}

.footer-section p {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.footer .logo {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
    color: #ffd700;
}

.footer .logo i {
    color: #ffd700;
    font-size: 2rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    text-align: center;
}

.footer-bottom a {
    color: #ffd700;
    text-decoration: none;
}

.footer-bottom a:hover {
    color: white;
}

/* Remove default link styling for phone numbers and email in footer */
.footer-section a {
    color: inherit;
    text-decoration: none;
}

.footer-section a:hover {
    color: #ffd700;
}
