/* styles.css */

img {
    max-width: 100%;
    height: auto;
}

/* Reset default margin and padding */
body {
    margin: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

/* Header styles */
header {
    background-color: #000;
    color: #fff;
    text-align: center;
    padding: 2rem 0;
}

/* Navigation styles */
nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 1rem;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

/* Main section styles */
.main-section {
    padding: 4rem 0;
    text-align: center;
}

/* Apartment listing styles */
.apartment {
    border: 1px solid #ccc;
    padding: 1rem;
    margin: 1rem;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.apartment img {
    max-width: 100%;
    height: auto;
}

/* Carousel container */
.slideshow-container {
    max-width: 100%;
    position: relative;
    margin: auto;
    overflow: hidden; /* Hide horizontal overflow on small screens */
}

/* Hide all slides by default */
.mySlides {
    display: none;
}

/* Style the images */
.mySlides img {
    width: 100%;
    height: auto;
}

/* Navigation buttons */
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    cursor: pointer;
}

.prev {
    left: 0;
}

.next {
    right: 0;
}

/* Dots (indicators) */
.dot-container {
    text-align: center;
}

.dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 0 4px;
    background-color: #bbb;
    border-radius: 50%;
    cursor: pointer;
}

.active {
    background-color: #ff6600;
}

/* Example hover effect */
.dot:hover {
    transform: scale(1.2);
    background-color: #ff6600;
}

.cta-button:hover, .book-button:hover {
    background-color: #ff4500;
}
