/* ========== Базовые ========== */
body {
    font-family: 'Segoe UI', sans-serif;
    scroll-behavior: smooth;
}

/* ========== Навигация ========== */
nav {
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-nav .nav-link {
    font-weight: 600;
}

.navbar-icons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-icons a {
    color: #333;
    font-size: 1.2rem;
}

.language-switch {
    margin-left: 10px;
    cursor: pointer;
}

@media (max-width: 991.98px) {
    .navbar-brand {
        transform: translateX(20px);
    }
}

/* ========== Hero ========== */
.hero {
    position: relative;
    background: url('../img/wecan_main.webp') no-repeat center center;
    background-size: cover;
    padding: 120px 0;
    color: #fff;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7) 50%, rgba(0, 0, 0, 0.1) 100%);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero h1, .hero p {
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.9);
}

/* ========== Кнопки ========== */
.btn-orange {
    background-color: #ff6600;
    color: #fff;
    border: none;
}

.btn-orange:hover {
    background-color: #e65c00;
}

/* ========== Карточки ========== */
.player-card, .program-card {
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    background: #fff;
    height: 100%;
    transition: all 0.3s ease;
}

.player-card:hover, .program-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.card-img-top.object-fit {
    height: 200px;
    object-fit: cover;
}

@media (max-width: 576px) {
    .card-img-top.object-fit {
        height: 160px;
    }
}

/* ========== Степ-блоки ========== */
.step-flow {
    gap: 15px;
}

.step-box {
    width: 240px;
    position: relative;
}

.step-content {
    background: #fff;
    border: 1px solid #ddd;
    padding: 20px 15px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.step-circle {
    width: 60px;
    height: 60px;
    background-color: #ff6600;
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.step-img-wrapper {
    width: 100%;
    height: 160px;
    background: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
    display: block;
}

/* Стрелки между шагами */
.arrow-between {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #ff6600;
}

/* ========== Партнёры ========== */
.partner-logo-wrapper {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logo {
    max-height: 80px;
    max-width: 100%;
    object-fit: contain;
}



/* ========== Hero адаптив ========== */
@media (max-width: 768px) {
    .hero {
        padding: 80px 0;
    }
    .hero::before {
        background: rgba(0, 0, 0, 0.6);
    }
    .hero .row {
        flex-direction: column;
    }
    .hero .col-md-6 {
        width: 100%;
        margin-bottom: 2rem;
    }
}

/* Step адаптив */
@media (max-width: 768px) {
    .step-box {
        width: 100%;
        max-width: 320px;
    }
    .arrow-between {
        display: none !important;
    }
    .step-img {
        aspect-ratio: 3 / 2;
        max-height: 140px;
    }
    .step-img-wrapper {
        height: 120px;
    }
    .step-circle {
        width: 48px;
        height: 48px;
        font-size: 18px;
    }
    .step-content {
        padding: 15px 10px;
    }
    .hero form {
        padding: 20px !important;
    }
}

/* ========== Почему выбирают нас ========== */
.why-choose-us {
    background: linear-gradient(135deg, #fff3e0, #ffe0b2);
    padding: 60px 0;
}

.why-choose-us h2 {
    text-align: center;
    font-weight: 700;
    color: #333;
    margin-bottom: 40px;
}

.why-card {
    background: #fff;
    border-radius: 16px;
    padding: 30px 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
    text-align: center;
    height: 100%;
    transition: transform 0.3s ease;
}

.why-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.1);
}

.why-icon {
    font-size: 2.8rem;
    margin-bottom: 15px;
    color: #ff6600;
}

@media (max-width: 768px) {
    .why-card {
        padding: 20px 15px;
    }
    .why-icon {
        font-size: 2.2rem;
    }
    .why-choose-us h2 {
        font-size: 1.8rem;
    }
}

/* ========== Игроки ========== */
.player-card {
    border: 2px solid #ff6600;
    background: #fff;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.player-card:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.player-img-wrapper {
    height: 100%;
    overflow: hidden;
    border-radius: 8px;
}

.player-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.divider-line {
    height: 1px;
    background-color: #dee2e6;
    margin: 1rem 0;
}

/* ========== Контакты ========== */
.contacts-section {
    background: linear-gradient(to right, #000000, #1c1c1c);
    color: #fff;
}

.contact-card {
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    height: 100%;
    transition: background 0.3s ease;
}

.contact-card:hover {
    background: rgba(255,255,255,0.1);
}

.contact-icon {
    font-size: 2.5rem;
    color: #ff6600;
    margin-bottom: 15px;
}

.contact-card a {
    color: #ffcc80;
    text-decoration: none;
}

.contact-card a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .contact-icon {
        font-size: 2rem;
    }
    .contacts-section h2 {
        font-size: 1.6rem;
    }
}

/* ========== Reels (Instagram/Youtube) ========== */
.reel-iframe {
    width: 100%;
    min-height: 400px;
    border: none;
    border-radius: 12px;
}

.reels-swiper .swiper-slide {
    width: 300px;
}

.swiper-button-next.reels-next,
.swiper-button-prev.reels-prev {
    color: #ff6600 !important;
    fill: #ff6600 !important;
}

@media (max-width: 768px) {
    .reel-iframe {
        height: 300px;
    }
}

/* ========== Прочее ========== */
footer {
    background: #000;
    color: #fff;
    padding: 20px;
    text-align: center;
}

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

footer a:hover {
    text-decoration: underline;
}

.project-highlight {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .project-highlight {
        transform: none;
    }
}

.card-body ul {
    list-style: none;
    padding-left: 0;
}

.card-body ul li::before {
    content: "\f26a";
    font-family: "Bootstrap-icons";
    margin-right: 8px;
    font-size: 1rem;
    vertical-align: middle;
}

.bg-warning .card-body ul li::before {
    color: #fff;
}

.bg-dark .card-body ul li::before {
    color: #ff6600;
}

html {
    scroll-behavior: smooth;
}

