:root {
    --primary: #2d5016;
    --primary-dark: #1a3009;
    --accent: #8B4513;
    --light: #f5f5f0;
    --dark: #1a1a1a;
    --text: #333;
    --border: #ddd;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--light);
}

/* Header & Navigation */
header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo img {
    width: 255px;
    max-width: 100%;
    height: auto;
    image-rendering: crisp-edges;
}

@media (max-width: 480px) {
    .logo img {
        width: 180px;
    }
}

/* Hero Section */
.hero {
    background-image: url('/img/bg/baner.webp');
    background-size: cover;
    background-position: center;
    color: #C34109;
    padding: 100px 20px;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    line-height: 1.2;
}

.hero h1 em {
    font-style: italic;
    color: #116911;
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
    font-weight: bold;
}

/* Sections */
section {
    padding: 60px 20px;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--accent);
}

/* About Section */
.about {
    background: white;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-content strong {
    color: var(--primary);
}

/* Offer Section */
.offer {
    background: var(--light);
}

.offer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.offer-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    border-top: 4px solid var(--primary);
}

.offer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.15);
}

.offer-card h3 {
    color: var(--primary);
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.offer-card ul {
    list-style: none;
    padding-left: 0;
}

.offer-card ul li {
    padding: 5px 0;
    padding-left: 20px;
    position: relative;
}

.offer-card ul li::before {
    content: '•';
    color: var(--accent);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Gallery */
.gallery {
    background: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 30px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Breeding Details */
.breeding {
    background: var(--light);
}

.breeding-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.breeding-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.breeding-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.breeding-card-content {
    padding: 25px;
}

.breeding-card h3 {
    color: var(--primary);
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.breeding-card ul {
    margin: 15px 0;
    padding-left: 20px;
}

.breeding-card ul li {
    margin-bottom: 8px;
}

/* FAQ Section */
.faq {
    background: white;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-question {
    background: var(--light);
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--primary);
    transition: background 0.3s;
}

.faq-question:hover {
    background: #e8e8e0;
}

.faq-question .icon-chevron {
    display: inline-block;
    transition: transform 0.3s;
}

.faq-item.active .faq-question .icon-chevron {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s, padding 0.3s;
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 500px;
}

/* Definitions Section */
.definitions {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
}

.definitions .section-title {
    color: white;
}

.definitions .section-title::after {
    background: #90EE90;
}

.definitions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.definition-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 10px;
    padding: 25px;
    transition: transform 0.3s, background 0.3s;
}

.definition-card:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-3px);
}

.definition-card h4 {
    color: #90EE90;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.definition-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.9;
}

/* Contact Section */
.contact {
    background: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.contact-info-box h3 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-detail a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-detail a:hover {
    color: var(--primary);
    text-decoration: underline;
}

/* Language Flags */
.language-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    padding: 15px;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    margin-bottom: 20px;
}

.language-links a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
    color: #e0e0e0;
    text-decoration: none;
    font-size: 0.85rem;
    transition: background 0.3s, transform 0.2s;
    border: 1px solid rgba(255,255,255,0.15);
}

.language-links a:hover {
    background: rgba(144, 238, 144, 0.2);
    transform: translateY(-2px);
    border-color: rgba(144, 238, 144, 0.4);
}

.language-links a.active {
    background: rgba(144, 238, 144, 0.25);
    border-color: #90EE90;
    color: #90EE90;
}

