* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Zmienne CSS */
:root {
    --primary-color: #0160a3;
    --secondary-color: rgb(36, 150, 243);
    --accent-color: #ffde21;
    --dark-color: #0160a3;
    --light-color: #f9ffff;
    --gray-color: #eceff1;
    --transition: transform 0.3s ease, box-shadow 0.3s ease;
    --shadow: 0 2px 2px rgba(0, 0, 0, 0.08);
    --border-radius: 5px;
    --vh: 1vh; /* Stabilna wysokość viewport, aktualizowana przez JS */
}

/* Podstawowe style */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Pasek postępu przewijania */
.scroll-indicator {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.progress-container {
    width: 100%;
    height: 4px;
    background: transparent;
}

.progress-bar {
    height: 4px;
    background: var(--primary-color);
    width: 0;
}

/* Przycisk do przewijania w górę */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, background-color 0.3s ease;
    z-index: 999;
}

.scroll-top.active {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background-color: var(--secondary-color);
}

.scroll-top svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
}

/* Pasek nawigacyjny */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 15px 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
}
.logo span{
    display: block;
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--dark-color);
    margin-top: -10px;
}
.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: var(--dark-color);
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
    border-radius: 3px;
    transform: translateX(-50%);
}

.nav-menu a:hover::after, .nav-menu a.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: var(--transition);
    background-color: var(--dark-color);
}

