:root {
	--primary-color: #0067a5;
	--primary-dark: #005a8f;
	--secondary-color: #d3ff3a;
	--light-color: #F5F9FA;
	--dark-color: #434750;
	--text-color: #455A64;
	--border-radius: 16px;
	--box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
	--highlight-color: #d3ff3a;
	--blue-shadow: 0 0 10px rgba(0, 103, 165, 0.4);
	--blue-shadow-intense: 0 0 15px rgba(0, 103, 165, 0.7);
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: 'Montserrat', sans-serif;
	color: var(--text-color);
	background-color: #fff;
	line-height: 1.6;
	overflow-x: hidden;
}

a {
	text-decoration: none;
	color: var(--primary-dark);
	transition: all 0.3s ease;
}

a:hover {
	color: var(--secondary-color);
}

.container {
	width: 90%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 15px;
}



/* Hero Section */
.hero {
	position: relative;
	height: 80vh;
	max-height: 700px;
	min-height: 500px;
	background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../picture/index.avif') no-repeat center center/cover;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	color: white;
	margin-bottom: 40px;
}

.hero-content {
	max-width: 800px;
	padding: 0 20px;
	text-shadow: 0 0 10px rgba(211, 255, 58, 0.5);
}

.hero h1 {
	font-size: 3rem;
	margin-bottom: 20px;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
	font-size: 1.2rem;
	margin-bottom: 30px;
	text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.btn {
	display: inline-block;
	padding: 12px 30px;
	background-color: var(--primary-color);
	color: white;
	border-radius: 30px;
	font-weight: 600;
	text-transform: uppercase;
	transition: all 0.3s ease;
	border: none;
	cursor: pointer;
	box-shadow: var(--blue-shadow);
}

.btn:hover {
	background-color: var(--primary-dark);
	transform: translateY(-3px);
	box-shadow: 0 5px 15px rgba(211, 255, 58, 0.5);
}

.btn-secondary {
	background-color: var(--secondary-color);
	box-shadow: var(--blue-shadow);
}

.btn-secondary:hover {
	background-color: #c4e635;
	color: white !important;
	box-shadow: 0 5px 15px rgba(211, 255, 58, 0.5);
}

/* Section Styling */
section {
	padding: 60px 0;
}

.section-title {
	text-align: center;
	margin-bottom: 40px;
}

.section-title h2 {
	font-size: 2.5rem;
	color: var(--primary-dark);
	margin-bottom: 15px;
	position: relative;
	display: inline-block;
}

.section-title h2:after {
	content: '';
	position: absolute;
	bottom: -10px;
	left: 50%;
	transform: translateX(-50%);
	width: 80px;
	height: 4px;
	background-color: var(--primary-color);
	border-radius: 2px;
}

.section-title p {
	color: var(--text-color);
	max-width: 700px;
	margin: 0 auto;
}

/* Tours Preview */
.tours-preview {
	background-color: var(--light-color);
	padding: 60px 0;
}

.tours-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 25px;
}

.tour-card {
	background: white;
	border-radius: var(--border-radius);
	overflow: hidden;
	box-shadow: var(--box-shadow);
	transition: transform 0.3s ease;
	position: relative;
	display: flex;
	flex-direction: column;
}

.tour-card:hover {
	transform: translateY(-10px);
}

.tour-card-image-container {
	height: 200px;
	overflow: hidden;
	position: relative;
}

.tour-card-image-container img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 30%;
	transition: transform 0.3s ease;
}

.tour-card:hover .tour-card-image-container img {
	transform: scale(1.1);
}

.tour-card-content {
	padding: 20px;
	flex-grow: 1;
	display: flex;
	flex-direction: column;
}

.tour-card h3 {
	font-size: 1.3rem;
	margin-bottom: 10px;
	color: var(--dark-color);
}

.tour-card .date {
	color: var(--primary-dark);
	font-weight: 600;
	margin-bottom: 10px;
}

.tour-card .description {
	margin-bottom: 15px;
	flex-grow: 1;
}

        .price {
            font-size: 1.5rem;
            color: #6c757d;
            font-weight: bold;
            margin-bottom: 15px;
            text-align: center;
            padding: 10px;
            background: var(--light-color);
            border-radius: 8px;
        }

.tour-card .price {
	font-weight: 700;
	color: var(--primary-dark);
	font-size: 1.5rem;
	margin: 10px 0;
	text-align: center;
}

