
/* My Food Presentation Styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary-color: #FF9100;
    --primary-dark: #E57C00;
    --primary-light: #FFB74D;
    --text-dark: #2E2E2E;
    --text-light: #6B6B6B;
    --bg-light: #FAFAFA;
    --white: #FFFFFF;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --border-radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    color: var(--text-dark);
    line-height: 1.6;
}

/* Презентационный контейнер */
.presentation-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 20px;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    position: relative;
}

/* Навигация */
.navigation {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 20px;
    z-index: 1000;
    border-bottom: 1px solid #e0e0e0;
}

.nav-content {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-button {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-button:hover {
    background: var(--primary-dark);
}

.nav-button:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.slide-counter {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 500;
}

/* Прогресс бар */
.progress-bar {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    height: 3px;
    background: #e0e0e0;
    z-index: 999;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    transition: width 0.3s ease;
    width: 0%;
}

/* Основное содержимое */
.main-content {
    margin-top: 80px;
}

/* Слайды */
.slide {
    width: 1280px;
    height: 720px;
    padding: 60px;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin: 0 auto 20px;
    display: none;
    position: relative;
    overflow: hidden;
}

.slide.active {
    display: block;
}

/* Типы слайдов */
.slide-title {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
}

.slide-title h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.slide-title h2 {
    font-size: 24px;
    font-weight: 400;
    opacity: 0.9;
    margin-bottom: 40px;
}

.slide-title .author {
    font-size: 18px;
    opacity: 0.8;
    margin-top: 40px;
}

/* Определения */
.slide-definition .definition-text {
    font-size: 24px;
    line-height: 1.6;
    margin-bottom: 40px;
    color: var(--text-dark);
    padding: 30px;
    background: #f8f9fa;
    border-left: 5px solid var(--primary-color);
    border-radius: var(--border-radius);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.stat-card {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 2px solid #f0f0f0;
    transition: all 0.3s ease;
}

.stat-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.stat-value {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.stat-description {
    font-size: 14px;
    color: var(--text-light);
}

/* Проблемы */
.slide-problem h1 {
    font-size: 36px;
    font-weight: 700;
    color: #d32f2f;
    margin-bottom: 40px;
}

.problems-list {
    list-style: none;
    margin-bottom: 40px;
}

.problems-list li {
    font-size: 20px;
    padding: 15px 0;
    border-left: 4px solid #d32f2f;
    padding-left: 20px;
    margin-bottom: 15px;
    background: #ffebee;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.problem-result {
    font-size: 22px;
    font-weight: 600;
    color: #d32f2f;
    padding: 25px;
    background: #ffcdd2;
    border-radius: var(--border-radius);
    border: 2px solid #d32f2f;
}

/* Решения */
.slide-solution h1 {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 40px;
}

.approaches-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.approach-card {
    padding: 25px;
    background: linear-gradient(135deg, #fff3e0, #ffcc80);
    border-radius: var(--border-radius);
    border: 2px solid var(--primary-light);
}

.approach-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.approach-card p {
    color: var(--text-dark);
    font-size: 16px;
}

/* Этапы */
.stages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.stage-card {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    position: relative;
    border: 3px solid transparent;
    transition: all 0.3s ease;
}

.stage-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.stage-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 15px;
    display: block;
}

.stage-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.stage-description {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.5;
}

/* Кейсы */
.case-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.case-text h1 {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.case-text h2 {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 30px;
}

.case-details {
    list-style: none;
    margin-bottom: 30px;
}

.case-details li {
    font-size: 16px;
    padding: 10px 0;
    border-left: 3px solid var(--primary-color);
    padding-left: 15px;
    margin-bottom: 10px;
}

.case-results {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-dark);
    padding: 20px;
    background: #fff3e0;
    border-radius: var(--border-radius);
    border: 2px solid var(--primary-light);
}

.case-image {
    text-align: center;
}

.case-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

/* Детали этапов */
.stage-detail-content {
    margin-top: 30px;
}

.stage-detail-content h2 {
    font-size: 24px;
    color: var(--text-light);
    margin-bottom: 40px;
    text-align: center;
}

.elements-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.element-card {
    padding: 25px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: 2px solid #f0f0f0;
    transition: all 0.3s ease;
}

.element-card:hover {
    border-color: var(--primary-color);
}

.element-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.element-items {
    list-style: none;
}

.element-items li {
    font-size: 14px;
    padding: 8px 0;
    color: var(--text-dark);
    border-bottom: 1px solid #f0f0f0;
}

.element-items li:last-child {
    border-bottom: none;
}

/* Применение */
.concepts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.concept-card {
    padding: 25px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: var(--border-radius);
    border: 2px solid var(--primary-light);
}

.concept-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.concept-description {
    font-size: 16px;
    color: var(--text-dark);
}

.cta-text {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-color);
    text-align: center;
    padding: 30px;
    background: #fff3e0;
    border-radius: var(--border-radius);
    border: 2px solid var(--primary-color);
}

/* Результаты */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.metric-card {
    padding: 25px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: 2px solid #f0f0f0;
    transition: all 0.3s ease;
}

.metric-card:hover {
    border-color: var(--primary-color);
}

.metric-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.metric-values {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.metric-current {
    font-size: 18px;
    color: var(--text-light);
}

.metric-target {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.metric-increase {
    font-size: 16px;
    font-weight: 600;
    color: #4caf50;
    text-align: center;
}

.timeline {
    font-size: 18px;
    font-weight: 500;
    color: var(--text-light);
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: var(--border-radius);
}

/* Бюджет */
.budget-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.budget-items {
    list-style: none;
}

.budget-item {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0;
    font-size: 16px;
}

.budget-item:last-child {
    border-bottom: 2px solid var(--primary-color);
    font-weight: 600;
    color: var(--primary-color);
}

.roi-section {
    padding: 30px;
    background: linear-gradient(135deg, #e8f5e8, #c8e6c9);
    border-radius: var(--border-radius);
    border: 2px solid #4caf50;
}

.roi-description {
    font-size: 18px;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.roi-value {
    font-size: 48px;
    font-weight: 800;
    color: #4caf50;
    margin-bottom: 15px;
}

.roi-details {
    font-size: 16px;
    color: var(--text-dark);
}

/* Заключение */
.slide-conclusion {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(135deg, #fff3e0, #ffcc80);
}

.main-message {
    font-size: 52px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.2;
}

.sub-message {
    font-size: 38px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 40px;
}

.final-statement {
    font-size: 24px;
    color: var(--text-dark);
    margin-bottom: 40px;
    line-height: 1.4;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.final-cta {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-dark);
    padding: 20px 40px;
    background: white;
    border-radius: 50px;
    display: inline-block;
    box-shadow: var(--shadow);
}

/* Responsive Design */
@media (max-width: 1320px) {
    .slide {
        width: 100%;
        max-width: 1200px;
        height: auto;
        min-height: 600px;
        padding: 40px;
    }

    .slide-title h1 {
        font-size: 36px;
    }

    .slide-title h2 {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .slide {
        padding: 20px;
        margin: 10px;
    }

    .stats-grid,
    .approaches-grid,
    .stages-grid,
    .concepts-grid,
    .metrics-grid {
        grid-template-columns: 1fr;
    }

    .case-content {
        grid-template-columns: 1fr;
    }

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

    .budget-content {
        grid-template-columns: 1fr;
    }

    .nav-content {
        flex-direction: column;
        gap: 10px;
    }

    .main-content {
        margin-top: 120px;
    }
}

/* Полноэкранный режим */
.fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 10000;
    background: white;
}

.fullscreen .slide {
    width: 100vw;
    height: 100vh;
    margin: 0;
    border-radius: 0;
}

/* Кнопки навигации в слайдах */
.slide-navigation {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
}

.slide-nav-button {
    background: var(--primary-color);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.slide-nav-button:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

.slide-nav-button:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

/* Анимации */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.slide.active {
    animation: fadeIn 0.5s ease-out;
}

/* Утилиты */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.font-bold { font-weight: 700; }
.font-normal { font-weight: 400; }
.color-primary { color: var(--primary-color); }
.color-secondary { color: var(--text-light); }

/* Специальные стили для бренда My Food */
.brand-name {
    white-space: nowrap;
}

.brand-highlight {
    color: var(--primary-color);
    font-weight: 700;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print styles */
@media print {
    .navigation,
    .progress-bar,
    .slide-navigation {
        display: none !important;
    }

    .slide {
        display: block !important;
        page-break-after: always;
        margin: 0;
        width: 100%;
        height: auto;
        box-shadow: none;
    }

    body {
        background: white;
    }
}
