/* ===== Общие сбросы и шрифты ===== */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: #f8f9fa;
            color: #212529;
            line-height: 1.6;
            padding-top: 50px; /* отступ под фиксированную шапку */
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }



        /* ===== ШАПКА (фиксированная) ===== */



        header {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            background: #ffffff;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            z-index: 1000;
            padding: 12px 0;
        }

        header .container {
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-wrap: wrap;
        }

        .logo a {
            font-size: 1.5rem;
            font-weight: 700;
            color: #0d6efd;
            text-decoration: none;
            letter-spacing: -0.5px;
        }

        nav {
            display: flex;
            align-items: center;
            gap: 20px;
            flex-wrap: wrap;
        }

        nav a {
            text-decoration: none;
            color: #212529;
            font-weight: 500;
            transition: color 0.2s;
            font-size: 0.95rem;
        }

        nav a:hover {
            color: #0d6efd;
        }

        /* Выпадающее меню "Магазины" */
        .dropdown {
            position: relative;
            display: inline-block;
        }

        .dropdown > a {
            cursor: default;
        }

        .dropdown-content {
            display: none;
            position: absolute;
            top: 100%;
            left: 0;
            background: white;
            min-width: 150px;
            box-shadow: 0 8px 16px rgba(0,0,0,0.1);
            border-radius: 8px;
            padding: 8px 0;
            z-index: 1;
        }

        .dropdown-content a {
            display: block;
            padding: 8px 20px;
            color: #212529;
            text-decoration: none;
            font-weight: 400;
        }

        .dropdown-content a:hover {
            background: #f1f3f5;
            color: #0d6efd;
        }

        .dropdown:hover .dropdown-content {
            display: block;
        }
/* ===== Бургер-меню (скрыто на десктопе) ===== */
.burger-menu {
    display: none;           /* скрыто на больших экранах */
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.burger-menu span {
    display: block;
    width: 100%;
    height: 3px;
    background: #212529;
    border-radius: 3px;
    transition: all 0.3s ease;
    transform-origin: center;
}

/* Анимация при открытии (крестик) */
.burger-menu.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.burger-menu.active span:nth-child(2) {
    opacity: 0;
}
.burger-menu.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}



/* ===== Герой-блок главной страницы ===== */
.hero-main {
    position: relative;
    width: 100%;
    min-height: 100vh;          /* на всю высоту экрана */
    background-image: url('/images/hero-main-bg.jpeg'); /* замените на свой фон */
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* эффект параллакса (опционально) */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    overflow: hidden;
}

/* Затемнение фона для читаемости текста */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* полупрозрачный слой */
    z-index: 1;
}

/* Контент поверх оверлея */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    width: 100%;
    color: #ffffff;
}

.hero-content h1 {
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 4px 15px rgba(0,0,0,0.3);
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 40px;
    font-weight: 300;
    opacity: 0.9;
}

/* Контейнер для кнопок */
.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
}

/* ===== Кнопки с анимацией отблеска ===== */
.hero-btn {
    position: relative;
    display: inline-block;
    padding: 16px 40px;
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
    background: #0d6efd;        /* основной цвет */
    border: 2px solid #0d6efd;
    border-radius: 50px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    overflow: hidden;          /* чтобы отблеск не вылезал за рамки */
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(13, 110, 253, 0.4);
}

/* Псевдоэлемент для отблеска (белая полоса) */
.hero-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.6), transparent);
    transform: skewX(-20deg);
    transition: none;
    animation: shine 4s infinite linear; /* бесконечная анимация */
}

/* Анимация отблеска */
@keyframes shine {
    0%   { left: -100%; }
    100% { left: 200%; }
}

/* Эффект при наведении */
.hero-btn:hover {
    background: #0b5ed7;        /* тёмный оттенок */
    border-color: #0b5ed7;
    color: #fff;
    box-shadow: 0 6px 30px rgba(13, 110, 253, 0.6);
    transform: translateY(-3px);
    transition: all 0.3s ease;
}

/* Убираем анимацию отблеска при наведении (опционально, чтобы не мешала) */
.hero-btn:hover::before {
    animation-play-state: paused;
}

