/* Основные стили для главной страницы и общих элементов */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');

:root {
    --wb-purple: #cb11ab;
    --wb-light-purple: #f6ebf4;
    --wb-dark: #242424;
    --wb-gray: #f6f6f6;
}

body {
    font-family: 'Montserrat', sans-serif;
}

/* Header */
.vektor-header {
    background-color: var(--wb-purple);
    color: white;
    padding: 15px 0;
}

.vektor-header h1 {
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.vektor-header .logo-text {
    line-height: 0.8;
}

.header-logo a:hover {
    text-decoration: none;
    opacity: 0.9;
}

.vektor-header .logo-title {
    font-family: Bahnschrift, Arial, sans-serif;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    font-size: 1.5rem;
}

.vektor-header .logo-subtitle {
    font-family: Bahnschrift, Arial, sans-serif;
    color: #ffff00;
    font-weight: 600;
    letter-spacing: 1.5px;
    font-size: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.phone-badge {
    color: var(--wb-purple);
    font-weight: 600;
}

.header-address {
    font-size: 0.75rem;
    margin-bottom: 8px;
}

.header-phones {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.header-phone-badge {
    white-space: nowrap;
    margin-bottom: 5px;
}

/* Categories */
.vektor-categories {
    background-color: transparent;
    padding: 20px 0;
}

.vektor-category {
    text-align: center;
    margin-bottom: 15px;
}

.vektor-category a {
    text-decoration: none;
    display: block;
    transition: transform 0.3s ease;
    /* background-color: rgba(255, 255, 255, 0.5);
    padding: 10px 5px;
    border-radius: 8px; */
}

.vektor-category a:hover {
    transform: translateY(-5px);
}

.vektor-category p {
    font-size: 14px;
    margin: 0;
    color: var(--wb-dark);
    text-shadow: 0 0 5px rgba(255,255,255,1);
    font-weight: 600;
}

/* Banner */
.wb-banner {
    margin: 20px 0;
    background-color: transparent;
}

.carousel-item .rounded {
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

/* Products/Courses */
.wb-products {
    padding: 20px 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.section-header h2 {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
}

.section-header a {
    color: var(--wb-purple);
    text-decoration: none;
}

.product-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.product-img {
    height: 220px;
    background-color: var(--wb-light-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.product-img a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.product-img i {
    font-size: 60px;
    color: var(--wb-purple);
}

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: var(--wb-purple);
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.product-info {
    padding: 15px;
}

.product-name {
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 16px;
    color: var(--wb-dark);
}

.product-price {
    font-weight: 700;
    font-size: 18px;
    color: var(--wb-purple);
}

.product-skills {
    margin-top: 10px;
}

.product-skills li {
    margin-bottom: 5px;
    font-size: 13px;
}

.product-results {
    margin-top: 10px;
    background-color: var(--wb-light-purple);
    padding: 8px;
    border-radius: 4px;
    font-size: 13px;
    color: var(--wb-purple);
    font-weight: 500;
}

/* Advantages */
.wb-advantages {
    background-color: var(--wb-gray);
    padding: 40px 0;
    margin: 30px 0;
}

.advantage-item {
    text-align: center;
}

.advantage-item i {
    font-size: 40px;
    color: var(--wb-purple);
    margin-bottom: 15px;
}

.advantage-item h4 {
    font-size: 18px;
    margin-bottom: 10px;
}

.advantage-item p {
    font-size: 14px;
    color: #666;
}

/* About page */
.iframe-yandex {
    width: 100%;
    height: 400px;
    border: 0;
}

.about-section {
    margin-bottom: 40px;
}

.contact-card {
    border-left: 4px solid var(--wb-purple);
    padding-left: 15px;
    margin-bottom: 20px;
}

/* Burger menu */
.burger-menu-btn {
  position: relative;
  width: 45px;
  height: 45px;
  border: none;
  background: white;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  overflow: hidden;
}

.burger-menu-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.burger-menu-btn:active {
  transform: translateY(1px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.burger-menu-btn i {
  transition: all 0.3s ease;
}

.burger-menu-btn:hover i {
  transform: rotate(90deg);
  color: #007bff;
}

/* Добавьте анимацию пульсации */
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

.burger-menu-btn.pulse i {
  animation: pulse 1s infinite;
}

/* Media queries */
@media (max-width: 991px) {
    .vektor-header .logo-title {
        font-size: 1.3rem;
    }
    
    .vektor-header .logo-subtitle {
        font-size: 0.9rem;
        letter-spacing: 1px;
    }
    
    .header-logo img {
        height: 55px;
    }
    
    .header-address-col {
        margin-left: 0 !important;
        margin-top: 0 !important;
        position: absolute;
        right: 80px;
        top: 15px;
        max-width: 40%;
    }
    
    .header-burger-col {
        position: absolute;
        top: 15px;
        right: 15px;
        margin-right: 0 !important;
    }
    
    /* Адреса в одну строку на планшетах */
    .header-address {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: block;
        width: 100%;
        font-size: 0.7rem;
    }
    
    /* Телефоны в одну строку под адресами */
    .header-phones {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        margin-top: 5px;
        width: 100%;
    }
    
    .header-phone-badge .badge {
        font-size: 0.7rem;
        padding: 0.25rem 0.5rem;
    }
}

@media (max-width: 767px) {
    .vektor-header {
        padding: 10px 0 15px;
    }
    
    .vektor-header .logo-title {
        font-size: 1.1rem;
    }
    
    .vektor-header .logo-subtitle {
        font-size: 0.8rem;
        letter-spacing: 0.5px;
        white-space: nowrap;
    }
    
    .header-logo img {
        height: 45px;
    }
    
    .header-address {
        font-size: 0.7rem;
    }
    
    .product-card {
        margin-bottom: 20px;
    }
    
    .burger-menu-btn {
        transform: scale(0.9);
        width: 40px;
        height: 40px;
    }
    
    /* Один столбец для курсов на мобильных */
    .col-12.col-sm-6.col-lg-3.mb-4.course-container,
    .col-6.col-md-4.col-lg-3.mb-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Медиа-запрос для планшетов */
@media (min-width: 768px) and (max-width: 991.98px) {
    /* Два столбца для курсов на планшетах */
    .col-12.col-sm-6.col-lg-3.mb-4.course-container,
    .col-6.col-md-4.col-lg-3.mb-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}