.language-links .flag-icon {
    width: 18px;
    height: auto;
    border-radius: 2px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .offer-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    background: linear-gradient(135deg, #2d5016 0%, #1a3009 100%);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    font-size: 1.3rem;
    font-weight: 800;
    padding: 0.4rem 0;
}

.logo a {
    color: white;
    text-decoration: none;
}

.logo em {
    font-style: normal;
    color: #90EE90;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.nav-menu li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0;
    display: inline-block;
    transition: color 0.3s;
}

.nav-menu li a:hover {
    color: #90EE90;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 6px;
}

.hamburger span {
    width: 22px;
    height: 2px;
    background: white;
    margin: 2px 0;
    transition: 0.3s;
    border-radius: 2px;
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 55px;
        flex-direction: column;
        background: linear-gradient(135deg, #2d5016 0%, #1a3009 100%);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 0.5rem 0;
        gap: 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li a {
        display: block;
        padding: 0.75rem;
    }
}

/* ============================================
   FOOTER - PPHU JAR z WCAG
   ============================================ */
footer {
    background: var(--dark);
    color: white;
    padding: 40px 20px 20px;
    text-align: left;
}

footer .footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

footer .footer-col h3 {
    color: #90EE90;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

footer .footer-col h3 a {
    color: #90EE90;
    text-decoration: none;
    transition: color 0.3s, text-decoration 0.3s;
}

footer .footer-col h3 a:hover,
footer .footer-col h3 a:focus {
    color: #a8f0a8;
    text-decoration: underline;
    outline: 2px solid #90EE90;
    outline-offset: 4px;
}

footer .footer-col p {
    color: #d0d0d0;
    line-height: 1.7;
    font-size: 0.95rem;
    margin-bottom: 8px;
}

footer .footer-col .footerstr {
    color: #90EE90;
    font-weight: 600;
}

footer .footer-col a {
    color: #90EE90;
    text-decoration: none;
    transition: color 0.3s, text-decoration 0.3s;
    display: inline-block;
    margin-top: 2px;
}

footer .footer-col a:hover,
footer .footer-col a:focus {
    color: #a8f0a8;
    text-decoration: underline;
    outline: 2px solid #90EE90;
    outline-offset: 2px;
}

.footer-btn {
    display: inline-block;
    padding: 8px 16px;
    margin: 4px 0;
    background: rgba(144, 238, 144, 0.15);
    color: #90EE90 !important;
    border: 1px solid rgba(144, 238, 144, 0.3);
    border-radius: 6px;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.footer-btn:hover,
.footer-btn:focus {
    background: rgba(144, 238, 144, 0.25);
    border-color: #90EE90;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(144, 238, 144, 0.2);
    outline: 2px solid #90EE90;
    outline-offset: 2px;
}

.footer-partner-section {
    margin-top: 10px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-digital {
    font-size: 0.95rem;
    color: #c0c0c0;
    margin-bottom: 8px;
}

.footer-link-highlight {
    color: #90EE90;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s, text-decoration 0.3s;
}

.footer-link-highlight:hover,
.footer-link-highlight:focus {
    color: #a8f0a8;
    text-decoration: underline;
    outline: 2px solid #90EE90;
    outline-offset: 2px;
}

.footer-description {
    font-size: 0.9rem;
    color: #b0b0b0;
    line-height: 1.6;
    margin-bottom: 6px;
}

.footer-description strong {
    color: #d0d0d0;
}

.footer-standards {
    font-size: 0.85rem;
    color: #a0a0a0;
    line-height: 1.5;
}

.footer-aktru-tagred {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-aktru-tagred .footer-digital {
    font-size: 0.9rem;
    color: #b0b0b0;
}

.footer-aktru-tagred .footer-description {
    font-size: 0.85rem;
    color: #a0a0a0;
}

.footer-aktru-tagred .footer-standards {
    font-size: 0.8rem;
    color: #909090;
}

.footer-aktru-tagred a {
    color: #90EE90;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-aktru-tagred a:hover,
.footer-aktru-tagred a:focus {
    color: #a8f0a8;
    text-decoration: underline;
    outline: 2px solid #90EE90;
    outline-offset: 2px;
}

.footer-links-side {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    text-align: center;
}

.footer-nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 12px;
    margin-bottom: 12px;
}

.footer-nav-links .footer-link {
    color: #90EE90;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s, text-decoration 0.3s;
    padding: 4px 6px;
}

.footer-nav-links .footer-link:hover,
.footer-nav-links .footer-link:focus {
    color: #a8f0a8;
    text-decoration: underline;
    outline: 2px solid #90EE90;
    outline-offset: 2px;
}

.footer-nav-links .separator {
    color: #555;
    font-size: 0.8rem;
}

.footer-partner {
    font-size: 0.9rem;
    color: #aaa;
    line-height: 1.5;
}

.footer-partner strong {
    color: #90EE90;
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 20px;
    margin-top: 20px;
    color: #888;
    font-size: 0.85rem;
    text-align: center;
}

/* ============================================
   LIGHTBOX
   ============================================ */
.lightbox {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.92);
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.9);
    cursor: default;
    animation: lightboxFade 0.3s ease;
    position: relative;
    z-index: 1;
}

@keyframes lightboxFade {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.lightbox .close {
    position: fixed;
    top: 25px;
    right: 40px;
    color: #fff;
    font-size: 50px;
    font-weight: 300;
    cursor: pointer;
    transition: 0.3s;
    z-index: 10002;
    line-height: 1;
    font-family: Arial, sans-serif;
}

.lightbox .close:hover {
    color: #90EE90;
    transform: rotate(90deg);
}

.lightbox-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 20px 15px;
    font-size: 40px;
    cursor: pointer;
    z-index: 10002;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-family: Arial, sans-serif;
    line-height: 1;
}

.lightbox-nav:hover {
    background: rgba(144, 238, 144, 0.3);
    border-color: #90EE90;
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

.lightbox-counter {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    font-weight: 500;
    background: rgba(0, 0, 0, 0.5);
    padding: 8px 20px;
    border-radius: 20px;
    backdrop-filter: blur(5px);
    z-index: 10002;
    letter-spacing: 1px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .lightbox .close {
        top: 15px;
        right: 20px;
        font-size: 40px;
    }
    
    .lightbox img {
        max-width: 95%;
        max-height: 70%;
    }
    
    .lightbox-nav {
        padding: 12px 10px;
        font-size: 28px;
        width: 45px;
        height: 45px;
    }
    
    .lightbox-prev {
        left: 10px;
    }
    
    .lightbox-next {
        right: 10px;
    }
    
    .lightbox-counter {
        bottom: 20px;
        font-size: 14px;
        padding: 6px 16px;
    }
}

@media (max-width: 480px) {
    .lightbox-nav {
        padding: 8px 6px;
        font-size: 20px;
        width: 35px;
        height: 35px;
    }
    
    .lightbox-prev {
        left: 5px;
    }
    
    .lightbox-next {
        right: 5px;
    }
}

/* ============================================
   RESPONSYWNOŚĆ STOPKI
   ============================================ */
@media (max-width: 768px) {
    footer .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    footer .footer-col {
        text-align: center;
    }
    
    footer .footer-col a {
        display: inline-block;
    }
    
    .footer-nav-links {
        flex-direction: column;
        gap: 6px;
    }
    
    .footer-nav-links .separator {
        display: none;
    }
    
    .footer-partner {
        font-size: 0.85rem;
    }
    
    .footer-digital {
        font-size: 0.9rem;
    }
    
    .footer-description {
        font-size: 0.85rem;
    }
    
    .footer-aktru-tagred {
        text-align: center;
    }
}

@media (max-width: 480px) {
    footer .footer-col p {
        font-size: 0.85rem;
    }
    
    .footer-btn {
        display: block;
        width: 100%;
        max-width: 280px;
        margin: 6px auto;
        text-align: center;
        padding: 10px 16px;
    }
    
    .copyright {
        font-size: 0.75rem;
    }
}

/* ============================================
   WCAG - WYS