.tour-card .btn {
	width: 100%;
	text-align: center;
	margin-top: auto;
}

/* Calendar */
.calendar-section {
	padding: 60px 0;
}

.calendar-container {
	background: white;
	border-radius: var(--border-radius);
	padding: 30px;
	box-shadow: var(--box-shadow);
	max-width: 1100px;
	margin: 0 auto;
    overflow-x: hidden;
}

.calendar-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 20px;
}

.calendar-nav {
	display: flex;
	gap: 10px;
}

.calendar-nav button {
	background: var(--primary-color);
	border: none;
	color: white;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: var(--blue-shadow);
}

.calendar-nav button:hover {
	background: var(--primary-dark);
	box-shadow: 0 0 12px rgba(211, 255, 58, 0.5);
}

.calendar-grid {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 10px;
}

.calendar-day {
	text-align: center;
	padding: 10px;
	border-radius: 50%;
	cursor: pointer;
	transition: all 0.3s ease;
	position: relative;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
}

.calendar-day:hover {
	background-color: var(--light-color);
}

.calendar-day.has-tour {
	background-color: var(--primary-color);
	color: white;
	font-weight: 600;
	position: relative;
	z-index: 1;
}

.calendar-day.has-tour.range-start {
	border-top-left-radius: 20px !important;
	border-bottom-left-radius: 20px !important;
}

.calendar-day.has-tour.range-end {
	border-top-right-radius: 20px !important;
	border-bottom-right-radius: 20px !important;
}

.calendar-day.has-tour.in-range {
	border-radius: 0 !important;
}

.calendar-day.has-tour:hover,
.calendar-day.has-tour.range-start:hover,
.calendar-day.has-tour.range-end:hover,
.calendar-day.has-tour.in-range:hover {
	background-color: var(--primary-dark) !important;
	transform: scale(1.1);
	z-index: 10;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.calendar-day:not(.has-tour):hover {
	background-color: var(--light-color);
	transform: scale(1.05);
}

.calendar-day.empty {
	background-color: transparent;
	cursor: default;
}

.day-name {
	text-align: center;
	font-weight: 600;
	color: var(--primary-dark);
	padding: 10px;
	font-size: 12px;
}

/* Friends Section - Carousel */
.friends-section {
    padding: 60px 0;
    background-color: var(--light-color);
}



.friends-grid {
    display: flex;          /* Переключаемся на флексы */
    flex-wrap: wrap;        /* Чтобы карточки переносились на новую строку */
    justify-content: center; /* ЦЕНТРИРУЕМ карточки, если их меньше 4 */
    gap: 20px;              /* Отступ между карточками */
    margin-bottom: 40px;
}



.friend-card {
    position: relative;
    display: block;
    /* Рассчитываем ширину: (100% / 4) минус отступы */
    width: calc(25% - 15px); 
    min-width: 250px;       /* Чтобы карточки не становились слишком узкими */
    height: 200px;          /* Твоя высота */
    border-radius: 15px;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.friend-card:hover {
    transform: translateY(-5px); /* Легкий подъем при наведении */
}

.friend-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.friend-card-overlay {
    position: absolute;
    inset: 0; /* Растягиваем на всю карточку */
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Текст внизу */
    padding: 20px;
    color: white;
    transition: background 0.3s ease;
}

.friend-card:hover .friend-card-overlay {
    background: linear-gradient(to top, rgba(0, 103, 165, 0.9) 0%, rgba(0, 103, 165, 0.4) 100%);
}

.friend-card-overlay h3 {
    margin: 0 0 5px 0;
    font-size: 18px;
}

.friend-card-overlay p {
    margin: 0;
    font-size: 13px;
    opacity: 0.9;
}

.friends-action {
    text-align: center;
}

/* АДАПТИВНОСТЬ */
@media (max-width: 1024px) {
    .friends-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 колонки на планшетах */
    }
}

@media (max-width: 600px) {
    .friends-grid {
        grid-template-columns: 1fr; /* 1 колонка на мобилках */
    }
}



/* Reviews Map */
.reviews-map {
	padding: 60px 0;
	position: relative;
}

.map-container {
	position: relative;
	height: 500px;
	border-radius: var(--border-radius);
	overflow: hidden;
	box-shadow: var(--box-shadow);
}

#interactive-map {
	width: 100%;
	height: 100%;
	border-radius: var(--border-radius);
}

