/* ================= GLOBAL ================= */
* {
    font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #ffffff;
}

/* ================= HERO ================= */
.hero-static {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.hero-static .carousel,
.hero-static .carousel-inner,
.hero-static .carousel-item {
    height: 100%;
}

.hero-slide {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slide-1 { background-image: url('/images/main1.jpg'); }
.slide-2 { background-image: url('/images/main2.jpg'); }
.slide-3 { background-image: url('/images/main3.jpg'); }

.hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.2);
}

.hero-watermark {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 5;
}

.hero-watermark img {
    max-width: 80px;
}

/* ================= NAVBAR ================= */
.navbar.sticky-top {
    z-index: 1030;
}

.navbar-nav.flex-row {
    gap: 28px;
}

@media(max-width:991px){
    .navbar-brand {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
}

/* ================= OFERTA ================= */
.offer-img {
    width: 100%;
    height: 220px;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 15px;
}

.offer-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.card:hover .offer-img img {
    transform: scale(1.05);
}
@media (max-width: 768px) {
    .offer-img {
        height: 180px;
    }
}
/* ================= OFFER DETAIL ================= */

.offer-row {
    display: flex;
    gap: 40px;
    padding: 30px;
    background: #f7f7f7;
    border-radius: 12px;
    margin-bottom: 30px;
}

/* LEWA */
.offer-left {
    width: 260px;
    flex-shrink: 0;
    text-align: center;
}

.offer-badge {
    display: inline-block;
    background: #1f1f1f;
    color: #fff;
    padding: 6px 12px;
    font-size: 13px;
    border-radius: 6px;
    margin-bottom: 15px;
}

.offer-thumb {
    background: #fff;
    border: 2px solid #e6e6e6;
    border-radius: 10px;
    padding: 20px;
}

.offer-thumb img {
    max-width: 100%;
    height: auto;
}

/* PRAWA */
.offer-right {
    flex: 1;
}

.offer-title {
    font-weight: 700;
    margin-bottom: 15px;
}

.offer-desc {
    margin-bottom: 15px;
    color: #333;
    line-height: 1.6;
}

.offer-full {
    line-height: 1.7;
    color: #222;
}

/* ================= MOBILE ================= */

@media (max-width: 768px) {
    .offer-row {
        flex-direction: column;
        padding: 20px;
    }

    .offer-left {
        width: 100%;
    }

    .offer-thumb {
        max-width: 300px;
        margin: 0 auto;
    }
}

/* ================= FEATURE CARDS (Dlaczego my) ================= */
.feature-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    height: 100%;
    border: 1px solid rgba(0,0,0,0.04);
    box-shadow:
            0 4px 10px rgba(0,0,0,0.03),
            0 10px 25px rgba(0,0,0,0.05);
    transition: 0.3s;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.feature-img {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.feature-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.feature-content {
    padding: 16px 18px;
    text-align: center;
}

/* ================= PARTNERZY ================= */
.partners-loop {
    width: 100%;
    overflow: hidden;
    padding: 10px 0;
}

.partners-track {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: partners-scroll 45s linear infinite;
}

.partner-item {
    height: 150px;
    display: flex;
    align-items: center;
}

.partner-item img {
    height: 100px;
    opacity: 0.9;
    transition: 0.3s;
}

.partner-item img:hover {
    transform: scale(1.08);
    opacity: 1;
}

@keyframes partners-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ================= DAKO ================= */
.dako-partner-section {
    padding: 20px 0;
    text-align: center;
}

.dako-label {
    font-size: 18px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: #444;
}

.dako-logo-wrapper img {
    max-height: 120px;
    transition: 0.3s;
}

.dako-logo-wrapper img:hover {
    transform: scale(1.05);
}

/* ================= KONTAKT ================= */
.kontakt-c {
    background: white;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    padding: 40px;
}

form .form-control {
    border-radius: 0.5rem;
    padding: 0.75rem;
}

/* ================= FOOTER ================= */
.footer {
    background: #f5f5f5;
}
.footer a {
    color: #000;
    text-decoration: none;
}

.footer a:hover {
    color: #000;
    text-decoration: underline;
}
.footer-contact {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
    text-align: center;
    width: 100%;
    max-width: 100%;
}
.footer-contact span {
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}
@media (max-width: 576px) {
    .footer-contact {
        flex-direction: column;
        gap: 10px;
    }
}

