/* GENERAL STYLES */
body {
    margin: 0;
    font-family: 'Arial', sans-serif;
    background-color: #ffffff;
    color: #333;
}

/* CENTERED CONTAINER */
.container {
    max-width: 1920px; /* Matches hero image width */
    width: 100%;
    margin: 0 auto; /* Keeps everything centered */
}

/* HERO SECTION */
.hero-block {
    width: 100%;
    max-width: 1920px;
    height: 85vh;
    max-height: 1440px;
    overflow: hidden;
    background-color: inherit;
    margin: 0 auto;
    position: relative;
}

.hero-block img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* HERO TITLE ("Folgelandschaften") */
.hero-title {
    position: absolute;
	text-decoration: none;
    top: 10%; /* Moves it higher */
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Garamond Pro', serif;
    font-size: 2.4rem; /* Slightly smaller */
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    text-align: center;
    font-weight: normal;
}

/* Smaller on Mobile */
@media (max-width: 767px) {
    .hero-title {
        font-size: 2rem; /* Smaller on smaller screens */
        top: 8%; /* Moves it up more on mobile */
    }
}


/* NAVIGATION */
.hero-nav {
    position: absolute;
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 40px;
}

.hero-nav a {
    font-size: 1rem;
    color: #ffffff;
    text-decoration: none;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.hero-nav a:hover {
    text-decoration: underline;
}

/* HEADLINES */
h1, h2, h3 {
    font-family: 'Garamond Pro', serif;
    font-weight: normal;
    margin: 20px auto 10px;
    text-align: center;
    color: #d7af61;
    background-color: #ffffff;
    padding: 10px 20px;
    display: block;
}

h1 {
    font-size: 2.8rem;
}

h2 {
    font-size: 2.4rem;
}

h3 {
    font-size: 2rem;
}

/* TEXT BLOCK (Consolas for Consistency) */
.text-block {
    font-family: 'Consolas', 'OCRB', monospace;
    font-size: 1rem;
    line-height: 1.5;
    text-align: left;
    margin: 20px auto 40px;
    max-width: 800px;
    color: #333;
}

/* FULL-WIDTH IMAGE BLOCKS */
.full-width-image {
    width: 100%;
    max-width: 1920px;
    background-color: inherit;
    margin: 0 auto;
}

.full-width-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

/* Mobile: Make full-width images taller */
@media (max-width: 767px) {
    .full-width-image {
        height: 75vh; /* Match hero height on mobile */
    }

    .full-width-image img {
        height: 100%;
        object-fit: cover;
    }
}

/* IMAGE + TEXT MODULE */
.image-text-module {
    display: flex;
    max-width: 1920px;
    width: 100%;
    background-color: #f5f5f5;
    margin: 0 auto;
}

/* Default Layout: Image Left, Text Right */
.image-side {
    width: 50%;
    max-width: 960px;
    overflow: hidden;
}

.image-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.text-side {
    width: 50%;
    max-width: 960px;
    padding: 30px;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #f5f5f5;
    box-sizing: border-box;
}

/* FLIPPED LAYOUT: Image Right, Text Left */
.image-text-module.reverse {
    flex-direction: row-reverse;
}

/* MOBILE: STACK IMAGE-TEXT MODULE */
@media (max-width: 1024px) {
    .image-text-module {
        flex-direction: column;
    }

    .image-text-module.reverse {
        flex-direction: column;
    }

    .image-side, .text-side {
        width: 100%;
        max-width: 100%;
    }

    .text-side {
        padding: 20px;
    }
}

.center-logo {
    width: 120px; /* Adjust size */
    height: auto;
    display: block;
    margin: 10px auto; /* Centers the logo and adds spacing */
}

/* OUTRO SECTION */
.outro {
    padding: 40px 20px;
    background-color: #ffffff;
    text-align: center;
}

/* FOOTER - Always at Bottom */
.footer {
    text-align: center;
    background-color: #ffffff;
    padding: 20px 0;
    width: 100%;
}

/* ENSURE EVERYTHING CENTERS ON LARGE VIEWPORTS */
@media (min-width: 2400px) {
    .container {
        max-width: 1920px;
        margin: 0 auto;
    }
}
/* SPONSORS GRID */
.sponsors-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns on desktop */
    grid-template-rows: auto;
    gap: 20px; /* Adds spacing between logos */
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
    justify-items: center;
    align-items: center;
}

/* LOGO SIZING */
.sponsor-logo {
    width: 100%;
    max-width: 150px; /* Keeps logos uniform */
    height: auto;
    object-fit: contain; /* Ensures logos fit well */
    display: block;
}

/* MOBILE: 2x2 GRID */
@media (max-width: 768px) {
    .sponsors-container {
        grid-template-columns: repeat(2, 1fr); /* 2 columns */
        gap: 15px;
    }

    .sponsor-logo {
        max-width: 180px; /* Slightly smaller logos for mobile */
    }
}