/* ==================== RESET & BASE ==================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    background: #0a0f1d;
    color: #e0e0e5;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    color: white;
}


/* About */
.about, .litters, .feedback {
    background: #11141f;
}

/* Gallery */
.gallery, .champions {
    background: #0a0b14;
}


/* ===================== HEADER ===================== */
header {
    display: flex;
    align-items: center; /* Выравнивает логотип, кнопку и бургер по одной горизонтальной оси */
    justify-content: space-between;
    height: 90px; /* Задает фиксированную высоту шапки, чтобы кнопка не распирала её */
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 22px 5%;
    background: rgba(10, 11, 20, 0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(212, 171, 55, 0.1);
}

.logo {
    font-size: 1.8rem;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    background: linear-gradient(90deg, rgba(214, 178, 60) 0%, rgba(253, 228, 131)100%);
    background-clip: text;
    display: inline-block;
    color: transparent;
    line-height: 1.2;
    padding-bottom: 5px;
}
/* ===================== HERO ===================== */
.home {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 5% 80px;
    position: relative;
    background: linear-gradient(rgba(10,11,20,0.75), rgba(10,11,20,0.85));
}

.hero-content {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.badge {
    display: inline-block;
    text-align: center;
    background: rgba(2,5,21, 1);
    color: #d4af37;
    padding: 8px 24px;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: 20px;
    border: 1px solid rgba(212, 171, 55, 0.3);
}

.home h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 1.1;
    margin-bottom: 20px;
}

.home h1 span {
    background: linear-gradient(90deg, rgba(214, 178, 60) 0%, rgba(253, 228, 131)100%);
    background-clip: text;
    color: transparent;
}

.home p {
    font-size: 1.35rem;
    max-width: 720px;
    margin: 0 auto 40px;
    color: #9da1aa;
}

/* ===================== BUTTONS ===================== */
.buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.nav-btnlitters,
.nav-btncontact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;                    /* расстояние между иконкой и текстом */
    padding: 18px 40px;
    font-size: 1.18rem;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.4s ease;
    min-width: 240px;
    white-space: nowrap;
}



.nav-btnlitters {
    background: linear-gradient(90deg, #c70036, #d4af37);
    color: white;
}

.nav-btnlitters:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(199, 0, 54, 0.4);
}

/* Кнопка "Позвонить" — золотая обводка + иконка */
.nav-btncontact {
    background: transparent;
    color: white;
    border: 2px solid #d4af37;
}

.nav-btncontact:hover {
    background: #d4af37;
    color: #0a0b14;
}

.nav-btncontact img {
    width: 26px;
    height: 26px;
    filter: brightness(0) invert(1);   /* делает иконку полностью белой */
    transition: filter 0.3s ease;
}

.nav-btncontact:hover img {
    filter: brightness(0) invert(0);   /* чёрная иконка на золотом фоне */
}

/* ===================== SECTIONS ===================== */
section {
    padding: 100px 5%;
}

.section-title {
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 20px;
    position: relative;

}

.section-title span {
    background: linear-gradient(90deg, rgba(214, 178, 60) 0%, rgba(253, 228, 131)100%);
    background-clip: text;
    color: transparent;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, transparent, #d4af37, transparent);
    margin: 15px auto 0;
}

.section-desc {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
    font-size: 1.15rem;
    color: #9da1aa;
}


.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.feature-card {
    background: #1a1f2e;
    padding: 35px 30px;
    border-radius: 20px;
    text-align: center;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-8px);
}

.feature-card .icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.producer-card:hover {
    transform: scale(1.03);
    box-shadow: 0 15px 35px rgba(212, 171, 55, 0.2);
}




/* ===================== FOOTER ===================== */
.footer {
    background: #05060f;
    padding: 80px 5% 40px;
    color: #9da1aa;
}

.footer h4 {
    font-size: 2rem;
    background: linear-gradient(90deg, rgba(214, 178, 60) 0%, rgba(253, 228, 131)100%);
    background-clip: text;
    color: transparent;
    margin-bottom: 15px;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 60px;
    margin-top: 50px;
}

.footer-columns h5 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-columns ul {
    list-style: none;
}

.footer-columns a {
    color: #9da1aa;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-columns a:hover {
    color: #d4af37;
}

.footer hr {
    margin: 60px 0 20px;
    border-color: #222;
}

.footer p:last-child {
    text-align: center;
    font-size: 0.95rem;
}

/* ===================== КОНТАКТЫ — ВЫРОВНЕННЫЙ БЛОК ===================== */
.contact-list {
    list-style: none;
}

.contact-list li {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 1.05rem;
}

.contact-list li:last-child {
    margin-bottom: 0;
}

.contact-list img {
    width: 26px;
    height: 26px;
    filter: brightness(0) invert(1);
    flex-shrink: 0;
}

.contact-list a {
    color: #9da1aa;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: color 0.3s ease;
}

.contact-list a:hover {
    color: #d4af37;
}



/* ===================== ГАЛЕРЕЯ — СЛАЙДЕР ===================== */
.gallery-slider {
    position: relative;
    max-width: 1080px;
    margin: 0 auto;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);
    background: #11141f;
    aspect-ratio: 16 / 9;
    max-height: 680px;     /* ограничение на очень больших экранах */
}

