/* 
 * Основная таблица стилей для сайта "Ćwiczenia Kegla dla mężczyzn"
 * Цветовая палитра:
 * - Основной: насыщенный фиолетово-синий (#4A3AFF)
 * - Акценты: кислотный лаймовый (#CCFF00), глубокий чёрный (#0A0A0A)
 * - Фон: градиенты из фиолетового в лазурный
 * - Текст: чистый белый (#FFFFFF) и светло-серый (#DADADA)
 */

/* Сброс стилей */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Основные стили */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #DADADA;
    background: linear-gradient(135deg, #2A1E5C, #4A3AFF);
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

section {
    padding: 80px 0;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 20px;
}

h1 {
    font-size: 3rem;
    margin-bottom: 30px;
}

h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    margin-bottom: 50px;
}

h2:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 60%;
    height: 4px;
    background-color: #CCFF00;
}

h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

p {
    margin-bottom: 20px;
}

a {
    color: #CCFF00;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #FFFFFF;
}

img {
    max-width: 100%;
    height: auto;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: #4A3AFF;
    color: #FFFFFF;
}

.btn-primary:hover {
    background-color: #3A2AFF;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(10, 10, 10, 0.2);
}

.btn-accent {
    background-color: #CCFF00;
    color: #0A0A0A;
}

.btn-accent:hover {
    background-color: #B8E600;
    color: #0A0A0A;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(10, 10, 10, 0.2);
}

/* Header */
.site-header {
    padding: 20px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 50px;
    width: auto;
}

.main-navigation ul {
    display: flex;
    list-style: none;
}

.main-navigation li {
    margin-left: 30px;
}

.main-navigation a {
    color: #FFFFFF;
    font-weight: 600;
    position: relative;
}

.main-navigation a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #CCFF00;
    transition: width 0.3s ease;
}

.main-navigation a:hover:after {
    width: 100%;
}

/* Cookie notice */
.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    z-index: 999;
}

.cookie-notice .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cookie-notice p {
    margin: 0;
    font-size: 0.9rem;
}

/* Hero section */
.hero {
    padding: 200px 0 100px;
    background: linear-gradient(135deg, #4A3AFF, #00C2FF);
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 30px;
}

/* Intro section */
.intro {
    background-color: #0A0A0A;
    padding: 100px 0;
}

.intro-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.intro-text {
    flex: 1;
}

.intro-image {
    flex: 1;
    border-radius: 15px;
    overflow: hidden;
    transform: rotate(3deg);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.3);
}

/* Курсы */
.courses {
    background: linear-gradient(135deg, #2A1E5C, #4A3AFF);
    padding: 100px 0;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.course-card {
    background-color: rgba(10, 10, 10, 0.8);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.course-image {
    height: 200px;
    overflow: hidden;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.course-card:hover .course-image img {
    transform: scale(1.1);
}

.course-content {
    padding: 25px;
}

.course-content h3 {
    margin-top: 0;
}

.course-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #CCFF00;
    margin: 15px 0;
}

/* Преимущества */
.benefits {
    background-color: #0A0A0A;
    padding: 100px 0;
    clip-path: polygon(0 0, 100% 15%, 100% 100%, 0 85%);
    margin-top: -50px;
    padding-top: 150px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.benefit-item {
    text-align: center;
    padding: 30px 20px;
    background: rgba(74, 58, 255, 0.1);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    background: rgba(74, 58, 255, 0.2);
    transform: translateY(-10px);
}

.benefit-icon {
    font-size: 3rem;
    color: #CCFF00;
    margin-bottom: 20px;
}

/* Отзывы */
.testimonials {
    background: linear-gradient(135deg, #4A3AFF, #00C2FF);
    padding: 100px 0;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: rgba(10, 10, 10, 0.8);
    padding: 30px;
    border-radius: 15px;
    position: relative;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author-info {
    margin-left: 15px;
}

.testimonial-name {
    font-weight: 700;
    color: #FFFFFF;
}

.testimonial-role {
    color: #CCFF00;
    font-size: 0.9rem;
}

/* FAQ - новые стили с использованием details/summary */
.faq {
    background: linear-gradient(135deg, #2A1E5C, #4A3AFF);
    padding: 100px 0;
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background-color: rgba(10, 10, 10, 0.8);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item summary {
    padding: 20px;
    cursor: pointer;
    position: relative;
    font-weight: 700;
    color: #FFFFFF;
    outline: none;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    color: #CCFF00;
    font-weight: bold;
    transition: all 0.3s ease;
}

.faq-item[open] summary {
    background-color: rgba(74, 58, 255, 0.2);
}

.faq-item[open] summary::after {
    content: '−';
    transform: rotate(180deg);
}

.faq-answer {
    background-color: rgba(10, 10, 10, 0.5);
    padding: 20px;
    border-top: 1px solid rgba(204, 255, 0, 0.1);
}

.faq-answer p {
    margin: 0;
}

/* Order form */
.order {
    background-color: #0A0A0A;
    padding: 100px 0;
    clip-path: polygon(0 15%, 100% 0, 100% 100%, 0 100%);
    margin-top: -50px;
    padding-top: 150px;
}

.order-form {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(74, 58, 255, 0.1);
    padding: 40px;
    border-radius: 15px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid rgba(218, 218, 218, 0.3);
    background-color: rgba(10, 10, 10, 0.5);
    color: #FFFFFF;
    font-size: 1rem;
}

.form-control:focus {
    outline: none;
    border-color: #CCFF00;
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23FFFFFF' viewBox='0 0 16 16'%3E%3Cpath d='M8 12L0 4h16z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 12px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.checkbox-group input[type="checkbox"] {
    display: inline-block;
    margin-right: 10px;
    margin-top: 5px;
}

.form-submit {
    text-align: center;
    margin-top: 30px;
}

/* Footer */
.site-footer {
    background-color: #0A0A0A;
    padding: 80px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo {
    height: 40px;
    margin-bottom: 15px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(218, 218, 218, 0.1);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 991px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .intro-content {
        flex-direction: column;
    }
    
    .hero {
        padding: 150px 0 80px;
    }
}

@media (max-width: 768px) {
    .site-header {
        position: absolute;
    }
    
    .site-header .container {
        flex-direction: column;
    }
    
    .main-navigation {
        margin-top: 15px;
    }
    
    .main-navigation li {
        margin-left: 15px;
        margin-right: 15px;
    }
    
    .cookie-notice .container {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-notice .btn {
        margin-top: 10px;
    }
    
    .hero {
        padding: 180px 0 70px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    section {
        padding: 60px 0;
    }
}

@media (max-width: 576px) {
    .main-navigation ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .main-navigation li {
        margin: 5px 10px;
    }
    
    .hero {
        padding: 160px 0 60px;
    }
    
    section {
        padding: 40px 0;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .order-form {
        padding: 20px;
    }
} 