html { scroll-behavior: smooth; }
/* ==========================================================================
   VARIABLES & BASE STYLES
   ========================================================================== */
:root { --c-primary: #0046A1; --c-heading: #000000; --c-body: #4F5561; --c-bg: #F9FAFB; --c-check: #248A6C; }
body { font-family: 'Inter', sans-serif; font-weight: 300; color: var(--c-body); background-color: #ffffff; overflow-x: hidden; }
h1, h2, h3, h4, h5, h6 { font-family: 'Syne', sans-serif; font-weight: 700; color: var(--c-heading); }
a { text-decoration: none; transition: all 0.3s ease; }

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
header { position: absolute; top: 0; left: 0; right: 0; z-index: 1030; padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
header .navbar-brand {padding: 0; margin: 0;}
header .navbar-brand:hover { color: #ffffff; opacity: 0.9;}
header .nav-link { color: #ffffff; font-weight: 600; font-size: 14px; text-transform: uppercase; letter-spacing: 0.5px; padding: 10px 20px !important; font-family: 'Syne';}
header .nav-link:hover, header .nav-link:focus { color: var(--c-primary); }
header .navbar-toggler { border: none; color: #ffffff; }
header .navbar-toggler:focus { box-shadow: none; outline: none; }
header .btn { background-color: var(--c-primary); color: #ffffff; font-family: 'Syne'; font-weight: 600; font-size: 14px; text-transform: uppercase; border-radius: 0; padding: 12px 24px; border: none; }
header .btn:hover { background-color: #003377; color: #ffffff; transform: translateY(-2px); }

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
main { position: relative; display: flex; flex-direction: column; justify-content: center; background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.8)), url('/wp-content/themes/koeckerling/img/maszyny-kockerling-bg.jpg') center/cover no-repeat; padding-top: 150px; padding-bottom: 20px; }
main .section-tag {color: #ffffff;}
main .section-tag:before {background-color: #ffffff;}
main h1 { font-size: 76px; color: #ffffff; font-weight: 700; line-height: 1.1; margin-bottom: 25px; max-width: 800px; }
main h3 { font-size: 26px; color: #ffffff; font-weight: 600; margin-bottom: 50px; max-width: 700px; line-height: 1.4; }
main .btn-primary { margin-right: 15px; }
main .btn-outline-light { background-color: rgba(255,255,255,0.15); color: #ffffff; font-family: 'Inter', sans-serif; font-weight: 400; text-transform: uppercase; letter-spacing: 1px; border: none; border-radius: 0; padding: 16px 36px; backdrop-filter: blur(5px); font-size: 15px; transition: all 0.3s ease; }
main .btn-outline-light:hover { background-color: rgba(255,255,255,0.25); transform: translateY(-3px); color: #ffffff; }
.hero-slider-container { position: relative; margin-top: 60px; padding-top: 60px; border-top: 1px solid rgba(255, 255, 255, 0.2); }
main .product-swiper figure { margin-bottom: 15px; position: relative; cursor: pointer; }
main .product-swiper figure .img-wrap {overflow: hidden;}
main .product-swiper img { width: 100%; height: auto; object-fit: cover; aspect-ratio: 16/9; transition: transform 0.5s ease; }
main .product-swiper figure:hover img { transform: scale(1.1); }
main .product-swiper figcaption { font-size: 13px; font-weight: 500; color: #ffffff; text-transform: uppercase; text-align: center; letter-spacing: 1px; line-height: 1.4; }
.custom-swiper-prev, .custom-swiper-next {position: absolute; top: calc(50% + 30px); transform: translateY(-130%); width: 44px; height: 44px; background-color: rgba(255, 255, 255, 0.1); border: none; border-radius: 0; color: #ffffff; display: flex; align-items: center; justify-content: center;  z-index: 999; cursor: pointer; transition: all 0.3s ease;}
.custom-swiper-prev:hover, .custom-swiper-next:hover {background-color: var(--c-primary);}
.custom-swiper-prev { left: 10px; }
.custom-swiper-next { right: 10px; }

/* ==========================================================================
   COMMON COMPONENTS
   ========================================================================== */
.btn-primary { background-color: var(--c-primary); color: #ffffff; font-family: 'Inter', sans-serif; font-weight: 400; text-transform: uppercase; letter-spacing: 1px; border: none; border-radius: 0; padding: 16px 36px; font-size: 15px; transition: all 0.3s ease; display: inline-block; }
.btn-primary:hover { background-color: #003377; transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.2); color: #ffffff; }
.btn-black { background-color: #000000; color: #ffffff; font-family: 'Inter', sans-serif; font-weight: 400; text-transform: uppercase; letter-spacing: 1px; padding: 16px 30px; border: none; width: 100%; font-size: 14px; transition: background-color 0.3s ease; }
.btn-black:hover { background-color: #222222; color: #ffffff; }

.btn-arrow {width: 12px; margin-left: 8px; vertical-align: middle; transition: transform 0.3s ease; transform: translateY(-2px);}
.btn:hover .btn-arrow, .btn-primary:hover .btn-arrow, .btn-black:hover .btn-arrow, .btn-outline-light:hover .btn-arrow {transform: translate(5px, -2px);}

section h2 { font-size: 48px; margin-bottom: 30px; line-height: 1.2; }
section h2 span { color: var(--c-primary); }
.section-tag { font-family: 'Syne', sans-serif; font-size: 12px; font-weight: 700; text-transform: uppercase; color: var(--c-primary); letter-spacing: 2px; display: flex; align-items: center; margin-bottom: 20px; }
.section-tag::before { content: ''; display: inline-block; width: 40px; height: 2px; background-color: var(--c-primary); margin-right: 15px; }
.lead-text { font-family: 'Syne', sans-serif; font-size: 26px; font-weight: 700; color: var(--c-heading); line-height: 1.4; }

/* ==========================================================================
   FEATURES & OFFER CARDS
   ========================================================================== */
.feature-card { background-color: var(--c-bg); padding: 40px 30px; height: 100%; transition: transform 0.3s ease;  }
.feature-card:hover { transform: translateY(-5px);}
.feature-card h4 { color: var(--c-primary); font-size: 20px; margin-bottom: 20px; font-weight: 700; line-height: 1.3; }
.feature-card p { font-size: 14px; line-height: 1.6; margin-bottom: 0; }
.offer-card .img-wrap { overflow: hidden; margin-bottom: 20px;  }
.offer-card img { width: 100%; height: 180px; display: block; object-fit: cover; transition: transform 0.3s ease; }
.offer-card:hover img { transform: scale(1.05); }
.offer-card h4 { font-size: 20px; color: var(--c-primary); margin-bottom: 15px; }
.offer-card p { font-size: 14px; line-height: 1.6; }

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-box { background-color: var(--c-primary); padding: 50px; color: #ffffff; border-radius: 0; }
.contact-box label { font-size: 10px; font-weight: 400; margin-bottom: 8px; color: #ffffff; }
.contact-box .form-control, .contact-box .form-select { border-radius: 0; border: none; padding: 12px 15px; font-size: 14px; }
.contact-box .form-control::placeholder { color: #888888; }
.contact-info a { color: var(--c-primary); display: flex; align-items: center; gap: 10px; margin-bottom: 15px; font-weight: 500; font-size: 15px; }
.contact-info a:hover { color: var(--c-primary); }
.contact-info svg { color: var(--c-primary); }
.contact-box .form-check label {font-weight: normal; font-size: 11px; line-height: 1.4; display: block; }
.consent-item { position: relative; }
.consent-text-short { display: inline; }
.consent-text-full { display: inline; }
.consents-container .form-check-input {transform: translateY(-4px);}
.btn-toggle-consent { background: none; border: none; color: #ffffff; font-size: 10px; font-weight: 700; padding: 0; margin-left: 5px; cursor: pointer; display: inline-block; vertical-align: baseline; opacity: 0.8; }
.btn-toggle-consent:hover { opacity: 1; color: #ffffff; text-decoration: underline; }

.info-clause-item { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 15px; }
.btn-toggle-info { background: none; border: none; color: #ffffff; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; padding: 0; width: 100%; text-align: left; display: flex; justify-content: space-between; align-items: center; cursor: pointer; }
.btn-toggle-info .icon { font-size: 8px; transition: transform 0.3s ease; }
.btn-toggle-info.active .icon { transform: rotate(180deg); }
.info-clause-content { font-size: 11px; line-height: 1.6; color: rgba(255,255,255,0.8); margin-top: 10px; padding: 10px; background-color: rgba(0,0,0,0.1); }
.info-clause-content a { color: #ffffff; text-decoration: underline; }
.info-clause-content a:hover { color: #ffffff; opacity: 0.8; }

/* ==========================================================================
   PRODUCT DETAILS
   ========================================================================== */
.product-section { padding: 60px 0; border-bottom: 1px solid #eeeeee; }
.product-section:last-of-type { border-bottom: none; }
.product-section p.mb-4 {font-weight: 500; color: var( --c-primary );}
.product-img { width: 100%; height: 100%; min-height: 350px; object-fit: cover; box-shadow: 0 10px 30px rgba(0,0,0,0.08); }
.product-title { color: var(--c-primary); font-size: 40px; margin-bottom: 20px; }
.check-list { list-style: none; padding-left: 0; margin-top: 25px; margin-bottom: 25px; }
.check-list li { position: relative; padding-left: 36px; margin-bottom: 16px; font-size: 15px; color: var(--c-body); line-height: 1.5; font-weight: 300; }
.check-list li strong {font-weight: 500;}
.check-list li::before { content: ''; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; background-color: var(--c-check); border-radius: 50%; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E"); background-size: 12px; background-position: center; background-repeat: no-repeat; }

/* ==========================================================================
   ACCORDION (FAQ)
   ========================================================================== */
.accordion-item { border: none; border-radius: 4px !important; margin-bottom: 15px; background-color: #ffffff; box-shadow: 0 4px 15px rgba(0,0,0,0.03); overflow: hidden; }
.accordion-button { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 14px; padding: 25px; background-color: #ffffff; color: var(--c-heading); box-shadow: none !important; }
.accordion-button:not(.collapsed) { background-color: #ffffff; color: var(--c-heading); box-shadow: none; }
.accordion-body { padding: 0 25px 25px 25px; font-size: 13px; line-height: 1.6; color: var(--c-body); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer { background-color: var(--c-primary); color: #ffffff; font-size: 12px; padding: 30px 0; }
footer a { color: #ffffff; text-decoration: none; transition: opacity 0.3s ease; }
footer a:hover { opacity: 0.8; }
.footer-privacy { font-size: 10px; text-transform: uppercase; letter-spacing: 1px; }
.footer-copyright { font-size: 9px; text-transform: uppercase; letter-spacing: 0.5px; opacity: 0.9; }

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */

@media (min-width: 992px) {
    .custom-swiper-prev { left: -50px; }
    .custom-swiper-next { right: -50px; }
}

@media (max-width: 991px) {
    header { background-color: rgba(0,0,0,0.9); }
    header .navbar-collapse { padding: 20px 0; }
    header .nav-link { margin-bottom: 10px; }
    main h1 { font-size: 48px; }
    main h3 { font-size: 20px; }
    main .btn-primary, main .btn-outline-light { width: 100%; margin: 0 0 15px 0; text-align: center; }
    section h2 { font-size: 36px; }
    .lead-text { font-size: 20px; }
    .contact-box { padding: 30px; }
    .product-title { font-size: 30px; }
    .product-img { min-height: 250px; margin-bottom: 30px; }

    .custom-swiper-prev, .custom-swiper-next {width: 36px; height: 36px; transform: translateY(-130%) !important; }
    .custom-swiper-prev { left: -15px; }
    .custom-swiper-next { right: -15px; }
}

@media (max-width: 768px) {
    main { padding-top: 60px; }
    main h1 { font-size: 40px; }
    .hero-slider-container { margin-top: 20px; padding-top: 40px; }
    section h2 { font-size: 30px; }
    .custom-swiper-prev, .custom-swiper-next {top: calc(50% + 7px);}
}


/* ==========================================================================
   ANIMATIONS & EFFECTS
   ========================================================================== */
.hero-animate {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.hero-animate:nth-child(1) { animation-delay: 0.1s; }
.hero-animate:nth-child(2) { animation-delay: 0.3s; }
.hero-animate:nth-child(3) { animation-delay: 0.5s; }
.hero-animate:nth-child(4) { animation-delay: 0.7s; }
.hero-animate:nth-child(5) { animation-delay: 0.9s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.img-zoom-wrapper img { transition: transform 0.4s ease; }
.img-zoom-wrapper:hover img { transform: scale(1.05); }