.leaflet-control-attribution {
	display: none !important;
}

.map-popup-content {
	display: flex;
	align-items: center;
	gap: 15px;
}

.map-popup-avatar {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	object-fit: cover;
	border: 3px solid var(--primary-color);
}

.map-popup-text {
	flex: 1;
}

.map-popup-text h4 {
	margin-bottom: 5px;
	color: var(--primary-dark);
}

.map-popup-text p {
	font-size: 0.9rem;
	margin-bottom: 10px;
	color: var(--text-color);
}



/* Modal */
/* 1. Главный контейнер (фон) */
.modal {
    display: none; /* Переключается на flex в JS */
    position: fixed;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    background-color: rgba(0, 0, 0, 0.6); /* Затемнение */
    z-index: 1000;
    
    /* Центрируем белое окно строго посередине экрана */
    justify-content: center;
    align-items: center;
}

/* 2. Белое окно (карточка) */
.modal-content {
    background-color: #fff;
    padding: 20px !important;
    border-radius: 15px;
    
    /* ФИКСИРУЕМ ШИРИНУ: это уберет "огромность" */
    width: 90% !important;
    max-width: 450px !important; 
    
    box-sizing: border-box !important;
    position: relative;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

/* 3. Картинка внутри окна */
#modal-tour-image {
    width: 100% !important; /* Растягиваем на всю ширину карточки */
    height: auto;
    border-radius: 10px;
    margin-bottom: 15px;
    display: block;
}

/* 4. Текстовые стили */
#modal-tour-title {
    font-size: 22px;
    font-weight: bold;
    margin: 10px 0;
}

#modal-tour-description {
    font-size: 14px;
    color: #555;
    line-height: 1.4;
    margin-bottom: 15px;
}

/* 5. Кнопка "Посмотреть тур" */
.btn {
    display: inline-block !important;
    background-color: #0077b6; /* Синий цвет */
    color: #fff !important;
    padding: 10px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 12px;
}

/* Кнопка "Посмотреть тур" */
#modal-tour-link.btn {
    display: inline-block;
    background-color: #0077b6;
    color: #fff;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 13px;
    text-transform: uppercase;
    
    /* Увеличиваем отступ сверху */
    margin-top: 25px; 
    
    transition: background 0.3s;
}

#modal-tour-link.btn:hover {
    background-color: #005b8c;
}

/* Back to top button */
.back-to-top {
	position: fixed;
	bottom: 30px;
	right: 30px;
	width: 50px;
	height: 50px;
	background-color: var(--primary-color);
	color: white;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	box-shadow: var(--blue-shadow);
	cursor: pointer;
	transition: all 0.3s ease;
	z-index: 999;
	opacity: 0;
	visibility: hidden;
}

.back-to-top.visible {
	opacity: 1;
	visibility: visible;
}

.back-to-top:hover {
	background-color: var(--primary-dark);
	transform: translateY(-5px);
	box-shadow: 0 6px 15px rgba(211, 255, 58, 0.5);
}

/* Book Now Fixed Button */
.book-now-fixed {
	position: fixed;
	bottom: 30px;
	right: 100px;
	z-index: 1000;
	background: var(--primary-color);
	color: white;
	padding: 15px 25px;
	border-radius: 30px;
	font-weight: 600;
	text-transform: uppercase;
	box-shadow: var(--blue-shadow-intense);
	transition: all 0.2s ease;
	cursor: pointer;
	border: none;
}

/* Адаптивность для кнопок */
@media (max-width: 992px) {
	.book-now-fixed {
		bottom: 90px;
		right: 20px;
		padding: 12px 20px;
		font-size: 14px;
	}
}

@media (max-width: 768px) {
	.book-now-fixed {
		bottom: 80px;
		right: 15px;
		padding: 10px 16px;
		font-size: 12px;
	}
	
	.back-to-top {
		bottom: 20px;
		right: 20px;
		width: 45px;
		height: 45px;
		font-size: 18px;
	}
}

@media (max-width: 576px) {
	.book-now-fixed {
		bottom: 70px;
		right: 10px;
		padding: 8px 14px;
		font-size: 11px;
	}
}

