:root {
    --primary-blue: rgb(29, 45, 79);
    --primary-red: #d52638;
    --accent-orange: #fd8b00;
    --dark-gray: #2f3136;
    --light-gray: #a8a8a8;
    --accent-yellow: #fdd500;
    --white: #ffffff;
    --text-dark: #2f3136;
    --text-light: #a8a8a8;
    --text-secondary: #6c757d;
    --border-color: #e9ecef;
    --bg-white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: transparent;
    backdrop-filter: none;
    z-index: 10000;
    transition: all 0.3s ease;
    border-bottom: none;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.navbar::before {
    display: none;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    position: relative;
    z-index: 2;
}

.logo {
    height: 40px;
    width: auto;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.navbar.scrolled .logo {
    filter: invert(1) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.logo:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    margin-left: 2rem;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.navbar.scrolled .nav-link {
    color: var(--primary-blue);
}

.nav-link:hover {
    color: var(--accent-orange);
}

.navbar.scrolled .nav-link:hover {
    color: var(--primary-red);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-orange);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    margin: 3px 0;
    transition: 0.3s;
}

.navbar.scrolled .bar {
    background-color: var(--primary-blue);
}

.hamburger.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(253, 139, 0, 0.05), transparent);
    animation: float 15s ease-in-out infinite;
    z-index: 1;
}

.hero-banner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
            rgba(29, 45, 79, 0.85) 0%,
            rgba(29, 45, 79, 0.75) 50%,
            rgba(47, 49, 54, 0.8) 100%);
}

.hero-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    min-height: 100vh;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    color: var(--white);
    max-width: 1200px;
}

.highlight {
    color: var(--accent-orange);
    position: relative;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    max-width: 900px;
    font-weight: 400;
    opacity: 0.95;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--primary-red);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(213, 38, 56, 0.4);
}

.btn-primary:hover {
    background: #b91e2e;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(213, 38, 56, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--accent-orange);
    box-shadow: 0 4px 15px rgba(253, 139, 0, 0.3);
}

.btn-secondary:hover {
    background: var(--accent-orange);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(253, 139, 0, 0.5);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(253, 139, 0, 0.05), transparent);
    animation: float 15s ease-in-out infinite;
    z-index: 1;
}

.hero-banner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
            rgba(29, 45, 79, 0.85) 0%,
            rgba(29, 45, 79, 0.75) 50%,
            rgba(47, 49, 54, 0.8) 100%);
}

.hero-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    min-height: 100vh;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    color: var(--white);
    max-width: 1200px;
}

.highlight {
    color: var(--accent-orange);
    position: relative;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    max-width: 900px;
    font-weight: 400;
    opacity: 0.95;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--primary-red);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(213, 38, 56, 0.4);
}

.btn-primary:hover {
    background: #b91e2e;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(213, 38, 56, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--accent-orange);
    box-shadow: 0 4px 15px rgba(253, 139, 0, 0.3);
}

.btn-secondary:hover {
    background: var(--accent-orange);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(253, 139, 0, 0.5);
}

/* About Section */
.about {
    padding: 100px 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    right: -200px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(253, 139, 0, 0.1), transparent);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.about::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -200px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(213, 38, 56, 0.1), transparent);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite reverse;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--primary-red);
    border-radius: 2px;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto 3rem;
    text-align: center;
    color: var(--text-dark);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat {
    text-align: center;
    padding: 2.5rem 2rem;
   background: linear-gradient(135deg,
            rgba(29, 45, 79, 1) 0%,
            rgba(47, 49, 54, 1) 100%);    border-radius: 12px;
    color: var(--white);
    transform: translateY(0);
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                box-shadow 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgb(29, 45, 79) 0%,
            rgb(38, 70, 151) 100%);
    opacity: 0;
    transition: opacity 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-radius: 12px;
}

.stat:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.stat:hover::before {
    opacity: 1;
}

.stat-number {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    z-index: 2;
}