.slides-wrapper {
    display: flex;
    transition: transform 0.7s cubic-bezier(0.32, 0.72, 0, 1);
    height: 100%;
}

.slide {
    min-width: 100%;
    height: 100%;
    position: relative;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Стрелки (как в макете) */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 68px;
    height: 68px;
    border: none;
    background: linear-gradient(90deg, #c70036, #d4af37);
    color: #0a0b14;
    font-size: 2.6rem;
    line-height: 1;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(199, 0, 54, 0.4);
    transition: all 0.3s ease;
}

.slider-prev { left: 30px; }
.slider-next { right: 30px; }

.slider-arrow:hover {
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 15px 40px rgba(212, 171, 55, 0.5);
}

/* Точки */
.slider-dots {
    position: absolute;
    bottom: 35px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 14px;
    z-index: 10;
}

.slider-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: #d4af37;
    width: 32px;
    border-radius: 30px;
}

/* ===================== АДАПТИВ ===================== */
@media (max-width: 768px) {
    .gallery-slider {
        border-radius: 24px;
        max-height: 460px;
        aspect-ratio: 4 / 3;
    }
    
    .slider-arrow {
        width: 54px;
        height: 54px;
        font-size: 2.1rem;
    }
    
    .slider-prev { left: 18px; }
    .slider-next { right: 18px; }
    
    .slider-dots {
        bottom: 25px;
        gap: 10px;
    }
    
    .slider-dot {
        width: 12px;
        height: 12px;
    }
    
    .slider-dot.active {
        width: 26px;
    }
}

@media (min-width: 1440px) {
    .gallery-slider {
        max-height: 720px;
    }
}

/* ===================== НАШИ ЧЕМПИОНЫ — СЛАЙДЕР ===================== */
.champions-slider {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}


.champions-wrapper {
    display: flex;
    gap: 40px;
    transition: transform 0.8s cubic-bezier(0.32, 0.72, 0, 1);
    will-change: transform;
}

.champion-card {
    flex: 0 0 calc(100% - 40px);
    width: calc(100% - 40px);
    min-width: calc(100% - 40px);
    display: flex;
    background: #1a1f2e;
    box-sizing: border-box;
    color: inherit;
    margin-right: 0;
    text-decoration: none;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.55);
    height: 480px;
}

.champion-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(212, 171, 55, 0.25);
}

.tityl {
    background: linear-gradient(90deg, rgba(214, 178, 60) 0%, rgba(253, 228, 131)100%);
    background-clip: text;
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: transparent;
    line-height: 1.1;
}



/* Левая часть — фото */
.champion-card .photo {
    flex: 1.05;                       /* чуть шире фото */
    position: relative;
}

.champion-card .photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;      /* собака чуть выше центра */
}