.book-now-fixed:hover,
.book-now-fixed:active {
	background: var(--secondary-color);
	color: var(--dark-color) !important;
	transform: translateY(-3px) scale(1.05);
	box-shadow: 0 5px 15px rgba(211, 255, 58, 0.5);
}

.book-now-fixed:active {
	transform: scale(1.1) translateY(2px);
	box-shadow: 0 3px 8px rgba(211, 255, 58, 0.7);
}

/* ==================== */
/* МЕДИА-ЗАПРОСЫ ДЛЯ АДАПТИВНОСТИ */
/* ==================== */

/* Планшеты и небольшие ноутбуки */
@media (max-width: 1200px) {
	.hero h1 {
		font-size: 2.5rem;
	}
	
	.section-title h2 {
		font-size: 2.2rem;
	}
	
	.book-now-fixed {
		right: 80px;
		padding: 14px 22px;
		font-size: 15px;
	}
}

/* Планшеты */
@media (max-width: 992px) {
	.hero {
		height: 70vh;
	}
	
	.hero h1 {
		font-size: 2.2rem;
	}
	
	.hero p {
		font-size: 1.1rem;
	}
	
	nav ul {
		display: none;
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		background-color: rgba(255, 255, 255, 0.98);
		flex-direction: column;
		padding: 80px 30px 30px;
		box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
		z-index: 999;
		overflow-y: auto;
	}
	
	nav ul.show {
		display: flex;
	}
	
	nav ul li {
		margin: 15px 0;
	}
	
	nav ul li a {
		font-size: 18px;
		padding: 12px 20px;
		display: block;
		text-align: center;
	}
	
	.mobile-menu-btn {
		display: block;
	}

	.book-now-fixed {
		bottom: 90px;
		right: 20px;
		padding: 12px 20px;
		font-size: 14px;
	}
	
	.friends-carousel {
		padding: 0 30px;
	}
	
	.footer-content {
		grid-template-columns: repeat(2, 1fr);
		gap: 25px;
	}
}

/* Мобильные устройства (ландшафтная ориентация) */
@media (max-width: 768px) {
	.container {
		width: 95%;
		padding: 0 10px;
	}
	
	section {
		padding: 40px 0;
	}
	
	.hero {
		height: 60vh;
		min-height: 400px;
	}
	
	.hero h1 {
		font-size: 1.8rem;
		margin-bottom: 15px;
	}
	
	.hero p {
		font-size: 1rem;
		margin-bottom: 20px;
	}
	
	.btn {
		padding: 10px 20px;
		font-size: 14px;
	}
	
	.section-title {
		margin-bottom: 30px;
	}
	
	.section-title h2 {
		font-size: 1.8rem;
	}
	
	.section-title p {
		font-size: 0.9rem;
	}
	
	.tours-grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}
	
	.tour-card-content {
		padding: 15px;
	}
	
	.tour-card h3 {
		font-size: 1.2rem;
	}
	
	.calendar-container {
		padding: 20px;
	}
	
	.calendar-day {
		height: 35px;
		padding: 8px;
		font-size: 12px;
	}
	
	.day-name {
		padding: 8px;
		font-size: 11px;
	}
	
	.friends-carousel {
		padding: 0 15px;
		margin-bottom: 20px;
	}

	.swiper {
		height: 200px;
	}
	
	.friend-card {
		height: 180px;
	}
	
	.friend-card-overlay {
		padding: 15px;
	}
	
	.friend-card-overlay h3 {
		font-size: 14px;
	}
	
	.friend-card-overlay p {
		font-size: 11px;
	}
	
	.map-container {
		height: 350px;
	}
	
	.footer-content {
		grid-template-columns: 1fr;
		gap: 20px;
	}
	
	.footer-column h3 {
		font-size: 1.1rem;
		margin-bottom: 15px;
	}
	
	.book-now-fixed {
		bottom: 80px;
		right: 15px;
		padding: 10px 16px;
		font-size: 12px;
	}
	
	.book-now-fixed:active {
		transform: scale(1.08) translateY(1px);
	}
	
	.back-to-top {
		bottom: 20px;
		right: 20px;
		width: 45px;
		height: 45px;
		font-size: 18px;
	}
}

