/* ============================================================
   TRANS-KOP - PRODUCTS (KRUSZYWA) STYLES
   Unique styling dla stron produktowych - kruszywa
   ============================================================ */

/* ============================================================
   CONTENT AREA - UNIFIED STYLE (jak services.css)
   ============================================================ */

.content-area {
    background: var(--color-white);
    border: 2px solid var(--color-gray-200);
    border-radius: 10px;
    padding: 40px;
    margin-bottom: 35px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.content-area::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(245, 196, 0, 0.1), transparent);
    transition: left 0.6s ease;
}

.content-area:hover::after {
    left: 100%;
}

.content-area:hover {
    border-color: rgba(245, 196, 0, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    transform: translateY(-3px);
}

.content-area h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 2rem;
    color: var(--color-dark);
    margin: 0 0 20px 0;
    position: relative;
    padding-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 1;
}

.content-area h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--color-primary);
    border-radius: 2px;
    transition: width 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.content-area:hover h2::after {
    width: 80px;
}

.content-area h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    color: var(--color-dark);
    margin: 35px 0 18px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-left: 15px;
    z-index: 1;
}

.content-area h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 0;
    background: var(--color-primary);
    border-radius: 2px;
    transition: height 0.4s ease;
}

.content-area:hover h3::before {
    height: 70%;
}

.content-area p {
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: var(--color-gray-700);
    margin-bottom: 20px;
}

/* ============================================================
   CHECK LIST - ZASTOSOWANIE
   ============================================================ */

.check-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    display: grid;
    gap: 15px;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 22px;
    background: linear-gradient(135deg, rgba(245, 196, 0, 0.06) 0%, rgba(245, 196, 0, 0.02) 100%);
    border-left: 4px solid var(--color-primary);
    border-radius: 0 8px 8px 0;
    font-family: 'Manrope', sans-serif;
    font-size: 15px;
    color: var(--color-dark);
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    opacity: 0;
    transform: scale(0.95) translateY(10px);
}

.check-list li.visible {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.check-list li:nth-child(1) { transition-delay: 0.1s; }
.check-list li:nth-child(2) { transition-delay: 0.2s; }
.check-list li:nth-child(3) { transition-delay: 0.3s; }
.check-list li:nth-child(4) { transition-delay: 0.4s; }
.check-list li:nth-child(5) { transition-delay: 0.5s; }

.check-list li:hover {
    background: linear-gradient(135deg, rgba(245, 196, 0, 0.12) 0%, rgba(245, 196, 0, 0.05) 100%);
    transform: translateX(8px);
    box-shadow: 0 4px 12px rgba(245, 196, 0, 0.15);
}

.check-list li i {
    font-size: 22px;
    color: var(--color-primary);
    flex-shrink: 0;
}

/* ============================================================
   CONTENT GALLERY - PHOTO SHOWCASE
   ============================================================ */

.content-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 40px 0;
}

.content-gallery img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    opacity: 0;
    transform: scale(0.95);
}

.content-gallery img.visible {
    opacity: 1;
    transform: scale(1);
}

.content-gallery img:nth-child(1) { transition-delay: 0.1s; }
.content-gallery img:nth-child(2) { transition-delay: 0.2s; }

.content-gallery img:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

/* ============================================================
   TECH TABLE - TRANSPORT TABLE
   ============================================================ */

.tech-table-wrapper {
    width: 100%;
    overflow-x: auto;
    margin: 30px 0;
}

.tech-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--color-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.tech-table thead {
    background: var(--color-primary);
}

.tech-table th {
    font-family: 'Oswald', sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-dark);
    background: var(--color-primary);
    text-align: left;
    padding: 18px 20px;
}

.tech-table tbody tr {
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--color-gray-200);
}

.tech-table tbody tr:last-child {
    border-bottom: none;
}

.tech-table tbody tr:hover {
    background: linear-gradient(90deg, rgba(245, 196, 0, 0.08) 0%, transparent 100%);
}

.tech-table td {
    font-family: 'Manrope', sans-serif;
    font-size: 15px;
    padding: 16px 20px;
    color: var(--color-gray-700);
}

.tech-table td:first-child {
    font-weight: 600;
    color: var(--color-dark);
}

.tech-table td:nth-child(2) {
    font-weight: 700;
}

/* ============================================================
   SIDEBAR WIDGET - PRODUCT NAVIGATION
   ============================================================ */

