/* СТИЛИ ДЛЯ СТРАНИЦЫ МАЛЬЧИШНИКА НА КВАДРОЦИКЛАХ */

/* Хлебные крошки */
.breadcrumb {
    background: var(--dark);
    padding: 10px 0; 
}

.breadcrumb ol {
    display: flex;
    list-style: none;
    gap: 10px;
    font-size: 0.9rem;
}

.breadcrumb li {
    display: flex;
    align-items: center;
}

.breadcrumb li:not(:last-child):after {
    content: '›';
    margin-left: 10px;
    color: var(--gray);
}

.breadcrumb a {
    color: var(--gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--primary);
}

.breadcrumb span {
    color: var(--primary);
}
/* Герой секция для мальчишника */
.bachelor-hero {
    background: linear-gradient(rgba(15, 15, 15, 0.7), rgba(15, 15, 15, 0.4)), 
                url('/img/bachelor-party-hero.jpg') no-repeat center center/cover;
    height: 70vh;
    min-height: 500px;
    position: relative;
    display: flex;
    align-items: center;
}

.bachelor-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 25px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
}

.bachelor-hero p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto 35px;
    line-height: 1.7;
}

/* Преимущества мальчишника */
.bachelor-benefits {
    background: var(--dark);
}

.bachelor-benefits .benefits-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

/* Табы программ */
.packages-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
    gap: 15px;
    flex-wrap: wrap;
}

.package-tab {
    padding: 15px 30px;
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--light);
    border-radius: 30px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.package-tab.active,
.package-tab:hover {
    background: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 204, 102, 0.3);
}

/* Контент программ */
.package-content {
    display: none;
    background: var(--darker);
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 30px;
    border: 2px solid rgba(255,255,255,0.1);
}

.package-content.active {
    display: block;
    animation: fadeInUp 0.6s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.package-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.package-header h3 {
    font-size: 2rem;
    color: var(--primary);
    margin: 0;
}

.package-price {
    text-align: right;
}

.package-price .price {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
    display: block;
}

.package-price .note {
    color: var(--gray);
    font-size: 0.9rem;
}

.package-details {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
}

.package-features h4 {
    color: var(--light);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.package-features ul {
    list-style: none;
}

.package-features li {
    margin-bottom: 12px;
    padding-left: 30px;
    position: relative;
    color: var(--gray);
    line-height: 1.5;
}

.package-features li i {
    color: var(--primary);
    position: absolute;
    left: 0;
    top: 2px;
}

.package-duration h4 {
    color: var(--light);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.package-duration p {
    color: var(--gray);
    line-height: 1.6;
}

.package-actions {
    text-align: center;
}

/* Сетка услуг */
.bachelor-services {
    background: var(--dark);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: var(--darker);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid rgba(255,255,255,0.1);
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: rgba(0, 204, 102, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary);
    font-size: 2rem;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--light);
}

.service-card p {
    color: var(--gray);
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
}

/* Таймлайн идей */
.bachelor-ideas {
    background: var(--darker);
}

.ideas-timeline {
    max-width: 800px;
    margin: 50px auto 0;
    position: relative;
}

.ideas-timeline:before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary);
    opacity: 0.3;
}

.timeline-item {
    display: flex;
    margin-bottom: 40px;
    position: relative;
}

.timeline-marker {
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-right: 30px;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.timeline-content {
    flex: 1;
    background: var(--dark);
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid var(--primary);
}

.timeline-content h3 {
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.timeline-content p {
    color: var(--gray);
    line-height: 1.6;
    margin: 0;
}

/* Отзывы для мальчишника */
.bachelor-testimonials {
    background: var(--dark);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background: var(--darker);
    border-radius: 15px;
    padding: 30px;
    transition: all 0.3s ease;
    border: 2px solid rgba(255,255,255,0.1);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

.testimonial-content {
    position: relative;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.testimonial-content p {
    font-style: italic;
    color: var(--gray);
    line-height: 1.6;
    margin: 0;
}

.testimonial-content:before {
    content: '"';
    font-size: 4rem;
    color: var(--primary);
    position: absolute;
    top: -20px;
    left: -10px;
    opacity: 0.3;
    font-family: serif;
    line-height: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 3px solid var(--primary);
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    margin: 0 0 5px 0;
    color: var(--light);
    font-size: 1.1rem;
}

.author-info p {
    color: var(--gray);
    margin: 0;
    font-size: 0.9rem;
}

/* FAQ для мальчишника */
.bachelor-faq {
    background: var(--darker);
}

.bachelor-faq .faq-container {
    max-width: 900px;
}

/* CTA секция */
.bachelor-cta {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    text-align: center;
    padding: 80px 0;
}

.bachelor-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: white;
}

.bachelor-cta p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.bachelor-cta .btn {
    background: rgba(255,255,255,0.2);
    border: 2px solid white;
    color: white;
    backdrop-filter: blur(10px);
}

.bachelor-cta .btn:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-3px);
}

.bachelor-cta .btn-call {
    background: white;
    color: var(--primary);
}

.bachelor-cta .btn-call:hover {
    background: var(--darker);
    color: white;
}

/* Модальное окно для мальчишника */
.open-bachelor-modal {
    cursor: pointer;
}

/* Адаптивность для страницы мальчишника */
@media (max-width: 768px) {
    .bachelor-hero {
        padding: 100px 0 60px;
    }
    
    .bachelor-hero h1 {
        font-size: 2.5rem;
    }
    
    .bachelor-hero p {
        font-size: 1.1rem;
    }
    
    .package-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .package-details {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .package-price {
        text-align: center;
    }
    
    .ideas-timeline:before {
        left: 25px;
    }
    
    .timeline-marker {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
        margin-right: 20px;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .bachelor-cta .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .packages-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .package-tab {
        width: 100%;
        max-width: 280px;
    }
    
    .package-content {
        padding: 25px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        padding: 20px;
    }
    
    .timeline-item {
        flex-direction: column;
        text-align: center;
    }
    
    .timeline-marker {
        margin-right: 0;
        margin-bottom: 15px;
        align-self: center;
    }
    
    .ideas-timeline:before {
        display: none;
    }
}

/* Специфические стили для улучшения UX */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Анимация появления элементов при скролле */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Стили для состояний загрузки */
.loading-state {
    display: none;
}

.is-loading .loading-state {
    display: block;
}

.is-loading .content-state {
    display: none;
}

/* Улучшение доступности */
@media (prefers-reduced-motion: reduce) {
    .package-content.active,
    .testimonial-card,
    .service-card,
    .benefit-card {
        animation: none;
        transition: none;
    }
}

/* Поддержка высокого контраста */
@media (prefers-contrast: high) {
    .package-content,
    .service-card,
    .testimonial-card {
        border: 2px solid currentColor;
    }
    
    .timeline-marker {
        border: 2px solid currentColor;
    }
}

