@import 'fonts/fonts.css';
@import 'menu.css';
@import 'header.css';
@import 'footer.css';
@import 'courses.css';
@import 'schedule';

/* Основные настройки */
body {
    margin: 0;
    font-family: 'Playfair Display', serif;
    background-color: #fff;
    color: #333;
}


/* Фиксированная фоновая картинка */
.background-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    object-fit: cover;
    opacity: 0.8;
}



.teachers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.teacher-card {
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 8px;
    background-color: #fff;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.teacher-card img {
    max-width: 100%;
    height: auto;
    border-radius: 50%;
    margin-bottom: 10px;
}

.teacher-card h3 {
    font-size: 1.2rem;
    margin: 10px 0 5px;
}

.teacher-card .btn {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 16px;
    background-color: #ff6600;
    color: white;
    text-decoration: none;
    border-radius: 4px;
}

.teacher-detail {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.teacher-photo-large {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    float: left;
    margin-right: 20px;
}

.teacher-courses ul {
    list-style: none;
    padding-left: 0;
}

.teacher-courses li::before {
    content: "• ";
    color: #ff6600;
}









.booking-form-container {
    max-width: 600px;
    margin: 40px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.booking-form-container h1 {
    font-size: 24px;
    margin-bottom: 10px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
}

.form-group .error {
    color: red;
    font-size: 14px;
    margin-top: 5px;
}

.btn-submit {
    background-color: #ff6600;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-submit:hover {
    background-color: #e05d00;
}

.success-message {
    text-align: center;
    padding: 60px 20px;
}

.success-message h1 {
    font-size: 28px;
    margin-bottom: 20px;
}

.btn-back {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #333;
    color: white;
    text-decoration: none;
    border-radius: 4px;
}