.widget {
    background: var(--color-white);
    border: 2px solid var(--color-gray-200);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.widget:hover {
    border-color: var(--color-primary);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.widget-title {
    font-family: 'Oswald', sans-serif;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-dark);
    margin: 0 0 20px 0;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--color-primary);
}

.menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-list li {
    margin-bottom: 8px;
}

.menu-list li:last-child {
    margin-bottom: 0;
}

.menu-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 15px;
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-gray-700);
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    background: transparent;
}

.menu-list a:hover {
    background: var(--color-gray-100);
    color: var(--color-dark);
    padding-left: 20px;
}

.menu-list a.active {
    background: linear-gradient(90deg, rgba(245, 196, 0, 0.15) 0%, rgba(245, 196, 0, 0.05) 100%);
    color: var(--color-dark);
    border-left: 3px solid var(--color-primary);
    padding-left: 17px;
}

.menu-list a i {
    font-size: 10px;
    color: var(--color-primary);
    transition: transform 0.3s ease;
}

.menu-list a:hover i {
    transform: translateX(4px);
}

/* ============================================================
   WIDGET CONTACT - YELLOW CTA (UNIVERSAL)
   ============================================================ */

.widget-contact {
    background: linear-gradient(135deg, var(--color-primary) 0%, #ffd000 100%);
    border: none;
    border-radius: 12px;
    padding: 38px 30px;
    text-align: center;
    color: var(--color-dark);
    box-shadow: 0 8px 28px rgba(245, 196, 0, 0.3);
    position: relative;
    overflow: hidden;
    order: 999;
}

.widget-contact::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    animation: pulse-glow 8s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.1); opacity: 0.5; }
}

.widget-contact .widget-title {
    color: var(--color-dark);
    border-bottom-color: rgba(0, 0, 0, 0.15);
    font-size: 19px;
    position: relative;
    z-index: 1;
}

.widget-contact p {
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    color: rgba(0, 0, 0, 0.75);
    margin: 15px 0 22px 0;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

.phone-big {
    display: block;
    font-family: 'Oswald', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--color-dark);
    text-decoration: none;
    margin: 22px 0;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.phone-big:hover {
    color: var(--color-white);
    transform: scale(1.06);
}

.btn--full {
    width: 100%;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.widget-contact .btn--primary {
    background: var(--color-dark);
    color: var(--color-white);
    border-color: var(--color-dark);
}

.widget-contact .btn--primary:hover {
    background: var(--color-white);
    color: var(--color-dark);
    border-color: var(--color-white);
}

/* ============================================================
   BREADCRUMBS
   ============================================================ */

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    margin-top: 15px;
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumbs a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumbs a:hover {
    color: var(--color-primary);
}

.breadcrumbs i {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.5);
}

.breadcrumbs span {
    color: var(--color-primary);
    font-weight: 600;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 768px) {
    .content-area {
        padding: 30px 25px;
        margin-bottom: 25px;
    }

    .breadcrumbs {
        width: 100%;
        justify-content: center;
        text-align: center;
        gap: 8px;
        row-gap: 6px;
    }

    .content-gallery {
        grid-template-columns: 1fr;
    }

    .content-gallery img {
        height: 220px;
    }

    .check-list li {
        padding: 14px 18px;
        font-size: 14px;
    }

    .tech-table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin: 20px 0;
    }

    .tech-table {
        width: 100%;
        font-size: 12px;
    }

    .tech-table th,
    .tech-table td {
        padding: 12px 10px;
        font-size: 12px;
    }

    .widget {
        padding: 25px;
    }

    .widget-contact {
        padding: 30px 25px;
    }

    .phone-big {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .content-area {
        padding: 25px 20px;
        border-radius: 8px;
    }

    .breadcrumbs {
        font-size: 11px;
        gap: 6px;
    }

    .content-area h2 {
        font-size: 1.6rem;
    }

    .content-area h3 {
        font-size: 1.3rem;
    }

    .content-gallery img {
        height: 200px;
    }

    .check-list li {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .tech-table-wrapper {
        margin: 15px 0;
    }

    .tech-table {
        width: 100%;
        font-size: 11px;
    }

    .tech-table th,
    .tech-table td {
        padding: 10px 8px;
        font-size: 11px;
    }

    .tech-table th {
        font-size: 10px;
    }

    .phone-big {
        font-size: 22px;
    }
}
