/* CSS Reset (vereinfacht) */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
    /* Basis-Schriftgröße */
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
    /* Hellerer Hintergrund */
}

/* Globale Variablen für Farben und Abstände */
:root {
    --primary-color: #6a9f79;
    /* Angepasstes Grün vom Originalbutton */
    --secondary-color: #4a7c59;
    --dark-color: #2c3e50;
    /* Dunklerer Ton für Kontrast */
    --light-color: #ffffff;
    --grey-color: #f0f0f0;
    --light-grey-color: #f8f8f8;
    /* Helleres Grau für Kartenhintergrund */
    --border-color: #e0e0e0;
    /* Dezente Rahmenfarbe */
    --text-color: #333;
    --text-light-color: #555;
    /* Etwas hellerer Text */
    --section-padding: 4rem;
    /* Einheitlicher Abstand */
    --container-width: 1140px;
    --border-radius: 8px;
    --card-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
    /* Subtiler Schatten */
    --card-shadow-hover: 0 6px 15px rgba(0, 0, 0, 0.1);
    /* Stärkerer Schatten bei Hover */
}

/* Container */
.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
}

/* Typografie */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    /* Etwas kräftiger */
    color: var(--dark-color);
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.8rem;
    line-height: 1.2;
}

h2 {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-light-color);
    /* Hellerer Standardtext */
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
    /* text-decoration: underline; */
    /* Optional: Unterstreichung bei Hover entfernen */
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Hilfsklassen */
.section-padding {
    padding: var(--section-padding) 0;
}

/* Header */
.site-header {
    background-color: var(--light-color);
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
    /* Leichter Schatten */
    position: sticky;
    /* Optional: Header fixieren */
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    /* Padding wurde entfernt */
}

.logo img {
    height: 90px;
    /* Height set to 90px */
    width: auto;
    display: block;
    /* Ensure image behaves like a block element */
    filter: brightness(10%);
    /* Added brightness filter to darken the logo */
    transition: filter 0.3s ease;
    /* Optional: Add transition for hover effects */
}

/* Optional: Reset filter on hover if needed */
/*
.logo img:hover {
    filter: brightness(100%);
}
*/


.main-nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    /* Abstand zwischen Menüpunkten */
}

.main-nav a {
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--dark-color);
    text-decoration: none;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
    transition: color 0.3s ease, border-color 0.3s ease;
    /* Übergang für Farbe und Rand */
}

.main-nav a:hover,
.main-nav li.active a {
    /* Aktiven Link hervorheben */
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.nav-toggle {
    /* Button für mobile Navigation */
    display: none;
    /* Standardmäßig ausblenden */
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--dark-color);
}

/* Hero Section - Simplified */
.hero {
    padding: var(--section-padding) 0;
    /* Padding top and bottom */
    background-color: var(--light-grey-color);
    /* Background for the text section */
    text-align: center;
    /* Center content by default */
    /* Removed flex properties */
    /* Removed min-height */
}

/* Hero Content - Simplified */
.hero-content {
    /* Removed flex properties */
    /* Removed background properties */
    color: var(--dark-color);
    /* Dark text */
    max-width: 800px;
    /* Limit width */
    margin-left: auto;
    /* Center container */
    margin-right: auto;
}

.hero h1 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    text-shadow: none;
}

.hero-logo-small {
    display: block;
    max-width: 250px;
    height: auto;
    margin: 0 auto 1.5rem auto;
    /* Center logo */
}

.hero p {
    color: var(--text-light-color);
    text-shadow: none;
    max-width: 700px;
    /* Limit paragraph width */
    margin-left: auto;
    margin-right: auto;
}

/* New Section for Hero Image */
.hero-image-display {
    padding-top: 0;
    /* Remove top padding if desired, depends on visual preference */
    padding-bottom: var(--section-padding);
    background-color: var(--light-grey-color);
    /* Match hero background or make different */
}

.hero-image-container {
    /* Removed flex properties */
    max-width: 800px;
    /* Limit image container width */
    margin: 0 auto;
    /* Center the container */
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    /* Add some shadow */
}

.hero-image-container img {
    width: 100%;
    /* Removed height: 100% */
    /* Removed max-height: 100% */
    object-fit: cover;
    opacity: 1;
    /* Ensure image is visible */
    border-radius: var(--border-radius);
    display: block;
}


/* Recent Trips Section */
.trips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.trip-card {
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    display: flex;
    /* Keep flex for vertical alignment if content grows */
    flex-direction: column;
    /* Content flows top-down */
    /* justify-content: space-between; Removed as button is now inline */
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.trip-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow-hover);
}

.trip-card-content {
    display: flex;
    align-items: center;
    /* Vertically align icon, title, and link */
    gap: 0.5rem;
    /* Reduced gap between elements */
    margin-bottom: 0;
    /* Removed bottom margin as button is now inline */
    flex-wrap: wrap;
    /* Allow wrapping if content is too long */
}