/* Мобильные устройства (портретная ориентация) */
@media (max-width: 576px) {
	.hero {
		height: 50vh;
		min-height: 350px;
	}
	
	.hero h1 {
		font-size: 1.6rem;
	}
	
	.hero-content {
		padding: 0 15px;
	}
	
	.section-title h2 {
		font-size: 1.6rem;
	}
	
	.calendar-header {
		flex-direction: column;
		gap: 15px;
		text-align: center;
	}
	
	.calendar-nav {
		justify-content: center;
	}
	
	.calendar-day {
		height: 30px;
		padding: 5px;
		font-size: 11px;
	}
	
	.day-name {
		padding: 5px;
		font-size: 10px;
	}
	
	.swiper-button-next, .swiper-button-prev {
		width: 35px;
		height: 35px;
	}
	
	.swiper-button-next:after, .swiper-button-prev:after {
		font-size: 16px;
	}
	
	.map-container {
		height: 300px;
	}
	
	.map-popup-content {
		flex-direction: column;
		text-align: center;
		gap: 10px;
	}
	
	.map-popup-avatar {
		width: 50px;
		height: 50px;
		margin: 0 auto;
	}
	
	.modal-content {
		padding: 20px 15px;
	}
	
	.book-now-fixed {
		bottom: 70px;
		right: 10px;
		padding: 8px 14px;
		font-size: 11px;
	}
	
	.logo img {
		height: 35px;
	}
}

/* Очень маленькие устройства */
@media (max-width: 400px) {
	.hero h1 {
		font-size: 1.4rem;
	}
	
	.hero p {
		font-size: 0.9rem;
	}
	
	.btn {
		padding: 8px 16px;
		font-size: 12px;
	}
	
	.section-title h2 {
		font-size: 1.4rem;
	}
	
	.tour-card .price {
		font-size: 1.3rem;
	}
	
	.calendar-day {
		height: 25px;
		font-size: 10px;
	}
	
	.book-now-fixed {
		font-size: 10px;
		padding: 7px 12px;
	}
	
	.book-now-fixed i {
		margin-right: 3px;
	}
}

/* Высокие устройства */
@media (min-height: 1000px) and (max-width: 768px) {
	.hero {
		height: 40vh;
	}
}

/* Адаптация для iOS Safari */
@supports (-webkit-touch-callout: none) {
	.hero {
		height: -webkit-fill-available;
		min-height: -webkit-fill-available;
	}
}

/* ========================= */
/* КАЛЕНДАРЬ МЕСЯЦЕВ - ИСПРАВЛЕННЫЙ */
/* ========================= */

/* GRID месяцев */
.calendars-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	margin-top: 20px;
}

.calendar-month {
	background: var(--light-color);
	border-radius: var(--border-radius);
	padding: 15px;
	box-shadow: var(--box-shadow);
	width: 100%;
}

.calendar-month-header {
	text-align: center;
	margin-bottom: 15px;
	font-weight: 600;
	color: var(--primary-dark);
	font-size: 1.1rem;
}

.calendar-month-grid {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 4px;
	width: 100%;
}

/* Названия дней */
.calendar-month-day-name {
	text-align: center;
	font-weight: 600;
	color: var(--primary-dark);
	font-size: 10px;
	padding: 3px 0;
}

/* ===== ЯЧЕЙКА ДНЯ (КВАДРАТ!) ===== */
.calendar-month-day {
	aspect-ratio: 1; /* Делаем квадрат */
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	cursor: pointer;
	border-radius: 50%;
	transition: all 0.25s ease;
	margin: 0 auto;
	width: calc(100% - 4px); /* Учитываем gap */
	max-width: 36px; /* Максимальный размер на десктопе */
}

/* Пустые */
.calendar-month-day.empty {
	background: transparent;
	cursor: default;
}

/* ===== ДАТЫ С ТУРОМ — КРУГ ===== */
.calendar-month-day.has-tour {
	background-color: var(--primary-color);
	color: #fff;
	font-weight: 600;
}

