/* =====================================================
   GLOBAL
===================================================== */

*{
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    margin:0;
    padding-top:80px;
    font-family:'Montserrat',sans-serif;
    color:#f4edf3;
    background:
        radial-gradient(circle at top left, rgba(120,72,110,0.18), transparent 35%),
        radial-gradient(circle at top right, rgba(255,214,230,0.10), transparent 30%),
        linear-gradient(180deg, #1b161d 0%, #241b25 45%, #2d1f29 100%);
    background-attachment:fixed;
    line-height:1.6;
}

/* dynamiczne tło */
body.has-dynamic-bg{
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
    transition:background-image 1.2s ease-in-out;
}

/* =====================================================
   SEKCJE
===================================================== */

section{
    position:relative;
}

.section-box{
    position:relative;
    background:linear-gradient(180deg, rgba(24,18,28,0.94) 0%, rgba(18,14,23,0.96) 100%);
    border:1px solid rgba(255,255,255,0.08);
    border-radius:24px;
    padding:42px;
    box-shadow:
        0 20px 60px rgba(0,0,0,0.35),
        inset 0 1px 0 rgba(255,255,255,0.05);
    backdrop-filter:blur(10px);
    -webkit-backdrop-filter:blur(10px);
    max-width:1100px;
    margin:auto;
    color:#f6eff4;
    overflow:hidden;
}

.section-box::before{
    content:"";
    position:absolute;
    inset:0;
    pointer-events:none;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.04), transparent 30%, transparent 70%, rgba(255,255,255,0.02));
}

.section-box > *{
    position:relative;
    z-index:1;
}

.section-box h1,
.section-box h2,
.section-box h3,
.section-box h4,
.section-box h5,
.section-box h6{
    color:#ffffff !important;
}

.section-box p,
.section-box li,
.section-box span,
.section-box label,
.section-box dt,
.section-box dd,
.section-box small,
.section-box strong,
.section-box div{
    color:inherit;
}

.section-box .text-dark,
.section-box .text-black,
.section-box .text-body{
    color:#ffffff !important;
}

.section-box .text-muted{
    color:rgba(255,255,255,0.72) !important;
}

.section-box .lead{
    color:rgba(255,255,255,0.84) !important;
}

.section-box .border-top{
    border-color:rgba(255,255,255,0.12) !important;
}

.section-box a:not(.btn){
    color:#f4bfd6;
    text-decoration:none;
}

.section-box a:not(.btn):hover{
    color:#ffd6e6;
    text-decoration:underline;
}

/* =====================================================
   KARTY / JASNE BOXy NA CIEMNYM TLE
===================================================== */

.premium-card,
.company-box,
.team-card,
#offerContainer .offer-box,
#news .card,
#galeria .card{
    background:linear-gradient(180deg, #fffefe 0%, #f8f3f6 100%);
    color:#332833 !important;
    border:1px solid rgba(70,40,60,0.08);
    box-shadow:0 12px 30px rgba(0,0,0,0.14);
}

.premium-card h1,
.premium-card h2,
.premium-card h3,
.premium-card h4,
.premium-card h5,
.premium-card h6,
.company-box h1,
.company-box h2,
.company-box h3,
.company-box h4,
.company-box h5,
.company-box h6,
.team-card h1,
.team-card h2,
.team-card h3,
.team-card h4,
.team-card h5,
.team-card h6,
#offerContainer .offer-box h1,
#offerContainer .offer-box h2,
#offerContainer .offer-box h3,
#offerContainer .offer-box h4,
#offerContainer .offer-box h5,
#offerContainer .offer-box h6,
#news .card h1,
#news .card h2,
#news .card h3,
#news .card h4,
#news .card h5,
#news .card h6,
#galeria .card h1,
#galeria .card h2,
#galeria .card h3,
#galeria .card h4,
#galeria .card h5,
#galeria .card h6{
    color:#241a25 !important;
}

.premium-card p,
.premium-card li,
.premium-card span,
.company-box p,
.company-box li,
.company-box span,
.team-card p,
.team-card li,
.team-card span,
#offerContainer .offer-box p,
#offerContainer .offer-box li,
#offerContainer .offer-box span,
#news .card p,
#news .card li,
#news .card span,
#galeria .card p,
#galeria .card li,
#galeria .card span{
    color:#4e4250;
}

.premium-card .text-muted,
.company-box .text-muted,
.team-card .text-muted,
#offerContainer .offer-box .text-muted,
#news .card .text-muted,
#galeria .card .text-muted{
    color:#7a6d79 !important;
}

/* =====================================================
   O NAS
===================================================== */

.about-gallery-image{
    cursor:pointer;
    transition:transform .25s ease, box-shadow .25s ease, opacity .25s ease;
    border-radius:14px;
}

