:root {
    --primary-color: #7b68ee;
    --secondary-color: #ff69b4;
    --light-color: #f9f7fe;
    --dark-color: #333;
    --text-color: #444;
    --border-radius: 12px;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    line-height: 1.6;
    color: var(--text-color);
    background: linear-gradient(150deg, #5900ff 0%, #fc51f3 50%, #5900ff 100%);
    min-height: 100vh;
    background-attachment: fixed;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}


header {
    background-color: white;
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 700;
    text-decoration: none;
}

.logo i {
    font-size: 2.2rem;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav a {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--primary-color);
    cursor: pointer;
}


.hero {
    padding: 150px 0 80px;
    text-align: center;
    background: linear-gradient(135deg, rgba(123, 104, 238, 0.1) 0%, rgba(255, 105, 180, 0.1) 100%);
}

.hero h1 {
    font-size: 3.2rem;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.hero p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto 30px;
    color: var(--text-color);
}

.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    position: relative;
    top: 0;
}



.slider-section {
    padding: 80px 0;
    background-color: white;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    color: var(--dark-color);
    font-size: 2.5rem;
}

.section-title span {
    color: var(--primary-color);
}

.swiper {
    width: 100%;
    height: 450px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.swiper-slide {
    position: relative;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 15px;
    font-size: 1.2rem;
}


.about-section {
    padding: 80px 0;
    background-color: #f0f8ff;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.about-text p {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.about-image {
    flex: 1;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}


.gallery-section {
    padding: 80px 0;
    background-color: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 250px;
    cursor: pointer;
    box-shadow: var(--shadow);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}


.schedule-section {
    padding: 80px 0;
    background-color: #f0f8ff;
}

.schedule-table {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    border-collapse: collapse;
    box-shadow: var(--shadow);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.schedule-table th, .schedule-table td {
    padding: 18px 20px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.schedule-table th {
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
}

.schedule-table tr:nth-child(even) {
    background-color: #f9f9f9;
}



.simple-contact-section {
    padding: 80px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

.simple-form-container {
    max-width: 500px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.simple-contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.simple-contact-form input,
.simple-contact-form textarea {
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    width: 100%;
    transition: border-color 0.3s;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.simple-contact-form input:focus,
.simple-contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.simple-contact-form textarea {
    resize: vertical;
    min-height: 100px;
}

.form-submit {
    text-align: center;
    margin-top: 10px;
}

/* Modal Styles */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: white;
    padding: 40px;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
    animation: slideIn 0.4s ease;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 30px;
    color: #777;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s;
}

.modal-close:hover {
    color: var(--primary-color);
}

.modal-icon {
    font-size: 70px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.modal-title {
    color: var(--dark-color);
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.modal-text {
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.5;
    margin-bottom: 25px;
}

.modal-button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.modal-button:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Form Loading State */
.cta-button.loading {
    position: relative;
    color: transparent;
}

.cta-button.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-top: -10px;
    margin-left: -10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Responsive Design for Form */
@media (max-width: 768px) {
    .simple-form-container {
        padding: 30px 20px;
    }
    
    .modal-content {
        padding: 30px 20px;
        width: 95%;
    }
    
    .modal-icon {
        font-size: 60px;
    }
    
    .modal-title {
        font-size: 1.6rem;
    }
    
    .modal-text {
        font-size: 1rem;
    }
}

/* Rating Section */
.rating-section {
    margin: 25px 0;
    padding: 20px;
    background: linear-gradient(135deg, rgba(123, 104, 238, 0.05) 0%, rgba(255, 105, 180, 0.05) 100%);
    border-radius: 15px;
    border: 1px solid rgba(123, 104, 238, 0.1);
}

.rating-title {
    font-size: 1.1rem;
    color: var(--dark-color);
    margin-bottom: 15px;
    font-weight: 600;
    text-align: center;
}

.stars-rating {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin-bottom: 10px;
}

.star {
    font-size: 28px;
    color: rgba(0, 0, 0, 0.1); /* Прозрачные звезды */
    cursor: pointer;
    transition: all 0.3s ease;
    text-shadow: 0 0 2px rgba(0, 0, 0, 0.1);
}

.star:hover {
    transform: scale(1.2);
    color: rgba(255, 215, 0, 0.5); /* Полупрозрачный желтый при наведении */
}

.star.active {
    color: #FFD700; /* Желтый цвет для активных звезд */
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
}

.star.active:hover {
    color: #FFC107; /* Более яркий желтый при наведении на активную звезду */
}

.rating-hint {
    font-size: 0.85rem;
    color: #666;
    text-align: center;
    margin-top: 5px;
    font-style: italic;
}

/* Адаптивность для рейтинга */
@media (max-width: 768px) {
    .star {
        font-size: 24px;
    }
    
    .rating-section {
        padding: 15px;
        margin: 20px 0;
    }
}

@media (max-width: 480px) {
    .star {
        font-size: 20px;
    }
    
    .stars-rating {
        gap: 3px;
    }
}





footer {
    background-color: var(--dark-color);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    flex: 1;
    min-width: 250px;
}

.footer-logo .logo {
    margin-bottom: 20px;
    color: white;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s;
}


.footer-contact {
    flex: 1;
    min-width: 250px;
}

.footer-contact h3 {
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.footer-contact p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #aaa;
}


.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    max-width: 90%;
    max-height: 90%;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.modal-content img {
    width: 100%;
    height: auto;
    display: block;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    cursor: pointer;
    transition: color 0.3s;
}

.close-modal:hover {
    color: var(--secondary-color);
}


@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        padding: 20px;
        box-shadow: var(--shadow);
    }

    nav.active {
        display: block;
    }

    nav ul {
        flex-direction: column;
        gap: 15px;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero h1 {
        font-size: 2.3rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .swiper {
        height: 350px;
    }
}
