/* styles.css - Amsterdam Explorer Theme */ /* --- Шрифты Google --- */ @import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700;900&family=Open+Sans:wght@400;600&display=swap'); /* --- :root Переменные --- */ :root { /* Палитра */ --primary-color: #0A2463; /* Глубокий синий */ --secondary-color: #F4F4F8; /* Светло-серый */ --accent-color: #FF6F61; /* Кораллово-оранжевый */ --light-bg: #FFFFFF; --dark-bg: #121212; /* Очень темный для контраста */ --text-on-light: #333333; --text-on-dark: #E0E0E0; --heading-on-light: var(--primary-color); --heading-on-dark: var(--secondary-color); --border-light: #DDE2E7; --border-dark: #303030; /* Шрифты */ --font-heading: 'Montserrat', sans-serif; --font-body: 'Open Sans', sans-serif; /* Отступы */ --spacing-xs: 4px; --spacing-sm: 8px; --spacing-md: 16px; --spacing-lg: 24px; --spacing-xl: 40px; --spacing-xxl: 60px; --section-padding: 70px; /* Тени */ --shadow-sm: 0 2px 4px rgba(0,0,0,0.05); --shadow-md: 0 5px 15px rgba(0,0,0,0.1); --shadow-lg: 0 10px 30px rgba(0,0,0,0.1); } /* --- Сброс стилей и Базовые настройки --- */ *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; } html { scroll-behavior: smooth; } body { font-family: var(--font-body); background-color: var(--light-bg); color: var(--text-on-light); overflow-x: hidden; line-height: 1.7; font-size: 16px; /* Базовый размер шрифта */ -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); line-height: 1.3; color: var(--heading-on-light); margin-bottom: var(--spacing-lg); margin-top: var(--spacing-xl); font-weight: 700; } h1:first-child, h2:first-child, h3:first-child { margin-top: 0; } h1 { font-size: 2.8rem; font-weight: 900; } /* Главный заголовок */ h2 { font-size: 2.2rem; } /* Заголовки секций */ h3 { font-size: 1.6rem; } h4 { font-size: 1.2rem; } p { margin-bottom: var(--spacing-md); } p:last-of-type { margin-bottom: 0; } a { text-decoration: none; color: var(--accent-color); transition: color 0.3s ease, opacity 0.3s ease; } a:hover { color: var(--primary-color); opacity: 0.8; } ul, ol { margin-left: var(--spacing-lg); margin-bottom: var(--spacing-md); padding-left: var(--spacing-sm); /* Небольшой отступ для маркеров */ } li { margin-bottom: var(--spacing-sm); } img { max-width: 100%; height: auto; display: block; border-radius: 4px; /* Небольшое скругление для всех изображений */ } /* --- Основные Layout Классы --- */ .container { width: 90%; max-width: 1200px; margin-left: auto; margin-right: auto; padding-left: var(--spacing-md); padding-right: var(--spacing-md); } /* Секции */ section { padding-top: var(--section-padding); padding-bottom: var(--section-padding); } section:not(.hero):not(.page-header) { border-bottom: 1px solid var(--border-light); } section.dark-section { background-color: var(--primary-color); /* Темный фон для выделенных секций */ color: var(--text-on-dark); border-bottom-color: var(--border-dark); } section.dark-section h1, section.dark-section h2, section.dark-section h3, section.dark-section h4 { color: var(--heading-on-dark); } section.dark-section a { color: var(--accent-color); } section.dark-section a:hover { color: var(--secondary-color); } /* Шапка секции */ .section-header { text-align: center; margin-bottom: var(--spacing-xl); } .section-header h2 { margin-bottom: var(--spacing-sm); } .section-header h2::after { content: ""; display: block; margin: var(--spacing-md) auto 0; width: 60px; height: 3px; background: var(--accent-color); } .section-header p { max-width: 700px; margin: var(--spacing-md) auto 0; font-size: 1.1rem; color: #555; } section.dark-section .section-header p { color: var(--text-on-dark); opacity: 0.9; } /* --- Шапка (Header) --- */ header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; transition: background-color 0.3s ease, box-shadow 0.3s ease; background-color: rgba(255, 255, 255, 0.9); /* Слегка прозрачный белый */ backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: var(--shadow-sm); border-bottom: 1px solid transparent; /* Начальная прозрачная граница */ } header.scrolled { background-color: var(--light-bg); box-shadow: var(--shadow-md); border-bottom-color: var(--border-light); } .header-container { display: flex; justify-content: space-between; align-items: center; height: 70px; } .logo { font-size: 1.8rem; font-weight: 900; color: var(--primary-color); font-family: var(--font-heading); text-transform: uppercase; letter-spacing: 1px; } .logo span { color: var(--accent-color); } .nav-links { display: flex; align-items: center; list-style: none; } .nav-links li { margin-left: 30px; } .nav-links li a { color: var(--primary-color); font-weight: 600; font-size: 0.9rem; position: relative; padding: 8px 0; text-transform: uppercase; letter-spacing: 1px; transition: color 0.3s ease; } .nav-links li a::after { content: ""; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 0; height: 2px; background-color: var(--accent-color); transition: width 0.3s ease; } .nav-links li a:hover, .nav-links li a.active { color: var(--accent-color); text-decoration: none; } .nav-links li a:hover::after, .nav-links li a.active::after { width: 100%; } .menu-toggle { display: none; cursor: pointer; z-index: 1001; padding: 10px; background: none; border: none; } .menu-toggle span { display: block; width: 25px; height: 3px; background-color: var(--primary-color); margin: 5px 0; transition: all 0.3s ease-in-out; border-radius: 3px; } /* --- Подвал (Footer) --- */ footer { background-color: var(--primary-color); color: var(--text-on-dark); padding: var(--spacing-xl) 0 var(--spacing-md); border-top: 5px solid var(--accent-color); } .footer-grid { display: grid; gap: var(--spacing-lg); grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); margin-bottom: var(--spacing-lg); } .footer-column h3 { font-size: 1.2rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: var(--spacing-md); color: var(--heading-on-dark); padding-bottom: var(--spacing-sm); border-bottom: 2px solid var(--accent-color); display: inline-block; } .footer-column p { margin-bottom: var(--spacing-md); opacity: 0.8; font-size: 0.95rem; } .footer-links { list-style: none; margin-left: 0; padding-left: 0; } .footer-links li { margin-bottom: 10px; } .footer-links li a { color: var(--text-on-dark); opacity: 0.9; transition: color 0.3s ease, padding-left 0.3s ease, opacity 0.3s ease; font-size: 0.95rem; } .footer-links li a:hover { color: var(--accent-color); padding-left: 5px; text-decoration: none; opacity: 1; } .footer-social { display: flex; gap: var(--spacing-md); margin-top: var(--spacing-md); } .social-icon { width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, 0.1); display: flex; align-items: center; justify-content: center; transition: all 0.3s ease; color: var(--secondary-color); font-size: 1rem; border: 1px solid rgba(255, 255, 255, 0.2); } .social-icon img { width: 18px; height: 18px; filter: invert(1); } .social-icon:hover { background: var(--accent-color); color: var(--secondary-color); transform: scale(1.1); border-color: var(--accent-color); } .footer-bottom { padding-top: var(--spacing-lg); border-top: 1px solid var(--border-dark); text-align: center; font-size: 0.9rem; opacity: 0.7; } .footer-bottom p { margin-bottom: var(--spacing-xs); } /* --- Общие Компоненты --- */ /* Кнопки */ .hero-btn, .card-btn, .cta-btn, .submit-btn, .cookie-btn { display: inline-block; padding: 12px 35px; background: var(--accent-color); color: var(--light-bg); font-weight: 700; border-radius: 50px; /* Закругленные кнопки */ text-transform: uppercase; letter-spacing: 1px; border: 2px solid var(--accent-color); cursor: pointer; transition: all 0.3s ease; font-size: 0.9rem; text-align: center; line-height: 1.5; box-shadow: var(--shadow-sm); } .hero-btn:hover, .card-btn:hover, .cta-btn:hover, .submit-btn:hover, .cookie-btn:hover { background: var(--primary-color); color: var(--light-bg); border-color: var(--primary-color); transform: translateY(-2px); box-shadow: var(--shadow-md); } .cookie-btn.customize-cookies { background-color: transparent; color: var(--text-on-dark); border-color: var(--text-on-dark); } .cookie-btn.customize-cookies:hover { background-color: rgba(255,255,255,0.1); color: var(--secondary-color); border-color: var(--secondary-color); } /* --- Hero & Page Headers --- */ .hero { min-height: 80vh; /* Немного меньше */ height: auto; padding-top: 120px; /* Больше отступ сверху из-за фиксированной шапки */ padding-bottom: var(--spacing-xxl); display: flex; align-items: center; justify-content: center; /* Центрируем контент */ position: relative; overflow: hidden; color: var(--secondary-color); background-size: cover; background-position: center; text-align: center; /* Центрируем текст */ } .hero::before { /* Затемняющий слой */ content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(10, 36, 99, 0.7); /* Синеватый оттенок */ z-index: 1; } .hero-content { position: relative; z-index: 2; max-width: 800px; /* Чуть шире */ animation: fadeInUp 0.8s 0.2s ease-out forwards; opacity: 0; } .hero-content h1 { font-size: 3.5rem; /* Крупнее */ font-weight: 900; margin-bottom: var(--spacing-lg); line-height: 1.2; text-shadow: 0 2px 5px rgba(0,0,0,0.3); color: var(--heading-on-dark); } .hero-content p { font-size: 1.2rem; margin-bottom: var(--spacing-xl); color: rgba(244, 244, 248, 0.9); animation-delay: 0.4s; } .hero .hero-btn { animation-delay: 0.6s; } .scroll-indicator { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 3; color: var(--secondary-color); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; opacity: 0.7; animation: bounce 2s infinite; } .scroll-indicator i { display: block; margin-top: 5px; font-style: normal; } @keyframes bounce { 0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); } 40% { transform: translateX(-50%) translateY(-10px); } 60% { transform: translateX(-50%) translateY(-5px); } } .page-header { height: 40vh; /* Меньше высота */ min-height: 300px; display: flex; align-items: center; justify-content: center; color: var(--secondary-color); margin-top: 70px; /* Отступ от фиксированной шапки */ position: relative; background-size: cover; background-position: center; text-align: center; } .page-header::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(10, 36, 99, 0.6); /* Тот же синеватый оверлей */ z-index: 1; } .page-header-content { position: relative; z-index: 2; } .page-header h1 { font-size: 3rem; margin-bottom: var(--spacing-sm); color: var(--heading-on-dark); text-shadow: 0 1px 3px rgba(0,0,0,0.4); } .page-header p { font-size: 1.1rem; max-width: 700px; margin: 0 auto; color: rgba(244, 244, 248, 0.9); } /* --- Главная страница: Секция Features --- */ .features-section { background-color: var(--secondary-color); } .features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--spacing-xl); } .feature-card { background-color: var(--light-bg); padding: var(--spacing-xl); border-radius: 8px; text-align: center; box-shadow: var(--shadow-md); transition: transform 0.3s ease, box-shadow 0.3s ease; } .feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); } .feature-icon { margin-bottom: var(--spacing-lg); } .feature-icon img { width: 70px; /* Размер иконок */ height: 70px; margin: 0 auto; border-radius: 50%; /* Круглые иконки */ background-color: var(--accent-color); /* Фон для плейсхолдера */ padding: 10px; /* Если иконки SVG или FontAwesome, это может не понадобиться */ } .feature-card h3 { font-size: 1.4rem; margin-bottom: var(--spacing-sm); color: var(--primary-color); } .feature-card p { font-size: 0.95rem; line-height: 1.6; } /* --- Главная страница: Секция Explore --- */ .explore-section.dark-section { background-color: var(--primary-color); } /* Уже есть в dark-section */ .explore-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--spacing-xxl); align-items: center; } .explore-content h2 { margin-bottom: var(--spacing-lg); } .explore-content p { margin-bottom: var(--spacing-lg); font-size: 1.05rem; opacity: 0.9; } .explore-img img { border-radius: 8px; box-shadow: var(--shadow-lg); } /* --- Главная страница: Секция Testimonial --- */ .testimonial-section { background-color: var(--secondary-color); } .testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: var(--spacing-xl); } .testimonial-card { background-color: var(--light-bg); padding: var(--spacing-xl); border-radius: 8px; box-shadow: var(--shadow-md); border-left: 5px solid var(--accent-color); } .testimonial-card p { font-style: italic; margin-bottom: var(--spacing-md); color: #555; font-size: 1.05rem; } .testimonial-card h4 { font-size: 1rem; color: var(--primary-color); font-weight: 700; text-align: right; } /* --- Главная страница: Секция Newsletter --- */ .newsletter-section.dark-section { text-align: center; } .newsletter-section h2 { margin-bottom: var(--spacing-sm); } .newsletter-section p { max-width: 600px; margin-left: auto; margin-right: auto; margin-bottom: var(--spacing-xl); opacity: 0.9; } .newsletter-form { max-width: 550px; margin: 0 auto; display: flex; align-items: stretch; position: relative; border-radius: 50px; /* Закругленная форма */ overflow: hidden; background-color: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255,255,255,0.2); box-shadow: var(--shadow-sm); } .newsletter-form input { flex-grow: 1; padding: 15px 25px; border: none; font-size: 1rem; background: transparent; color: var(--secondary-color); outline: none; height: 50px; line-height: 1.5; } .newsletter-form input::placeholder { color: rgba(255, 255, 255, 0.6); } .newsletter-form button { padding: 0 30px; border: none; background: var(--accent-color); color: var(--light-bg); font-weight: 700; cursor: pointer; transition: all 0.3s ease; text-transform: uppercase; letter-spacing: 1px; height: 50px; white-space: nowrap; flex-shrink: 0; } .newsletter-form button:hover { background: #E55A4F; /* Чуть темнее акцентный */ } .newsletter-success { display: none; margin-top: var(--spacing-lg); padding: var(--spacing-md); background-color: #4CAF50; /* Зеленый для успеха */ color: white; border-radius: 4px; text-align: center; opacity: 0; transition: opacity 0.5s ease; max-width: 550px; margin-left: auto; margin-right: auto; } .newsletter-success.show { display: block; opacity: 1; } /* --- Страница About Us --- */ .about-content-section { /* Основная секция с текстом и картинкой */ background-color: var(--light-bg); } .about-grid-layout { display: grid; grid-template-columns: 2fr 1fr; /* Текст шире картинки */ gap: var(--spacing-xxl); align-items: flex-start; /* Картинка может быть короче */ } .about-text-content h2 { margin-bottom: var(--spacing-lg); } .about-text-content p, .about-text-content ul { font-size: 1.05rem; line-height: 1.8; margin-bottom: var(--spacing-lg); } .about-text-content ul { list-style: disc; padding-left: var(--spacing-lg); } .mission-vision-container { display: grid; grid-template-columns: 1fr 1fr; gap: var(--spacing-xl); margin: var(--spacing-xl) 0; } .mission-card-item, .vision-card-item { background-color: var(--secondary-color); padding: var(--spacing-xl); border-radius: 8px; box-shadow: var(--shadow-sm); border-top: 4px solid var(--accent-color); } .mission-card-item h3, .vision-card-item h3 { color: var(--primary-color); margin-bottom: var(--spacing-md); } .about-image-content img { border-radius: 8px; box-shadow: var(--shadow-lg); object-fit: cover; height: 100%; max-height: 700px; /* Ограничение высоты */ } .team-section.dark-section { /* Секция команды */ background-color: var(--primary-color); /* Переопределяем на основной темный */ } .team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--spacing-xl); } .team-card-item { background-color: rgba(255,255,255, 0.05); /* Очень легкий фон на темном */ backdrop-filter: blur(5px); padding: var(--spacing-lg); border-radius: 8px; text-align: center; border: 1px solid rgba(255,255,255,0.1); transition: background-color 0.3s ease; } .team-card-item:hover { background-color: rgba(255,255,255, 0.1); } .team-img-item img { width: 150px; height: 150px; border-radius: 50%; margin: 0 auto var(--spacing-lg); border: 4px solid var(--accent-color); box-shadow: var(--shadow-md); } .team-info-item h3 { font-size: 1.4rem; margin-bottom: var(--spacing-xs); color: var(--heading-on-dark); } .team-role { display: block; font-size: 0.9rem; color: var(--accent-color); font-weight: 600; margin-bottom: var(--spacing-md); text-transform: uppercase; } .team-info-item p { font-size: 0.95rem; opacity: 0.8; color: var(--text-on-dark); } .cta-section { /* Call to Action секция */ background-color: var(--accent-color); color: var(--light-bg); text-align: center; border-bottom: none; /* Убираем границу у последней секции */ } .cta-section h2 { color: var(--light-bg); } .cta-section p { max-width: 600px; margin-left: auto; margin-right: auto; margin-bottom: var(--spacing-xl); font-size: 1.1rem; } .cta-section .hero-btn { background-color: var(--light-bg); color: var(--accent-color); border-color: var(--light-bg); } .cta-section .hero-btn:hover { background-color: var(--primary-color); color: var(--light-bg); border-color: var(--primary-color); } /* --- Формы (Контактная) --- */ .contact-content { /* Секция на странице контактов */ padding-bottom: var(--spacing-xxl); } .contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; /* Информация слева, форма справа */ gap: var(--spacing-xxl); align-items: flex-start; } .contact-info h2 { margin-bottom: var(--spacing-lg); } .contact-info p { margin-bottom: var(--spacing-lg); font-size: 1.05rem; } .info-item { margin-bottom: var(--spacing-xl); } .info-item h3 { font-size: 1.3rem; color: var(--primary-color); margin-bottom: var(--spacing-sm); display: flex; align-items: center; } .info-item h3 img { /* Для SVG иконок */ width: 24px; height: 24px; margin-right: var(--spacing-md); filter:saturate(0) brightness(0) invert(13%) sepia(68%) saturate(4731%) hue-rotate(215deg) brightness(92%) contrast(101%); /* primary-color */ } .info-item p a { word-break: break-all; } .contact-form-container { background-color: var(--secondary-color); padding: var(--spacing-xl); border-radius: 8px; box-shadow: var(--shadow-lg); } .contact-form-container h2 { margin-bottom: var(--spacing-xl); } .form-group { margin-bottom: var(--spacing-lg); } .form-group label { display: block; margin-bottom: var(--spacing-sm); font-weight: 600; color: var(--primary-color); font-size: 0.95rem; } .form-control { width: 100%; padding: 12px 15px; border: 1px solid var(--border-light); border-radius: 4px; font-family: var(--font-body); font-size: 1rem; line-height: 1.5; transition: border-color 0.3s ease, box-shadow 0.3s ease; background-color: var(--light-bg); color: var(--text-on-light); } .form-control:focus { border-color: var(--accent-color); outline: none; box-shadow: 0 0 0 3px rgba(255, 111, 97, 0.2); /* accent-color с прозрачностью */ } textarea.form-control { min-height: 120px; resize: vertical; } .form-group select.form-control { /* Стилизация селекта */ appearance: none; -webkit-appearance: none; -moz-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%230A2463' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E"); /* primary-color для стрелки */ background-repeat: no-repeat; background-position: right 15px center; background-size: 16px 16px; padding-right: 40px; } .form-group input[type="checkbox"] { width: auto; vertical-align: middle; margin-right: var(--spacing-sm); height: 18px; width: 18px; accent-color: var(--accent-color); /* Цвет галочки */ } .form-group label.checkbox-label { display: inline-flex !important; align-items: center; margin-left: 0; margin-bottom: 0; font-weight: 400; color: var(--text-on-light); font-size: 0.95rem; cursor: pointer; } .submit-btn { margin-top: var(--spacing-md); width: 100%; } .success-message { /* Сообщение об успехе отправки формы */ display: none; padding: var(--spacing-md); margin-bottom: var(--spacing-lg); background-color: #D4EDDA; /* Светло-зеленый */ color: #155724; /* Темно-зеленый текст */ border: 1px solid #C3E6CB; border-radius: 4px; text-align: center; } .success-message.show { display: block; animation: fadeIn 0.5s; } /* --- FAQ Страница --- */ .faq-section .container { max-width: 900px; } /* Чуть уже для FAQ */ .faq-item { border: 1px solid var(--border-light); border-radius: 8px; margin-bottom: var(--spacing-lg); background-color: var(--light-bg); box-shadow: var(--shadow-sm); overflow: hidden; /* Для анимации max-height */ } .faq-question { font-size: 1.2rem; margin-bottom: 0; color: var(--primary-color); font-weight: 700; cursor: pointer; position: relative; padding: var(--spacing-lg); display: flex; justify-content: space-between; align-items: center; transition: background-color 0.2s ease; } .faq-question:hover { background-color: var(--secondary-color); } .faq-indicator { font-size: 1.5rem; color: var(--accent-color); transition: transform 0.3s ease; line-height: 1; font-weight: 700; } .faq-question.active .faq-indicator { transform: rotate(45deg); } .faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease-out, padding 0.4s ease-out; color: var(--text-on-light); font-size: 1rem; line-height: 1.7; padding: 0 var(--spacing-lg); } .faq-question.active + .faq-answer { /* Показываем ответ */ max-height: 500px; /* Достаточно большое значение */ padding: var(--spacing-md) var(--spacing-lg) var(--spacing-lg); border-top: 1px solid var(--border-light); } .faq-answer p, .faq-answer ul { margin-bottom: var(--spacing-md); } .faq-answer ul { margin-left: var(--spacing-lg); margin-top: var(--spacing-md); } .faq-answer a { text-decoration: underline; } /* --- Cookie Consent --- */ .cookie-consent { position: fixed; bottom: 0; left: 0; width: 100%; background: var(--dark-bg); padding: var(--spacing-md) var(--spacing-lg); box-shadow: 0 -5px 15px rgba(0,0,0,0.2); display: flex; justify-content: space-between; align-items: center; color: var(--text-on-dark); z-index: 1100; border-top: 1px solid var(--border-dark); flex-wrap: wrap; gap: var(--spacing-md); } .cookie-text { flex: 1 1 400px; padding-right: var(--spacing-lg); } .cookie-text p { opacity: 0.9; font-size: 0.9rem; margin-bottom: 0; } .cookie-text p a { color: var(--accent-color); text-decoration: underline; } .cookie-text p a:hover { color: var(--secondary-color); } .cookie-buttons { display: flex; gap: var(--spacing-md); flex-wrap: nowrap; } /* --- Анимации --- */ @keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } } @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } } /* --- Адаптивность --- */ @media screen and (max-width: 991px) { /* Планшеты */ h1 { font-size: 2.4rem; } h2 { font-size: 2rem; } .hero-content h1 { font-size: 3rem; } .page-header h1 { font-size: 2.5rem; } .menu-toggle { display: flex; flex-direction: column; justify-content: space-around; } .nav-links { display: none; position: fixed; top: 0; right: -300px; /* Скрыто за экраном */ width: 280px; height: 100vh; background: var(--light-bg); flex-direction: column; align-items: flex-start; padding: 90px 30px 30px; transition: right 0.4s ease-in-out; z-index: 999; box-shadow: -5px 0 15px rgba(0,0,0,0.1); border-left: 1px solid var(--border-light); } .nav-links.active { display: flex; right: 0; } .nav-links li { margin: 15px 0; margin-left: 0; width: 100%; } .nav-links li a { padding: 10px 0; display: block; color: var(--primary-color); } .nav-links li a:hover, .nav-links li a.active { color: var(--accent-color); } .nav-links li a::after { bottom: -2px; } .menu-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); } .menu-toggle.active span:nth-child(2) { opacity: 0; } .menu-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); } .explore-grid { grid-template-columns: 1fr; } .explore-img { order: -1; margin-bottom: var(--spacing-xl); } /* Картинка сверху на планшетах */ .about-grid-layout { grid-template-columns: 1fr; } .about-image-content { order: -1; margin-bottom: var(--spacing-xl); } .mission-vision-container { grid-template-columns: 1fr; } .contact-grid { grid-template-columns: 1fr; } .contact-info { margin-bottom: var(--spacing-xl); } } @media screen and (max-width: 767px) { /* Мобильные */ body { font-size: 15px; } :root { --section-padding: 50px; } .container { width: 95%; } h1 { font-size: 2rem; } h2 { font-size: 1.8rem; } .hero-content h1 { font-size: 2.5rem; } .hero-content p { font-size: 1.1rem; } .page-header h1 { font-size: 2.2rem; } .page-header p { font-size: 1rem; } .header-container { height: 60px; } header { background-color: var(--light-bg); box-shadow: var(--shadow-sm); } /* Шапка сразу непрозрачная */ .logo { font-size: 1.5rem; } .footer-grid { grid-template-columns: 1fr; text-align: center; } .footer-column h3 { display: block; border-bottom: none; padding-bottom: 0; } .footer-column h3::after { content: ""; display: block; width: 40px; height: 2px; background: var(--accent-color); margin: var(--spacing-xs) auto var(--spacing-md); } .footer-social { justify-content: center; } .cookie-consent { flex-direction: column; text-align: center; padding: var(--spacing-md); } .cookie-text { padding-right: 0; margin-bottom: var(--spacing-md); } .cookie-buttons { justify-content: center; width: 100%; gap: var(--spacing-md); } .cookie-buttons .cookie-btn { flex-grow: 1; } .features-grid { grid-template-columns: 1fr; } .testimonial-grid { grid-template-columns: 1fr; } .newsletter-form { flex-direction: column; border-radius: 8px; background-color: transparent; border: none; gap: var(--spacing-md); } .newsletter-form input { border-radius: 50px; border: 1px solid rgba(255,255,255,0.3); background-color: rgba(255, 255, 255, 0.1); text-align: center; } .newsletter-form button { border-radius: 50px; width: 100%; } } /* Дополнительные стили для контентных страниц (transportation, amsterdam-guide и т.д.) */ .content-page-section { padding-top: var(--spacing-xl); /* Меньше отступ после page-header */ } .content-page-section .container { max-width: 900px; /* Ограничиваем ширину для лучшей читаемости */ } .content-page-section h2 { font-size: 1.8rem; color: var(--primary-color); margin-top: var(--spacing-xl); margin-bottom: var(--spacing-md); padding-bottom: var(--spacing-sm); border-bottom: 2px solid var(--accent-color); display: inline-block; } .content-page-section h2:first-child { margin-top: 0; } .content-page-section h3 { font-size: 1.4rem; color: var(--heading-on-light); margin-top: var(--spacing-lg); margin-bottom: var(--spacing-sm); } .content-page-section p, .content-page-section ul, .content-page-section ol { font-size: 1.05rem; line-height: 1.8; margin-bottom: var(--spacing-lg); } .content-page-section ul li, .content-page-section ol li { margin-bottom: var(--spacing-sm); } .content-page-section ul { list-style: disc; padding-left: var(--spacing-lg); } .content-page-section ol { list-style: decimal; padding-left: var(--spacing-lg); } .content-page-section strong { font-weight: 700; color: var(--primary-color); } .content-page-section a { text-decoration: underline; } .content-page-section a:hover { text-decoration: none; } .content-page-section img.inline-image { /* Если есть картинки в тексте */ max-width: 100%; margin: var(--spacing-lg) auto; border-radius: 8px; box-shadow: var(--shadow-md); } .highlight-box { /* Для выделения важной информации */ background-color: var(--secondary-color); padding: var(--spacing-lg); border-radius: 8px; border-left: 5px solid var(--accent-color); margin: var(--spacing-lg) 0; box-shadow: var(--shadow-sm); } .highlight-box p { margin-bottom: 0; font-size: 1rem; } /* Стили для Disclaimer страницы */ .disclaimer-content .container { max-width: 900px; } .disclaimer-section { margin-bottom: var(--spacing-xl); } .disclaimer-section h2 { font-size: 1.6rem; color: var(--primary-color); margin-bottom: var(--spacing-md); padding-bottom: var(--spacing-sm); border-bottom: 1px solid var(--border-light); } .disclaimer-content p.last-updated { font-size: 0.9rem; color: #777; margin-bottom: var(--spacing-xl); text-align: right; }