body {
    background-color: #b4adad; /* Helles Grau als Beispiel */
}

/* Listings größer und Abstand verbessert */
.listing-wrapper {
    margin-bottom: 10px; /* 1 cm Abstand zwischen Zeilen */
}

.listing-card {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}




/* Stil für neue Buttons in Navbar */
.custom-btn {
    border: 1px solid black; /* Dünne schwarze Umrandung */
    background-color: white; /* Hintergrund bleibt weiß */
    color: rgb(255, 255, 255); /* Schrift schwarz */
    padding: 8px 12px;
    margin-right: 8px; /* Abstand zwischen Buttons */
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
    font-weight: 500;
}

/* Hover Effekt für neue Buttons */
.custom-btn:hover {
    background-color: rgba(0, 0, 0, 0.1); /* Leicht grauer Hintergrund */
}

/* Stil für grauen Text */
.text-gray {
    color: #6c757d; /* Grau */
}


.listing-card:hover {
    transform: scale(1.03);
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.3);
}

/* Bilder vergrößern */
.listing-img {
    width: 100%;
    height: 300px; /* Erhöhte Größe */
    object-fit: cover;
    border-radius: 5px;
}

/* Mehr Abstand für Eigenschaften */
.features {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

.features .left, .features .right {
    width: 48%;
}




/* Sidebar mit Map bleibt fixiert */
/* Map Sidebar fixieren */
.map-container {
    position: fixed; /* Fixiert die Map beim Scrollen */
    top: 70px; /* Startpunkt nach der Navbar */
    right: 20px; /* Abstand von rechts */
    width: 300px; /* Feste Breite */
    height: 450px; /* Feste Höhe */
    background-color: #34495e;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    padding: 10px;
    z-index: 1000; /* Damit die Map über allem bleibt */
}

/* Fixiert die Map selbst */
#map {
    width: 100%;
    height: 400px; /* Maximale Höhe */
    border-radius: 10px;
}

/* Abstand zwischen Listings */
.listing-wrapper {
    margin-bottom: 10px;
}

/* Hover Effekt */
.listing-card:hover {
    transform: scale(1.03);
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.3);
}

/* Footer zentriert & blauer Hintergrund */
.footer {
    background-color: #2980b9;
    text-align: center;
    padding: 20px;
    color: white;
    font-size: 16px;
    position: relative;
    width: 100%;
}


/* Sidebar mit Map bleibt fixiert */
.map-container {
    position: sticky;
    top: 70px;
    padding: 10px;
    background-color: #34495e;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    width: 100%;
    height: 500px;
}

/* Map selbst auf fixe Höhe setzen */
#map {
    width: 100%;
    height: 400px; /* Höhe der Map */
    border-radius: 10px;
}


/* Pagination Container mittig platzieren */
.pagination-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

/* Einheitliche Größe für Pagination-Buttons */
.page-btn {
    padding: 8px 14px;  /* Einheitliche Polsterung */
    font-size: 14px;     /* Einheitliche Schriftgröße */
    border-radius: 5px;  /* Einheitliche Rundung */
    min-width: 40px;     /* Einheitliche Breite */
    height: 40px;        /* Einheitliche Höhe */
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: 2px solid #4b2ecc;
    background-color: transparent;
    color: rgb(0, 0, 0);
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease-in-out;
}

/* Hover-Effekt für Pagination */
.page-btn:hover {
    background-color: #4b2ecc;
    color: white;
}

/* Aktive Seite */
.page-btn.active {
    background-color: #4b2ecc;
    color: white;
    border-color: white;
}



/* 🔍 Fancy Suchbox */
.search-box {
    position: relative;
    display: flex;
    align-items: center;
    background: white;
    border-radius: 50px; /* Runde Ecken */
    padding: 5px;
    box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.2); /* Leichte Schatten */
    transition: all 0.3s ease-in-out;
}

.search-box:hover {
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.3);
}

/* 📄 Eingabefeld */
.search-input {
    padding: 10px 15px;
    border: none;
    outline: none;
    width: 300px; /* Breite der Suchbox */
    height: 30px;
    border-radius: 50px;
    font-size: 16px;
    transition: all 0.3s ease-in-out;
}

/* 🔍 Suchbutton mit Fancy Animation */
.search-btn {
    background: linear-gradient(135deg, #000000, #342299); /* Farbverlauf */
    border: none;
    position: absolute;
    right: 5px;
    color: white;
    cursor: pointer;
    font-size: 18px;
    width: 30px;
    height: 30px;
    border-radius: 50%; /* Kreisförmiger Button */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease-in-out;
}

/* 🔍 Hover Effekt */
.search-btn:hover {
    background: linear-gradient(135deg, #342299, #1a0f66);
    transform: scale(1.1); /* Button wird größer */
}

/* 🔍 Icon etwas größer machen */
.search-btn i {
    font-size: 18px;
}
