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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

/* Navigation Styles */
.navbar {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.nav-logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

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

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.nav-link:hover,
.nav-link.active {
    background: #175b5a;
    color: white;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Page Styles */
.page {
    display: none;
    min-height: 100vh;
    padding-top: 120px;
}

#home {
    padding-top: 80px;
}

.page.active {
    display: block;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('https://cdn.prod.website-files.com/66b4fc93e924b6728899e31b/66c9cf2d5b2b208a6416eb67_IMG_6518.JPG');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 2rem 0 4rem 0;
    display: flex;
    align-items: center;
    min-height: 70vh;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 40px 20px;
    background: rgba(23, 91, 90, 0.8);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.2rem;
}

.hero-content .cta-button {
    margin-top: 1.5rem;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #e8e8e8;
    margin-bottom: 0.5rem;
    font-weight: 500;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-tagline {
    font-size: 1.2rem;
    color: #f0f0f0;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.placeholder-image {
    background: #f0f0f0;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    width: 100%;
    color: #999;
    border: 2px dashed #ddd;
}

.placeholder-image i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.placeholder-image p {
    font-weight: 500;
    margin-top: 0.5rem;
}

/* Button Styles */
.cta-button {
    background: linear-gradient(135deg, #175b5a 0%, #5A8B6B 100%);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(23, 91, 90, 0.3);
}

/* Section Styles */
.section {
    padding: 4rem 0;
}

.intro-text {
    text-align: center;
    margin-bottom: 3rem;
}

/* Content Section Styles */
.content-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
    padding: 2rem 0;
}

.content-section.reverse {
    direction: rtl;
}

.content-section.reverse > * {
    direction: ltr;
}

.content-text {
    padding: 2rem;
}

.content-text h3 {
    color: #175b5a;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.content-text h4 {
    color: #5A8B6B;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.content-text p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.content-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.content-image img {
    width: 100% !important;
    height: auto !important;
    object-fit: unset !important;
    display: block;
    transition: transform 0.3s ease;
}

.content-image:hover img {
    transform: scale(1.05);
}

.large-text {
    font-size: 1.8rem;
    color: #175b5a;
    font-weight: 500;
}

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

.feature-card {
    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-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    background: linear-gradient(135deg, #175b5a 0%, #5A8B6B 100%);
    color: white;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
}

.feature-card h3 {
    color: #175b5a;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.feature-card h4 {
    color: #5A8B6B;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.learn-more {
    color: #175b5a;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.3s ease;
}

.learn-more:hover {
    color: #5A8B6B;
}

.contact-cta {
    text-align: center;
    background: #f8f8f8;
    padding: 3rem;
    border-radius: 15px;
    margin-top: 3rem;
}

.contact-cta h3 {
    color: #175b5a;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.contact-cta p {
    color: #666;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Gallery Styles */
#galerie .container h1 {
    text-align: center;
    color: #175b5a;
    font-size: 3rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.gallery-categories h2 {
    text-align: center;
    color: #5A8B6B;
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.gallery-grid {
    column-count: 2;
    column-gap: 2rem;
    margin-bottom: 3rem;
}

.gallery-item {
    break-inside: avoid;
    margin-bottom: 2rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    position: relative;
    background: white;
    display: flex;
    flex-direction: column;
}

.gallery-item {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    position: relative;
    background: white;
    display: flex;
    flex-direction: column;
}



.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
    border-radius: 15px 15px 0 0;
    flex-shrink: 0;
}



.gallery-caption {
    padding: 1rem;
    background: white;
    color: #175b5a;
    font-weight: 500;
    text-align: center;
    font-size: 0.9rem;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-item .placeholder-image {
    height: 300px;
    margin: 0;
    border-radius: 15px 15px 0 0;
    border: none;
}

.features-highlight {
    text-align: center;
    background: #f8f8f8;
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 3rem;
}

.feature-tags {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.tag {
    background: linear-gradient(135deg, #175b5a 0%, #5A8B6B 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 500;
    font-size: 0.9rem;
}

/* About Page Styles */
#ueber-uns .container h1 {
    text-align: center;
    color: #175b5a;
    font-size: 3rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

#ueber-uns .container h2 {
    text-align: center;
    color: #5A8B6B;
    font-size: 1.8rem;
    margin-bottom: 3rem;
    font-weight: 500;
}

.about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
}

.closing-text {
    font-weight: 500;
    color: #175b5a;
}

.signature {
    color: #5A8B6B;
    font-weight: 600;
    font-style: italic;
}

.about-image .placeholder-image {
    height: 400px;
}

/* Contact Page Styles */
#kontakt .container h1 {
    text-align: center;
    color: #175b5a;
    font-size: 3rem;
    margin-top: 2rem;
    margin-bottom: 3rem;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #175b5a;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #175b5a;
}

.visit-text {
    margin-top: 1.5rem;
    color: #666;
    font-style: italic;
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    font-weight: 500;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.info-card h3 {
    color: #175b5a;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-card h3 i {
    color: #5A8B6B;
}

.info-card p {
    color: #666;
    line-height: 1.6;
}

.info-card a {
    color: #175b5a;
    text-decoration: none;
}

.info-card a:hover {
    color: #5A8B6B;
}

.hours {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.hour-row {
    display: flex;
    justify-content: space-between;
    padding: 0.25rem 0;
}

.hour-row span:first-child {
    font-weight: 500;
}

.closed {
    color: #999;
    font-style: italic;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 1rem 0;
    }
    
    .hero-container {
        padding: 60px 30px;
        background: rgba(23, 91, 90, 0.6);
        margin: 20px;
        width: calc(100% - 40px);
    }
    
    .hero-content {
        max-width: 600px;
        gap: 1rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .content-section {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .content-section.reverse {
        direction: ltr;
    }
    
    /* On mobile, show image above text for all sections */
    .content-section .content-image {
        order: 1;
    }
    .content-section .content-text {
        order: 2;
    }
    
    .content-image img {
        height: auto !important;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        column-count: 1;
        column-gap: 1.5rem;
    }
    
    .feature-tags {
        justify-content: center;
    }
    
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .hero-container {
        padding: 50px 20px;
        background: rgba(23, 91, 90, 0.5);
        margin: 15px;
        width: calc(100% - 30px);
    }
    
    .hero-content {
        max-width: 100%;
        padding: 0 10px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .logo-img {
        height: 50px;
    }
    
    #galerie .container h1,
    #ueber-uns .container h1,
    #kontakt .container h1 {
        font-size: 2rem;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Print Styles */
@media print {
    .navbar,
    .cta-button {
        display: none;
    }
    
    .page {
        display: block !important;
        padding-top: 0;
    }
}
