html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-image: url('../images/tlo.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: #4a4039;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Górny Pasek Nawigacyjny */
.header {
    width: 100%;
    padding: 15px 30px;
    background-color: rgba(238, 227, 215, 0.95);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    box-sizing: border-box;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo-img {
    height: 35px;
    width: auto;
    object-fit: contain;
}

.brand-name {
    font-family: 'Cinzel', serif;
    font-size: 15px;
    letter-spacing: 1.5px;
    color: #5c4b41;
    font-weight: 600;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
    margin: 0;
    padding: 0;
}

.main-nav a {
    text-decoration: none;
    font-size: 13px;
    color: #6b5b50;
    font-weight: 400;
    transition: color 0.3s ease;
    position: relative;
    padding-bottom: 3px;
}

.main-nav a:hover, .main-nav a.active {
    color: #2c221b;
}

.main-nav a.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #b59b84;
}

.social-icons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.social-icons a {
    color: #6b5b50;
    font-size: 15px;
    text-decoration: none;
}

/* --- SEKCJA GŁÓWNA MIOTÓW --- */
.litters-main {
    max-width: 1100px;
    width: 100%;
    margin: 120px auto 40px auto;
    padding: 20px;
    flex: 1;
    box-sizing: border-box;
}

.litters-header-section {
    text-align: center;
    margin-bottom: 35px;
}

.gold-decor {
    color: #b89778;
    font-size: 14px;
    margin-bottom: 8px;
    letter-spacing: 5px;
}

.page-title {
    font-family: 'Cinzel', serif;
    font-size: 28px;
    letter-spacing: 2px;
    color: #3b312b;
    margin-bottom: 12px;
    font-weight: 600;
}

.page-subtitle {
    font-size: 13px;
    line-height: 1.6;
    color: #6b5b50;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 300;
}

/* --- SLIDER I STRZAŁKI --- */
.litters-slider-wrapper {
    position: relative;
    max-width: 850px;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

.litters-container {
    width: 100%;
    overflow: hidden;
}

.litter-slide {
    display: none;
    animation: fadeIn 0.4s ease-in-out;
}

.litter-slide.active {
    display: block;
}

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

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #b59b84 0%, #9c7c61 100%);
    color: #ffffff;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(92, 75, 65, 0.25);
    transition: transform 0.3s ease;
}

.slider-prev {
    left: -55px;
}

.slider-next {
    right: -55px;
}

.slider-dots {
    text-align: center;
    margin-top: 20px;
}

.dot {
    display: inline-block;
    width: 9px;
    height: 9px;
    margin: 0 5px;
    background-color: #d1c2b4;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: #9c7c61;
    transform: scale(1.3);
}

/* --- KARTY MIOTÓW --- */
.litter-card-wrapper {
    background-color: #f7f2ec;
    border: 1px solid #e3d5c6;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.litter-card {
    display: grid;
    grid-template-columns: 260px 1fr 200px;
    align-items: center;
}

.litter-photo-box {
    width: 100%;
    height: 170px;
    overflow: hidden;
}

.litter-photo-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.litter-info-box {
    padding: 18px 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.litter-badge {
    font-family: 'Cinzel', serif;
    font-size: 11px;
    letter-spacing: 2px;
    color: #9c7c61;
    background-color: #ebdcd0;
    padding: 3px 8px;
    border-radius: 4px;
    width: fit-content;
    margin-bottom: 8px;
    font-weight: 600;
}

.litter-breed {
    font-family: 'Cinzel', serif;
    font-size: 17px;
    color: #3b312b;
    margin-bottom: 10px;
}

.litter-details {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 12px;
    color: #7a685c;
}

.litter-details span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.litter-action-box {
    padding: 15px;
    display: flex;
    justify-content: center;
}

.btn-litter {
    padding: 10px 16px;
    background-color: #b59b84;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    letter-spacing: 1px;
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
    border: none;
    transition: background-color 0.3s;
    white-space: nowrap;
}

.btn-litter:hover {
    background-color: #9c7c61;
}

/* --- ROZWIJANA SEKCJA KOCIĄT --- */
.kociaki-dropdown {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out, padding 0.4s ease;
    background-color: #f0e8df;
    padding: 0 25px;
}

.kociaki-dropdown.open {
    max-height: 2500px;
    padding: 20px 25px;
    border-top: 1px solid #e3d5c6;
}

.kociaki-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.kociak-mini-card {
    background-color: #f7f2ec;
    border: 1px solid #e3d5c6;
    border-radius: 6px;
    overflow: hidden;
}

.kociak-img {
    width: 100%;
    height: 140px;
}

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

.kociak-desc {
    padding: 10px;
    font-size: 12px;
    color: #7a685c;
}

.kociak-desc h3 {
    font-family: 'Cinzel', serif;
    font-size: 14px;
    color: #3b312b;
    margin-bottom: 5px;
}

.badge-plec-kocur, .badge-plec-kotka, .badge-plec-niezidentyfikowany,
.badge-status-dostepny, .badge-status-zarezerwowany, .badge-status-sprzedany, .badge-status-obserwacja {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 500;
    font-size: 10px;
}
.badge-plec-kocur { background: rgba(0,191,255,0.08); color: #0077cc; border: 1px solid rgba(0,191,255,0.3); }
.badge-plec-kotka { background: rgba(255,105,180,0.08); color: #cc0066; border: 1px solid rgba(255,105,180,0.3); }
.badge-status-dostepny { background: rgba(0,255,128,0.08); color: #007a3d; border: 1px solid rgba(0,255,128,0.3); }
.badge-status-zarezerwowany { background: rgba(255,50,50,0.08); color: #cc0000; border: 1px solid rgba(255,50,50,0.3); }
.badge-status-sprzedany { background: rgba(139,69,19,0.08); color: #8b4513; border: 1px solid rgba(139,69,19,0.3); }
.badge-status-obserwacja { background: rgba(212,160,23,0.1); color: #997500; border: 1px solid rgba(212,160,23,0.4); }

/* --- STOPKA --- */
.footer {
    background-color: #3b312b;
    color: #e6ded6;
    padding: 40px 30px 15px 30px;
    margin-top: auto;
    width: 100%;
    box-sizing: border-box;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(230, 222, 214, 0.15);
}

.footer-col h3.footer-brand, .footer-col h4 {
    font-family: 'Cinzel', serif;
    color: #f4efe9;
    margin-bottom: 12px;
}
.footer-desc, .footer-col p, .footer-col ul li a {
    font-size: 13px;
    color: #c7bdb4;
    text-decoration: none;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 6px; }
.footer-socials { display: flex; gap: 10px; margin-top: 8px; }
.footer-socials a {
    display: flex; justify-content: center; align-items: center;
    width: 34px; height: 34px; background: rgba(255,255,255,0.05);
    color: #e6ded6; border-radius: 50%; text-decoration: none; font-size: 13px;
}
.footer-bottom { text-align: center; padding-top: 15px; }
.footer-bottom p { font-size: 11px; color: #a3968c; margin: 0; }

/* ========================================================== */
/* --- RESPONSYWNOŚĆ DLA TELEFONÓW I TABLETÓW --------------- */
/* ========================================================== */

@media screen and (max-width: 992px) {
    .litter-card {
        grid-template-columns: 1fr;
    }
    .litter-photo-box {
        height: 200px;
    }
    .slider-prev { left: 5px; }
    .slider-next { right: 5px; }
    .footer-container {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

@media screen and (max-width: 768px) {
    .header {
        padding: 10px 15px;
    }

    .litters-main {
        margin-top: 100px;
        padding: 10px 5px;
    }

    .nav-container {
        flex-direction: column;
        gap: 8px;
    }

    .main-nav ul {
        gap: 10px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .main-nav a {
        font-size: 12px;
    }

    .social-icons {
        display: none;
    }

    .page-title {
        font-size: 22px;
    }

    .page-subtitle {
        font-size: 12px;
        padding: 0 10px;
    }

    .litters-slider-wrapper {
        padding: 0 35px;
    }

    .slider-arrow {
        width: 32px;
        height: 32px;
        font-size: 0.75rem;
    }

    .slider-prev {
        left: 0;
    }

    .slider-next {
        right: 0;
    }

    .litter-info-box {
        padding: 15px;
    }

    .kociaki-dropdown.open {
        padding: 15px 10px;
    }
}
/* ==========================================
   6. LOGOTYPY W STOPCE (FPL i FIFe)
   ========================================== */
.footer-certificates {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-top: 15px;
}

.footer-cert-img {
    max-height: 45px;
    width: auto;
    object-fit: contain;
    opacity: 0.85;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.footer-cert-img:hover {
    opacity: 1;
    transform: translateY(-2px);
}

/* Dostosowanie dla telefonu, żeby logotypy były wyśrodkowane w kolumnie */
@media screen and (max-width: 768px) {
    .footer-certificates {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 20px;
    }

    /* Kluczowe: ograniczenie wysokości grafik na telefonie */
    .footer-cert-img {
        max-height: 38px !important;
        width: auto !important;
        object-fit: contain;
    }
}
.gold-decor span {
    font-family: Arial, sans-serif; /* Wymuszenie standardowej czcionki zamiast systemowej emoji */
    font-weight: 300;
    color: #b59b84; /* Dopasowany kolor serduszek */
    font-size: 14px;
    letter-spacing: 3px;
}