/* store.css — полный файл, заменяет предыдущий */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* --- Фоновое изображение (фиксированное) --- */
body {
    font-family: "Khula", "Ruslan Display", sans-serif;
    background-image: url("https://i.pinimg.com/1200x/89/b7/b5/89b7b5da553719634ea0673f08e8eedc.jpg");
    background-attachment: fixed;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    color: #000;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* --- Если у вас есть фоновое видео — применится лёгкий блюр --- */
.bg-video {
    position: fixed;
    top: 50%;
    left: 50%;
    width: auto;
    height: auto;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    z-index: -2;
    object-fit: cover;
    filter: blur(4px) saturate(.95);
    will-change: transform, filter;
    pointer-events: none;
}

/* Чёрная полупрозрачная подложка поверх фона, чтобы текст читался */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.35);
    z-index: -1;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 64px;
    background-color: black;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
    z-index: 1000;

}

.burger-menu {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 8px;
}

.burger-menu span {
    width: 25px;
    height: 3px;
    background-color: #e5e5e5;
    transition: all 0.3s ease;
}

.logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.logo img {
    height: 50px;
}



/* === Основная колонка секций === */
.sections-column {
    width: 100%;
    max-width: 1200px;
    margin: 100px auto 80px; /* пространство под фиксированным nav */
    display: flex;
    flex-direction: column;
    gap: 70px;
    padding: 0 20px;
}

/* Секция */
.section-item {
    position: relative;
    width: 100%;
    min-height: 320px;
    background: rgba(255,255,255,0.9);
    border-radius: 20px;
    padding: 28px 36px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 40px;
    border: 1px solid rgba(0,0,0,0.08);
    overflow: hidden;
}

/* Изображения — слева */
.section-item img {
    width: 320px;
    max-width: 35%;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
    order: 0;
}

/* Текст посередине */
.section-text {
    flex: 1;
    text-align: center;
    padding: 0 20px;
    order: 1;
}

/* Заголовок и параграф */
.section-text h2 {
    margin: 0 0 10px;
    font-size: 44px;
    font-weight: 700;
    color: #0b0b0b;
    font-family: 'Ruslan Display', serif;
}

.section-text p {
    margin: 0 0 18px;
    font-size: 18px;
    line-height: 1.4;
    color: #222;
}

/* Большие полупрозрачные цифровые метки */
.section-number {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 6rem;
    font-weight: 900;
    opacity: 0.08;
    color: #000;
    pointer-events: none;
}

/* --- Кнопки — общий стиль (все кнопки на странице имеют одинаковый hover эффект) --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 10px;
    background: transparent;
    border: 2px solid rgba(255,255,255,0.06);
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
    backdrop-filter: blur(2px);
    color: #fff;
    position: relative;
    overflow: visible;
}

/* Круглые кнопки */
.btn.round {
    width: 56px;
    height: 56px;
    padding: 0;
    border-radius: 999px;
    font-size: 18px;
    font-weight: 700;
    background: rgba(0,0,0,0.45);
    border: 2px solid rgba(255,255,255,0.06);
}

/* Нормальные (прямоугольные) кнопки */
.btn.normal {
    padding: 10px 22px;
    border-radius: 12px;
    background: rgba(0,0,0,0.45);
}