.about-gallery-image:hover{
    transform:translateY(-4px) scale(1.01);
    box-shadow:0 14px 30px rgba(0,0,0,0.24);
    opacity:.96;
}

.about-features{
    list-style:none;
    margin:0;
    padding:0;
}

.about-features li{
    display:flex;
    align-items:flex-start;
    gap:10px;
    margin-bottom:10px;
}

.about-features li:last-child{
    margin-bottom:0;
}

/* =====================================================
   OFERTA
===================================================== */

#offerContainer .offer-box{
    border-radius:18px;
    overflow:hidden;
    transition:transform .25s ease, box-shadow .25s ease;
}

#offerContainer .offer-box:hover{
    transform:translateY(-6px);
    box-shadow:0 18px 38px rgba(0,0,0,0.16);
}

#offerContainer .offer-description{
    color:#5f535d;
    font-size:14px;
    line-height:1.7;
}

#offerContainer .offer-description p:last-child{
    margin-bottom:0;
}

#offerContainer .offer-description ul,
#offerContainer .offer-description ol{
    padding-left:18px;
    margin-bottom:0.75rem;
}

#offerContainer .offer-description strong{
    font-weight:700;
    color:#2b202b;
}

.offer-worker-card{
    border:1px solid rgba(0,0,0,0.08);
    border-radius:16px;
    padding:16px;
    background:linear-gradient(180deg, #ffffff 0%, #f7f2f5 100%);
    box-shadow:0 8px 20px rgba(0,0,0,0.06);
}

.offer-worker-photo{
    width:72px;
    height:72px;
    flex:0 0 72px;
    border-radius:50%;
    overflow:hidden;
    background:#efe8ed;
    display:flex;
    align-items:center;
    justify-content:center;
}

.offer-worker-photo img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.offer-worker-photo-placeholder{
    width:100%;
    height:100%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:700;
    font-size:24px;
    color:#5d4d58;
}

/* =====================================================
   TEAM
===================================================== */

.team-card{
    border-radius:20px;
    padding:22px;
    transition:transform .25s ease, box-shadow .25s ease;
    height:100%;
}

.team-card:hover{
    transform:translateY(-6px);
    box-shadow:0 18px 36px rgba(0,0,0,.14);
}

.team-photo{
    width:140px;
    height:140px;
    margin:auto;
    border-radius:50%;
    overflow:hidden;
    background:#eee7ec;
    display:flex;
    align-items:center;
    justify-content:center;
    border:4px solid rgba(255,255,255,0.85);
    box-shadow:0 10px 24px rgba(0,0,0,0.08);
}

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

/* =====================================================
   NEWS
===================================================== */

.news_image{
    cursor:pointer;
    object-fit:cover;
    height:260px;
    transition:transform .25s ease;
}

.news_image:hover{
    transform:scale(1.02);
}

/* =====================================================
   GALERIA
===================================================== */

.gallery-card{
    cursor:pointer;
    border-radius:16px;
    overflow:hidden;
    transition:transform .25s ease, box-shadow .25s ease;
}

.gallery-card:hover{
    transform:translateY(-6px);
    box-shadow:0 16px 34px rgba(0,0,0,0.15);
}

.gallery-thumb{
    transition:transform .2s ease, opacity .2s ease, box-shadow .2s ease;
    border-radius:10px;
}

.gallery-thumb:hover{
    transform:scale(1.05);
    opacity:.95;
    box-shadow:0 8px 18px rgba(0,0,0,0.25);
}

/* =====================================================
   KONTAKT
===================================================== */

.company-box{
    border-radius:18px;
    padding:22px;
}

.company-box label,
.company-box dt,
.company-box dd,
.company-box p,
.company-box .small,
.company-box .form-label{
    color:#3a2e39 !important;
}

.company-box .form-control,
.company-box .form-check-input{
    border-color:rgba(60,40,55,0.16);
}

.company-box .form-control:focus{
    border-color:rgba(161,88,129,0.45);
    box-shadow:0 0 0 .2rem rgba(161,88,129,0.15);
}

/* =====================================================
   PRZYCISKI PREMIUM
===================================================== */

.btn-primary,
.bg-primary-custom{
    background:linear-gradient(135deg, #a05384 0%, #7f3a68 100%) !important;
    border-color:#7f3a68 !important;
    color:#fff !important;
}

.btn-primary:hover,
.bg-primary-custom:hover{
    filter:brightness(1.05);
}

.btn-outline-light{
    border-color:rgba(255,255,255,0.35);
    color:#fff;
}

.btn-outline-light:hover,
.btn-outline-light.active{
    background:rgba(255,255,255,0.12);
    border-color:rgba(255,255,255,0.5);
    color:#fff;
}

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

@media(max-width:768px){
    body{
        padding-top:76px;
    }

    .section-box{
        padding:24px;
        border-radius:18px;
    }

    .news_image{
        height:220px;
    }
}