/* Основные стили для проекта SmartFood Landing */
/* Общие стили и стили для десктопной версии */

/* Сброс стилей и базовые настройки */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f9f9f9;
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    line-height: 1.3;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Стили для кнопок */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-family: 'Montserrat', sans-serif;
}

.btn-primary {
    background-color: #4CAF50;
    color: white;
}

.btn-primary:hover {
    background-color: #3d8b40;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: #4CAF50;
    border: 2px solid #4CAF50;
}

.btn-secondary:hover {
    background-color: #4CAF50;
    color: white;
    transform: translateY(-3px);
}

.btn-order {
    background-color: #FF9800;
    color: white;
}

.btn-order:hover {
    background-color: #e68900;
}

.btn-large {
    padding: 16px 40px;
    font-size: 18px;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

/* Стили для шапки */
.header {
    background-color: white;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
    font-weight: 700;
    font-size: 24px;
}

.logo-icon {
    font-size: 32px;
    margin-right: 10px;
}

.logo-text {
    font-family: 'Montserrat', sans-serif;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-menu li {
    margin-left: 30px;
}

.nav-link {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: #4CAF50;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #4CAF50;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: #333;
    transition: all 0.3s ease;
}

/* Герой секция */
.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #f9f9f9 0%, #e8f5e9 100%);
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    margin-right: 5%;
}

.hero-title {
    font-size: 48px;
    margin-bottom: 20px;
    color: #2c3e50;
}

.highlight {
    color: #4CAF50;
}

.hero-subtitle {
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-image {
    flex: 1;
    position: relative;
}

.image-container {
    position: relative;
}

.hero-img {
    max-width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.floating-badge {
    position: absolute;
    background: white;
    padding: 10px 20px;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    font-weight: 500;
    display: flex;
    align-items: center;
}

.floating-badge.healthy {
    top: 20px;
    left: -20px;
    color: #4CAF50;
}

.floating-badge.delivery {
    bottom: 40px;
    right: -20px;
    color: #FF9800;
}

.floating-badge::before {
    content: '✓';
    margin-right: 8px;
    font-weight: bold;
}

/* Общие стили для секций */
.section-title {
    font-size: 36px;
    text-align: center;
    margin-bottom: 15px;
    color: #2c3e50;
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 50px;
    font-size: 18px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.text-center {
    text-align: center;
}

/* Секция преимуществ */
.features {
    padding: 80px 0;
    background-color: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-card {
    text-align: center;
    padding: 30px 20px;
    border-radius: 15px;
    transition: transform 0.3s, box-shadow 0.3s;
    background-color: #f9f9f9;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 40px;
    color: #4CAF50;
    margin-bottom: 20px;
}

.feature-title {
    font-size: 20px;
    margin-bottom: 15px;
}

.feature-description {
    color: #666;
}

/* Секция "Как это работает" */
.how-it-works {
    padding: 80px 0;
    background: linear-gradient(135deg, #e8f5e9 0%, #f9f9f9 100%);
}

.steps {
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
}

.step {
    text-align: center;
    flex: 1;
    padding: 0 20px;
    position: relative;
}

.step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 40px;
    width: 100%;
    height: 2px;
    background-color: #4CAF50;
    opacity: 0.3;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background-color: #4CAF50;
    color: white;
    font-size: 36px;
    font-weight: 700;
    border-radius: 50%;
    margin-bottom: 20px;
}

.step-title {
    font-size: 22px;
    margin-bottom: 15px;
}

.step-description {
    color: #666;
}

/* Секция популярных блюд */
.popular-dishes {
    padding: 80px 0;
    background-color: white;
}

.dishes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.dish-card {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.dish-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.dish-image {
    height: 200px;
    width: 100%;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    font-size: 60px;
}

.dish-content {
    padding: 20px;
}

.dish-title {
    font-size: 20px;
    margin-bottom: 10px;
}

.dish-description {
    color: #666;
    margin-bottom: 15px;
    font-size: 14px;
}

.dish-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dish-price {
    font-size: 24px;
    font-weight: 700;
    color: #4CAF50;
}

.dish-category {
    background-color: #e8f5e9;
    color: #4CAF50;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

/* Секция отзывов */
.testimonials {
    padding: 80px 0;
    background: linear-gradient(135deg, #f9f9f9 0%, #e8f5e9 100%);
}

.testimonials-slider {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 20px 0;
    scrollbar-width: thin;
    scrollbar-color: #4CAF50 #f0f0f0;
}

.testimonials-slider::-webkit-scrollbar {
    height: 8px;
}

.testimonials-slider::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 10px;
}

.testimonials-slider::-webkit-scrollbar-thumb {
    background: #4CAF50;
    border-radius: 10px;
}

.testimonial-card {
    min-width: 350px;
    background-color: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.testimonial-text {
    font-style: italic;
    color: #555;
    margin-bottom: 25px;
    font-size: 16px;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
}

.author-info h4 {
    margin-bottom: 5px;
}

.author-details {
    color: #888;
    font-size: 14px;
}

/* CTA секция */
.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, #4CAF50 0%, #2E7D32 100%);
    color: white;
    text-align: center;
}

.cta-title {
    font-size: 42px;
    margin-bottom: 20px;
}

.cta-subtitle {
    font-size: 20px;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-note {
    margin-top: 20px;
    font-size: 14px;
    opacity: 0.9;
}

/* Подвал */
.footer {
    background-color: #2c3e50;
    color: white;
    padding: 70px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo {
    color: white;
    margin-bottom: 20px;
}

.footer-description {
    color: #bdc3c7;
    margin-bottom: 20px;
    line-height: 1.7;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: background-color 0.3s;
}

.social-link:hover {
    background-color: #4CAF50;
}

.footer-title {
    font-size: 20px;
    margin-bottom: 25px;
    color: white;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #4CAF50;
}

.footer-contacts {
    list-style: none;
}

.footer-contacts li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.footer-contacts i {
    margin-right: 10px;
    color: #4CAF50;
    width: 20px;
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    color: #bdc3c7;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: #bdc3c7;
    text-decoration: none;
    font-size: 14px;
}

.footer-bottom-links a:hover {
    color: #4CAF50;
}

/* Стили для страницы меню */
.breadcrumbs {
    padding: 20px 0;
    background-color: #f5f5f5;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    list-style: none;
}

.breadcrumb-list li {
    margin-right: 10px;
    color: #666;
    font-size: 14px;
}

.breadcrumb-list li a {
    color: #666;
    text-decoration: none;
}

.breadcrumb-list li a:hover {
    color: #4CAF50;
}

.breadcrumb-list i {
    font-size: 10px;
    color: #aaa;
}

.page-header {
    padding: 60px 0 40px;
    text-align: center;
}

.page-title {
    font-size: 42px;
    color: #2c3e50;
    margin-bottom: 15px;
}

.page-subtitle {
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    font-size: 18px;
}

.menu-filter {
    padding: 40px 0;
    background-color: white;
}

.filter-container {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 15px;
}

.filter-title {
    font-size: 24px;
    margin-bottom: 20px;
    color: #2c3e50;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.filter-btn {
    padding: 10px 20px;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
}

.filter-btn:hover {
    background-color: #f0f0f0;
}

.filter-btn.active {
    background-color: #4CAF50;
    color: white;
    border-color: #4CAF50;
}

.filter-search {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.search-box {
    flex: 1;
    position: relative;
}

.search-box i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
}

#search-input {
    width: 100%;
    padding: 15px 15px 15px 45px;
    border: 1px solid #ddd;
    border-radius: 50px;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
}

.sort-options {
    display: flex;
    align-items: center;
    gap: 10px;
}

#sort-select {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Roboto', sans-serif;
}

.menu-items {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.menu-item {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.menu-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.item-image {
    height: 200px;
    width: 100%;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    font-size: 60px;
}

.item-content {
    padding: 25px;
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.item-title {
    font-size: 20px;
    margin-right: 10px;
}

.item-price {
    font-size: 24px;
    font-weight: 700;
    color: #4CAF50;
    white-space: nowrap;
}

.item-description {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.item-category {
    background-color: #e8f5e9;
    color: #4CAF50;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.item-calories {
    color: #888;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.item-calories i {
    margin-right: 5px;
    color: #FF9800;
}

.no-results {
    text-align: center;
    padding: 60px 20px;
    display: none;
}

.no-results i {
    font-size: 60px;
    color: #ddd;
    margin-bottom: 20px;
}

.no-results h3 {
    margin-bottom: 10px;
    color: #666;
}

.delivery-info {
    padding: 60px 0;
    background-color: white;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.info-card {
    text-align: center;
    padding: 30px;
    border-radius: 15px;
    background-color: #f9f9f9;
    transition: transform 0.3s;
}

.info-card:hover {
    transform: translateY(-10px);
}

.info-icon {
    font-size: 40px;
    color: #4CAF50;
    margin-bottom: 20px;
}

.info-title {
    font-size: 20px;
    margin-bottom: 15px;
}

.info-text {
    color: #666;
}

/* Стили для страницы контактов */
.contact-info {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.contact-card {
    text-align: center;
    padding: 30px 20px;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.contact-card:hover {
    transform: translateY(-10px);
}

.contact-icon {
    font-size: 40px;
    color: #4CAF50;
    margin-bottom: 20px;
}

.contact-title {
    font-size: 20px;
    margin-bottom: 10px;
}

.contact-text {
    color: #333;
    font-weight: 500;
    margin-bottom: 5px;
}

.contact-note {
    color: #888;
    font-size: 14px;
}

.contact-main {
    padding: 80px 0;
    background-color: white;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-map {
    background-color: #f9f9f9;
    border-radius: 15px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-placeholder {
    text-align: center;
    padding: 40px;
}

.map-placeholder i {
    font-size: 80px;
    color: #4CAF50;
    margin-bottom: 20px;
}

.map-placeholder h3 {
    margin-bottom: 15px;
    color: #2c3e50;
}

.map-placeholder p {
    color: #666;
    margin-bottom: 20px;
}

.map-address {
    text-align: left;
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
}

.map-address p {
    margin-bottom: 10px;
}

.contact-form-container {
    padding: 30px;
    background-color: #f9f9f9;
    border-radius: 15px;
}

.form-title {
    font-size: 28px;
    margin-bottom: 10px;
    color: #2c3e50;
}

.form-subtitle {
    color: #666;
    margin-bottom: 30px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #555;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: #4CAF50;
    outline: none;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
}

.checkbox-group input {
    width: auto;
    margin-right: 10px;
    margin-top: 5px;
}

.checkbox-group label {
    font-size: 14px;
    line-height: 1.5;
}

.faq {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: white;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.faq-question {
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question h3 {
    font-size: 18px;
    color: #2c3e50;
}

.faq-toggle {
    font-size: 24px;
    color: #4CAF50;
    transition: transform 0.3s;
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer p {
    padding-bottom: 25px;
    color: #666;
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}