/* Если хотите, чтобы отблеск был только при наведении – закомментируйте строку animation: shine 4s infinite; и добавьте: */
/*
.hero-btn:hover::before {
    animation: shine 1s ease-in-out;
    animation-fill-mode: forwards;
}
*/
        /* ===== Подвал ===== */
        footer {
            background: #212529;
            color: #adb5bd;
            padding: 30px 0;
            text-align: center;
            margin-top: 0px;
        }

        footer a {
            color: #adb5bd;
            text-decoration: none;
        }

        footer a:hover {
            color: white;
        }
/* ===== Мобильная адаптация (< 780px) ===== */
@media (max-width: 780px) {
    /* ---------- Бургер-кнопка ---------- */
    .burger-menu {
        display: flex;
    }

    /* ---------- Контейнер меню ---------- */
    .nav-menu {
        display: none;                     /* скрыто по умолчанию */
        flex-direction: column;
        align-items: center;               /* центрируем все дочерние элементы */
        position: absolute;                /* лучше absolute, чтобы не сдвигать контент */
        top: 100%;                         /* под шапкой */
        left: 0;
        width: 100%;
        background: #ffffff;
        box-shadow: 0 8px 16px rgba(0,0,0,0.1);
        padding: 15px 20px;
        border-radius: 0 0 12px 12px;
        z-index: 1000;
    }

    .nav-menu.active {
		display: block;
		align-items: center;      /* Выравнивание по центру строго по вертикали */
		justify-content: center;   /* Дополнительно: выравнивание по центру по горизонтали */
    }

    /* ---------- Все пункты меню (ссылки и контейнеры) ---------- */
    .nav-menu a,
    .nav-menu .dropdown > a {
        display: block;                    /* блочные, чтобы занимать всю ширину */
        width: 100%;
        text-align: center;
        padding: 10px 0;                  /* вертикальные отступы для удобства */
        border-bottom: 1px solid #f1f3f5;
        font-size: 1rem;
        color: #212529;
        text-decoration: none;
    }

    .nav-menu a:last-child,
    .nav-menu .dropdown:last-child > a {
        border-bottom: none;              /* убираем границу у последнего элемента */
    }

    /* ---------- Выпадающий блок "Магазины" ---------- */
    .nav-menu .dropdown {
        width: 100%;
        text-align: center;
    }

    .nav-menu .dropdown-content {
        position: static;                  /* не позиционируем абсолютно */
        box-shadow: none;
        background: #f8f9fa;
        border-radius: 8px;
        margin-top: 5px;
        padding: 5px 0;
        text-align: center;
        width: 100%;
    }

    .nav-menu .dropdown-content a {
        display: block;
        width: 100%;
        padding: 8px 15px;
        border-bottom: none;
        text-align: center;
        color: #212529;
        text-decoration: none;
    }

    /* ---------- Шапка ---------- */
    header .container {
        position: relative;
    }

    header {
        padding: 10px 0;
    }
}

		/* ===== Мобильные устройства (ширина < 480px) ===== */
		@media (max-width: 480px){
			body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: #f8f9fa;
            color: #212529;
            line-height: 1.6;
            padding-top: 50px; /* отступ под фиксированную шапку */
	        }
			
		    /* Форма – без фиксированной ширины */
		    .order-form {
		        width: 100%;
		        padding: 15px;
		    
		
		    /* Кнопка – на всю ширину, под чекбоксом */
		    .order-form button {
		        display: block;
		        width: 100%;
		        float: none;
		        clear: both;
		        position: static;
		        margin-top: 15px;
		        font-size: 1rem;
		        padding: 16px 20px;
		    }
		
		   	.checkbox-group {
			    display: flex;
			    flex-direction: row;
			    align-items: flex-start;
			    gap: 10px;
			}
			
			.checkbox-group input[type="checkbox"] {
			    flex-shrink: 0;
			    margin-top: 3px;
			    width: 18px;
			    height: 18px;
			}
			
			.checkbox-group label {
			    flex: 1;
			    word-break: break-word;
			}
		
		    /* Увеличиваем размер шрифта для удобства ввода */
		    .order-form input,
		    .order-form select,
		    .order-form button {
		        font-size: 16px;
		    }
			}
		}

