:root {
    --color-beige: #F2E2C9;
    --color-yellow: #FBB108;
    --color-orange: #FE4B01;
    --color-pink: #FF9B9E;
    --color-light-pink: #ffb0c1;
}

/* General styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: var(--color-beige);
}

/* Custom font class */
.protest-strike-regular {
    font-family: "Protest Strike", sans-serif;
    font-weight: 400;
    font-style: normal;
}

/* Header styling */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background-color: var(--color-pink);
    position: relative;
    width: 100vw;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--color-beige);
    text-decoration: none;
    justify-self: flex-start;
}

/* Burger menu styling */
.burger-menu {
    display: none;
    font-size: 30px;
    color: var(--color-beige);
    background: none;
    border: none;
    cursor: pointer;
}

/* Navigation styling for cities */
.city-nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

.city-nav a {
    text-decoration: none;
    color: var(--color-orange);
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.city-nav a:hover {
    color: var(--color-yellow);
}

@media screen and (max-width: 768px) {
    .burger-menu {
        display: block;
        position: absolute;
        right: 15px;
        top: 15px;
    }
    
    .city-nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 0;
        background-color: var(--color-pink);
        padding: 20px;
        border-radius: 10px;
        z-index: 10;
        width: 100%;
    }

    .city-nav ul.active {
        display: flex;
    }
}

/* Section styling */
main {
    width: 100vw; /* Full width for main content */
    overflow-x: hidden; /* Prevent horizontal scrolling */
}

.section {
    width: 100vw; /* Ensure full width of viewport */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    position: relative;
    margin: 0; /* Remove default margin */
}

.section-beige {
    background-color: var(--color-beige);
    background-image: url('../images/Velos.png');
    background-size: 150%; /* Hintergrund vergrößern, damit der Effekt flüssiger wirkt */
    background-position: 0 50%; /* Initiale Position (links zentriert) */
    height: 100vh;
    width: 100vw;
    animation: bikeMovement 10s linear infinite; /* Animation für 20 Sekunden im Loop */
}

/* Keyframes für die Bewegung der Fahrräder */
@keyframes bikeMovement {
    0% {
        background-position: 100% 50%; /* Startet rechts außerhalb des Bildes */
    }
    100% {
        background-position: -100% 50%; /* Beendet links außerhalb des Bildes */
    }
}


.main-title {
    font-size: 10rem;
    color: var(--color-orange);
    text-align: center; /* Keep title centered */
    font-weight: bold;
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@media screen and (max-width: 768px) {
    .main-title {
        font-size: 4rem; /* Smaller font size for mobile */
    }

    .section-beige {
        height: 50vh; /* Adjust height for mobile */
    }
}

/* Section-yellow styling */
.section-yellow {
    background-color: var(--color-yellow);
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    padding-left: 100px;
    padding-top: 50px;
    width: 100vw; /* Full width */
}

.text-image-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px; /* Space between text and image */
}

.responsive-image {
    max-width: 40%; /* Make sure the image never takes more than 50% of the width */
    height: auto; /* Maintain aspect ratio */
}

.yellow-title {
    font-size: 5rem;
    color: var(--color-orange);
    text-align: left; /* Align text to the left */
    font-weight: bold;
    margin-bottom: 20px;
}

.yellow-text {
    font-size: 24px;
    color: var(--color-orange);
    text-align: left; /* Align text to the left */
    max-width: 600px;
    line-height: 1.6;
}

@media screen and (max-width: 768px) {
    .section-yellow {
        flex-direction: column; /* Align content in a column */
        padding-left: 20px; /* Less padding */
        padding-right: 20px;
        text-align: left; /* Keep text aligned to the left */
    }

    .yellow-title {
        font-size: 2.5rem;
        text-align: left; /* Ensure title is left-aligned */
    }

    .yellow-text {
        font-size: 1.2rem;
        text-align: left; /* Ensure text is left-aligned */
        margin-bottom: 20px;
    }

    .text-image-container {
        flex-direction: column; /* Stack text and image */
    }

    .responsive-image {
        max-width: 70%; /* Full width on smaller screens */
        margin-top: 20px; /* Spacing between text and image */
    }
}

/* "Discover Your City" section */
.section-pink {
    background-color: var(--color-pink);
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    padding-left: 100px;
    padding-top: 50px;
    width: 100vw; /* Full width */
}

.pink-title {
    font-size: 5rem;
    color: var(--color-orange);
    text-align: left; /* Align text to the left */
    font-weight: bold;
    margin-bottom: 20px;
}

.pink-text {
    font-size: 24px;
    color: var(--color-orange);
    text-align: left;
    max-width: 600px;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Responsive Section-pink */
@media screen and (max-width: 768px) {
    .section-pink {
        flex-direction: column; /* Align content in a column */
        padding-left: 20px; /* Less padding */
        padding-right: 20px;
        text-align: left; /* Keep text aligned to the left */
    }

    .pink-title {
        font-size: 2.5rem;
        text-align: left; /* Ensure title is left-aligned */
        margin-bottom: 20px;
    }

    .pink-text {
        font-size: 1.2rem;
        text-align: left; /* Ensure text is left-aligned */
    }

    .city-list {
        font-size: 1.5rem;
        text-align: left; /* Ensure list is left-aligned */

    }

    .city-list li {
        margin-bottom: 15px;
    }

    .swiss-map {
        width: 100%; /* Ensure map scales down to fit screen */
        max-width: 400px; /* Limit the maximum width of the map */
        height: auto;
        margin-top: 20px;
    }
}

/* Footer styling */
footer {
    display: flex;
    justify-content: space-between;
    padding: 50px 100px;
    background-color: var(--color-beige);
    align-items: flex-start;
    flex-wrap: wrap;
    width: 100vw; /* Full width */
    text-align: left; /* Ensure footer content is left-aligned */
}

.footer-column {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    gap: 15px; /* Einheitliche Abstände zwischen den Elementen */
}

/* Home & About Us Links */
.footer-column h3 a {
    font-size: 2.5rem;
    color: var(--color-yellow);
    text-decoration: none;
    margin-bottom: 15px; /* Anpassung für Konsistenz */
}

.footer-column h3 a:hover {
    color: var(--color-orange); /* Change to orange on hover */
}

/* City list styling */
.city-list {
    list-style: none;
    font-size: 2.5rem;
    color: var(--color-yellow); /* Default color is yellow */
    max-width: 600px;

}

.city-list li {
    margin-bottom: 15px; /* Einheitlicher Abstand */
}

.city-list li a {
    text-decoration: none;
    color: var(--color-orange); /* Default orange */
    transition: color 0.3s ease;
}

.city-list li a:hover {
    color: var(--color-yellow); /* Change to yellow on hover */
}

/* Contact column styling */
.contact h3 {
    font-size: 2.5rem;
    color: var(--color-pink);
    margin-bottom: 15px; /* Anpassung für Konsistenz */
}

.contact p {
    font-size: 1.5rem;
    color: var(--color-pink);
    margin-bottom: 15px; /* Einheitlicher Abstand */
}

/* Responsive footer adjustments */
@media screen and (max-width: 768px) {
    footer {
        flex-direction: column;
        padding: 20px;
        text-align: left; /* Ensure footer text is left-aligned */
    }

    .footer-column {
        margin-bottom: 40px;
    }

    .footer-link {
        font-size: 1.5rem;
    }

    .contact p {
        font-size: 1.2rem;
    }
}
