* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    height: 100%;
    font-family: Arial, sans-serif;
    background-color: #f3f3f3;
    overflow: hidden;  /* Prevent scrolling */
}

/* Header styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;  /* Make sure it doesn't exceed the viewport */
    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;  /* Full width */
    height: calc(100vw * 16 / 9);  /* 9:16 aspect ratio */
    max-height: 100vh;
    overflow: hidden;
    margin-top: 60px;  /* Account for header height */
}

.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 */
}

/* Image name in top-left corner */
.image-name {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 18px;
    font-weight: bold;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

/* Link text in bottom-left corner */
.link-text {
    position: absolute;
    bottom: 80px;
    left: 20px;
    font-size: 16px;
    font-weight: bold;
    color: white;
    text-decoration: none;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 7px 10px;
    border-radius: 5px;
}

/* Book button in bottom-right corner */
.book-button {
    position: absolute;
    bottom: 80px;
    right: 20px;
    font-size: 16px;
    font-weight: bold;
    color: white;
    text-decoration: none;
    background-color: #E1306C;
    padding: 10px 20px;
    border-radius: 5px;
}

/* 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;
}

/* Стили для модального окна */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #fff;
    margin: auto;
    padding: 20px;
    border-radius: 10px;
    width: 80%;
    max-width: 600px;
    text-align: center;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

ul#city-list {
    list-style-type: none;
    padding: 0;
}

ul#city-list li {
    margin: 10px 0;
    font-size: 18px;
}

ul#city-list li:hover {
    text-decoration: underline;
    cursor: pointer;
}

/* Rating styles */
.rating {
    position: absolute;
    top: 15px;
    right: 20px;
    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;
}

.rating i {
    margin-right: 5px;  /* Отступ между звездой и числом */
    color: yellow;  /* Цвет звезды */
}

.recommended-label {
    position: absolute;
    top: 15px;
    right: 100px;
    font-size: 16px;
    font-weight: bold;
    color: #E1306C;   /* Use the desired color */
    text-decoration: none;
    background-color: white;
    padding: 5px 5px;
    border-radius: 5px;
}

.capacity {
    position: absolute;
    bottom: 120px;
    left: 20px;
    font-size: 16px;
    color: white;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 7px 10px;
    border-radius: 5px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
}

.capacity i {
    margin-right: 0px;  /* 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 */
}

.breakfast-included {
    position: absolute;
    bottom: 80px;
    left: 116px;
    font-size: 16px;
    color: white;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 8px 5px;
    padding-bottom: 8px;
    border-radius: 5px;
}

.breakfast-included i {
    color: white;     /* Icon color */
    font-size: 16px;    /* Adjust the size of the icons if needed */
    vertical-align: middle;  /* Align the icons better */
}


/* Modal styles */
/*
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    width: 80%;
    max-width: 600px;
    text-align: center;
    position: relative;
}

.close {
    position: absolute;
    top: 10px;
    right: 20px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

ul#city-list {
    list-style-type: none;
    padding: 0;
}

ul#city-list li {
    margin: 10px 0;
    font-size: 18px;
    cursor: pointer;
}

ul#city-list li:hover {
    text-decoration: underline;
}
*/

.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 */
}