/* ===================================
   SUBPAGES STYLES
   =================================== */

/* Page Header */
.page-header {
    padding: 180px 0 80px;
    background: linear-gradient(135deg, var(--gray-100) 0%, var(--white) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(220, 20, 60, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(102, 102, 102, 0.05) 0%, transparent 50%);
    z-index: 0;
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    color: var(--gray-600);
}

/* About Content */
.about-content {
    padding: var(--section-padding) 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2rem;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.about-text p {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/* Values Section */
.values-section {
    padding: var(--section-padding) 0;
    background: var(--gray-100);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.value-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition-smooth);
    border: 2px solid var(--gray-200);
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-red);
}

.value-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.value-icon svg {
    width: 35px;
    height: 35px;
}

.value-card h3 {
    font-size: 1.3rem;
    color: var(--gray-900);
    margin-bottom: 1rem;
    font-weight: 600;
}

.value-card p {
    color: var(--gray-600);
    line-height: 1.7;
}

/* Tech Section */
.tech-section {
    padding: var(--section-padding) 0;
    background: var(--white);
}

.tech-showcase {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-top: 3rem;
}

.tech-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: var(--transition-smooth);
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
}

.tech-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red), #ff4757);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

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

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

.tech-card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-red), #ff4757);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: var(--transition-smooth);
}

.tech-card:hover .tech-card-icon {
    transform: rotate(5deg) scale(1.1);
}

.tech-card-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--white);
}

.tech-card h3 {
    font-size: 1.5rem;
    color: var(--gray-900);
    margin-bottom: 1rem;
    font-weight: 600;
}

.tech-card p {
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

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

.tech-features li {
    padding: 0.5rem 0;
    color: var(--gray-700);
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.95rem;
}

.tech-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-red);
    font-weight: bold;
    font-size: 1.1rem;
}

/* Legacy support */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.tech-item {
    background: linear-gradient(135deg, var(--gray-100) 0%, var(--white) 100%);
    padding: 2.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-red);
    transition: var(--transition-smooth);
}

.tech-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-lg);
}

.tech-item h3 {
    font-size: 1.4rem;
    color: var(--gray-900);
    margin-bottom: 1rem;
    font-weight: 600;
}

.tech-item p {
    color: var(--gray-600);
    line-height: 1.7;
}

/* Offer Page */
.offer-intro {
    padding: var(--section-padding) 0;
    background: var(--white);
}

.offer-intro-content {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}

