/* Reset e base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif; /* Основной шрифт */
    line-height: 1.7;
    color: #333;
    background-color: #fffaf0; /* Очень светлый кремовый фон */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Центрирование текста в main и footer */
main, .site-footer {
    text-align: center;
}

/* Сброс центрирования для списков внутри main */
main ul, main ol {
    text-align: left;
    display: inline-block;
    max-width: 900px;
    margin: 0 auto 1.2rem auto;
}

main li {
    text-align: left;
}

/* Сброс центрирования для формы контактов */
.contact-form-container form {
    text-align: left;
    max-width: 600px;
    margin: 0 auto 2rem;
    padding: 2.5rem;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form-container form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #e91e63; /* Розовый оттенок */
    font-size: 0.95rem;
}

.contact-form-container form input,
.contact-form-container form textarea {
    width: 100%;
    padding: 0.9rem 1.1rem;
    border: 2px solid #f0f0f0;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background-color: #fafafa;
}

.contact-form-container form input:focus,
.contact-form-container form textarea:focus {
    outline: none;
    border-color: #f44336; /* Красный оттенок */
    box-shadow: 0 0 0 3px rgba(244, 67, 54, 0.1);
    background-color: #ffffff;
}

.contact-form-container form button {
    background-color: #f44336; /* Красный */
    color: white;
    padding: 1rem 1.8rem;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    align-self: flex-start;
    margin-top: 0.5rem;
}

.contact-form-container form button:hover {
    background-color: #e91e63; /* Розовый */
    transform: translateY(-2px);
}

/* Заголовки */
h1, h2, h3 {
    font-family: 'Playfair Display', serif; /* Шрифт для заголовков */
    color: #f44336; /* Красный оттенок */
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.2rem;
    color: #555;
}

a {
    color: #e91e63; /* Розовый оттенок */
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #f44336; /* Красный оттенок */
}

/* Header */
.site-header {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.9rem;
    font-weight: 700;
    color: #f44336; /* Красный */
    margin: 0;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 2.2rem;
}

.main-navigation a {
    color: #333;
    font-weight: 500;
    position: relative;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #e91e63; /* Розовый */
    transition: width 0.3s ease;
}

.main-navigation a:hover::after {
    width: 100%;
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 2rem 0;
}

/* Hero Banner */
.hero-banner {
    background: linear-gradient(135deg, #f44336, #e91e63); /* Красно-розовый градиент */
    color: white;
    padding: 5rem 2rem;
    text-align: center;
    margin-bottom: 3rem;
}

.hero-content h2 {
    font-size: 2.9rem;
    color: white;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.3rem;
    max-width: 750px;
    margin: 0 auto 2.5rem;
    color: #ffebf3; /* Светло-розовый оттенок */
}

.cta-link {
    display: inline-block;
    background-color: #ffffff;
    color: #f44336;
    padding: 1rem 2.2rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    transition: all 0.3s ease;
    border: 2px solid #ffffff; /* Тонкая белая граница */
}

.cta-link:hover {
    background-color: #e91e63; /* Розовый */
    color: white;
    border-color: #e91e63; /* Меняем цвет границы */
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-decoration: none;
}

/* Intro Content */
.intro-content {
    padding: 3rem 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.intro-content h1 { /* Для заголовков типа h1 на других страницах */
    margin-bottom: 2rem;
    color: #f44336;
}

.intro-content p {
    font-size: 1.1rem;
    color: #555;
    max-width: 800px;
    margin: 0 auto;
}

/* Content Section */
.content-section {
    padding: 3rem 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.content-section h2 {
    margin-bottom: 2rem;
    color: #f44336;
}

.content-section p {
    font-size: 1.1rem;
    color: #555;
    max-width: 800px;
    margin: 0 auto 1.5rem;
}

.content-section h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    color: #e91e63;
}

/* Highlights Section */
.highlights-section {
    padding: 4rem 2rem;
    background-color: #ffffff;
}

.highlights-section h2 {
    margin-bottom: 2.5rem;
    color: #f44336;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.highlight-item {
    background-color: #fff5f7; /* Светло-розовый фон */
    padding: 2.5rem 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(244, 67, 54, 0.08); /* Тень с красным оттенком */
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.highlight-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(244, 67, 54, 0.15);
}

.highlight-item h3 {
    color: #f44336;
    margin-bottom: 1.2rem;
}

.highlight-item p {
    color: #666;
}

/* Newsletter CTA */
.newsletter-cta {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #ffebee, #f8bbd9); /* Светло-розовый фон */
    text-align: center;
    max-width: 800px;
    margin: 3rem auto;
    border-radius: 10px;
}

.newsletter-cta h2 {
    color: #f44336;
    margin-bottom: 1rem;
}

.newsletter-cta p {
    color: #555;
    margin-bottom: 1.8rem;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    width: 100%;
    padding: 0.9rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
}

.newsletter-form button {
    background-color: #f44336; /* Красный */
    color: white;
    padding: 0.9rem 1.8rem;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.newsletter-form button:hover {
    background-color: #e91e63; /* Розовый */
}

/* Footer */
.site-footer {
    background-color: #f44336; /* Красный */
    color: white;
    padding: 2.5rem 0 2rem;
    margin-top: auto;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.footer-container ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-container a {
    color: #ffccdd; /* Светлый оттенок */
}

.footer-container a:hover {
    color: white;
}

/* Responsividade */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    .main-navigation ul {
        gap: 1.3rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-content h2 {
        font-size: 2.3rem;
    }

    .highlights-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-form {
        max-width: 100%;
    }

    .contact-form-container form button {
        width: 100%;
        align-self: center;
    }

    .footer-container ul {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }
}