/* ========== СБРОС СТИЛЕЙ И БАЗОВЫЕ НАСТРОЙКИ ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --accent-color: #ffd700;
    --dark-color: #2c3e50;
    --light-color: #f8f9fa;
    --text-color: #333;
    --text-light: #666;
    --white: #ffffff;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-hover: 0 5px 15px rgba(102, 126, 234, 0.4);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ========== ШАПКА САЙТА ========== */
.header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    text-decoration: none;
}

.logo span {
    font-size: 22px;
    font-weight: bold;
    color: var(--white);
    text-decoration: none;
    letter-spacing: 1px;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

.main-nav a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s ease;
    padding: 8px 12px;
    border-radius: 4px;
}

.main-nav a:hover {
    color: var(--accent-color);
    background: rgba(255, 255, 255, 0.1);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--white);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* ========== ГЕРОЙ СЕКЦИЯ ========== */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 120px 0;
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.hero p {
    font-size: 22px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========== СЕКЦИИ ========== */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.section-title p {
    color: var(--text-light);
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
}

/* ========== ПОЧЕМУ МЫ ЛУЧШИЕ ========== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-card h3 {
    color: var(--dark-color);
    margin-bottom: 15px;
    font-size: 22px;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* ========== СОПУТСТВУЮЩИЕ ТОВАРЫ ========== */
.shop-highlight {
    background: linear-gradient(135deg, #f0f4f8 0%, #e2e8f0 100%);
}

.shop-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.shop-text h3 {
    color: var(--dark-color);
    font-size: 28px;
    margin-bottom: 20px;
}

.shop-text p {
    margin-bottom: 25px;
    line-height: 1.8;
}

.benefits-list {
    list-style: none;
    margin-bottom: 30px;
}

.benefits-list li {
    margin-bottom: 12px;
    padding-left: 30px;
    position: relative;
    line-height: 1.8;
}

.benefits-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 18px;
}

.shop-image {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 10px;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-placeholder {
    width: 100%;
    height: 350px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
    font-weight: bold;
}

/* ========== ОТЛИЧИЕ ОТ КОНКУРЕНТОВ ========== */
.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.comparison-item {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
    border-left: 4px solid var(--primary-color);
}

.comparison-item:hover {
    transform: translateX(10px);
}

.comparison-item h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 22px;
}

.comparison-item p {
    color: var(--text-light);
    line-height: 1.8;
}

/* ========== ПОРТФОЛИО ========== */
.portfolio {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.portfolio-item {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.portfolio-image {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.portfolio-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-item:hover .portfolio-img {
    transform: scale(1.05);
}

.portfolio-item h4 {
    padding: 20px;
    color: var(--dark-color);
    margin-bottom: 10px;
    font-size: 20px;
}

.portfolio-item p {
    padding: 0 20px 20px;
    color: var(--text-light);
    line-height: 1.6;
}

.portfolio-view-all {
    text-align: center;
    margin-top: 40px;
}

/* ========== ОТЗЫВЫ ========== */
.testimonials {
    background: linear-gradient(135deg, #f0f4f8 0%, #e2e8f0 100%);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 15px;
    font-size: 80px;
    color: var(--primary-color);
    opacity: 0.2;
    font-family: Georgia, serif;
}

.testimonial-content {
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.testimonial-content p {
    line-height: 1.8;
    font-style: italic;
    color: var(--text-light);
}

.testimonial-author {
    padding-top: 20px;
    border-top: 2px solid var(--primary-color);
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
}

.avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent-color);
}

.testimonial-author strong {
    color: var(--dark-color);
    display: block;
    margin-bottom: 5px;
}

.testimonial-author span {
    color: var(--text-light);
    font-size: 14px;
}

/* ========== КАК ЭТО РАБОТАЕТ ========== */
.how-it-works {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
}

.how-it-works .section-title h2,
.how-it-works .section-title p {
    color: var(--white);
}

.steps-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.step-item {
    text-align: center;
    flex: 1;
    min-width: 200px;
    z-index: 1;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--accent-color);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: bold;
    margin: 0 auto 20px;
    border: 4px solid var(--white);
}

.step-item h3 {
    color: var(--white);
    margin-bottom: 10px;
    font-size: 20px;
}

.step-item p {
    opacity: 0.9;
    line-height: 1.6;
}

.step-line {
    width: 80px;
    height: 3px;
    background: var(--accent-color);
    margin: 30px 0;
    display: none;
}

.stripe-badge {
    background: var(--white);
    color: var(--dark-color);
    padding: 30px;
    border-radius: 10px;
    margin-top: 60px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: var(--shadow);
}

.stripe-icon {
    font-size: 48px;
}

.stripe-text h3 {
    color: var(--dark-color);
    margin-bottom: 10px;
    font-size: 22px;
}

.stripe-text p {
    color: var(--text-light);
    line-height: 1.8;
}

/* ========== ПОДВАЛ ========== */
.footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 60px 0 20px;
    margin-top: 50px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: var(--accent-color);
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent-color);
}

.footer-section p {
    margin-bottom: 8px;
    line-height: 1.6;
}

.footer-section a[href^="mailto:"],
.footer-section a[href^="tel:"] {
    display: block;
    color: #bdc3c7;
}

.footer-section a[href^="mailto:"]:hover,
.footer-section a[href^="tel:"]:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #34495e;
    color: #bdc3c7;
    font-size: 14px;
}

/* ========== КНОПКИ ========== */
.btn {
    display: inline-block;
    padding: 14px 35px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: var(--accent-color);
    color: var(--primary-color);
}

.btn-large {
    padding: 16px 40px;
    font-size: 18px;
}

/* ========== УТИЛИТЫ ========== */
.text-center {
    text-align: center;
}