/* Hover */
.calendar-month-day.has-tour:hover {
	background-color: var(--primary-dark);
	transform: scale(1.15);
	z-index: 5;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

/* Без тура */
.calendar-month-day:not(.has-tour):not(.empty):hover {
	background-color: rgba(0, 103, 165, 0.1);
	transform: scale(1.05);
}

/* ========================= */
/* АДАПТИВНОСТЬ КАЛЕНДАРЯ МЕСЯЦЕВ */
/* ========================= */

@media (max-width: 1200px) {
	.calendar-container {
		max-width: 1000px;
	}
}

@media (max-width: 1100px) {
	.calendar-container {
		max-width: 95%;
	}
	
	.calendars-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 992px) {
	.calendars-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	
	.calendar-month-day {
		max-width: 32px;
		font-size: 11px;
	}
	
	.calendar-month-day-name {
		font-size: 9px;
	}
}

@media (max-width: 768px) {
	.calendar-container {
		max-width: 95%;
		padding: 20px;
	}
	
	.calendars-grid {
		grid-template-columns: 1fr;
	}
	
	.calendar-month-day {
		max-width: 30px;
		font-size: 10px;
	}
}

@media (max-width: 576px) {
	.calendar-month-day {
		max-width: 28px;
		font-size: 9px;
	}
	
	.calendar-month-day-name {
		font-size: 8px;
	}
	
	.calendar-month-grid {
		gap: 3px;
	}
}

@media (max-width: 400px) {
	.calendar-month-day {
		max-width: 24px;
		font-size: 8px;
	}
	
	.calendar-month-day-name {
		font-size: 7px;
	}
}

/* Планшеты */
@media (max-width: 992px) {
  body.home-page nav ul {
    position: absolute !important;
    top: 60px !important;
    right: 20px !important;
    left: auto !important;
    bottom: auto !important;
    width: auto !important;
    background-color: rgba(255, 255, 255, 0.98) !important;
    border-radius: var(--border-radius) !important;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15) !important;
    padding: 15px !important;
    display: none !important;
    flex-direction: column !important;
    min-width: 180px;
    max-width: 250px;
    z-index: 1000 !important;
    overflow-y: auto;
    max-height: 80vh;
  }
  
  body.home-page nav ul.show {
    display: flex !important;
  }
  
  body.home-page nav ul li {
    margin: 8px 0 !important;
  }
  
  body.home-page nav ul li a {
    text-align: right !important;
    display: block !important;
    padding: 10px 15px !important;
    border-radius: 8px !important;
    font-size: 16px !important;
    width: 100%;
  }
}

/* Мобильные устройства */
@media (max-width: 576px) {
  body.home-page nav ul {
    top: 55px !important;
    right: 15px !important;
    padding: 12px !important;
    min-width: 160px;
    max-width: 220px;
  }
  
  body.home-page nav ul li a {
    padding: 8px 12px !important;
    font-size: 15px !important;
  }
}



/* Фикс для кнопки меню на главной странице */
@media (max-width: 992px) {
  body.home-page .header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }
  
  /* Сдвигаем кнопку меню вправо */
  body.home-page .mobile-menu-btn {
    order: 3; /* Перемещает кнопку в самый правый конец */
    margin-left: auto; /* Прижимает к правому краю */
    margin-right: 0;
    position: static !important; /* Убираем абсолютное позиционирование если есть */
    left: auto !important;
    right: auto !important;
  }
  
  /* Логотип остаётся слева */
  body.home-page .logo {
    order: 1;
  }
  
  /* Навигация (меню) - по центру или скрыта */
  body.home-page nav {
    order: 2;
  }
}

/* Для очень маленьких экранов */
@media (max-width: 576px) {
  body.home-page .mobile-menu-btn {
    font-size: 24px; /* Размер иконки */
    padding: 8px; /* Увеличиваем область клика */
  }
}

* Модальное окно для формы записи */
.booking-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.booking-modal-content {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    max-width: 600px;
    width: 90%;
    position: relative;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    max-height: 90vh;
    overflow-y: auto;
}
@media (max-width: 768px) {
    .booking-modal-content {
        padding: 20px;
    }
    
    .booking-widget {
        padding: 25px 15px;
        margin: 15px auto;
        border-radius: 15px;
    }
    
    .booking-widget img {
        height: 55px;
        margin-bottom: 12px;
    }
    
    .booking-widget h3 {
        font-size: 1.4rem;
    }
    
    .booking-widget input,
    .booking-widget select,
    .booking-widget button {
        max-width: 100%;
        padding: 12px;
        font-size: 14px;
    }
    
    .booking-widget button {
        padding: 14px;
        font-size: 15px;
    }
    
    .book-now-fixed {
        right: 20px;
        bottom: 20px;
        padding: 12px 20px;
        font-size: 14px;
    }
}

