:root {
--primary-color: #3a3a3a;
--secondary-color: #f0f0f0;
--accent-color: #c4a68a;
--text-color: #ffffff;
--dark-bg: #1e1e1e;
}
body {
font-family: 'Manrope', sans-serif;
margin: 0;
background-color: var(--dark-bg);
color: var(--text-color);
}
h1, h2, h3, h4, h5, h6 {
font-family: 'Cormorant Garamond', serif;
font-weight: 700;
}
header {
display: flex;
justify-content: center;
padding: 20px;
background-color: transparent;
position: absolute;
width: 100%;
box-sizing: border-box;
z-index: 10;
}
nav {
display: flex;
justify-content: space-between;
align-items: center;
width: 100%;
max-width: 1200px;
margin: 0 auto;
}
.nav-left, .nav-right, .logo {
flex: 1;
}
.nav-left .nav-links {
justify-content: flex-start;
}
.nav-right .nav-links {
justify-content: flex-end;
}
.logo {
text-align: center;
flex-shrink: 0;
}
.nav-links {
list-style: none;
display: flex;
gap: 20px;
margin: 0;
padding: 0;
}
.logo img {
height: 100px;
}
nav ul {
list-style: none;
display: flex;
gap: 20px;
}
nav ul li a {
text-decoration: none;
color: var(--text-color);
}
nav ul li a:hover {
color: var(--accent-color);
}
.hero {
position: relative;
background-image: url('images/hero-background.jpg');
background-size: cover;
background-position: center;
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
}
.hero::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.6);
z-index: 1;
}
.hero-content {
position: relative;
z-index: 2;
padding: 40px;
border-radius: 10px;
}
.hero-content h1 {
font-size: 3em;
margin: 0.5em 0;
}
.btn-primary, .btn-secondary {
padding: 20px 40px;
border: none;
border-radius: 30px;
cursor: pointer;
margin: 0 10px;
font-size: 16px;
font-weight: bold;
}
.btn-primary:hover, .btn-secondary:hover {
background-color: var(--accent-color);
}
.btn-primary {
background-color: #63584c;
color: #ffffff;
}
.btn-secondary {
background-color: var(--secondary-color);
color: var(--dark-bg);
}
.about, .amenities, .booking-section, .recommended-rooms, .terrace, .contact-map {
padding: 60px 20px;
text-align: center;
}
.about {
display: flex;
justify-content: space-around;
align-items: center;
gap: 20px;
background-color: #141414;
}
.about-content {
text-align: left;
padding-right: 120px;
padding-left: 120px;
box-sizing: border-box;
}
.about-content p:first-of-type {
color: #c1ae96;
font-size: 1rem;
margin-bottom: 15px;
}
.about-content h2 {
color: #ffffff;
font-size: 3.5rem;
font-weight: 400;
line-height: 1.1;
margin: 0 0 25px 0;
}
.about-content p:last-of-type {
color: #a9a9a9;
font-size: 1.1rem;
line-height: 1.6;
}
.about-content, .about-images {
flex: 1;
}
.about-images {
position: relative;
display: grid;
grid-template-columns: repeat(14, 1fr);
grid-template-rows: repeat(14, 1fr);
gap: 15px;
height: 500px;
}
.about-images img {
width: 100%;
height: 100%;
object-fit: cover;
border-radius: 25px;
}
.about-images img:nth-child(1) {
grid-column: 2 / span 8;
grid-row: 3 / span 6;
z-index: 2;
}
.about-images img:nth-child(2) {
grid-column: 8 / span 7;
grid-row: 2 / span 6;
z-index: 4;
}
.about-images img:nth-child(3) {
grid-column: 1 / span 9;
grid-row: 7 / span 8;
z-index: 3;
}
.about-images img:nth-child(4) {
grid-column: 8 / span 6;
grid-row: 5 / span 9;
}
.amenities {
padding: 80px 20px;
text-align: center;
background-color: #1f1f1f;
}
.amenities p:first-of-type {
color: var(--accent-color);
font-weight: bold;
letter-spacing: 2px;
margin-bottom: 10px;
}
.amenities h2 {
color: #ffffff;
font-size: 3rem;
font-weight: 400;
margin-top: 0;
margin-bottom: 15px;
}
.amenities > p:not(:first-of-type) {
color: #a9a9a9;
max-width: 600px;
margin: 0 auto 50px auto;
}
.amenities-grid {
display: flex;
justify-content: center;
gap: 30px;
margin-top: 40px;
}
.amenity {
background-color: #1b1b1b;
border-radius: 80px;
border: 1px solid rgba(255, 255, 255, 0.1);
padding: 40px 30px;
width: 100%;
max-width: 280px;
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
}
.amenity .icon {
background-color: rgba(0, 0, 0, 0.2);
width: 80px;
height: 80px;
border-radius: 50%;
display: flex;
justify-content: center;
align-items: center;
margin-bottom: 25px;
}
.amenity .icon img {
width: 36px;
height: 36px;
}
.amenity h3 {
color: #ffffff;
margin-bottom: 15px;
font-size: 1.25rem;
}
.amenity p {
color: #a9a9a9 !important;
line-height: 1.6;
font-size: 0.9rem;
}
.booking-section {
background-image: linear-gradient(to right, #3C3328, #191818);
display: grid;
grid-template-columns: 1.5fr auto;
gap: 20px;
align-items: center;
padding: 80px 60px;
color: #a9a9a9;
}
.booking-info {
text-align: left;
}
.booking-info .subtitle {
color: var(--accent-color);
font-size: 0.9rem;
margin-bottom: 10px;
}
.booking-info h2 {
color: #eae6e1;
font-size: 3.5rem;
font-weight: 400;
line-height: 1.1;
margin-top: 0;
margin-bottom: 25px;
}
.booking-info p {
line-height: 1.6;
max-width: 500px;
}
.features-list {
list-style: none;
padding: 0;
margin-top: 30px;
}
.features-list li {
display: flex;
align-items: center;
gap: 15px;
margin-bottom: 15px;
}
.features-list img {
width: 20px;
}
.booking-form {
display: flex;
align-items: flex-end;
gap: 15px;
}
.date-picker {
display: flex;
flex-direction: column;
}
.date-picker label {
font-size: 0.8rem;
margin-bottom: 8px;
}
.input-wrapper {
position: relative;
cursor: pointer;
}
.date-picker input[type="text"] {
background-color: #d1c7b8;
border: none;
border-radius: 10px;
padding: 15px 20px;
color: #312e2a;
font-size: 1rem;
width: 180px;
cursor: pointer;
}
.date-picker input::placeholder {
color: #5c554c;
}
.booking-form .btn-secondary {
padding: 15px 45px;
font-weight: bold;
margin-bottom: 0;
}
.recommended-rooms {
background-color: #1f1f1f;
padding: 80px 20px;
text-align: center;
position: relative;
}
.recommended-rooms h2 {
color: #eae6e1;
font-size: 3rem;
margin-bottom: 15px;
}
.recommended-rooms > p {
color: #a9a9a9;
max-width: 600px;
margin: 0 auto 50px auto;
}
.recommended-rooms .subtitle {
color: var(--accent-color);
}
.room-card {
display: flex;
background-color: #151515;
border-radius: 30px;
max-width: 1100px;
margin: 0 auto;
text-align: left;
gap: 10px;
color: #a9a9a9;
}
.room-details, .room-image {
flex: 1;
}
.room-details {
padding: 40px;
display: flex;
flex-direction: column;
}
.room-details h3 {
color: #eae6e1;
font-size: 2.5rem;
font-weight: 600;
}
.room-details p {
line-height: 1.6;
}
.room-features {
display: flex;
flex-wrap: wrap;
gap: 10px;
margin: 20px 0;
}
.room-features span {
background-color: rgba(255, 255, 255, 0.05);
border: 1px solid rgba(255, 255, 255, 0.1);
padding: 8px 15px;
border-radius: 20px;
font-size: 0.9rem;
display: flex;
align-items: center;
gap: 8px;
}
.room-features span img {
width: 16px; height: 16px;
}
.room-price {
margin-top: auto;
padding-top: 20px;
display: flex;
justify-content: space-between;
align-items: center;
}
.price-info strong {
color: #eae6e1;
font-size: 2rem;
}
.price-info span {
margin-left: 10px;
}
.room-price .btn-secondary {
background-color: #C6B99F;
color: #312e2a;
font-weight: bold;
}
.room-image {
position: relative;
border-radius: 25px;
overflow: hidden;
margin: 20px;
margin-left: 0;
align-self: center;
}
.room-image > img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
transition: opacity 0.4s ease-in-out;
}
.nav-arrow {
position: absolute;
top: 50%;
transform: translateY(-50%);
background-color: rgba(255, 255, 255, 0.9);
color: #1c1c1c;
width: 40px;
height: 40px;
border-radius: 50%;
display: flex;
justify-content: center;
align-items: center;
font-size: 1.5rem;
font-weight: bold;
cursor: pointer;
transition: background-color 0.2s;
z-index: 5;
}
.nav-arrow:hover {
background-color: #fff;
}
.photo-arrow.left { left: 20px; }
.photo-arrow.right { right: 20px; }
.terrace-arrow.left { left: 20px; }
.terrace-arrow.right { right: 20px; }
.global-arrow { position: static; transform: none; flex-shrink: 0; }
.photo-arrow {
width: 30px;
height: 30px;
font-size: 1.2rem;
}
.room-specs {
position: absolute;
bottom: 20px;
right: 20px;
display: flex;
gap: 20px;
color: #fff;
background-color: rgba(0, 0, 0, 0.4);
padding: 8px 15px;
border-radius: 15px;
}
.room-specs span { display: flex; align-items: center; gap: 8px; }
.room-specs img { width: 20px; height: 20px; }
.terrace {
display: flex;
align-items: center;
gap: 50px;
max-width: 1100px;
margin: 80px auto;
padding: 0 20px;
}
.terrace-carousel {
flex: 1;
position: relative;
border-radius: 25px;
overflow: hidden;
height: 450px;
}
.terrace-carousel img {
width: 100%;
height: 100%;
object-fit: cover;
}
.terrace-content {
flex: 1;
text-align: left;
display: flex;
flex-direction: column;
}
.terrace-content h2 {
color: #eae6e1;
font-size: 3rem;
margin-bottom: 20px;
}
.terrace-content p {
color: #a9a9a9;
line-height: 1.7;
margin-bottom: 30px;
}
.terrace-price {
display: flex;
justify-content: space-between;
align-items: center;
margin-top: auto;
}
.terrace-price .price-info strong {
color: #eae6e1;
font-size: 2.2rem;
}
.terrace-price .price-info span {
color: #a9a9a9;
margin-left: 10px;
}
.terrace-price .btn-secondary {
background-color: #C6B99F;
color: #312e2a;
font-weight: bold;
padding: 15px 40px;
}
.contact-map {
background-color: #faf8f5;
display: flex;
align-items: center;
gap: 50px;
padding: 100px 60px;
}
.contact-info {
flex: 1;
}
.contact-info h2 {
color: #b5a08c;
font-size: 3rem;
margin-bottom: 30px;
}
.contact-info p {
color: #1c1c1c;
font-size: 1.1rem;
line-height: 1.7;
margin-bottom: 15px;
}
.contact-info p strong {
color: #1c1c1c;
}
.social-link {
display: inline-block;
margin-top: 20px;
}
.social-link img {
width: 35px;
height: 35px;
opacity: 0.7;
transition: opacity 0.2s;
}
.social-link:hover img {
opacity: 1;
}
.map {
flex: 1.5;
}
.map iframe {
border-radius: 20px;
width: 100%;
height: 450px;
border: none;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
footer {
background-color: #111111;
padding: 60px 20px;
text-align: center;
color: #a9a9a9;
}
footer nav {
margin-bottom: 40px;
display: inline-block;
}
footer nav ul {
list-style: none;
padding: 0;
display: flex;
justify-content: center;
gap: 30px;
}
footer nav a {
color: #ffffff;
text-decoration: none;
font-weight: bold;
font-size: 1rem;
transition: color 0.2s;
}
footer nav a:hover {
color: var(--accent-color);
}
.footer-logo {
margin-bottom: 30px;
}
.footer-logo img {
max-height: 120px;
margin-bottom: 10px;
}
.footer-info {
font-size: 0.9rem;
line-height: 1.6;
}
.footer-info p {
margin: 5px 0;
}
.footer-info a {
color: inherit;
text-decoration: none;
transition: color 0.2s, text-decoration 0.2s;
}
.footer-info a:hover {
color: #ffffff;
text-decoration: underline;
}
.hero-content h1,
.hero-content .hero-buttons {
opacity: 0;
transform: translateY(20px);
transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.hero-content h1.visible,
.hero-content .hero-buttons.visible {
opacity: 1;
transform: translateY(0);
}
.fade-in {
opacity: 0;
transition: opacity 1s ease-in-out;
}
.slide-in-up {
opacity: 0;
transform: translateY(50px);
transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.slide-in-left {
opacity: 0;
transform: translateX(-50px);
transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in.visible,
.slide-in-up.visible,
.slide-in-left.visible {
opacity: 1;
transform: translateY(0) translateX(0);
}
.hero {
background-position: center;
background-attachment: fixed;
}
.room-image > img,
.terrace-carousel > img {
transition: opacity 0.4s ease-in-out;
}
.modal-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.8);
display: flex;
justify-content: center;
align-items: center;
z-index: 1000;
}
.modal-content {
background-color: var(--dark-bg);
padding: 30px;
border-radius: 15px;
width: 90%;
max-width: 800px;
position: relative;
border: 1px solid rgba(255, 255, 255, 0.1);
}
.modal-close {
position: absolute;
top: 15px;
right: 15px;
background: none;
border: none;
color: var(--text-color);
font-size: 2rem;
cursor: pointer;
}
#client-booking-form {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 20px;
margin-top: 20px;
}
#client-booking-form input {
width: 100%;
padding: 15px;
background-color: var(--primary-color);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 5px;
color: var(--text-color);
box-sizing: border-box;
}
#client-booking-form input[name="guestName"] {
grid-column: 1 / -1;
}
.modal-price {
grid-column: 1 / -1;
text-align: right;
font-size: 1.5rem;
}
#client-booking-form button {
grid-column: 2 / 3;
justify-self: end;
}
.flatpickr-calendar {
background-color: #2a2a2a;
border-radius: 8px;
border: 1px solid rgba(255, 255, 255, 0.1);
box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}
.flatpickr-months .flatpickr-month {
color: var(--text-color);
}
.flatpickr-weekdays {
background-color: #333;
}
span.flatpickr-weekday {
color: var(--accent-color);
}
.flatpickr-day {
color: var(--text-color);
border: 1px solid transparent;
}
.flatpickr-day:hover {
background-color: var(--primary-color);
}
.flatpickr-day.selected, .flatpickr-day.startRange, .flatpickr-day.endRange {
background-color: var(--accent-color);
border-color: var(--accent-color);
color: var(--dark-bg);
}
.flatpickr-day.today {
border-color: var(--accent-color);
}
.flatpickr-day.disabled {
color: #555;
cursor: not-allowed;
}
.flatpickr-months .flatpickr-prev-month, .flatpickr-months .flatpickr-next-month {
color: var(--text-color);
fill: var(--text-color);
}
.room-carousel-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
}

