.review-slider-wrapper {
width: 90%;
max-width: 1200px;
position: relative;
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
border-radius: 8px;
overflow: hidden;
}
.review-container {
display: flex;
position: relative;
width: 100%;
height: auto;
transition: transform 0.5s ease-in-out;
}
.review-slide {
display: flex;
min-width: 100%;
}
.image-section {
flex: 1;
min-width: 50%;
}
.image-section img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
min-height: 300px;
}
.text-section {
flex: 1;
background-color: #aeb4b4;
color: #333;
padding: 40px;
box-sizing: border-box;
display: flex;
flex-direction: column;
justify-content: center;
position: relative;
min-width: 50%;
}
.text-section h2 {
font-size: 2.5em;
font-weight: bold;
margin-top: 0;
margin-bottom: 20px;
color: #2c3e50;
}
.text-section p.review-text {
font-size: 1.1em;
line-height: 1.6;
font-style: italic;
color: #444;
}
.separator {
width: 60px;
height: 2px;
background-color: #555;
margin: 20px 0;
}
.author {
font-style: normal;
font-weight: bold;
margin-bottom: 5px;
color: #2c3e50;
font-size: 1.1em;
}
.project-type {
font-style: normal;
font-size: 0.9em;
color: #555;
}
.navigation-arrows {
position: absolute;
bottom: 20px;
right: 40px;
display: flex;
gap: 10px;
z-index: 10;
}
.arrow {
font-size: 2em;
cursor: pointer;
color: #333;
background-color: rgba(255, 255, 255, 0.7);
border-radius: 50%;
width: 40px;
height: 40px;
display: flex;
justify-content: center;
align-items: center;
transition: background-color 0.3s ease, color 0.3s ease;
}
.arrow:hover {
background-color: #333;
color: #fff;
}
@media (max-width: 900px) {
.review-slide {
flex-direction: column-reverse;
}
.image-section,
.text-section {
min-width: 100%;
}
.text-section {
padding: 30px;
}
.text-section h2 {
font-size: 2em;
}
.text-section p.review-text {
font-size: 1em;
}
.navigation-arrows {
position: static;
justify-content: center;
margin-top: 20px;
}
}
@media (max-width: 600px) {
.text-section {
padding: 20px;
}
.text-section h2 {
font-size: 1.8em;
margin-bottom: 15px;
}
.text-section p.review-text {
font-size: 0.9em;
}
.arrow {
font-size: 1.5em;
width: 35px;
height: 35px;
}
.image-section img {
min-height: 200px;
}
}