/* Общие стили */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&family=Playfair+Display:wght@400;700&display=swap');

:root {
    --primary-color: #6b4e71;
    --secondary-color: #9a879d;
    --accent-color: #c4a7b5;
    --light-color: #f5f0f6;
    --dark-color: #2c262e;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 20px;
    color: var(--primary-color);
}

h1 {
    font-size: 48px;
    font-weight: 700;
}

h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

h2:after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    transition: var(--transition);
}

section:hover h2:after {
    width: 100px;
}

h3 {
    font-size: 24px;
}

p {
    margin-bottom: 20px;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
}

.btn:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(107, 78, 113, 0.3);
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

section {
    padding: 80px 0;
}

/* Анимации для всех секций */
section {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.8s forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

section:nth-child(even) {
    animation-delay: 0.2s;
}

/* Шапка сайта */
.header {
    background-color: rgba(255, 255, 255, 0.95);
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
}

.main-nav ul {
    display: flex;
}

.main-nav li {
    margin-left: 30px;
}

.main-nav a {
    position: relative;
    font-weight: 500;
}

.main-nav a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.main-nav a:hover:after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--primary-color);
    transition: var(--transition);
}

/* Поп-ап cookies */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background-color: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 20px;
    border-radius: 10px;
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transform: translateY(100px);
    opacity: 0;
    animation: slideUp 0.5s forwards 1s;
}

@keyframes slideUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-popup-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.cookie-popup p {
    margin: 0;
    margin-right: 20px;
}

.cookie-popup button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition);
}

.cookie-popup button:hover {
    background-color: var(--secondary-color);
}

/* Главный баннер */
.hero {
    height: 100vh;
    min-height: 600px;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../img/ELLsJv.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: white;
    text-align: center;
    position: relative;
}

.hero h1, .hero p {
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s forwards;
    opacity: 0;
    transform: translateY(30px);
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
    animation-delay: 0.3s;
}

.hero .btn {
    animation: fadeInUp 1s forwards 0.6s;
    opacity: 0;
    transform: translateY(30px);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* О нас */
.about-content {
    display: flex;
    align-items: center;
    gap: 30px;
}

.about-text, .about-image {
    flex: 1;
}

.about-image img {
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.about-image img:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Занятия */
.classes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.class-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.class-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.class-card img {
    height: 200px;
    object-fit: cover;
    width: 100%;
}

.class-card h3, .class-card p {
    padding: 0 20px;
}

.class-card h3 {
    margin-top: 20px;
}

.class-card p {
    margin-bottom: 20px;
    font-size: 14px;
}

/* Расписание */
.schedule {
    background-color: white;
}

.schedule-tabs {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.tabs-nav {
    display: flex;
    background-color: var(--primary-color);
}

.tab-btn {
    flex: 1;
    padding: 15px;
    background: transparent;
    border: none;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn.active, .tab-btn:hover {
    background-color: var(--secondary-color);
}

.tab-content {
    display: none;
    padding: 30px;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.5s forwards;
}

.schedule-item {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.schedule-item:last-child {
    border-bottom: none;
}

.time {
    font-weight: 600;
    color: var(--primary-color);
}

.instructor {
    color: var(--secondary-color);
}

/* Цены */
.pricing-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.pricing-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    flex: 1;
    min-width: 250px;
    max-width: 350px;
    transition: var(--transition);
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured {
    background-color: var(--primary-color);
    color: white;
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.pricing-card.featured h3, 
.pricing-card.featured .price {
    color: white;
}

.price {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    margin: 20px 0;
}

.pricing-card ul {
    margin-bottom: 30px;
    text-align: left;
}

.pricing-card li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.pricing-card li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

.pricing-card.featured li:before {
    color: var(--accent-color);
}

/* Инструкторы */
.instructors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.instructor-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: var(--transition);
}

.instructor-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.instructor-image {
    height: 300px;
    overflow: hidden;
}

.instructor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.instructor-card:hover .instructor-image img {
    transform: scale(1.05);
}

.instructor-card h3, 
.instructor-card p {
    padding: 0 20px;
}

.instructor-card h3 {
    margin-top: 20px;
}

.specialty {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 10px;
}

.bio {
    font-size: 14px;
    margin-bottom: 20px;
}

/* Галерея */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    height: 250px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Отзывы */
.testimonials {
    background-color: white;
}

.testimonials-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 30px;
}

.testimonial {
    flex: 0 0 100%;
    scroll-snap-align: start;
    padding: 30px;
    background-color: var(--light-color);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-right: 20px;
    transition: var(--transition);
}

.testimonial:last-child {
    margin-right: 0;
}

.testimonial:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.quote {
    position: relative;
    padding: 0 20px;
}

.quote:before {
    content: '"';
    font-family: 'Playfair Display', serif;
    font-size: 60px;
    color: var(--accent-color);
    position: absolute;
    top: -20px;
    left: 0;
    opacity: 0.3;
}

.name {
    font-weight: 600;
    color: var(--primary-color);
    text-align: right;
}

/* Форма записи */
.booking {
    background-color: var(--primary-color);
    color: white;
}

.booking h2, .booking label {
    color: white;
}

.booking h2:after {
    background-color: white;
}

.booking-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: none;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus {
    background-color: rgba(255, 255, 255, 0.2);
    outline: none;
}

.form-group select option {
    background-color: var(--primary-color);
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.booking .btn {
    width: 100%;
    border-color: white;
    background-color: white;
    color: var(--primary-color);
}

.booking .btn:hover {
    background-color: transparent;
    color: white;
}

/* Контакты */
.contacts-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.map {
    flex: 2;
    min-width: 300px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-item {
    margin-bottom: 30px;
}

.contact-item h3 {
    margin-bottom: 10px;
}

/* Подвал */
.footer {
    background-color: var(--dark-color);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 30px;
}

.footer-logo a {
    color: white;
    font-size: 24px;
}

.footer-links ul {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links a {
    color: var(--accent-color);
    font-size: 14px;
}

.footer-links a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    color: white;
    margin-left: 15px;
    font-size: 14px;
    transition: var(--transition);
}

.social-link:hover {
    color: var(--accent-color);
}

.copyright {
    text-align: center;
    font-size: 14px;
    opacity: 0.7;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Медиа-запросы */
@media (max-width: 992px) {
    h1 {
        font-size: 36px;
    }
    
    h2 {
        font-size: 28px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .pricing-cards {
        flex-direction: column;
        align-items: center;
    }
    
    .pricing-card {
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .header {
        position: relative;
        background-color: white;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        padding: 0;
        height: 0;
        overflow: hidden;
        transition: var(--transition);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
    
    .main-nav.active {
        height: auto;
        padding: 20px 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        padding: 0 20px;
    }
    
    .main-nav li {
        margin: 10px 0;
    }
    
    .hero {
        height: auto;
        min-height: 500px;
        padding: 100px 0;
    }
    
    .about-text, .about-image {
        width: 100%;
    }
    
    .schedule-tabs {
        overflow-x: auto;
    }
    
    .tabs-nav {
        width: 700px;
    }
    
    .cookie-popup {
        flex-direction: column;
    }
    
    .cookie-popup p {
        margin-bottom: 10px;
        margin-right: 0;
    }
    
    .cookie-popup-content {
        flex-direction: column;
    }
} 