#room-card-container {
    flex: 1;
    padding: 0;
}
#available-rooms-list {
max-height: 300px;
overflow-y: auto;
border: 1px solid var(--primary-color);
border-radius: 5px;
margin-bottom: 20px;
}
.room-list-item {
display: flex;
gap: 15px;
padding: 10px;
cursor: pointer;
border-bottom: 1px solid var(--primary-color);
}
.room-list-item:last-child {
border-bottom: none;
}
.room-list-item:hover, .room-list-item.selected {
background-color: var(--primary-color);
}
.room-list-item img {
width: 100px;
height: 75px;
object-fit: cover;
border-radius: 5px;
}
.room-list-item-info h4 {
margin: 0 0 5px 0;
color: var(--text-color);
}
.room-list-item-info p {
margin: 0;
font-size: 0.9rem;
color: #a9a9a9;
}
.hamburger-menu {
display: none;
flex-direction: column;
justify-content: space-around;
width: 30px;
height: 25px;
cursor: pointer;
z-index: 1001;
}
.hamburger-menu span {
width: 100%;
height: 3px;
background-color: var(--text-color);
border-radius: 3px;
transition: all 0.3s ease-in-out;
}
.mobile-nav {
position: fixed;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background-color: var(--dark-bg);
z-index: 1000;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
transition: left 0.4s ease-in-out;
}
.mobile-nav ul {
list-style: none;
padding: 0;
text-align: center;
}
.mobile-nav li {
margin: 20px 0;
}
.mobile-nav a {
color: var(--text-color);
text-decoration: none;
font-size: 1.5rem;
}
.close-btn {
position: absolute;
top: 20px;
right: 30px;
background: none;
border: none;
color: var(--text-color);
font-size: 3rem;
cursor: pointer;
}
.mobile-nav.open {
left: 0;
}
.hamburger-menu.open span:nth-child(1) {
transform: rotate(45deg) translate(5px, 5px);
}
.hamburger-menu.open span:nth-child(2) {
opacity: 0;
}
.hamburger-menu.open span:nth-child(3) {
transform: rotate(-45deg) translate(7px, -7px);
}
@media (max-width: 1200px) {
.about-content { padding-left: 40px; padding-right: 40px; }
.booking-section, .contact-map { padding-left: 40px; padding-right: 40px; }
.room-carousel-wrapper { max-width: 95%; }
.global-arrow { width: 40px; height: 40px; }
.global-arrow.arrow-left { left: 10px; }
.global-arrow.arrow-right { right: 10px; }
}
@media (max-width: 992px) {
nav { flex-direction: column; gap: 15px; }
.about, .terrace, .contact-map { flex-direction: column; }
.contact-map { flex-direction: column-reverse; }
.about-content { padding: 0 20px; text-align: center; }
.about-images { height: auto; grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
.about-images img:nth-child(n) { grid-column: auto; grid-row: auto; }

.booking-section { grid-template-columns: 1fr; text-align: center; }
.booking-info p { max-width: 100%; margin: 0 auto 15px; }
.features-list { display: none; }
.booking-form { flex-direction: column; align-items: stretch; width: 100%; max-width: 400px; margin: 0 auto; }
.date-picker input[type="text"] { width: 100%; box-sizing: border-box; }
.room-carousel-wrapper {
    gap: 10px;
}

.global-arrow {
    width: 35px;
    height: 35px;
    font-size: 1.2rem;
}
.room-card {
    flex-direction: column;
    max-width: 500px;
}
.room-details {
    padding: 30px;
}
.room-image {
    margin: 0 20px 20px 20px;
    height: 350px;
}
.room-details h3 { font-size: 2rem; }
}
@media (max-width: 768px) {
header {
position: absolute;
background-color: transparent;
}
nav {
flex-direction: row;
justify-content: space-between;
width: 100%;
}
nav .nav-links { display: none; }
.hamburger-menu { display: flex; }
.logo img { height: 80px; }
.hero-content h1 { font-size: 2em; }
.hero-buttons { display: flex; flex-direction: column; gap: 15px; align-items: center; }

.about-content h2, .amenities h2, .booking-info h2, .recommended-rooms h2, .terrace-content h2, .contact-info h2 {
    font-size: 2.2rem;
}

.amenities-grid { flex-direction: column; align-items: center; }

.recommended-rooms {
    padding-left: 0;
    padding-right: 0;
}

.room-carousel-wrapper {
    flex-direction: row;
    gap: 10px;
}

.global-arrow {
    position: static;
    transform: none;
    width: 40px;
    height: 40px;
}

#room-card-container {
    padding: 0;
}

.room-card {
    width: 100%;
    max-width: 100%;
    margin: 0;
    border-radius: 0;
    gap: 0;
    display: flex;
    flex-direction: column;
}

.room-details {
    padding: 25px;
    order: 2;
}

.room-details h3 {
    font-size: 1.8rem;
}

.room-image {
    order: 1;
    margin: 0;
    border-radius: 0;
    height: 250px;
}

.room-price {
    flex-direction: row;
    justify-content: space-between;
}

footer nav ul { flex-direction: column; gap: 15px; }

.modal-content {
    width: 95%;
    padding: 20px;
    max-height: 90vh;
    overflow-y: auto;
}

#client-booking-form {
    grid-template-columns: 1fr;
}