/* Stopka */
.footer {
    background-color: var(--dark-color);
    color: white;
    padding: 80px 0 20px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Nadpisanie stylów hero-product */
.hero-product {
    position: relative;
    min-height: 100vh;
    min-height: calc(var(--vh, 1vh) * 100); /* Stabilna wysokość dla mobile */
        background: linear-gradient(120deg, rgb(13 112 187), rgb(1 97 164), rgb(166, 207, 218), rgb(255, 255, 255));
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-product::before {
    content: '';
    position: absolute;
    top: 0;
    right: 100px;
    width: calc(100% - 100px);
    height: 100%;
    background: var(--hero-bg-image);
    background-repeat: no-repeat;
    background-position: bottom right;
    background-attachment: fixed;
    z-index: 1;
    transform: scale(1.1);
    animation: slowZoom 20s ease-in-out infinite alternate;
}

@keyframes slowZoom {
    0% { transform: scale(1.1); }
    100% { transform: scale(1.15); }
}

.hero-product-container {
    max-width: 1400px;
    width: calc(100% - 80px);
    margin: 0 auto;
    padding: 0 40px;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* Lewa kolumna - Informacje główne */
.hero-product-content-left {
    width: 100%;
    display: grid;
    gap: 20px;
}

.product-hero-title {
    color: white;
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out;
    text-align: left;
}

.product-hero-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.4rem;
    font-weight: 400;
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out 0.2s both;
    text-align: left;
}
.product-hero-desc-items p{
     font-size: 1rem;   
}

/* Prezentacja ceny w hero */
.price-container {
    position: relative;
    padding: 5px 0px;
    z-index: 12;
    margin-top: -90px;
    width: 100%;
}
.price-container-price-value {
    width: 400px;
    position: relative;
    color: white;
    font-size: 1rem;
    font-weight: 400;
    margin: 20px auto 10px auto;
    text-align: center;
}
.price-container-price-desc {
    width: 400px;
    position: relative;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.7rem;
    line-height: 1.5;
    font-weight: 400;
    margin: 0px auto 0px auto;
    text-align: center;
}

.product-hero-cta {
    display: flex;
    gap: 0px 20px;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.btn-hero-primary {
    background: linear-gradient(135deg, #0160a3, #2493f3);
    color: white;
    padding: 20px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 400;
    font-size: 1.1rem;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(1, 96, 163, 0.3);
    border: 2px solid transparent;
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(1, 96, 163, 0.4);
    background: transparent;
    border-color: white;
    color: white;
}

.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 20px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 400;
    font-size: 1.1rem;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.6);
}

.product-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    max-width: 440px;
    width: 100%;
    transition: all 0.4s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 35px 70px rgba(0, 0, 0, 0.3);
}

.product-image-container {
    background: transparent;
    padding: 0;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.product-image-box {
    border-radius: 16px;
    overflow: hidden;
}

.product-image-box img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-image-box:hover img {
    transform: scale(1.05);
}

.zoom-overlay {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: white;
}

.product-image-box:hover .zoom-overlay {
    opacity: 1;
}

.zoom-overlay span {
    display: none;
}

.product-price-container {
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    border: none;
    border-radius: 12px;
    padding: 5px 25px;
    text-align: center;
    margin-bottom: 10px;
}

.price-label {
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 8px;
    font-weight: 400;
}

.price-value {
    color: #0160a3;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.product-price-desc {
    color: #64748b;
    font-size: 0.85rem;
    line-height: 1.5;
}

.product-quick-info {
    color: #4a5568;
    font-size: 0.95rem;
    line-height: 1.6;
    text-align: center;
}

/* Sekcja szczegółów produktu */
.product-details-section {
    background: white;
    padding: 20px 0;
    position: relative;   
}
.product-details-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.product-description {
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    border: none;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* Style nagłówków h2 - zgodne z .section-header h2 ze strony głównej */
h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: var(--dark-color);
    position: relative;
    display: inline-block;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-align: center;
    width: 100%;
}

.product-description h2 {
    color: #1a202c;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
}

.product-description p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #4a5568;
    margin-bottom: 50px;
    text-align: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.feature-card {
    background: #f8fafc;
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: #0160a3;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0160a3, #2493f3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 1.5rem;
}

.feature-card h3 {
    color: #1a202c;
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 15px;
}

.feature-card p {
    color: #64748b;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* Animacje */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Menu mobilne - identyczne jak w style.css */
@media (max-width: 910px) {
    .hamburger {
        display: block !important;
        cursor: pointer;
    }

    .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);
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        gap: 0;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
        z-index: 1001;
    }

    .nav-menu.active {
        left: 0 !important;
        transform: translateX(0) !important;
    }

    .nav-menu li {
        margin: 15px 0;
    }

    .nav-menu a {
        color: var(--dark-color);
    }
}

/* Responsywność */

/* Tablety z wysokimi ekranami - ograniczenie wysokości hero */
@media (min-width: 768px) and (max-width: 1024px) and (min-height: 900px) {
    .hero-product {
        min-height: 80vh;
        min-height: calc(var(--vh, 1vh) * 80);
    }
}

/* Bardzo wysokie tablety - jeszcze większe ograniczenie */
@media ((max-width: 1024px) and (min-height: 800px)) {
    .hero-product {
        min-height: 50vh;
        max-height: calc(var(--vh, 1vh) * 70);
    }
}

@media (max-width: 1024px) {
    .standard-equipment-container {
        max-width: 1024px;
        padding: 0px 20px;
        margin: 10px auto;
    }
    .hero-product-container {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }
    
    .product-hero-title {
        font-size: 3rem;
        text-align: center;
    }

    .product-hero-subtitle {
        text-align: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .btn-hero-secondary {
        background: white;
        color: black;
    }
    
    .product-hero-price-container {
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    }
    .product-hero-cta {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero-product {
        padding: 120px 0 60px;
    }
    
    .hero-product::before {
        background-position: bottom center;
    }
    
    .hero-product-container {
        padding: 0 20px;
        gap: 40px;
    }
    
    .product-hero-title {
        font-size: 2.5rem;
    }
    
    .product-hero-subtitle {
        font-size: 1.2rem;
    }
    
    .product-hero-cta {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        max-width: 300px;
        text-align: center;
        margin-bottom: 5px;
    }
    
    .btn-hero-secondary {
        background: white;
        color: black;
    }
    
    .product-card {
        padding: 30px 20px;
    }
    
    .product-hero-price-container {
        width: calc(100% - 50px - 20px);
        padding: 20px 25px;
        margin: 0 auto;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
        background: linear-gradient(135deg, #0160a3, #2493f3);
    }
    
    .hero-price-value {
        font-size: 1.8rem;
    }

    .hero-price-value{
        font-size: 1rem;
    }

    .hero-price-label,
    .hero-price-desc {
        font-size: 0.85rem;
    }
    
    .product-details-container {
        padding: 0 20px;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    .product-description h2 {
        font-size: 2.2rem;
    }
}
