/* ===== СТИЛИ ТОЛЬКО ДЛЯ ТЕЛЕФОНОВ ===== */
@media screen and (max-width: 768px) {
    .navbar {
        padding: 10px 0;
    }
    
    .desktop-menu {
        display: none !important;
    }
    
    .mobile-menu-toggle {
        display: flex !important;
        flex-direction: column;
        justify-content: space-between;
        width: 26px;
        height: 18px;
        cursor: pointer;
        z-index: 1001;
    }
    
    .mobile-menu-toggle span {
        display: block !important;
        width: 100%;
        height: 2.5px;
        background: white;
        border-radius: 3px;
        transition: all 0.3s;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(4px, 5px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(4px, -5px);
    }
    
    .mobile-menu {
        display: block !important;
        position: fixed;
        top: 0;
        right: -280px;
        width: 250px;
        height: 100vh;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        transition: right 0.3s ease;
        z-index: 1000;
        padding: 70px 15px 30px;
        box-shadow: -5px 0 20px rgba(0,0,0,0.2);
    }
    
    .mobile-menu.active {
        right: 0 !important;
    }
    
    .mobile-menu ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    
    .mobile-menu li {
        margin-bottom: 12px;
    }
    
    .mobile-menu a {
        color: white;
        text-decoration: none;
        font-size: 15px;
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 10px 12px;
        border-radius: 8px;
    }
    
    body.menu-open {
        overflow: hidden;
    }
    
    body.menu-open::after {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,0.5);
        z-index: 998;
    }
    
    .page {
        padding-top: 60px;
    }
    
    .container {
        padding: 20px 12px;
    }
    
    .page-header {
        padding: 30px 12px;
    }
    
    .page-header h1 {
        font-size: 28px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 28px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .about-info-card {
        padding: 25px;
    }
    
    .about-info-card h2 {
        font-size: 24px;
    }
    
    .rules-list {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .gallery-overlay {
        opacity: 1;
        background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
        padding: 10px;
    }
    
    .gallery-overlay span {
        font-size: 12px;
        padding: 4px 8px;
    }
    
    .contacts-enhanced {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contacts-cards {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .services-tags {
        gap: 8px;
    }
    
    .service-tag {
        padding: 8px 15px;
        font-size: 12px;
    }
    
    .footer {
        padding: 40px 0 15px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-col h4 {
        justify-content: center;
    }
}

/* Мобильные стили для страницы записи */
@media screen and (max-width: 768px) {
    .booking-filters {
        gap: 6px;
    }
    
    .filter-btn {
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .booking-row {
        flex-wrap: wrap;
    }
    
    .booking-time {
        width: 100%;
        text-align: left;
        border-right: none;
        border-bottom: 1px solid #e0e0e0;
    }
    
    .booking-cell {
        width: 100%;
        text-align: left;
    }
    
    .booking-legend {
        gap: 15px;
    }
    
    .booking-action p {
        font-size: 16px;
    }
    
    .btn-large {
        padding: 12px 30px;
        font-size: 16px;
    }
}
/* ===== МОБИЛЬНЫЕ СТИЛИ ДЛЯ КАЛЕНДАРЯ ===== */
@media screen and (max-width: 768px) {
    .calendar-days {
        gap: 4px;
    }
    
    .calendar-day {
        font-size: 12px;
        border-radius: 8px;
    }
    
    .time-slots-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
        padding: 8px;
    }
    
    .time-slot {
        padding: 10px 3px;
        font-size: 12px;
    }
    
    .booking-legend {
        gap: 12px;
        padding: 15px;
    }
    
    .legend-item {
        font-size: 11px;
        gap: 6px;
    }
    
    .legend-color {
        width: 20px;
        height: 20px;
    }
    
    .selected-datetime {
        font-size: 14px;
        padding: 12px;
    }
    
    .month-navigation {
        padding: 10px 15px;
    }
    
    .month-nav-btn {
        width: 35px;
        height: 35px;
    }
    
    #current-month-display {
        font-size: 16px;
    }
    
    .calendar-weekdays div {
        font-size: 11px;
    }
}