#client-booking-form button {
    grid-column: 1 / -1;
    justify-self: stretch;
}

.room-list-item {
    flex-direction: column;
    align-items: flex-start;
}

.room-list-item img {
    width: 100%;
    height: 150px;
}
}

/* ===== TOAST NOTIFICATIONS ===== */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.toast {
    background-color: #2a2a2a;
    color: #fff;
    padding: 16px 24px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 300px;
    max-width: 400px;
    pointer-events: auto;
    animation: slideInRight 0.3s ease-out;
    border-left: 4px solid;
}

.toast.success {
    border-left-color: #4caf50;
}

.toast.error {
    border-left-color: #f44336;
}

.toast.warning {
    border-left-color: #ff9800;
}

.toast.info {
    border-left-color: #2196f3;
}

.toast-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-weight: bold;
    margin-bottom: 4px;
}

.toast-message {
    font-size: 14px;
    opacity: 0.9;
}

.toast-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toast-close:hover {
    opacity: 1;
}

/* ===== AMENITIES TABS (ВКЛАДКИ) ===== */
.amenities-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin: 40px 0;
}

.tab-btn {
  background-color: #1b1b1b;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-color);
  padding: 12px 25px;
  border-radius: 30px;
  font-family: 'Manrope', sans-serif;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tab-btn:hover {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: var(--accent-color);
}

.tab-btn.active {
  background-color: var(--accent-color);
  color: var(--dark-bg);
  border-color: var(--accent-color);
  font-weight: bold;
}

/* Контейнер для медиа */
.amenities-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center; /* Центрируем содержимое, если оно уже, чем контейнер */
}

