/* ==========================================
   SweetAmour Devon Rex - Mioty Stylesheet
   ========================================== */

:root {
    --bg-dark: #1a1615;
    --card-bg: rgba(42, 36, 34, 0.75);
    --border: rgba(217, 180, 143, 0.15);
    --text-main: #fdfbf7;
    --text-secondary: #c5b8ad;
    --primary: #d97706;
    --primary-hover: #b45309;
    --accent: #fcd34d;
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 8px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
}

.glow-bg {
    position: fixed;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(217, 119, 6, 0.18) 0%, rgba(26, 22, 21, 0) 70%);
    z-index: -1;
    pointer-events: none;
}

/* --- LOGO STYLES --- */
.logo-link {
    text-decoration: none;
    display: flex;
    align-items: center;
    z-index: 2;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, #fcd34d 0%, #d97706 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: transform 0.3s ease;
}

.logo-link:hover .logo-text {
    transform: scale(1.03);
}

/* --- NAWIGACJA --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    backdrop-filter: blur(16px);
    background: rgba(26, 22, 21, 0.9);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border);
    width: 100%;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 600;
}

.nav-links a:hover, 
.nav-links a.active { 
    color: var(--accent); 
}

.menu-toggle,
.hamburger {
    display: none;
    z-index: 2;
}

/* --- NAGŁÓWEK STRONY MIOTY --- */
.page-header {
    text-align: center;
    padding: 5rem 5% 3rem;
    max-width: 800px;
    margin: 0 auto;
}

.badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(217, 119, 6, 0.12);
    border: 1px solid rgba(252, 211, 77, 0.3);
    border-radius: 20px;
    color: var(--accent);
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-header h1 span {
    background: linear-gradient(135deg, #fcd34d 0%, #d97706 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.page-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* --- SEKCJE I SLIDERY MIOTÓW --- */
.litters-section, .planned-section {
    padding: 4rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-title h2 {
    font-size: 2rem;
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.section-title h2 i { color: var(--accent); }
.section-title p { color: var(--text-secondary); }

/* Poszerzony kontener slidera dla lepszej przestrzeni */
.slider-container {
    position: relative;
    display: flex;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

.litters-slider {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 1rem 0.5rem;
    width: 100%;
    scroll-snap-type: x mandatory;
}

.litters-slider::-webkit-scrollbar {
    display: none;
}

/* Karta miotu */
.litter-card {
    min-width: 100%;
    max-width: 100%;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(12px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
    flex-shrink: 0;
    scroll-snap-align: start;
}

.litter-image {
    position: relative;
    width: 100%;
    height: 500px;
}

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

.status-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
}

.status-badge.available {
    background: rgba(16, 185, 129, 0.85);
    color: white;
}

.status-badge.reserved-all {
    background: rgba(225, 29, 72, 0.85);
    color: white;
}

.litter-content {
    padding: 2.2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.litter-content h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.litter-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.2rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.litter-meta i { color: var(--accent); width: 16px; }

.litter-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Przyciski i elementy interaktywne */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid var(--border);
}

.btn-primary {
    background: var(--primary);
    color: white;
    border-color: rgba(252, 211, 77, 0.3);
    box-shadow: 0 4px 20px rgba(217, 119, 6, 0.4);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    border-color: var(--border);
    width: 100%;
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(252, 211, 77, 0.3);
}

.toggle-kittens-btn .icon-arrow {
    transition: transform 0.3s ease;
}

.toggle-kittens-btn.expanded .icon-arrow {
    transform: rotate(180deg);
}

/* ==========================================
   SEKCJA ZWIJANA KOCIĄT (SPÓJNA Z CIEMNYM MOTYWEM)
   ========================================== */
.kittens-collapse {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
}

.kittens-collapse.active {
    max-height: 3000px !important;
}

.kittens-inner {
    padding-top: 1.8rem;
    margin-top: 1.8rem;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.kittens-inner h4 {
    font-size: 1.25rem;
    color: var(--text-main);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

/* SIATKA: Max 3 kafelki w rzędzie */
.kittens-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.4rem;
}

/* CIEMNA, DOKŁADNIE DOPASOWANA KARTA KOCIAKA */
.kitten-card {
    background: rgba(30, 25, 23, 0.85);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    color: var(--text-main);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.kitten-card:hover {
    transform: translateY(-4px);
    border-color: rgba(252, 211, 77, 0.4);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5);
}

/* ZDJĘCIE PROSTOKĄTNE NA GÓRZE KARTY */
.kitten-image {
    width: 100%;
    height: 200px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid var(--border);
}

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

.kitten-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 2.8rem;
    background: rgba(217, 119, 6, 0.08);
}

/* DANE KOCIAKA POD ZDJĘCIEM */
.kitten-body {
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.kitten-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.1rem;
}

.kitten-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

.kitten-row .label {
    font-weight: 600;
    color: var(--text-secondary);
    min-width: 55px;
}

/* BADGE / PIGUŁKI DLA PŁCI I STATUSÓW */
.badge {
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
}

/* BADGE PŁCI */
.badge-sex.kotka {
    background: rgba(236, 72, 153, 0.18);
    border: 1px solid rgba(244, 114, 182, 0.35);
    color: #f472b6;
}

.badge-sex.kocur {
    background: rgba(56, 189, 248, 0.18);
    border: 1px solid rgba(56, 189, 248, 0.35);
    color: #38bdf8;
}

/* BADGE STATUSÓW */
.badge-status.wolny {
    background: rgba(16, 185, 129, 0.18);
    border: 1px solid rgba(52, 211, 153, 0.35);
    color: #34d399;
}

.badge-status.rezerwacja {
    background: rgba(225, 29, 72, 0.18);
    border: 1px solid rgba(251, 113, 133, 0.35);
    color: #fda4af;
}

.badge-status.w_hodowli {
    background: rgba(168, 85, 247, 0.18);
    border: 1px solid rgba(192, 132, 252, 0.35);
    color: #c084fc;
}

.badge-status.w_nowym_domu {
    background: rgba(156, 163, 175, 0.18);
    border: 1px solid rgba(156, 163, 175, 0.35);
    color: #9ca3af;
}

.ask-btn {
    margin-top: 0.8rem;
    width: 100%;
}

.no-data, .no-kittens {
    color: var(--text-secondary);
    font-style: italic;
    text-align: center;
    padding: 1rem 0;
}

/* --- PLANOWANE MIOTY --- */
.planned-card {
    min-width: 100%;
    max-width: 100%;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    backdrop-filter: blur(12px);
    flex-shrink: 0;
    scroll-snap-align: start;
}

.planned-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.planned-header i {
    font-size: 1.5rem;
    color: var(--accent);
}

.planned-header h3 {
    font-size: 1.3rem;
}

.planned-body {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

/* Strzałki slidera */
.slider-arrow {
    background: rgba(42, 36, 34, 0.9);
    border: 1px solid var(--border);
    color: var(--text-main);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: absolute;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.slider-arrow:hover {
    background: var(--primary);
    border-color: var(--accent);
}

.prev-btn { left: -65px; }
.next-btn { right: -65px; }

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    position: relative;
    border-top: 1px solid var(--border);
    background: linear-gradient(to bottom, rgba(26, 22, 21, 0.95), rgba(15, 13, 12, 1));
    padding: 5rem 5% 2rem;
    color: var(--text-secondary);
    overflow: hidden;
    margin-top: 4rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.2fr;
    gap: 3.5rem;
    max-width: 1200px;
    margin: 0 auto 3.5rem;
    position: relative;
    z-index: 2;
}

.footer-col h4 {
    color: var(--text-main);
    font-size: 1.1rem;
    margin-bottom: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    position: relative;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 30px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

.footer-brand .logo-link {
    margin-bottom: 1.2rem;
}

.footer-brand p {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-org {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(217, 119, 6, 0.08);
    border: 1px solid rgba(252, 211, 77, 0.25);
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    margin-bottom: 1rem;
}

.footer-org-logos {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: 0.8rem;
}

.footer-org-logos img {
    height: 55px;
    width: auto;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
}

.footer-org-logos img:hover {
    border-color: rgba(252, 211, 77, 0.4);
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.06);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.footer-links a i {
    font-size: 0.7rem;
    color: var(--accent);
}

.footer-links a:hover {
    color: var(--text-main);
    transform: translateX(6px);
}

.footer-contact-info {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    margin-bottom: 1.8rem;
    font-size: 0.95rem;
}

.footer-contact-info li {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-contact-info i {
    color: var(--accent);
    width: 18px;
}

.socials {
    display: flex;
    gap: 0.9rem;
}

.socials a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    text-decoration: none;
    transition: all 0.3s ease;
}

.socials a:hover {
    background: var(--primary);
    border-color: rgba(252, 211, 77, 0.4);
    transform: translateY(-4px);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    flex-wrap: wrap;
    gap: 1rem;
    position: relative;
    z-index: 2;
}

.footer-crafted .highlight-author {
    color: var(--text-main);
    font-weight: 600;
}

/* ==========================================
   RESPONSYWNOŚĆ (TABLETY I TELEFONY)
   ========================================== */
@media (max-width: 1150px) {
    .slider-container {
        max-width: 100%;
        padding: 0 20px;
    }
    .prev-btn { left: -15px; }
    .next-btn { right: -15px; }
}

@media (max-width: 900px) {
    .navbar {
        display: flex;
        justify-content: space-between;
    }

    .hamburger {
        display: block;
        color: var(--text-main);
        font-size: 1.6rem;
        cursor: pointer;
        padding: 0.5rem;
    }

    .hamburger .icon-close { display: none; }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(26, 22, 21, 0.98);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        padding: 1.5rem 5%;
        gap: 1.2rem;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
        transform: none;
    }

    .nav-links a {
        font-size: 1.1rem;
        display: block;
        padding: 0.4rem 0;
    }

    .menu-toggle:checked ~ .nav-links { display: flex; }
    .menu-toggle:checked ~ .hamburger .icon-open { display: none; }
    .menu-toggle:checked ~ .hamburger .icon-close { display: block; }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .kittens-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .kittens-grid {
        grid-template-columns: 1fr;
    }
}