.offer-intro-content h2 {
    font-size: 2rem;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.offer-intro-content p {
    font-size: 1.1rem;
    color: var(--gray-600);
    line-height: 1.8;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.product-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.product-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.product-content {
    padding: 2rem;
}

.product-content h3 {
    font-size: 1.5rem;
    color: var(--gray-900);
    margin-bottom: 1rem;
    font-weight: 600;
}

.product-content p {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.product-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.product-features li {
    padding: 0.5rem 0;
    color: var(--gray-700);
    position: relative;
    padding-left: 1.5rem;
}

.product-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-red);
    font-weight: bold;
}

.product-content .btn {
    margin-top: 1rem;
}

/* Product Detail Page */
.product-detail {
    padding: var(--section-padding) 0;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.product-detail-image {
    position: sticky;
    top: 100px;
	border-radius: 16px;
}

.detail-image-main {
    width: 100%;
	margin-top: 60px;
    /* height: 500px; */
    border-radius: 16px;
    margin-bottom: 1rem;
    object-fit: contain
}

.product-detail-content h1 {
    font-size: 2.5rem;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.product-detail-content .lead {
    font-size: 1.2rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.detail-section {
    margin-bottom: 3rem;
}

.detail-section h2 {
    font-size: 1.8rem;
    color: var(--gray-900);
    margin-bottom: 1rem;
    font-weight: 600;
}

.detail-section p,
.detail-section li {
    color: var(--gray-600);
    line-height: 1.8;
}

.detail-section ul {
    list-style: none;
}

.detail-section ul li {
    padding: 0.75rem 0;
    position: relative;
    padding-left: 2rem;
}

.detail-section ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: var(--primary-red);
    border-radius: 50%;
}

.specifications-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.specifications-table tr {
    border-bottom: 1px solid var(--gray-200);
}

.specifications-table td {
    padding: 1rem;
    color: var(--gray-700);
}

.specifications-table td:first-child {
    font-weight: 600;
    color: var(--gray-900);
    width: 40%;
}

/* Downloads Page */
.downloads-section {
    padding: var(--section-padding) 0;
}

.downloads-grid {
    display: grid;
    gap: 1.5rem;
    margin-top: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.download-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 2rem;
    border: 2px solid var(--gray-200);
    transition: var(--transition-smooth);
}

.download-card:hover {
    border-color: var(--primary-red);
    box-shadow: var(--shadow-lg);
}

.download-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
}

.download-icon svg {
    width: 30px;
    height: 30px;
}

.download-info {
    flex: 1;
}

.download-info h3 {
    font-size: 1.3rem;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.download-info p {
    color: var(--gray-600);
    margin-bottom: 0.5rem;
}

.download-meta {
    font-size: 0.9rem;
    color: var(--gray-500);
}

.download-button {
    flex-shrink: 0;
}

/* File Guidelines Section */
.file-guidelines {
    padding: var(--section-padding) 0;
    background: var(--gray-100);
}

.guidelines-content {
    margin-top: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.guideline-section {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    border-left: 4px solid var(--primary-red);
}

.guideline-section.highlight {
    background: linear-gradient(135deg, #fff5f5 0%, #ffffff 100%);
    border-left: 4px solid var(--primary-red);
    box-shadow: 0 4px 16px rgba(220, 20, 60, 0.08);
}

.guideline-section h3 {
    font-size: 1.5rem;
    color: var(--gray-900);
    margin-bottom: 1rem;
    font-weight: 600;
}

.guideline-section p {
    color: var(--gray-700);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.format-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.format-list li {
    padding: 0.75rem 0;
    color: var(--gray-700);
    position: relative;
    padding-left: 2rem;
    line-height: 1.7;
}

.format-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-red);
    font-weight: bold;
    font-size: 1.2rem;
}

.guideline-section strong {
    color: var(--gray-900);
    font-weight: 600;
}

/* Additional Services Section */
.additional-services {
    padding: var(--section-padding) 0;
    background: var(--white);
}

.services-two-column {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-top: 3rem;
}

.service-item {
    display: flex;
    gap: 2rem;
    background: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid var(--gray-200);
    transition: var(--transition-smooth);
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-red);
}

.service-item-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-red), #ff4757);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.service-item:hover .service-item-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-item-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--white);
}

.service-item-content h3 {
    font-size: 1.4rem;
    color: var(--gray-900);
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-item-content p {
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

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

.service-item-features li {
    padding: 0.5rem 0;
    color: var(--gray-700);
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.95rem;
}

.service-item-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-red);
    font-weight: bold;
    font-size: 1rem;
}

/* Contact Page */
.contact-section {
    padding: var(--section-padding) 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info {
    background: var(--gray-100);
    padding: 3rem;
    border-radius: 16px;
}

.contact-info h2 {
    font-size: 2rem;
    color: var(--gray-900);
    margin-bottom: 2rem;
    font-weight: 600;
}

.contact-item {
    display: flex;
    align-items: start;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-item-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
}

.contact-item-icon svg {
    width: 24px;
    height: 24px;
}

.contact-item-content h3 {
    font-size: 1.1rem;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-item-content p,
.contact-item-content a {
    color: var(--gray-700);
    line-height: 1.6;
}

.contact-item-content a:hover {
    color: var(--primary-red);
}

.social-media-section {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-200);
}

.social-media-section h3 {
    font-size: 1.1rem;
    color: var(--gray-900);
    margin-bottom: 1rem;
    font-weight: 600;
}

.contact-form {
    background: var(--white);
}

.contact-form h2 {
    font-size: 2rem;
    color: var(--gray-900);
    margin-bottom: 2rem;
    font-weight: 600;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--gray-700);
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-300);
    border-radius: 8px;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition-smooth);
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-red);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.map-section {
    padding: var(--section-padding) 0;
    background: var(--gray-100);
}

.map-container {
    width: 100%;
    height: 450px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Responsive */
@media (max-width: 1024px) {
    .about-grid,
    .product-detail-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .product-detail-image {
        position: static;
    }
}

/* Force 1 column on tablets and mobile */
@media (max-width: 992px) {
    .tech-grid {
        grid-template-columns: 1fr !important;
    }

    .tech-showcase {
        grid-template-columns: 1fr !important;
        gap: 2rem;
    }

    .services-two-column {
        grid-template-columns: 1fr !important;
    }

    .service-item {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2.2rem;
    }

    .page-header {
        padding: 200px 0 60px;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    /* Nowoczesne technologie - 1 kolumna */
    .tech-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }

    /* Dodatkowe usługi - 1 kolumna */
    .services-two-column {
        grid-template-columns: 1fr !important;
        gap: 2rem;
    }

    .service-item {
        flex-direction: column;
        gap: 1.5rem;
    }

    .download-card {
        flex-direction: column;
        text-align: center;
    }

    .download-button {
        width: 100%;
    }

    .download-button .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .page-header h1 {
        font-size: 1.8rem;
    }

    .detail-section h2 {
        font-size: 1.5rem;
    }
}