.tab-pane {
  display: none;
  animation: fadeInTab 0.5s ease-in-out;
}

.tab-pane.active {
  display: block;
}

.tab-pane img,
.tab-pane video {
  max-height: 70vh; /* Ограничиваем высоту (70% от высоты экрана), чтобы файл всегда влезал */
  max-width: 100%; /* Защита от выхода за пределы экрана по ширине */
  width: auto; /* Ширина подстраивается под высоту автоматически */
  height: auto;
  object-fit: contain; /* Гарантирует, что медиа целиком поместится в свои границы без обрезки */
  display: block;
  margin: 0 auto; /* Центрируем фото/видео по горизонтали */
  border-radius: 20px; /* Красивое скругление углов у самих файлов */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); /* Тень для объема */
}

@keyframes fadeInTab {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Адаптив для мобильных устройств */
@media (max-width: 768px) {
  .amenities-tabs {
    gap: 10px;
  }
  .tab-btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  .tab-pane img,
  .tab-pane video {
    max-height: 60vh; /* На телефонах делаем ограничение по высоте чуть строже */
    border-radius: 10px;
  }
}


@keyframes slideInRight {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(400px);
        opacity: 0;
    }
}

.toast.hiding {
    animation: slideOutRight 0.3s ease-out forwards;
}

@media (max-width: 768px) {
    .toast-container {
        top: 10px;
        right: 10px;
        left: 10px;
    }
    
    .toast {
        min-width: auto;
        max-width: none;
    }
}