a {
    color: black;
    transition: color 1s ease;
}

a:hover{
    color: white;
}

.pieces1{
    width: 60% !important;
    height: auto;
}

/* Karty usług */
.service-card {
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border-radius: 16px;
    overflow: hidden;
    border: none;
    position: relative;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card.odd::before {
    background: linear-gradient(90deg, #cd0e3b, #891430);
}

.service-card.even::before {
    background: linear-gradient(90deg, #8a6e53, #644f3b);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.service-card-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    min-height: 100px;
}

.service-card-content {
    flex: 1;
}

.service-card-title {
    font-family: "PP Acma Bold", sans-serif;
    font-size: 1.2rem;
    margin: 0;
}

.service-card img {
    width: 60px;
    height: auto;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.service-card:hover img {
    opacity: 1;
    transform: scale(1.1) rotate(-5deg);
}

.click-hint-offer {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.service-card:hover .click-hint-offer {
    opacity: 1;
}

.click-hint-offer svg {
    width: 16px;
    height: 16px;
    animation: bounce-arrow-offer 1.5s ease-in-out infinite;
}

@keyframes bounce-arrow-offer {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(5px); }
}

.odd {
    background: linear-gradient(135deg, #ad1739 0%, #9f0b2e 100%);
    color: white;
}

.even {
    background: linear-gradient(135deg, #e3b98f 0%, #d4a574 100%);
    color: black;
}

/* Modale usług */
.service-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    z-index: -1;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
}

.service-modal.active {
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    opacity: 1;
    pointer-events: all;
}

.service-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    width: 90%;
    max-width: 800px;
    max-height: 85vh;
    background: linear-gradient(145deg, #FAF7F2 0%, #F5EDE0 100%);
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.5);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.service-modal.active .service-modal-content {
    transform: translate(-50%, -50%) scale(1);
}

.service-modal-header {
    position: relative;
    padding: 2.5rem 3rem 2rem;
    color: white;
    border-bottom: 4px solid #d4a574;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.service-modal-header.odd {
    background: linear-gradient(135deg, #ad1739 0%, #8b1230 100%);
}

.service-modal-header.even {
    background: linear-gradient(135deg, #8a6e53 0%, #644f3b 100%);
    color: white;
}

.service-modal-icon {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}

.service-modal-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.service-modal-header h2 {
    font-family: "PP Acma Bold", sans-serif;
    font-size: 1.8rem;
    margin: 0;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.service-modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.service-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.service-modal-body {
    padding: 2.5rem 3rem;
    max-height: calc(85vh - 180px);
    overflow-y: auto;
    overflow-x: hidden;
}

.service-modal-body::-webkit-scrollbar {
    width: 8px;
}

.service-modal-body::-webkit-scrollbar-track {
    background: rgba(173, 23, 57, 0.1);
    border-radius: 4px;
}

.service-modal-body::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #ad1739, #8b1230);
    border-radius: 4px;
}

.service-modal-body > * {
    animation: fadeSlideIn 0.6s ease-out backwards;
}

.service-modal-body > *:nth-child(1) { animation-delay: 0.1s; }
.service-modal-body > *:nth-child(2) { animation-delay: 0.2s; }
.service-modal-body > *:nth-child(3) { animation-delay: 0.3s; }

@keyframes fadeSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-modal-body p {
    color: #444;
    line-height: 1.8;
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
}

.service-modal-body ul {
    padding-left: 2rem;
    margin-bottom: 1.5rem;
}

.service-modal-body li {
    margin-bottom: 0.8rem;
    line-height: 1.8;
    color: #555;
}

.service-modal-body li::marker {
    color: #ad1739;
}

.service-modal-body b,
.service-modal-body strong {
    color: #ad1739;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .service-modal-content {
        width: 95%;
        max-height: 90vh;
        border-radius: 20px;
    }

    .service-modal-header {
        padding: 2rem 1.5rem 1.5rem;
        flex-direction: column;
        text-align: center;
    }

    .service-modal-icon {
        width: 60px;
        height: 60px;
    }

    .service-modal-header h2 {
        font-size: 1.4rem;
    }

    .service-modal-body {
        padding: 1.5rem;
        max-height: calc(90vh - 180px);
    }

    .service-modal-close {
        top: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
    }
}

ul {
    font-weight: 400;
}