/* Categories Section */
.categories {
    padding: 100px 0;
    background: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.categories::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(29, 45, 79, 0.03), transparent);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: float 20s ease-in-out infinite;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
    z-index: 2;
    align-items: stretch;
}

.category-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.category-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 25px;
    transition: transform 0.3s ease;
}

.category-card-link:hover {
    transform: translateY(-5px);
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(29, 45, 79, 0.02),
            rgba(213, 38, 56, 0.02),
            rgba(253, 139, 0, 0.02));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.category-card-link:hover .category-card {
    transform: translateY(-10px) rotateY(5deg);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.category-card-link:hover .category-card::before {
    opacity: 1;
}

.category-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.category-card-link:hover .category-image img {
    transform: scale(1.1);
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(29, 45, 79, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
    backdrop-filter: blur(5px);
}

.category-card-link:hover .category-overlay {
    opacity: 1;
}

.category-overlay i {
    font-size: 3rem;
    color: var(--white);
    animation: pulse 2s ease-in-out infinite;
}

.category-content {
    padding: 2rem;
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.category-text {
    flex: 1;
}

.category-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.category-content p {
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    flex: 1;
}

.category-link {
    color: var(--primary-red);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
    border-radius: 5px;
    position: relative;
    overflow: hidden;
}

.category-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(213, 38, 56, 0.1), transparent);
    transition: left 0.5s ease;
}

.category-card-link:hover .category-link::before {
    left: 100%;
}

.category-card-link:hover .category-link {
    color: var(--accent-orange);
    transform: translateX(10px);
}

.category-link i {
    transition: transform 0.3s ease;
}

.category-card-link:hover .category-link i {
    transform: translateX(5px) scale(1.2);
}

.category-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 0px;
    background: transparent;
    transition: none;
}

.category-card-link:hover .category-content {
    background: rgba(255, 255, 255, 1);
    backdrop-filter: blur(15px);
}

/* B2B Section */
.b2b {
    padding: 100px 0;
    background: var(--primary-blue);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.b2b-content {
    text-align: center;
}

.b2b::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="20" cy="90" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="90" cy="30" r="1.5" fill="rgba(255,255,255,0.03)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    animation: float 20s ease-in-out infinite;
}

.b2b .section-title {
    color: var(--white);
    position: relative;
    z-index: 2;
}

.b2b-text {
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto 3rem;
    text-align: center;
    position: relative;
    z-index: 2;
}

.b2b-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
    position: relative;
    z-index: 2;
}

.feature {
    text-align: center;
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(20px);
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.feature:hover {
    transform: translateY(-10px) scale(1.02);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.feature:hover::before {
    left: 100%;
}

.feature i {
    font-size: 3rem;
    color: var(--accent-orange);
    margin-bottom: 1rem;
    display: inline-block;
    transition: all 0.3s ease;
}

.feature:hover i {
    transform: scale(1.2) rotateY(360deg);
    color: var(--accent-yellow);
}

.feature h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.feature p {
    opacity: 0.9;
}

/* Form and other contact styles continue below... */

/* ==========================================
   CONTACT SECTION - MODERN DESIGN 2.0
   ========================================== */

.contact-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #f1f5f9 100%);
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.08) 0%, transparent 60%);
    transform: rotate(-15deg);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: rotate(-15deg) scale(1); opacity: 0.7; }
    50% { transform: rotate(-15deg) scale(1.1); opacity: 0.9; }
}

.contact-header {
    text-align: center;
    margin-bottom: 5rem;
    position: relative;
    z-index: 2;
}

.contact-grid {
    display: block;
    position: relative;
    z-index: 2;
}

.contact-grid.single-column {
    max-width: 600px;
    margin: 0 auto;
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    width: 100%;
}

.contact-info.centered {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
}

.info-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.08),
        0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    width: 100%;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.6), transparent);
    transition: left 0.6s ease;
}

.info-card:hover::before {
    left: 100%;
}

.info-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.12),
        0 8px 20px rgba(0, 0, 0, 0.08);
}

.info-card.primary {
    border-left: 4px solid var(--primary-blue);
}