.trip-icon svg {
    width: 24px;
    height: 24px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.trip-title {
    font-weight: 700;
    color: var(--dark-color);
    font-size: 1.1rem;
    line-height: 1.4;
    margin-right: auto;
    /* Push the link to the right */
}

/* Styling for the less prominent trip link */
.trip-link {
    display: inline-flex;
    /* Keep inline-flex for alignment */
    align-items: center;
    gap: 0;
    /* Remove gap if icon is removed */
    background-color: transparent;
    /* No background */
    color: var(--primary-color);
    /* Standard link color */
    padding: 0;
    /* Remove padding */
    border-radius: 0;
    /* Remove border-radius */
    font-size: 0.9rem;
    /* Smaller font size */
    font-weight: normal;
    /* Normal font weight */
    text-transform: none;
    /* No uppercase */
    /* align-self: center; No longer needed */
    transition: color 0.3s ease;
    /* Only transition color */
    text-decoration: none;
    /* No underline by default */
    margin-left: 0.5rem;
    /* Add some space from the title */
}

.trip-link:hover {
    background-color: transparent;
    /* Ensure no background on hover */
    color: var(--secondary-color);
    /* Darken color on hover */
    transform: none;
    /* No scale effect */
    text-decoration: underline;
    /* Add underline on hover for clarity */
}

/* Style for the span inside the link if needed */
.trip-link span {
    /* Specific styling for the "Details" text if needed */
}

/* Categories Section */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.category-card {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 250px;
    display: flex;
    align-items: stretch;
    text-decoration: none;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow-hover);
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.category-card:hover img {
    transform: scale(1.05);
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.1));
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    text-align: left;
    transition: background 0.3s ease;
}

.category-card:hover .card-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.21));
}

.card-overlay h3 {
    color: var(--light-color);
    margin: 0;
    font-size: 1.4rem;
    font-weight: 400;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.card-overlay p {
    color: white !important;
    margin: 0;
    font-size: 0.6rem;
    font-weight: 100;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.category-card.placeholder {
    background-color: var(--light-grey-color);
    border: 1px dashed var(--border-color);
    justify-content: center;
    align-items: center;
    text-align: center;
    box-shadow: none;
}

.category-card.placeholder:hover {
    transform: none;
    border-color: var(--primary-color);
}

.category-card.placeholder .card-overlay {
    position: static;
    background: none;
    padding: 1rem;
}

.category-card.placeholder h3 {
    color: var(--text-light-color);
    text-shadow: none;
    font-size: 1.3rem;
}


/* Quote Section */
.quote-section {
    background-color: var(--dark-color);
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
}

.quote-section blockquote {
    font-size: 1.6rem;
    font-style: italic;
    max-width: 750px;
    margin: 0 auto;
    line-height: 1.5;
    position: relative;
    padding: 1rem 0;
}

.quote-section blockquote p {
    font-size: 1.6rem;
    color: rgba(255, 255, 255, 0.2);
    font-style: italic;
    max-width: 750px;
    margin: 0 auto;
    line-height: 1.5;
    position: relative;
    padding: 1rem 0;
}

.quote-section blockquote::before,
.quote-section blockquote::after {
    content: '"';
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.2);
    position: absolute;
    line-height: 1;
}

.quote-section blockquote::before {
    top: 0;
    left: -10px;
}

.quote-section blockquote::after {
    bottom: 0;
    right: -10px;
}


.quote-section cite {
    display: block;
    margin-top: 1.5rem;
    font-size: 1rem;
    font-style: normal;
    color: rgba(255, 255, 255, 0.6);
}

/* Footer */
.site-footer {
    background-color: #222;
    color: #ccc;
    text-align: center;
    padding-top: calc(var(--section-padding) / 2);
    padding-bottom: calc(var(--section-padding) / 2);
}

.footer-logo {
    max-height: 30px;
    margin-bottom: 1rem;
    opacity: 0.7;
}

.site-footer p {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: #aaa;
}

.footer-nav ul {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.footer-nav a {
    color: #aaa;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: var(--light-color);
}


/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        text-align: center;
        /* Keep centered text */
    }

    .hero-content {
        padding-left: 5%;
        padding-right: 5%;
        text-align: center;
        /* Keep centered text */
    }

    .hero-logo-small {
        margin: 0 auto 1.5rem auto;
        /* Keep centered */
        max-width: 250px;
    }

    .hero-image-display {
        padding-top: 0;
        /* Adjust padding */
        padding-bottom: 2.5rem;
    }

    .hero-image-container {
        max-width: 90%;
        /* Adjust width */
    }


    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--light-color);
        box-shadow: 0 4px 5px rgba(0, 0, 0, 0.1);
        border-top: 1px solid var(--border-color);
    }

    .main-nav.active {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        padding: 0.5rem 0;
        gap: 0;
    }

    .main-nav li {
        text-align: center;
    }

    .main-nav a {
        display: block;
        padding: 0.8rem 1rem;
        border-bottom: 1px solid var(--border-color);
    }

    .main-nav a:hover,
    .main-nav li.active a {
        background-color: var(--light-grey-color);
        border-bottom-color: var(--border-color);
        color: var(--primary-color);
    }

    .main-nav li:last-child a {
        border-bottom: none;
    }

    .nav-toggle {
        display: block;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .quote-section blockquote {
        font-size: 1.3rem;
    }

    .quote-section blockquote::before,
    .quote-section blockquote::after {
        font-size: 2rem;
    }


    .section-padding {
        padding: 2.5rem 0;
    }
}

/* Additional adjustments for very small screens if needed */
@media (max-width: 480px) {
    .hero {
        /* No changes needed here */
    }

    .hero-content {
        padding: 1.5rem 5%;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero-logo-small {
        max-width: 200px;
    }

    .hero p {
        font-size: 0.95rem;
    }

    .hero-image-container {
        /* No height limit needed, let it scale naturally */
        max-height: 500px;
        max-width: 500px;
    }
}