* { box-sizing: border-box; margin: 0; padding: 0; } body { font-family: 'Montserrat', sans-serif; line-height: 1.6; color: #0e0a0a; background-color: #FFFBF7; overflow-x: hidden; } img { max-width: 100%; height: auto; } /***** Header *****/ .header { width: 100%; padding: 0; display: flex; flex-direction: column; background-color: #FFFBF7; position: relative; box-shadow: 0 2px 10px rgba(0,0,0,0.1); z-index: 1000; } .header-top { display: flex; align-items: center; justify-content: space-between; padding: 10px 20px; flex-wrap: wrap; } .logo-container { display: flex; align-items: center; gap: 15px; } .logo-img { height: 60px; width: auto; border-radius: 8px; object-fit: contain; transition: all 0.3s ease; border: 2px solid transparent; } .logo-img:hover { transform: scale(1.05); box-shadow: 0 4px 12px rgba(255, 184, 168, 0.4); border-color: #FFB8A8; } .slogan { font-family: 'Dancing Script', cursive; font-weight: 600; background-color: #8E7CC3; color: white; text-align: center; margin-top: 5px; display: none; width: 100%; border: 2px solid #8E7CC3; border-radius: 30px; padding: 8px 15px; cursor: pointer; transition: all 0.3s ease; text-decoration: none; margin-bottom: 10px; position: relative; } .slogan:hover { background-color: #FF9A7A; color: #4A4A4A; transform: translateY(-2px); box-shadow: 0 4px 8px rgba(0,0,0,0.1); } .slogan:active { transform: translateY(1px); box-shadow: 0 2px 4px rgba(0,0,0,0.1); } .slogan::after { content: "✉️"; margin-left: 8px; font-size: 1.2em; } .menu { width: 100%; background-color: #8E7CC3; } .menu ul { display: flex; flex-wrap: wrap; justify-content: center; list-style: none; padding: 0; margin: 0; } .menu_item { margin: 0; flex-grow: 1; text-align: center; border-right: 1px solid rgba(255,255,255,0.2); } .menu_item:last-child { border-right: none; } .menu_item a { color: white; font-weight: 600; font-size: 16px; text-decoration: none; padding: 15px 5px; display: block; transition: all 0.3s ease; } .menu_item a:hover { background-color: #FF9A7A; color: #4A4A4A; } .menu-toggle { display: none; background: #8E7CC3; color: white; border: none; font-size: 24px; padding: 10px 15px; cursor: pointer; text-align: center; z-index: 1001; border-radius: 5px; transition: all 0.3s ease; } .menu-toggle:hover { background-color: #FF9A7A; color: #4A4A4A; } /***** Main Content *****/ main { padding: 20px; max-width: 1200px; margin: 0 auto; position: relative; z-index: 1; } h1, h2, h3, h4 { margin: 45px 0; text-align: center; } h1 { font-size: 2.2rem; color: #4A4A4A; margin-bottom: 10px; } h1 i { color: #FFB8A8; margin-right: 10px; } h2 { font-size: 1.8rem; color: #523c96; margin: 25px 0 15px; } h2 i { color: #FFB8A8; margin-right: 10px; } h3 { font-size: 1.5rem; color: #422893; } h3 i { color: #c75f48; margin-right: 10px; } .page-header { text-align: center; margin-bottom: 40px; padding: 30px 20px; background-color: #E8D7FF; border-radius: 10px; box-shadow: 0 4px 12px rgba(0,0,0,0.1); } .page-header h1 { font-size: 36px; color: #523c96; margin-bottom: 15px; } .page-header p { font-size: 18px; color: #0e0a0a; max-width: 700px; margin: 0 auto; text-align: center; line-height: 1.5; } p { margin: 15px 0; font-size: 18px; line-height: 1.6; } p i { color: #FFB8A8; margin-right: 8px; } /* FAQ Section */ .faq-container { margin-bottom: 40px; } .faq-item { background-color: white; border-radius: 10px; margin-bottom: 20px; box-shadow: 0 5px 15px rgba(0,0,0,0.1); overflow: hidden; border-top: 4px solid #FFB8A8; } .faq-question { padding: 20px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: 18px; color: #523c96; background-color: #f0f0f0; transition: all 0.3s; } .faq-question:hover { background-color: #e0e0e0; } .faq-question i { color: #FFB8A8; transition: transform 0.3s; } .faq-answer { padding: 0 20px; max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; } .faq-item.active .faq-answer { max-height: 500px; padding: 20px; } .faq-item.active .faq-question i { transform: rotate(180deg); } .contact-promo { text-align: center; padding: 30px; background: linear-gradient(135deg, #FFB8A8 0%, #FFB8A8 100%); border-radius: 15px; color: #1c1c9f; margin-bottom: 40px; box-shadow: 0 5px 15px rgba(0,0,0,0.1); } .contact-promo h2 { color: #1c1c9f; margin-bottom: 20px; } .cta-button { display: inline-block; background: white; color: #4f3795; padding: 15px 30px; border-radius: 50px; text-decoration: none; font-weight: bold; margin-top: 20px; transition: all 0.3s; font-size: 1.2rem; text-align: center; word-wrap: break-word; white-space: normal; } .cta-button:hover { background-color: #cc6f53; color: #f5f4f4; transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.2); } .cta-button i { margin-right: 10px; } a { color: #8E7CC3; text-decoration: none; transition: all 0.3s; } a:hover { color: #FF9A7A; } /***** Footer *****/ .footer { width: 100%; padding: 30px 15px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; background-color: #8E7CC3; margin-top: 40px; } .footer_copyright { color: white; font-weight: 600; font-size: 18px; margin: 10px 0; text-align: center; width: 100%; } .footer_copyright i { color: #FFB8A8; margin: 0 5px; } .footer_menu ul { display: flex; flex-wrap: wrap; justify-content: center; list-style: none; padding: 0; } .footer_menu_item { margin: 5px 10px; } .footer_menu_link { color: white; font-weight: 600; font-size: 14px; text-decoration: none; transition: all 0.3s ease; padding: 5px; } .footer_menu_link:hover { background-color: #FF9A7A; color: #4A4A4A; border-radius: 4px; } .social-links { display: flex; justify-content: center; flex-wrap: wrap; margin: 15px 0; width: 100%; } .social-icon { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background-color: white; color: #8E7CC3; margin: 5px; font-size: 20px; transition: all 0.3s ease; flex-shrink: 0; } .social-icon:hover { transform: translateY(-3px); background-color: #FF9A7A; color: white; } /***** Стили для бокового меню *****/ .side-menu-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.5); z-index: 2000; opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s; } .side-menu-overlay.active { opacity: 1; visibility: visible; } .side-menu { position: fixed; top: 0; right: -100%; width: auto; min-width: 280px; max-width: 90%; height: 100%; background-color: #8E7CC3; z-index: 2001; overflow-y: auto; transition: right 0.4s ease; box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2); border-radius: 0 0 0 15px; } .side-menu.active { right: 0; } .side-menu-header { padding: 15px 20px; display: flex; justify-content: space-between; align-items: center; background-color: rgba(0, 0, 0, 0.1); border-bottom: 1px solid rgba(255, 255, 255, 0.2); position: sticky; top: 0; z-index: 2002; min-height: 60px; border-radius: 0 0 0 15px; } .side-menu-title { color: white; font-weight: 600; font-size: 18px; margin: 0; } .close-menu { background: none; border: none; font-size: 28px; color: white; cursor: pointer; transition: transform 0.3s; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; z-index: 2003; font-weight: bold; background-color: rgba(255, 255, 255, 0.9); border-radius: 50%; box-shadow: 0 2px 5px rgba(0,0,0,0.2); color: #8E7CC3; } .close-menu:hover { transform: rotate(90deg); background-color: white; color: #FF9A7A; } .side-menu ul { list-style: none; padding: 0; margin: 0; max-height: 80vh; overflow-y: auto; } .side-menu-item { border-bottom: 1px solid rgba(255, 255, 255, 0.2); } .side-menu-item:last-child { border-bottom: none; } .side-menu-link { display: block; padding: 15px 20px; color: white; font-weight: 600; text-decoration: none; transition: all 0.3s; white-space: nowrap; } .side-menu-link:hover { background-color: #FF9A7A; color: #4A4A4A; } .side-menu-link i { margin-right: 10px; width: 20px; text-align: center; color: #FFB8A8; } /***** Медиазапросы для разных экранов *****/ /* Очень маленькие экраны (до 320px) - гамбургер-меню */ @media (max-width: 320px) { .header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; } .header-top { flex-direction: column; align-items: center; text-align: center; padding: 10px; } .logo-container { flex-direction: column; margin-bottom: 10px; width: 100%; } .logo-img { height: 50px; } .slogan { display: block; font-size: 16px; margin-top: 5px; padding: 6px 12px; } .menu-toggle { display: block; width: 100%; } .menu { display: none; } .page-header h1 { font-size: 1.8rem; } .page-header p { font-size: 16px; } .faq-question { font-size: 16px; padding: 15px; } /* Добавляем отступ для основного контента, чтобы избежать наложения */ main { padding-top: 180px; position: relative; z-index: 1; } /* Исправление бокового меню для очень маленьких экранов */ .side-menu { width: 100%; right: -100%; height: 100%; border-radius: 0; } .side-menu.active { right: 0; } .side-menu-header { padding: 15px; min-height: 50px; position: sticky; top: 0; background-color: rgba(0, 0, 0, 0.1); border-radius: 0; } .close-menu { width: 35px; height: 35px; font-size: 28px; } .side-menu ul { max-height: 60vh; } .cta-button { padding: 12px 20px; font-size: 0.7rem; white-space: normal; line-height: 1.2; } } /* Малые экраны (321px - 503px) - адаптивное меню */ @media (max-width: 503px) { .header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; } .header-top { flex-direction: row; align-items: center; justify-content: space-between; padding: 10px 15px; } .logo-container { flex-direction: row; align-items: center; margin-bottom: 0; flex: 1; } .logo-img { height: 55px; } .slogan { display: block; text-align: center; margin-top: 5px; width: 100%; font-size: 14px; padding: 5px 5px; } .menu-toggle { display: flex; align-items: center; justify-content: center; width: 60px; height: 40px; margin-left: 10px; } .menu { display: none; } .page-header h1 { font-size: 1.8rem; } .page-header p { font-size: 16px; } .faq-question { font-size: 16px; padding: 15px; } /* Добавляем отступ для основного контента, чтобы избежать наложения */ main { padding-top: 190px; position: relative; z-index: 1; } /* Фиксируем боковое меню для маленьких экранов */ .side-menu-header { padding: 15px; position: sticky; top: 0; z-index: 2002; background-color: rgba(0, 0, 0, 0.1); min-height: 50px; } .close-menu { width: 35px; height: 35px; font-size: 28px; background-color: rgba(255, 255, 255, 0.9); } .side-menu ul { max-height: 60vh; } .cta-button { white-space: normal; line-height: 1.4; padding: 20px 18px; border-radius: 50px; } } /* Средние экраны (504px - 768px) - адаптивное меню */ @media (min-width: 504px) and (max-width: 768px) { .header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; } .header-top { flex-direction: row; align-items: center; justify-content: space-between; padding: 10px 15px; } .logo-container { flex-direction: row; align-items: center; margin-bottom: 0; flex: 1; } .logo-img { height: 55px; } .slogan { display: block; margin-top: 0; margin-left: 0px; width: auto; flex: 1; font-size: 22px; padding: 10px 3px; } .menu-toggle { display: flex; align-items: center; justify-content: center; width: 60px; height: 40px; margin-left: 10px; } .menu { display: none; } /* Добавляем отступ для основного контента, чтобы избежать наложения */ main { padding-top: 145px; position: relative; z-index: 1; } .side-menu-header { min-height: 50px; } .side-menu ul { max-height: 60vh; } .cta-button { white-space: normal; line-height: 1.4; padding: 15px 30px; border-radius: 50px; } } /* Большие экраны (769px и выше) - фиксированное меню */ @media (min-width: 769px) { .header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; flex-direction: row; flex-wrap: nowrap; align-items: center; padding: 0; } .header-top { padding: 10px 20px; flex: 0 0 auto; } .logo-img { height: 65px; } .slogan { display: none; } .menu { display: flex; position: static; width: auto; flex: 1 1 auto; } .menu-toggle { display: none; } .menu ul { flex-direction: row; justify-content: flex-end; } .menu_item a { padding: 15px 10px; font-size: 15px; } /* Добавляем отступ для основного контента, чтобы избежать наложения */ main { padding-top: 120px; position: relative; z-index: 1; } } /* Большие экраны (992px и выше) - обычное меню */ @media (min-width: 992px) { .header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; flex-direction: row; flex-wrap: nowrap; justify-content: space-between; align-items: center; padding: 0; } .header-top { padding: 15px 20px; flex: 0 0 auto; } .slogan { display: none; } .menu { width: auto; flex-grow: 1; display: block !important; position: static; max-height: none !important; } .menu-toggle { display: none; } .menu ul { justify-content: flex-end; flex-direction: row; } .menu_item a { font-size: 16px; padding: 18px 15px; } /* Добавляем отступ для основного контента, чтобы избежать наложения */ main { padding-top: 120px; position: relative; z-index: 1; } } /* Очень большие экраны (1200px и выше) */ @media (min-width: 1200px) { .menu_item a { font-size: 18px; padding: 20px 25px; } .footer_copyright { font-size: 18px; } } /* Специальные исправления для бокового меню на мобильных устройствах */ @media (max-width: 768px) { .side-menu-header { padding: 15px 20px; justify-content: space-between; } .close-menu { margin-left: auto; } /* Ограничиваем высоту меню по количеству пунктов */ .side-menu ul { max-height: 60vh; } }