.info-card.secondary {
    border-left: 4px solid var(--accent-orange);
}

.info-card.large {
    padding: 3rem;
    max-width: 400px;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-blue), #2563eb);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
    flex-shrink: 0;
}

.info-card.secondary .card-icon {
    background: linear-gradient(135deg, var(--accent-orange), #ea580c);
    box-shadow: 0 8px 20px rgba(234, 88, 12, 0.3);
}

.card-icon i {
    font-size: 1.5rem;
    color: white;
}

.info-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    line-height: 1.3;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(248, 250, 252, 0.8);
    border-radius: 12px;
    text-decoration: none;
    color: #334155;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.contact-link:hover {
    background: rgba(59, 130, 246, 0.05);
    border-color: rgba(59, 130, 246, 0.2);
    color: var(--primary-blue);
    transform: translateX(4px);
}

.contact-link i {
    font-size: 1rem;
    color: var(--primary-blue);
    min-width: 16px;
}

.contact-link span {
    font-weight: 700;
    font-size: 1.2rem;
}

/* Language visibility */
[data-show-for] {
    display: none;
}

body.lang-pl [data-show-for*="pl"],
body.lang-en [data-show-for*="en"],
body.lang-de [data-show-for*="de"] {
    display: block;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .contact-section {
        padding: 80px 0;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: 60px 0;
    }
    
    .contact-header {
        margin-bottom: 3rem;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .info-card {
        padding: 2rem;
    }
    
    .info-card.large {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .contact-section {
        padding: 40px 0;
    }
    
    .contact-link {
        padding: 0.8rem;
    }
    
    .info-card {
        padding: 1.5rem;
    }
}
.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 18px 20px;
    border: 2px solid transparent;
    border-radius: 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
}

.form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-red);
    background: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(213, 38, 56, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--light-gray);
    transition: all 0.3s ease;
}

.form-group input:focus::placeholder,
.form-group textarea:focus::placeholder {
    opacity: 0.7;
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: var(--primary-blue);
    color: var(--white);
    padding: 50px 0 20px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg,
            var(--primary-red),
            var(--accent-orange),
            var(--accent-yellow),
            var(--accent-orange),
            var(--primary-red));
    animation: shimmer 3s ease-in-out infinite;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    height: 40px;
    margin-bottom: 1rem;
}

.footer-motto {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent-orange);
}

.footer-info h4,
.footer-contact h4 {
    margin-bottom: 1rem;
    color: var(--accent-orange);
}

.footer-info ul {
    list-style: none;
}