/* Правая часть — информация */
.champion-card .info {
    flex: 1;
    padding: 15px 35px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.champion-card h4 {
    font-size: 2.1rem;
    margin-bottom: 18px;
    background: linear-gradient(90deg, rgba(214, 178, 60) 0%, rgba(253, 228, 131)100%);
    background-clip: text;
    color: transparent;
    line-height: 1.1;
}

.champion-card .meta {
    font-size: 1.06rem;
    line-height: 1.7;
    color: #b0b4bd;
}

.champion-card .meta span {
    display: block;
    margin-bottom: 6px;
}

/* Стрелки */
.champion-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 68px;
    height: 68px;
    border: none;
    background: linear-gradient(90deg, #c70036, #d4af37);
    color: #0a0b14;
    font-size: 2.9rem;
    border-radius: 50%;
    cursor: pointer;
    z-index: 20;
    box-shadow: 0 10px 30px rgba(199, 0, 54, 0.5);
}


.champion-prev {
    left: -90px;
}

.champion-next {
    right: -90px;
}

.champion-arrow:hover {
    transform: translateY(-50%) scale(1.15);
}

/* Точки */
.champion-dots {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    gap: 14px;
}

.champion-dot {
    width: 14px;
    height: 14px;
    background: rgba(255,255,255,0.25);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

.champion-dot.active {
    background: #d4af37;
    width: 36px;
}

/* Адаптив */
@media (max-width: 992px) {
    .champions-slider { padding: 0 30px; }
    .champion-card { height: 520px; }
}


/* ===================== ПАДАЮЩИЕ ЗВЁЗДОЧКИ В HERO ===================== */
.stars-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.star {
    position: absolute;
    color: #d4af37;
    font-size: 18px;
    opacity: 0.75;
    text-shadow: 0 0 12px #d4af37,
                 0 0 25px #c70036;
    animation: fall linear infinite;
    user-select: none;
}

.star:nth-child(odd)  { font-size: 14px; opacity: 0.6; }
.star:nth-child(3n)   { font-size: 22px; opacity: 0.9; animation-duration: 18s; }
.star:nth-child(5n)   { color: #fff; text-shadow: 0 0 15px #fff; }

/* Анимация падения */
@keyframes fall {
    0%   { transform: translateY(-100px) rotate(0deg); }
    100% { transform: translateY(110vh) rotate(360deg); }
}

/* ===================== Пометы — СЛАЙДЕР (2 ФОТО НА ОДНОМ СЛАЙДЕ) ===================== */
.litters-slider {
    position: relative;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 60px;
}

.litters-wrapper {
    display: flex;
    gap: 40px;
    transition: transform 0.7s cubic-bezier(0.32, 0.72, 0, 1);
    will-change: transform;
}

.producer-card {
    flex: 0 0 calc(100% - 40px);
    width: calc(100% - 40px);
    min-width: calc(100% - 40px);
    background: #11141f;
    border-radius: 28px;
    flex-shrink: 0;
    margin-right: 0;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    display: block;
    text-decoration: none;
    color: inherit;
}

.producer-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(212, 171, 55, 0.25);
}

.pair-photos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 32px 32px 18px;
    background: #1a1f2e;
}

.dog-item {
    flex: 1;
    text-align: center;
    min-width: 0;
}

.dog-photo {
    height: 310px;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.dog-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 0.4s ease;
}

.producer-card:hover .dog-photo img {
    transform: scale(1.06);
}

.dog-item h4 {
    font-size: 1.15rem;
    line-height: 1.25;
    margin: 0 0 6px 0;
    word-break: break-word;
}

.dog-role {
    font-size: 0.85rem;
    color: #d4af37;
    font-weight: 600;
    letter-spacing: 1px;
}

.pair-symbol {
    font-size: 2.9rem;
    color: #d4af37;
    line-height: 1;
    padding: 0 10px;
    flex-shrink: 0;
}

.pair-info {
    padding: 24px 35px 35px;
    text-align: center;
}

.producer-card h3 {
    font-size: 1.6rem;
    margin-bottom: 8px;
    color: #e0e0e5;
    line-height: 1.3;
}

.pair-desc {
    color: #9da1aa;
    font-size: 1.05rem;
    line-height: 1.4;
}

.litter-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 64px;
    height: 64px;
    border: none;
    background: linear-gradient(90deg, #c70036, #d4af37);
    color: #0a0b14;
    font-size: 2.8rem;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 10px 30px rgba(199, 0, 54, 0.45);
}

.litter-prev { left: -39px; }
.litter-next { right: -39px; }

.litter-arrow:hover {
    transform: translateY(-50%) scale(1.12);
}

.litter-dots {
    margin-top: 45px;
    display: flex;
    justify-content: center;
    gap: 12px;
}

.litter-dot {
    width: 13px;
    height: 13px;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.litter-dot.active {
    background: #d4af37;
    width: 32px;
    border-radius: 30px;
}


@media (max-width: 768px) {
    header {
        padding: 15px 5%;
    }

    .home {
        padding-top: 100px;
    }

    .buttons {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .nav-btnlitters,
    .nav-btncontact {
        min-width: 280px;
        padding: 17px 36px;
        font-size: 1.15rem;
    }

    .champions-slider {
        padding: 0 16px;
    }

    .champion-card {
        flex-direction: column;
        height: auto;
        min-height: 620px;
    }

    .champion-card .photo {
        height: 300px;
    }

    .champion-card .info {
        padding: 24px 20px 30px;
    }

    .champion-card h4 {
        font-size: 1.6rem;
    }

    .champion-card .meta {
        font-size: 0.98rem;
        line-height: 1.55;
    }

    .champion-arrow {
        width: 48px;
        height: 48px;
        font-size: 2rem;
    }

    .champion-prev { left: 8px; }
    .champion-next { right: 8px; }

    .champion-dots {
        margin-top: 28px;
        gap: 10px;
    }

    .champions-wrapper {
        gap: 16px;
    }

    .litters-slider {
        padding: 0 16px;
    }

    .producer-card {
        width: calc(100% - 16px);
        min-width: calc(100% - 16px);
    }

    .pair-photos {
        flex-direction: column;
        gap: 14px;
        padding: 22px 18px 16px;
    }

    .dog-photo {
        height: 220px;
    }

    .pair-symbol {
        font-size: 2.1rem;
        transform: rotate(90deg);
        padding: 0;
    }

    .pair-info {
        padding: 18px 18px 24px;
    }

    .producer-card h3 {
        font-size: 1.25rem;
    }

    .pair-desc {
        font-size: 0.95rem;
    }

    .litter-arrow {
        width: 46px;
        height: 46px;
        font-size: 2rem;
    }

    .litter-prev { left: 8px; }
    .litter-next { right: 8px; }

    .litter-dots {
        margin-top: 28px;
        gap: 10px;
    }

    .gallery-slider {
        border-radius: 24px;
        max-height: 460px;
        aspect-ratio: 4 / 3;
    }

    .slider-arrow {
        width: 54px;
        height: 54px;
        font-size: 2.1rem;
    }

    .slider-prev { left: 18px; }
    .slider-next { right: 18px; }

    .slider-dots {
        bottom: 25px;
        gap: 10px;
    }

    .slider-dot {
        width: 12px;
        height: 12px;
    }

    .slider-dot.active {
        width: 26px;
    }
}