/* ==== Listing Cards Styling ==== */
.listing-cards {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 30px;
margin-top: 30px;
}
.card-item {
width: 300px;
background: #fafafa;
border-radius: 12px;
text-align: center;
padding: 30px 20px;
transition: all 0.3s ease;
cursor: pointer;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}
.card-item:hover {
background: #f3c900; /* ORANGE BACKGROUND */
box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
transform: translateY(-5px);
}
.card-icon {
width: 80px;
height: 80px;
margin: 0 auto 20px;
background: #f3c900;
border-radius: 50%;
display: flex;
justify-content: center;
align-items: center;
transition: all 0.3s ease;
}
.card-icon img {
width: 40px;
height: 40px;
filter: brightness(0) invert(1); /* Makes icon white */
transition: all 0.3s ease;
}
.card-item:hover .card-icon {
background: #fff; /* On hover icon background becomes white */
}
.card-item:hover .card-icon img {
filter: none; /* On hover icon becomes original (yellow or black
)*/
}
.card-title {
font-size: 18px;
font-weight: 600;
color: #222;
transition: all 0.3s ease;
}
.card-item:hover .card-title {
color: #fff; /* Text turns white on hover */
}
/* ==== Modal Styling ==== */
.rent-modal {
position: fixed;
top: 0; left: 0;
width: 100%; height: 100%;
background: rgba(0, 0, 0, 0.6);
display: none;
justify-content: center;
align-items: center;
z-index: 9999;
}
.rent-modal.active {
display: flex;
}
.modal-content {
background: #fff;
padding: 30px;
border-radius: 12px;
text-align: center;
min-width: 300px;
position: relative;
box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}
.modal-content h3 {
margin-bottom: 20px;
font-size: 24px;
color: #333;
}
.modal-content button {
margin: 10px;
padding: 10px 25px;
background: #f3c900;
border: none;
border-radius: 8px;
cursor: pointer;
font-weight: bold;
font-size: 16px;
transition: background 0.3s ease;
}
.modal-content button:hover {
background: #e0b800;
}
.close-btn {
position: absolute;
top: 10px;
right: 15px;
font-size: 24px;
font-weight: bold;
color: #888;
cursor: pointer;
}
Service
Rent
Event
Classifieds
×
Choose Rent Type
Service
Rent
Event
Classifieds
Rent Type
.listing-types {
display: flex;
justify-content: space-around;
margin-top: 40px;
}
.listing-type {
text-align: center;
cursor: pointer;
background-color: #f2f2f2;
padding: 50px;
border-radius: 8px;
transition: background-color 0.3s ease;
}
.listing-type:hover {
background-color: #FFBF00;
}
.listing-type img {
width: 80px;
height: 80px;
}
.listing-type h3 {
margin-top: 10px;
color: black !important;
font-size: 18px !important;
}
.popup-overlay {
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
background-color: rgba(0, 0, 0, 0.5);
display: none;
justify-content: center;
align-items: center;
z-index: 1;
}
.popup {
background-color: white;
border: 1px solid #ccc;
padding: 40px;
width: 500px;
max-height: 80vh;
overflow-y: auto;
display: flex;
flex-direction: column;
align-items: center;
position: relative;
border-radius: 8px;
}
.popup .buttons {
display: flex;
justify-content: center;
flex-direction: row;
gap: 20px;
width: 100%;
}
.button-card {
background-color: #f2f2f2;
border-radius: 8px;
padding: 20px;
width: 100%;
display: flex;
justify-content: center;
transition: background-color 0.3s ease;
}
.button-card:hover {
background-color: #FFBF00;
}
.button-card button {
justify-content: center;
display: flex;
background-color: transparent;
color: black;
border: none;
padding: 0;
border-radius: 4px;
cursor: pointer;
font-size: 16px;
}
.close-button {
position: absolute;
top: 10px;
right: 10px;
font-size: 20px;
cursor: pointer;
}
Showing the single result