/* Контейнеры для кнопок */
.round-buttons {
    margin-top: 18px;
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.round-buttons.many {
    gap: 10px;
}

.actions {
    margin-top: 18px;
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Hover эффект — неоновый красный бордер и поднятие */
.btn:hover,
.btn:focus {
    transform: translateY(-6px) scale(1.02);
    border-color: rgba(255, 0, 0, 0.95);
    background-color: rgba(255, 0, 0, 0.04);
    box-shadow:
        0 6px 20px rgba(255,0,0,0.12),
        0 0 18px rgba(255,0,0,0.18),
        0 0 40px rgba(255,0,0,0.08);
    outline: none;
}

/* При наведении — лёгкий внутренний подсвет */
.btn::after {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: inherit;
    pointer-events: none;
    transition: opacity 0.25s ease;
    opacity: 0;
}

.btn:hover::after {
    opacity: 1;
}

/* --- Адаптивы --- */
@media (max-width: 1100px) {
    .section-item {
        padding: 20px;
        gap: 20px;
    }

    .section-item img {
        max-width: 40%;
        width: 280px;
    }

    .section-text h2 {
        font-size: 36px;
    }
}

@media (max-width: 820px) {
    .section-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        min-height: auto;
    }

    .section-item img {
        order: 0;
        width: 70%;
        max-width: 420px;
        margin-bottom: 10px;
    }

    .section-number {
        left: 6px;
        top: 8px;
        transform: none;
        font-size: 4rem;
        opacity: 0.06;
    }

    .sections-column {
        margin-top: 90px;
        gap: 40px;
    }
}

@media (max-width: 480px) {
    .section-text h2 {
        font-size: 26px;
    }

    .section-text p {
        font-size: 15px;
    }

    .btn.round {
        width: 48px;
        height: 48px;
        font-size: 16px;
    }

    .section-item img {
        width: 86%;
    }
}



/* CSS только для этой кнопки */
.neon-wrap{
  display:inline-grid;
  place-items:center;
  width:170px;       /* менее широкая кнопка */
  height:56px;
  position:relative;
  text-decoration:none;
  border-radius:5px;
  background-color:#222;
  box-shadow: inset 0 0 14px rgba(255,0,0,0.02);
  cursor:pointer;
  overflow:visible;
  -webkit-tap-highlight-color: transparent;
  transition: transform 160ms ease;
    position: relative;
    left: 45%;

}

/* немного подъёма при ховере */
.neon-wrap:hover{ transform: translateY(-3px); }

/* текст */
.neon-label{
  position:relative;
  z-index:3;
  color:#fff;
  font-weight:700;
  font-size:20px;      /* увеличенный текст */
  letter-spacing:0.6px;
  user-select:none;
  -webkit-user-select:none;
  pointer-events:none; /* клики идут по ссылке */

}

/* SVG повёрстка */
.neon-svg{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  z-index:2;
  pointer-events:none;
}

/* основной неоновый путь */
.neon-path{
  fill:none;
  stroke:#ff1f1f;
  stroke-width:4;
  stroke-linecap:round;
  stroke-linejoin:round;

  filter: drop-shadow(0 0 8px rgba(255,31,31,0.6)) drop-shadow(0 0 14px rgba(255,31,31,0.25));

  /* полный путь = 472 (для 180x56, path: M90 0 H180 V56 H0 V0 H90) */
  stroke-dasharray: 472;
  stroke-dashoffset: 472;      /* полностью скрыт до ховера */
  transition: stroke-dashoffset 700ms cubic-bezier(.2,.8,.2,1), opacity 200ms linear;
  opacity:0.95;
}

/* тонкая внутренняя подсветка */
.neon-path-inner{
  fill:none;
  stroke:#ff7a7a;
  stroke-width:1;
  stroke-linecap:round;
  stroke-linejoin:round;
  filter: blur(3px);
  stroke-dasharray: 472;
  stroke-dashoffset: 472;
  transition: stroke-dashoffset 700ms cubic-bezier(.2,.8,.2,1), opacity 200ms linear;
  opacity:0.6;
}

/* На hover — "рисуем" линию (offset -> 0). При уходе — обратно. */
.neon-wrap:hover .neon-path,
.neon-wrap:hover .neon-path-inner{
  stroke-dashoffset: 0;
  opacity:1;
}

/* дополнительный слабый glow позади текста */
.neon-wrap::before{
  content:"";
  position:absolute;
  z-index:1;
  left:-30%;
  top:-20%;
  width:160%;
  height:140%;
  filter: blur(16px);
  background: radial-gradient(circle at 50% 30%, rgba(255,40,40,0.12), transparent 18%);
  opacity:0;
  transition: opacity 260ms ease;
  pointer-events:none;
  
}
.neon-wrap:hover::before{ opacity:1; }

/* небольшой отклик на фокус (для клавиатуры) */
.neon-wrap:focus{
  outline:none;
  box-shadow: 0 0 10px rgba(255,31,31,0.18);
}

/* адаптив: чуть меньше на узких экранах */
@media (max-width:420px){
  .neon-wrap{ width:160px; height:52px; border-radius:9px; }
  .neon-label{ font-size:18px; }
  /* при другой высоте/ширине нужно пересчитать длину пути — но для этой маленькой адаптации эффект остаётся приемлемым */
}


h6 {
    color: gray;
}

:root {
    --line-color: #6aff5d;
}

.line-banner {
    width: 100%;
    height: 1cm;
    background-color: lightcoral;
    display: flex;
    justify-content: center;
    align-items: center;
}


.h1-tutor {
    text-align: center;
    font-size: 50px;
    font-weight: 700;
    background: linear-gradient(90deg, #ffffff, #ff9b9b, #ffffff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    color: transparent;
    animation: wave 2s linear infinite reverse; /* reverse = движение влево */
}

@keyframes wave {
    0% {
        background-position: 0% center;
    }
    100% {
        background-position: -200% center;
    }
}


.opis {
    text-align: center;
}

.opis h3 {
    color: #fff;
}


/* чтобы ссылки выглядели как кнопки */
.btn {
    text-decoration: none;
    color: inherit;
}

/* если кнопки круглые */
.btn.round {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

