body, html {
margin: 0;
padding: 0;
font-family: 'Montserrat', sans-serif;
overflow-x: hidden;
}
.home main {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    background: url('/img/hero-index.jpg');
    background-size:cover;
    background-position: center;
}
.hero{
    text-align: center;
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 50%;
    left: 50%;
    translate: -50% -50%;
    width: 100%;
    font-size: 1.75rem;
    
}
.hero h1{
    color: white;
    text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.1);;
}
.slideshow-container {
position: relative;
width: 100%;
height: 100vh;
overflow: hidden;
}
.slide {
position: absolute;
width: 100%;
height: 100%;
background-size: cover;
background-position: center;
opacity: 0;
transition: opacity 1s ease-in-out;
}
.slide.active {
opacity: 1;
}
.info-popup {
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
position: absolute;
bottom: 50px;
left: 50px;
background-color: rgba(0, 0, 0, 0.7);
color: white;
padding: 20px;
border-radius: 0px;
max-width: 400px;
min-width: 200px;
}
.info-popup h2 {
font-size: 1.6rem;
margin: 0;
}
.info-popup p {
margin: 5px 0;
font-size: 1.1rem;
position: relative;
text-align: center;
}
.info-popup .price {
font-size: 1.5rem;
font-weight: bold;
color: #c19a5f;
}
.info-popup .btn, .hero-content .btn, body.landing-page .btn.discover-btn, body.landing-page .btn.back-btn  {
display: inline-block;
margin-top: 10px;
padding: 10px 20px;
background-color: #c19a5f;
color: white;
text-decoration: none;
border-radius: 3px;
transition: background-color 0.3s;
font-weight: 600;
font-size: 1rem;
}
.info-popup .btn:hover, .hero-content .btn:hover, body.landing-page .btn.discover-btn:hover, body.landing-page .btn.back-btn:hover {
background-color: #a0763d;
}
.discover-btn {
position: relative;
z-index: 15;
pointer-events: auto;
}
.nav-arrow {
position: absolute;
top: 50%;
transform: translateY(-50%);
font-size: 5rem;
color: white;
padding: 10px;
cursor: pointer;
z-index: 100;
user-select: none;
transition: transform 0.3s ease;
background-color: transparent;
border: none;
}
.nav-arrow.prev {
left: 10px;
}
.nav-arrow.next {
right: 10px;
}
.nav-arrow:hover {
transform: translateY(-50%) scale(1.2);
}
.section-header {
text-align: center;
margin-bottom: 40px;
display: flex;
flex-direction: column;
align-items: center;
}
.section-header h2 {
font-size: 2.2rem;
font-weight: 500;
text-transform: uppercase;
color: #333;
margin: 0;
margin-top: 100px;
position: relative;
text-align: center;
font-family: 'REM', sans-serif;
}
.section-header h2::after {
content: '';
display: block;
width: 200px;
height: 2px;
background-color: #c19a5f;
margin: 20px auto 0;
}
.section-header p {
font-size: 1.2rem;
font-weight: 400;
color: #666;
margin-top: 20px;
margin-bottom: 10px;
text-align: center;
font-family: 'REM', sans-serif;
}
.button-container {
display: flex;
justify-content: center;
align-items: center;
}
.property-link {
text-decoration: none;
color: inherit;
}
.property-link:hover {
text-decoration: none;
color: #c19a5f;
}
@media (max-width: 768px) {
.info-popup {
bottom: 20px;
left: 10px;
padding: 10px;
max-width: 100%;
left: 50%;
transform: translateX(-50%);
text-align: center;
min-width: 250px;
}
.info-popup h2 {
font-size: 1.4rem;
}
.info-popup p {
font-size: 1rem;
}
.info-popup .price {
font-size: 1.3rem;
}
.info-popup .btn {
padding: 8px 16px;
font-size: 0.9rem;
}
}
@media (max-width: 480px) {
.info-popup {
bottom: 20px;
left: 10px;
padding: 10px;
max-width: 100%;
left: 50%;
transform: translateX(-50%);
text-align: center;
}
.info-popup h2 {
font-size: 1.2rem;
}
.info-popup p {
font-size: 0.9rem;
}
.info-popup .price {
font-size: 1.1rem;
}
.info-popup .btn {
padding: 6px 12px;
font-size: 0.8rem;
}
}
@media (max-width: 1024px) {
#top-properties {
grid-template-columns: repeat(2, 1fr);
gap: 15px;
}
.property-image-2 {
height: 180px;
}
.property-details h2 {
font-size: 1.3rem;
}
}
@media (max-width: 768px) {
#top-properties {
grid-template-columns: 1fr;
gap: 30px;
padding: 10px;
}
.property-card {
margin: 0 auto;
max-width: 95%;
}
.property-image-2 {
height: 150px;
}
.property-details h2 {
font-size: 1.2rem;
}
.price {
font-size: 1.1rem;
}
.discover-btn-2 {
font-size: 0.9rem;
padding: 8px;
}
}
@media (max-width: 600px) {
.section-header h2 {
font-size: 1.6rem;
margin-top: 60px;
}
.section-header p {
font-size: 1rem;
}
.big-button {
font-size:1rem;
padding: 10px 12px;
}
.nav-arrow {
font-size: 2rem;
}
}
.home-cities{
    padding: 0 0 70px;
}
.seo-banner{
    padding: 70px 0;
    max-width: 900px; margin: 0 auto;
}
.home-cities-list {
    margin: 70px 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media screen and (max-width: 1023px) {
   .home-cities-list {
    grid-template-columns: repeat(3, 1fr);
   } 
}
@media screen and (max-width: 767px) {
   .home-cities-list {
    grid-template-columns: repeat(2, 1fr);
   } 
}
@media screen and (max-width: 424px) {
   .home-cities-list {
    grid-template-columns: repeat(1, 1fr);
   } 
}

.home-cities-list a {
font-size: 1.25rem;
    color: #333;
    margin: 0 0 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-decoration: none;
    font-weight: 500;
    letter-spacing: -0.5px;
    margin-top: -5px;
}

.city-access-illustration{
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
}

.conseillers-container {
    display: grid; grid-template-columns: 50% 50%; gap: 2rem;
}

.conseillers {
    display: flex; flex-direction: column; gap: 2rem;
}

.conseillers .property-card{
    max-width: none;
    width: 100%;
    display: flex;
}

.conseillers .property-card .img {
    width: 33.3333%; padding-top: 33.3333%; background-size:cover !important;
}

@media screen and (max-width: 1023px) {
    .conseillers-container {
        grid-template-columns: 100%;
    }
}
@media screen and (max-width: 767px) {

}
@media screen and (max-width: 424px) {
    .conseillers .property-card{
        flex-direction: column;
    }
    .conseillers .property-card .img {
        width: 100%; padding-top: 100%;
    }
}
