* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    height: 100%;
    font-family: Arial, sans-serif;
    background-color: #f3f3f3;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background-color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 100;
}

.logo a {
    text-decoration: none;
    color: #000;
    font-size: 23px;
    font-weight: bold;
}

.country-selector {
    position: relative;
}

.country-btn {
    background-color: #007BFF;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.country-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 10;
    width: max-content;
}

.country-menu ul {
    list-style: none;
    margin: 0;
    padding: 10px 0;
}

.country-menu li {
    padding: 10px 20px;
    cursor: pointer;
}

.country-menu li:hover {
    background-color: #f0f0f0;
}

/* Отображение меню при нажатии на кнопку */
.country-selector:hover .country-menu {
    display: block;
}


/* Slider styles */
.slider-container {
    position: relative;
    width: 100vw;
    height: 100vh; /* Full height of the viewport */
    max-height: 100vh;
    overflow: hidden;
}

.slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
}

.slide {
    position: relative;
    min-width: 100%;
    height: 100%;
}
/*
.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}*/

.slide img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Change this from cover to contain */
    background-color: black; /* Optional: Add a background color to handle letterboxing */
}

/* Navigation buttons */
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 24px;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

/* House details styles */
.house-details {
    padding: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.house-details h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

.house-details p {
    font-size: 18px;
    margin-bottom: 10px;
}

/* Sticky header on scroll */
.sticky {
    position: sticky;
    top: 0;
    z-index: 999;
}

.rating {
    display: inline-block;  /* Чтобы элемент не занимал всю ширину */
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    font-size: 18px;
    border-radius: 5px;
    font-weight: bold;
    z-index: 10;
    margin: 0; /* Убираем отступы, если нужно */
}

.rating i {
    margin-right: 5px;  /* Отступ между звездой и текстом "Рейтинг" */
    color: yellow;  /* Цвет звезды */
}

/* Parent container style for centering the button */
.button-container {
    text-align: center;
    margin-top: 30px;
    margin-bottom: 30px;
}

/* Merged .book-button class */
.book-button {
    background-color: #28a745;
    color: #fff;
    padding: 15px 15px;
    text-decoration: none;
    border-radius: 5px;
    display: inline-block;
    font-size: 16px;
    font-weight: bold;
    margin-top: 20px;
}

/* .view-button class remains unchanged */
.view-button {
    background-color: #007BFF;
    color: #fff;
    padding: 15px 15px;
    text-decoration: none;
    border-radius: 5px;
    display: inline-block;
}


.recommended-label {
    display: inline-block;  /* Чтобы элемент не занимал всю ширину */
    font-size: 16px;
    font-weight: bold;
    color: #E1306C;   /* Use the desired color */
    text-decoration: none;
//background-color: rgba(0, 0, 0, 0.7);
    background-color: white;
    padding: 7px 10px;
    border-radius: 5px;
    margin-left: 10px;
}

.capacity i {
    margin-top: 10px;  /* Reduce the space between icons */
    margin-bottom: 10px;  /* Reduce the space between icons */
    color: #E1306C;     /* Icon color */
    font-size: 16px;    /* Adjust the size of the icons if needed */
    vertical-align: middle;  /* Align the icons better */
}

/* Footer Style */
.site-footer {
    background-color: #333;
    color: white;
    padding: 40px 20px;
    text-align: center; /* Center all text */
    //height: 150px;
}

.site-footer ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.site-footer ul li {
    display: inline; /* Make list items inline */
    margin-right: 20px;
}

.site-footer ul li a {
    color: white;
    text-decoration: none;
    font-size: 14px;
}

.site-footer ul li a:hover {
    text-decoration: underline;
}

.site-footer p {
    margin-top: 10px;
    font-size: 14px;
    color: #ccc;
}

/* WhatsApp Button Style */
.whatsapp-button {
    display: inline-block;
    background-color: #25D366;
    color: white;
    padding: 6px 15px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    margin-top: 20px;
    margin-bottom: 10px;
}

.whatsapp-button:hover {
    background-color: #22bb5a;
}


.social-icon {
    margin-left: 20px;
    /* Space between logo and icon */
    color: #E1306C;
    /* Instagram color */
    font-size: 24px;
    /* Adjust the size */
    text-decoration: none;
    /* Remove underline */
}

.social-icon:hover {
    color: #d62976;
    /* Change color on hover */
}