.mt-40 {
    margin-top: 40px;
}

.mb-40 {
    margin-bottom: 40px;
}

/* ========== ИЗОБРАЖЕНИЯ ========== */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Плейсхолдеры для изображений */
.image-placeholder.portfolio-placeholder {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.image-placeholder.shop-placeholder {
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
}

/* ========== АНИМАЦИИ ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* ========== ПЛАВНАЯ ПРОКРУТКА ========== */
html {
    scroll-behavior: smooth;
}

/* ========== ЗАТЕМНЕНИЕ ПРИ НАВЕДЕНИИ ========== */
.portfolio-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover::after {
    opacity: 1;
}

/* ========== ВЕРТИКАЛЬНЫЙ МАГАЗИН ========== */
.shop-vertical {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.product-item {
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.product-row {
    display: grid;
    grid-template-columns: 200px 1fr 150px;
    gap: 30px;
    padding: 25px;
    align-items: center;
}

.product-image-col {
    width: 200px;
    height: 150px;
    overflow: hidden;
    border-radius: 8px;
    background: #f0f4f8;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-item:hover .product-img {
    transform: scale(1.05);
}

.product-specs-col {
    flex: 1;
}

.product-specs-col h3 {
    color: var(--dark-color);
    margin-bottom: 15px;
    font-size: 22px;
}

.specs-list {
    list-style: none;
    color: var(--text-light);
    line-height: 1.8;
}

.specs-list li {
    margin-bottom: 8px;
    padding-left: 25px;
    position: relative;
}

.specs-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 20px;
}

.product-price-col {
    text-align: center;
    min-width: 150px;
}

.price-tag {
    font-size: 28px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 15px;
    display: block;
}

.btn-add-to-cart {
    width: 100%;
    padding: 12px;
    font-size: 14px;
}

/* ========== КНОПКИ ДОБАВЛЕНИЯ В КОРЗИНУ ========== */
.btn-add-to-cart {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 5px;
    padding: 12px 25px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
    width: 100%;
}

.btn-add-to-cart:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}
/* ========== О НАС СЕКЦИЯ ========== */
.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text p {
    line-height: 1.8;
    margin-bottom: 15px;
    color: var(--text-light);
}

.about-text p strong {
    color: var(--dark-color);
}

.mt-20 {
    margin-top: 20px;
}

.about-image {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 10px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
}

.about-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* ========== КОМАНДА ========== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.team-member {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.team-photo {
    width: 180px;
    height: 180px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--accent-color);
    background: #f0f4f8;
}

.team-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.team-member h3 {
    color: var(--dark-color);
    margin-bottom: 5px;
    font-size: 22px;
}

.team-member h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 500;
}

.team-member p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 15px;
}

/* ========== ЦЕННОСТИ ========== */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.value-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s ease;
    border-top: 4px solid var(--primary-color);
}

.value-card:hover {
    transform: translateY(-5px);
}

.value-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.value-card h3 {
    color: var(--dark-color);
    margin-bottom: 15px;
    font-size: 22px;
}

.value-card p {
    color: var(--text-light);
    line-height: 1.8;
}
/* ========== КОРЗИНА ========== */
.cart-container {
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    padding: 40px;
    margin-bottom: 40px;
}

.cart-empty {
    text-align: center;
    padding: 60px 20px;
}

.empty-icon {
    font-size: 80px;
    margin-bottom: 20px;
}

.cart-empty h2 {
    color: var(--dark-color);
    font-size: 32px;
    margin-bottom: 15px;
}

.cart-empty p {
    color: var(--text-light);
    font-size: 18px;
    margin-bottom: 30px;
}

/* Заголовок корзины */
.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--primary-color);
}

.cart-header h2 {
    color: var(--dark-color);
    font-size: 28px;
}

.btn-clear {
    background: #ff4444;
    color: var(--white);
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-clear:hover {
    background: #cc0000;
    transform: translateY(-2px);
}

/* Элементы корзины */
.cart-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.cart-item {
    display: grid;
    grid-template-columns: 100px 2fr 150px 100px 40px;
    gap: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    align-items: center;
    border-left: 4px solid var(--primary-color);
}

.cart-item-image {
    width: 100px;
    height: 80px;
    overflow: hidden;
    border-radius: 5px;
}

.cart-item-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-info h3 {
    color: var(--dark-color);
    font-size: 18px;
    margin-bottom: 5px;
}

.cart-item-price {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 16px;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 10px;
}

.quantity-btn {
    width: 35px;
    height: 35px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 5px;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

.quantity-btn:hover {
    background: var(--secondary-color);
}

.quantity-input {
    width: 60px;
    height: 35px;
    text-align: center;
    font-size: 16px;
    border: 2px solid var(--primary-color);
    border-radius: 5px;
    padding: 5px;
}

.cart-item-total {
    color: var(--dark-color);
    font-weight: bold;
    font-size: 18px;
    text-align: center;
}

.btn-remove {
    background: #ff4444;
    color: var(--white);
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-remove:hover {
    background: #cc0000;
    transform: rotate(90deg);
}

/* Итоговая сумма */
.cart-summary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 18px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-item.total {
    font-size: 24px;
    font-weight: bold;
    padding-top: 15px;
    margin-top: 15px;
    border-top: 2px solid rgba(255,255,255,0.4);
}

/* Кнопки действий */
.cart-actions {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.btn-checkout {
    background: var(--accent-color);
    color: var(--primary-color);
    padding: 15px 40px;
    font-size: 18px;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-checkout:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

/* Уведомления */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #4CAF50;
    color: white;
    padding: 15px 25px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    z-index: 9999;
    animation: slideIn 0.3s ease;
}