/* Общие стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #333333;
    background-color: #f8f1e9; /* Светло-оранжевый фон */
}

/* Контейнер */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Шапка */
header {
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header h1 {
    font-size: 28px;
    font-weight: 700;
    color: #ff8c00; /* Светло-оранжевый цвет для названия */
}

header nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

header nav ul li a {
    text-decoration: none;
    color: #333333;
    font-weight: 500;
    transition: color 0.3s ease;
}

header nav ul li a:hover {
    color: #1e90ff; /* Светло-синий цвет при наведении */
}

/* Секция героя */
.hero {
    background-size: cover;
    background-position: center;
    color: #ffffff;
    text-align: center;
    padding: 120px 0;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero h2 {
    font-size: 40px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
}

/* Кнопки */
.cta-button {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(45deg, #ff8c00, #ffa500); /* Градиент оранжевого */
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    border-radius: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    font-size: 16px;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* Секции контента */
.about, .workouts-content, .nutrition-content, .gallery-content, .contact-form, .thank-you, .privacy-content, .cookies-content, .terms-content, .recipe-content, .testimonials {
    padding: 60px 0;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 20px auto;
    max-width: 1000px;
}

.about h2, .workouts-content h2, .nutrition-content h2, .gallery-content h2, .contact-form h2, .thank-you h2, .privacy-content h2, .cookies-content h2, .terms-content h2, .recipe-content h2, .testimonials h2 {
    font-size: 36px;
    margin-bottom: 30px;
    text-align: center;
    color: #ff8c00; /* Светло-оранжевый цвет */
}

.about p, .workouts-content p, .nutrition-content p, .gallery-content p, .contact-form p, .thank-you p, .privacy-content p, .cookies-content p, .terms-content p, .recipe-content p, .testimonials p {
    text-align: center;
    margin-bottom: 20px;
    color: #333333;
}

/* Сетка отзывов */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.testimonial-card {
    background-color: #e6f0fa; /* Светло-синий фон */
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.testimonial-card h4 {
    font-size: 18px;
    margin-top: 10px;
    color: #333333;
}

/* Сетка галереи */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.gallery-grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
}

/* Форма обратной связи */
.contact-form form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-form label {
    font-size: 18px;
    margin-bottom: 10px;
    text-align: left;
    width: 100%;
    max-width: 400px;
}

.contact-form input[type="text"],
.contact-form textarea {
    width: 100%;
    max-width: 400px;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #d3d3d3;
    border-radius: 5px;
    font-size: 16px;
}

.contact-form button {
    background: linear-gradient(45deg, #ff8c00, #ffa500);
    color: #ffffff;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 16px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.old-price {
    color: #ff0000;
    text-decoration: line-through;
    font-size: 20px;
    margin-right: 10px;
}

.new-price {
    color: #008000;
    font-size: 24px;
    font-weight: 700;
}

/* Футер */
footer {
    background: linear-gradient(45deg, #1e90ff, #87cefa); /* Градиент синего */
    color: #ffffff;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
}

footer a {
    color: #ff8c00;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #ffa500;
}

/* Адаптивность */
@media (max-width: 768px) {
    .hero h2 {
        font-size: 30px;
    }

    .hero p {
        font-size: 16px;
    }

    .cta-button {
        padding: 10px 20px;
        font-size: 14px;
    }

    .container {
        padding: 15px;
    }

    header h1 {
        font-size: 24px;
    }

    header nav ul {
        gap: 10px;
    }

    .workout-grid, .nutrition-grid, .testimonial-grid, .gallery-grid {
        grid-template-columns: 1fr;
    }
}