.footer-info li {
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.footer-contact p {
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.footer-contact .contact-group {
    margin-bottom: 1.5rem;
}

.footer-contact .contact-group:last-child {
    margin-bottom: 0;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #444;
    opacity: 0.7;
}

/* Modern glassmorphism and neumorphism effects */
.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.neu-card {
    background: linear-gradient(145deg, #f0f0f0, #cacaca);
    box-shadow:
        20px 20px 60px #bebebe,
        -20px -20px 60px #ffffff;
    border-radius: 20px;
}

/* Modern text effects */
.gradient-text {
    background: linear-gradient(135deg, var(--primary-red), var(--accent-orange), var(--accent-yellow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Advanced hover effects */
.hover-lift {
    transition: all 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Particle effect background */
.particles-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: radial-gradient(circle, rgba(253, 139, 0, 0.8), transparent);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.particle:nth-child(2n) {
    background: radial-gradient(circle, rgba(213, 38, 56, 0.6), transparent);
    animation-duration: 8s;
    animation-delay: 1s;
}

.particle:nth-child(3n) {
    background: radial-gradient(circle, rgba(29, 45, 79, 0.4), transparent);
    animation-duration: 10s;
    animation-delay: 2s;
}

/* Advanced button styles */
.btn-modern {
    position: relative;
    background: linear-gradient(135deg, var(--primary-red), var(--accent-orange));
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.btn-modern:hover::before {
    left: 100%;
}

.btn-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(213, 38, 56, 0.4);
}

/* Scroll reveal animations */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease;
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* Modern loading spinner */
.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(253, 139, 0, 0.3);
    border-left: 4px solid var(--accent-orange);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Gradient borders */
.gradient-border {
    position: relative;
    background: white;
    border-radius: 20px;
    padding: 2px;
}

.gradient-border::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 2px;
    background: linear-gradient(135deg, var(--primary-red), var(--accent-orange), var(--accent-yellow));
    border-radius: inherit;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: xor;
    -webkit-mask-composite: xor;
}

/* Smooth scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary-red), var(--accent-orange));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-yellow));
}

/* Custom selection */
::selection {
    background: var(--primary-red);
    color: white;
}

::-moz-selection {
    background: var(--primary-red);
    color: white;
}

/* Focus styles */
input:focus,
textarea:focus,
button:focus {
    outline: 2px solid var(--accent-orange);
    outline-offset: 2px;
}

/* Print styles */
@media print {

    .navbar,
    .floating-action-btn,
    .scroll-indicator {
        display: none !important;
    }

    body {
        font-size: 12pt;
        line-height: 1.4;
        color: black;
    }

    .hero-title {
        font-size: 24pt;
        color: black;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes slowRotate {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes shimmer {
    0% {
        transform: scaleX(0);
        opacity: 0;
    }

    50% {
        transform: scaleX(1);
        opacity: 1;
    }

    100% {
        transform: scaleX(0);
        opacity: 0;
    }
}

@keyframes shine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }

    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes morphBackground {

    0%,
    100% {
        border-radius: 50% 30% 70% 40%;
    }

    25% {
        border-radius: 30% 60% 40% 70%;
    }

    50% {
        border-radius: 60% 40% 30% 60%;
    }

    75% {
        border-radius: 40% 70% 60% 30%;
    }
}

.hero-title,
.hero-subtitle,
.hero-cta {
    animation: fadeInUp 1s ease forwards;
}

.hero-subtitle {
    animation-delay: 0.2s;
}

.hero-cta {
    animation-delay: 0.4s;
}

/* Loading states */
.category-card,
.stat,
.feature {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.category-card:nth-child(1) {
    animation-delay: 0.1s;
}

.category-card:nth-child(2) {
    animation-delay: 0.2s;
}

.category-card:nth-child(3) {
    animation-delay: 0.3s;
}

.category-card:nth-child(4) {
    animation-delay: 0.4s;
}

/* Product Slider Section */
.featured-products {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.featured-products::before {
    content: '';
    position: absolute;
    top: 20%;
    right: -100px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(253, 139, 0, 0.1), transparent);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.featured-products .section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.products-slider-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 80px;
}

.slider-wrapper {
    overflow: hidden;
    border-radius: 20px;
}

.products-slider {
    display: flex;
    transition: transform 0.5s ease;
    gap: 2rem;
    /* Przywracamy gap */
    padding: 40px 0;
}

.product-slide {
    flex: 0 0 auto;
    /* Szerokość będzie ustawiana dynamicznie przez JavaScript */
}

.product-card-slider {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card-slider:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.product-image-slider {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.product-image-slider img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.product-card-slider:hover .product-image-slider img {
    transform: scale(1.05);
}

.product-overlay-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(29, 45, 79, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.product-card-slider:hover .product-overlay-slider {
    opacity: 1;
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.85rem;
}

.product-content-slider {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-category-slider {
    font-size: 0.8rem;
    color: var(--primary-red);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.product-title-slider {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.product-description-slider {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.4;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.product-price-slider {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-red);
    margin-bottom: 0.5rem;
}

.product-model-slider {
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 500;
}

.slider-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 10;
}

.slider-btn {
    background: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
    color: var(--primary-blue);
    font-size: 1.2rem;
    transform: translateY(-50%);
}

.slider-btn:hover {
    background: var(--primary-red);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.slider-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.slider-btn:disabled:hover {
    background: white;
    color: var(--primary-blue);
    transform: translateY(-50%);
}

.prev-btn {
    left: -80px;
}

.next-btn {
    right: -80px;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: rgba(29, 45, 79, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: var(--primary-red);
    transform: scale(1.2);
}

.slider-dot:hover {
    background: var(--accent-orange);
}

/* Responsive Design for Slider */
@media (max-width: 1400px) {
    .slider-controls {
        padding: 0 -40px;
    }

    .prev-btn {
        left: -40px;
    }

    .next-btn {
        right: -40px;
    }
}

@media (max-width: 768px) {
    .products-slider {
        gap: 1rem;
    }

    .featured-products {
        padding: 60px 0;
    }

    .featured-products .section-title {
        font-size: 2rem;
    }

    .slider-controls {
        padding: 0 -20px;
    }

    .prev-btn {
        left: -20px;
    }

    .next-btn {
        right: -20px;
    }

    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .slider-controls {
        display: none;
    }

    .products-slider-container {
        padding: 0 10px;
    }
}

/* Mobile Navigation Styles */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(35, 46, 72, 0.95);
        backdrop-filter: blur(10px);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        z-index: 1000;
        padding: 2rem 0;
    }

    .scrolled .nav-menu {
        background-color: rgba(255, 255, 255, 0.95);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 1rem 0;
    }

    .nav-link {
        font-size: 1.1rem;
        color: var(--white);
        padding: 0.5rem 1rem;
        display: block;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}


.navbar.scrolled .nav-link {
    color: var(--primary-blue);
}

.hero-title {
    font-size: 2rem;
}

.hero-subtitle {
    font-size: 1rem;
}

/* ==========================================
   PRODUCT PAGE STYLES
   ========================================== */

/* Product Hero */
.product-hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--navy-blue) 100%);
    color: white;
    padding: 6rem 0 3rem;
    position: relative;
}

.product-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('static/images/pattern.svg') repeat;
    opacity: 0.1;
    z-index: 1;
}

.product-hero .container {
    position: relative;
    z-index: 2;
}

.breadcrumb {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.breadcrumb a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.breadcrumb a:hover {
    opacity: 0.7;
}

/* Product Header */
.product-header {
    background: var(--primary-blue);
    color: var(--white);
    padding: 120px 0 60px;
    position: relative;
    overflow: hidden;
}

.product-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
            rgba(29, 45, 79, 0.9) 0%,
            rgba(47, 49, 54, 0.8) 100%);
    z-index: 1;
}

.product-header .container {
    position: relative;
    z-index: 2;
}

.product-header .breadcrumb {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 1rem;
}

.product-header .breadcrumb a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.product-header .breadcrumb a:hover {
    color: var(--accent-orange);
}

/* Product Details Layout */
.product-details {
    padding: 60px 0;
    background: var(--white);
}

.product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    margin-bottom: 4rem;
}

/* Product Images */
.product-images {
    position: static;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main-image {
    position: relative;
    background: white;
    border-radius: 0;
    overflow: hidden;
    margin-bottom: 1rem;
    box-shadow: none;
    cursor: zoom-in;
    transition: all 0.4s ease;
}

.main-image:hover {
    transform: none;
    box-shadow: none;
}

.main-image img {
    width: 100%;
    height: 800px;
    object-fit: contain;
    cursor: zoom-in;
    transition: transform 0.4s ease;
    background: white;
    border: none;
    padding: 0;
}

.main-image:hover img {
    transform: scale(1.02);
}

.image-zoom-overlay {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 12px;
    border-radius: 50%;
    width: auto;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.main-image:hover .image-zoom-overlay {
    opacity: 1;
}

.image-thumbnails {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: flex-start;
    margin-top: 1rem;
    padding: 0;
    overflow: visible;
}

.thumbnail {
    flex-shrink: 0;
    width: 90px;
    height: 90px;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.thumbnail:hover {
    border-color: var(--accent-orange);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3);
}

.thumbnail.active {
    border-color: var(--primary-red);
    background: white;
    box-shadow: 0 4px 12px rgba(213, 38, 56, 0.2);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: white;
    border: none;
    padding: 5px;
}

/* Product Info */
.product-info {
    padding-left: 2rem;
}

.product-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.product-model {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-short-desc {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.product-price {
    margin-bottom: 2rem;
}

.price-header {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-red);
    display: block;
}

.price-note {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 0.5rem;
    display: block;
}

.product-features-preview {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid var(--primary-red);
}

.product-features-preview h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.features-list li {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    font-size: 0.95rem;
    background: rgba(29, 45, 79, 0.05);
    border-radius: 8px;
    border: none;
}

.features-list li:last-child {
    border-bottom: none;
}

.features-list li:before {
    content: '';
    margin-right: 0;
}

.features-list li i {
    color: var(--primary-red);
    margin-right: 0.75rem;
    font-size: 1rem;
    width: 16px;
    flex-shrink: 0;
}

.product-variants {
    margin-bottom: 2rem;
}

.product-variants h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.variants-list {
    display: grid;
    gap: 0.5rem;
}

.variant-item {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    background: var(--bg-white);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--text-dark);
    gap: 1.5rem;
}

.variant-item:hover {
    border-color: var(--primary-blue);
    background: rgba(25, 118, 210, 0.05);
    text-decoration: none;
    color: var(--text-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.variant-item.current {
    border-color: var(--primary-red);
    background: rgba(244, 67, 54, 0.05);
}

.variant-image {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    order: 2;
}

.variant-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.variant-info {
    flex: 1;
    min-width: 0;
    order: 1;
}

.variant-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin: 0 0 0.5rem 0;
}

.variant-model {
    font-size: 0.9rem;
    color: #666;
    margin: 0 0 0.5rem 0;
}

.variant-price {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-red);
    margin: 0 0 1rem 0;
}

.variant-info .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
    margin-top: 0.75rem;
    border-radius: 25px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #1565c0 100%);
    color: white;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(29, 45, 79, 0.2);
}

.variant-info .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(29, 45, 79, 0.3);
    background: linear-gradient(135deg, #1565c0 0%, var(--primary-blue) 100%);
    color: white;
    text-decoration: none;
}

.variant-info .btn::before {
    content: "👁️";
    font-size: 0.9rem;
}

.variant-color {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin-right: 0.75rem;
    border: 2px solid var(--border-color);
    flex-shrink: 0;
}

.variant-color.niebieski {
    background-color: #2196F3;
}

.variant-color.czerwony {
    background-color: #F44336;
}

.variant-color.czerwono-czarny {
    background: linear-gradient(90deg, #F44336 65%, #424242 35%);
}

.variant-color.czarno-czerwony {
    background: linear-gradient(90deg, #424242 65%, #F44336 35%);
}

.product-actions {
    margin-bottom: 2rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-large {
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    flex: 1;
    min-width: 200px;
}

/* Product Description Tabs */
.product-description-full {
    padding: 60px 0;
    background: #f8f9fa;
}

.content-tabs {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.tab-buttons {
    display: flex;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.tab-btn {
    flex: 1;
    padding: 1.25rem 2rem;
    background: none;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tab-btn:hover {
    color: var(--primary-blue);
    background: rgba(255, 255, 255, 0.5);
}

.tab-btn.active {
    color: var(--primary-red);
    background: white;
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-red);
}

.tab-content {
    padding: 3rem;
    min-height: 300px;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.product-description h3 {
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.product-description p {
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.specifications-list {
    margin: 0;
    padding: 0;
}

.specifications-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.specifications-table tbody tr {
    border-bottom: 1px solid #e9ecef;
}

.specifications-table tbody tr:last-child {
    border-bottom: none;
}

.specifications-table tbody tr:nth-child(even) {
    background: #f8f9fa;
}

.specifications-table tbody tr:hover {
    background: rgba(29, 45, 79, 0.05);
}

.specifications-table .spec-label {
    font-weight: 600;
    color: var(--primary-blue);
    padding: 15px 20px;
    width: 40%;
    vertical-align: middle;
    border-right: 1px solid #e9ecef;
}

.specifications-table .spec-value {
    color: var(--text-dark);
    padding: 15px 20px;
    vertical-align: middle;
}

/* Related Products */
.related-products {
    padding: 60px 0;
    background: var(--white);
}

.related-products .section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-blue);
    font-size: 2.2rem;
    font-weight: 700;
}

.related-products .products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.product-description {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-dark);
}

.specifications-list {
    display: grid;
    gap: 1rem;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.spec-label {
    font-weight: 600;
    color: var(--primary-blue);
}

.spec-value {
    color: var(--text-dark);
}

/* Related Products */
.related-products {
    padding: 4rem 0;
    background: #f8f9fa;
}

.related-products .section-title {
    text-align: center;
    margin-bottom: 3rem;
}

/* Reuse existing product-card-slider styles for related products */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

/* Modals */
.zoom-modal,
.quote-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
}

.zoom-modal-content {
    position: relative;
    margin: auto;
    padding: 0;
    width: 90%;
    max-width: 800px;
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
}

.zoom-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
}

.zoom-close:hover,
.zoom-close:focus {
    color: #bbb;
}

#zoomed-image {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
}

.zoom-navigation {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    z-index: 1001;
}

.zoom-nav {
    background: rgba(255, 255, 255, 0.8);
    border: none;
    font-size: 24px;
    padding: 0.5rem 1rem;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.zoom-nav:hover {
    background: white;
}

.quote-modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
}

.quote-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    border-bottom: 1px solid #e9ecef;
}

.quote-close {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.quote-close:hover,
.quote-close:focus {
    color: black;
}

.quote-modal-body {
    padding: 2rem;
    overflow-y: auto;
    flex: 1;
    min-height: 0;
}

.product-summary {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.quote-product-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 10px;
    background: white;
}

.quote-product-info h4 {
    margin: 0 0 0.5rem 0;
    color: var(--primary-blue);
    font-size: 1.1rem;
}

.quote-product-info p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

/* Quote Form Styles */
.quote-form {
    margin: 0;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.quote-form .form-group {
    margin-bottom: 1rem;
}

.quote-form .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary-blue);
    font-size: 0.9rem;
}

.quote-form .form-group input,
.quote-form .form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    font-family: inherit;
    background: white;
    box-sizing: border-box;
}

.quote-form .form-group input:focus,
.quote-form .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-red);
    box-shadow: 0 0 0 3px rgba(213, 38, 56, 0.1);
}

.quote-form .form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
    margin-top: 1.5rem;
}

.form-actions .btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-actions .btn-secondary {
    background: #6c757d;
    color: white;
}

.form-actions .btn-secondary:hover {
    background: #5a6268;
}

.form-actions .btn-primary {
    background: var(--primary-red);
    color: white;
}

.form-actions .btn-primary:hover {
    background: #b8212e;
    transform: translateY(-1px);
}

/* Form Messages */
.form-message {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-weight: 500;
    animation: slideInDown 0.3s ease-out;
}

.form-message i {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.form-message-success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message-success i {
    color: #28a745;
}

.form-message-error {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.form-message-error i {
    color: #dc3545;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Spinner animation for submit button */
.fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Mobile responsive for form */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .form-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    /* Warianty na mobile */
    .variant-item {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem 1rem;
    }
    
    .variant-image {
        width: 140px;
        height: 140px;
        margin-bottom: 1rem;
        order: 1;
    }
    
    .variant-info {
        order: 2;
    }
    
    .variant-info .btn {
        width: 100%;
    }
}

/* ==========================================
   CATEGORY PAGE STYLES
   ========================================== */

/* Page Header for Category Pages */
.page-header {
    background: var(--primary-blue);
    color: white;
    padding: 120px 0 80px;
    position: relative;
    margin-top: 0;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
            rgba(29, 45, 79, 0.9) 0%,
            rgba(47, 49, 54, 0.8) 100%);
    z-index: 1;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header .breadcrumb {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.page-header .breadcrumb a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-header .breadcrumb a:hover {
    color: var(--accent-orange);
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.page-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin: 0;
    max-width: 600px;
}

/* Category Description */
.category-description {
    padding: 80px 0;
    background: white;
}

.description-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.description-text h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
}

.description-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.feature-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0;
    background: none;
    border-radius: 0;
    box-shadow: none;
    font-size: 1rem;
    color: var(--text-dark);
}

.feature-item i {
    color: var(--primary-red);
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

.feature-item span {
    font-weight: 500;
    color: var(--text-dark);
}

.description-image {
    text-align: center;
}

.description-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* Products Catalog */
.products-catalog {
    padding: 80px 0;
    background: #f8f9fa;
}

.filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    flex-wrap: wrap;
    gap: 1rem;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-group label {
    font-weight: 600;
    color: var(--primary-blue);
    white-space: nowrap;
}

.filter-group select {
    padding: 10px 15px;
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    background: white;
    font-size: 1rem;
    color: var(--text-dark);
    cursor: pointer;
    transition: border-color 0.3s ease;
    min-width: 150px;
}

.filter-group select:focus {
    outline: none;
    border-color: var(--primary-red);
}

.search-group {
    position: relative;
    flex: 1;
    max-width: 300px;
    display: flex;
    align-items: center;
}

.search-group i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--light-gray);
    z-index: 2;
}

.search-group input {
    width: 100%;
    padding: 10px 15px 10px 45px;
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.search-group input:focus {
    outline: none;
    border-color: var(--primary-red);
}

/* Loading State */
.loading-products {
    text-align: center;
    padding: 4rem 0;
    color: var(--text-light);
}

.loading-products i {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-red);
}

/* Quick View Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 90%;
    margin: 1rem;
    background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 2rem;
    border-radius: 20px;
    width: 90%;
    max-width: 800px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    max-height: 80vh;
    overflow-y: auto;
}

.modal .close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
}

.modal .close:hover,
.modal .close:focus {
    color: black;
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */

@media (max-width: 768px) {
    .product-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .product-images {
        position: relative;
        top: auto;
    }

    .main-image {
        height: auto;
    }

    .main-image img {
        height: 400px;
    }

    .product-info {
        padding: 1.5rem;
        padding-left: 1.5rem;
    }

    .product-title {
        font-size: 2rem;
    }

    /* Features list on mobile */
    .features-list {
        grid-template-columns: 1fr;
    }

    /* Category Pages Mobile */
    .page-header {
        padding: 100px 0 60px;
    }

    .page-title {
        font-size: 2.5rem;
    }

    .page-subtitle {
        font-size: 1rem;
    }

    .category-description {
        padding: 60px 0;
    }

    .description-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .description-text h2 {
        font-size: 1.8rem;
    }

    .feature-highlights {
        grid-template-columns: 1fr;
    }

    .filter-bar {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }

    .filter-group {
        justify-content: space-between;
    }

    .search-group {
        max-width: none;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }

    .tab-buttons {
        flex-direction: column;
    }

    .tab-btn {
        text-align: left;
    }

    /* Specifications table on mobile */
    .specifications-table .spec-label {
        width: 50%;
        padding: 12px 15px;
               font-size: 0.9rem;
    }

    .specifications-table .spec-value {
        padding: 12px 15px;
        font-size: 0.9rem;
    }

    .quote-modal-content,
    .modal-content {
        width: 95%;
        margin: 5% auto;
        max-height: 90vh;
    }
    
    .quote-modal-body {
        padding: 1.5rem;
    }

    .zoom-modal-content {
        width: 95%;
    }

    .zoom-navigation {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .product-hero {
        padding: 5rem 0 2rem;
    }

    .product-details {
        padding: 2rem 0;
    }

    .products-catalog {
        padding: 2rem 0;
    }

    .category-description {
        padding: 1.5rem 0;
    }

    .product-description-full {
        padding: 2rem 0;
    }

    .related-products {
        padding: 2rem 0;
    }

    .product-info {
        padding: 1rem;
    }

    .content-tabs,
    .tab-content {
        padding: 1rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }
}


