:root {
    --primary: #00f0ff;
    --primary-dark: #00a6b3;
    --secondary: #7b2cbf;
    --accent: #e100ff;
    --accent2: #7209b7;
    --accent3: #3a0ca3;
    --accent4: #4361ee;
    --accent5: #4cc9f0;
    --dark: #0a0a0a;
    --darker: #050505;
    --light: #f8f9fa;
    --gray: #2a2a2a;
    --light-gray: #4a4a4a;
    --success: #4cc9f0;
    --danger: #ff2d75;
    --warning: #ff9e1e;
    --led-glow: 0 0 10px var(--primary), 0 0 20px rgba(0, 240, 255, 0.5);
    --led-glow-purple: 0 0 10px var(--accent), 0 0 20px rgba(225, 0, 255, 0.5);
    --led-glow-blue: 0 0 10px var(--accent3), 0 0 20px rgba(58, 12, 163, 0.5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', system-ui, -apple-system, sans-serif;
    background: var(--darker);
    color: white;
    min-height: 100vh;
    overflow-x: hidden;
}

/* LED Border Effect */
.led-border {
    position: fixed;
    pointer-events: none;
    z-index: 1000;
}

.led-border-top {
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent3), var(--primary), var(--accent), transparent);
    background-size: 300% 100%;
    box-shadow: var(--led-glow), var(--led-glow-purple), var(--led-glow-blue);
    top: 0;
    animation: flowHorizontal 30s linear infinite;
}

.led-border-bottom {
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent), var(--primary), var(--accent3));
    background-size: 300% 100%;
    box-shadow: var(--led-glow), var(--led-glow-purple), var(--led-glow-blue);
    bottom: 0;
    animation: flowHorizontalReverse 30s linear infinite;
}

.led-border-left {
    height: 100%;
    width: 3px;
    background: linear-gradient(0deg, transparent, var(--accent), var(--primary), var(--accent3));
    background-size: 100% 300%;
    box-shadow: var(--led-glow), var(--led-glow-purple), var(--led-glow-blue);
    left: 0;
    animation: flowVertical 30s linear infinite;
}

.led-border-right {
    height: 100%;
    width: 3px;
    background: linear-gradient(0deg, var(--accent3), var(--primary), var(--accent), transparent);
    background-size: 100% 300%;
    box-shadow: var(--led-glow), var(--led-glow-purple), var(--led-glow-blue);
    right: 0;
    animation: flowVerticalReverse 30s linear infinite;
}

@keyframes flowHorizontal {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 300% 50%;
    }
}

@keyframes flowHorizontalReverse {
    0% {
        background-position: 300% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes flowVertical {
    0% {
        background-position: 50% 0%;
    }
    100% {
        background-position: 50% 300%;
    }
}

@keyframes flowVerticalReverse {
    0% {
        background-position: 50% 300%;
    }
    100% {
        background-position: 50% 0%;
    }
}


/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 30px;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    z-index: 100;
    border-bottom: 1px solid rgba(0, 240, 255, 0.2);
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.logo span {
    color: var(--primary);
}

.logo i {
    margin-right: 10px;
    color: var(--primary);
}

.logo:hover {
    transform: scale(1.05);
    text-shadow: 0 0 15px var(--primary);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary);
    text-shadow: 0 0 10px var(--primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
    box-shadow: var(--led-glow);
}

.nav-links a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 24px;
    transition: all 0.3s ease;
}

.menu-toggle:hover {
    color: var(--primary);
    transform: scale(1.1);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(0, 240, 255, 0.1) 0%, transparent 50%);
    z-index: -1;
    animation: pulse 15s infinite alternate;
}

@keyframes pulse {
    0% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
    }
    100% {
        opacity: 0.3;
        transform: scale(1.1);
    }
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: fadeInDown 1s ease;
}

.hero h1 span {
    color: var(--primary);
    position: relative;
}

.hero h1 span::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary);
    box-shadow: var(--led-glow);
    animation: widthGrow 1.5s ease;
}

@keyframes widthGrow {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

.hero p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 800px;
    color: rgba(255, 255, 255, 0.8);
    animation: fadeInUp 1s ease 0.3s both;
}

.hero-buttons {
    animation: fadeInUp 1s ease 0.6s both;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary);
    color: var(--dark);
    font-weight: 600;
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.5);
    position: relative;
    overflow: hidden;
}

.btn:hover {
    background: white;
    transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.8);
}

.btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.3), transparent);
    transform: rotate(45deg);
    transition: all 0.5s ease;
    opacity: 0;
}

.btn:hover::before {
    opacity: 1;
    animation: shine 1.5s;
}

@keyframes shine {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    margin-left: 15px;
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--dark);
}

/* Features Section */
.section {
    padding: 100px 50px;
    position: relative;
}

.section-title {
    text-align: center;
    margin: 0 auto 60px; /* Dodaj auto dla marginesów bocznych */
    font-size: 36px;
    font-weight: 700;
    position: relative;
    display: block; /* Zamiast inline-block */
    
}

.section-title span {
    color: var(--primary);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--primary));
    box-shadow: var(--led-glow);
    transform: scaleX(0);
    transform-origin: left;
    animation: sectionUnderline 1s ease 0.5s forwards;
}

@keyframes sectionUnderline {
    from {
        transform: scaleX(0);
    }
    to {
        transform: scaleX(1);
    }
}
/* style.css */

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 kolumny */
    gap: 30px;
    max-width: 1200px; /* ograniczenie szerokości */
    margin: 0 auto; /* wyśrodkowanie */
}
@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }
}

/* 2 kolumny na tabletach */
@media (min-width: 993px) and (max-width: 1200px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
.hero {
    position: relative;
    overflow: hidden;
    background: rgba(0,0,0,0.7); /* Ciemny overlay dla lepszej czytelności tekstu */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/tlo_main.jpg');
    background-size: cover;
    background-position: center;
    filter: blur(2px);
    z-index: -1;
    opacity: 0.9;
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 40px 20px;
}
/* Gallery Styles */
.gallery-section {
    background: var(--darker);
    padding: 100px 20px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
    aspect-ratio: 16/9;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.4);
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid var(--primary);
}
/* Podgląd galerii */
.gallery-preview {
    background: var(--darker);
}

.preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto 30px;
}

.preview-item {
    height: 200px;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    background-size: cover;
    background-position: center;
}
/* html {
    scroll-behavior: smooth;
} */

.preview-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.4);
}
.gallery-preview {
    text-align: center;
}

.preview-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    color: var(--primary);
    text-align: center;
}
.video-item iframe,
.video-item video {
    width: 100%;
    height: 100%;
    border: 2px solid var(--primary);
    border-radius: 8px;
    cursor: pointer;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-caption {
    color: var(--primary);
    font-size: 1.1rem;
    text-align: center;
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

/* Lightbox Styles */
.lightbox-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

.lightbox-modal.active {
    display: flex;
}

.close-lightbox {
    position: absolute;
    top: 20px;
    right: 35px;
    color: var(--primary);
    font-size: 40px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10001;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
}

.close-lightbox:hover {
    transform: scale(1.2);
}

.lightbox-content {
    position: relative;
    max-width: 100%;
    max-height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbox-image {
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
    border: 3px solid var(--primary);
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.3);
}

.lightbox-video {
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
    border: 3px solid var(--primary);
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.3);
}

/* Animacja pojawienia się lightboxa */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.lightbox-modal.active .lightbox-content {
    animation: fadeIn 0.3s ease forwards;
}

/* Style responsywne */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .lightbox-image,
    .lightbox-video {
        max-width: 95%;
        max-height: 80vh;
    }
    
    .close-lightbox {
        top: 10px;
        right: 20px;
        font-size: 30px;
    }
}

/* Dodatkowy efekt powrotu dla przycisku zamykania */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.close-lightbox {
    animation: pulse 2s infinite;
}

.close-lightbox:hover {
    animation: none;
}
.hero-content p{
    margin: 50px 30px 40px 120px;
}
.hero h1,
.hero p {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero h1 span {
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}
.nav-logo {
    height: 5rem; 
    width: auto;
    margin-right: 15px;
    transition: all 0.3s ease;
}

.logo:hover .nav-logo {
    transform: scale(1.1);
    filter: brightness(1.5);
}
.google-map {
    margin-top: 15px;
    border-radius: 10px;
    overflow: hidden;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.google-map iframe {
    border: 2px solid var(--primary);
    border-radius: 10px;
    max-width: 100%;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .google-map {
        margin-top: 10px;
        height: 180px;
    }
    
    .google-map iframe {
        height: 180px;
        width: 100%;
    } 
}
/* Responsywność */
@media (max-width: 992px) {
    .nav-logo {
        height: 35px;
        margin-right: 10px;
    }
    
    .logo span {
        font-size: 20px;
    }
}

@media (max-width: 576px) {
    .nav-logo {
        height: 30px;
    }
    
    .logo span {
        font-size: 18px;
    }
}
/* style.css */
@media (max-width: 767px) {
    .kontakt {
        margin-top: 0rem !important;
    }
    .google-map {
        margin-top: 15px;
        border-radius: 10px;
        overflow: hidden;
    }
    #partners{
        padding: 0px;
    }
    .hero {
        min-height: 80vh; /* Mniejsza wysokość na mobile */
        padding: 60px 15px;
    }

    .hero::before {
        filter: blur(4px); /* Mniejsze rozmycie dla wydajności */
        background-attachment: scroll; /* Fix dla iOS */
        opacity: 0.8;
    }

    .hero h1 {
        font-size: 2rem !important;
        line-height: 1.3;
        margin-bottom: 1.5rem;
    }
    @media (max-width: 1024px) {
        .preview-grid {
            flex-direction: column;
        }
    
        .preview-item {
            width: 80%;
            height: 180px;
        }
    }
    
    /* TELEFONY */
    @media (max-width: 768px) {
        .preview-item {
            width: 100%;
            height: 150px;
        }
    
        .btn-outline {
            width: 100%;
            font-size: 1em;
            padding: 8px 15px;
        }
    }
    @media (max-width: 1024px) {
        .gallery-preview .section-title {
            font-size: 2em;
        }
    }
    
    /* TELEFONY */
    @media (max-width: 768px) {
        .gallery-preview .section-title {
            font-size: 1.8em;
        }
    }
    
    /* Bardzo małe ekrany (np. starsze telefony) */
    @media (max-width: 480px) {
        .gallery-preview .section-title {
            font-size: 1.5em;
        }
    }
    .car-selection {
        display: flex;
        justify-content: center;
        gap: 15px;
        margin-bottom: 30px;
        flex-wrap: wrap;
    }
    
    /* TELEFONY */
    @media (max-width: 768px) {
        .car-selection {
            flex-direction: column; /* Ustawienie w kolumnie */
            align-items: center; /* Wyśrodkowanie */
            width: 100%;
        }
    
        .car-selection button {
            width: 80%; /* Przycisk na 80% szerokości ekranu */
            max-width: 300px; /* Maksymalna szerokość */
        }
    }
    
    .hero p {
        font-size: 1rem;
        line-height: 1.5;
        margin: 0;
        margin-bottom: 20px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .btn {
        width: 100%;
        padding: 15px;
    }

    /* Lepsza czytelność tekstu */
    .hero h1 span::after {
        bottom: -5px;
        height: 2px;
    }

    /* Optymalizacja obrazu tła */
    .hero::before {
        background-image: url('images/tlo_main.jpg'); 
        background-size: cover;
        background-position: 75% center; /* Lepsze kadrowanie */
    }
}
/* style.css */
.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: var(--gray);
    border-radius: 12px;
    transition: all 0.3s ease;
    min-width: 200px;
    max-width: 250px;
    flex: 1;
}

.partner-logo-img {
    width: 100%;
    height: auto;
    max-width: 180px;
    object-fit: contain;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.partner-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
}

.partner-logo:hover .partner-logo-img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

/* Responsywność */
@media (max-width: 1200px) {
    .partners-grid {
        gap: 30px;
    }
    
    .partner-logo {
        min-width: 160px;
        max-width: 200px;
    }
}

@media (max-width: 768px) {
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .partner-logo {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .partners-grid {
        grid-template-columns: 1fr;
    }
    
    .partner-logo-img {
        max-width: 140px;
    }
    .month-option{
        transform: scale(0.12);
    }
}

.feature-card {
    background: var(--gray);
    border-radius: 15px;
    padding: 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--light-gray);
    animation: fadeIn 0.5s ease both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 240, 255, 0.2);
    border-color: var(--primary);
}

/* .feature-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.1) 0%, transparent 70%);
    transform: rotate(30deg);
    transition: all 0.5s ease;
    opacity: 0;
} */

.feature-card:hover::before {
    opacity: 1;
    animation: ledFlow 3s linear infinite;
}

@keyframes ledFlow {
    0% {
        transform: rotate(30deg) translateX(-50%);
    }
    100% {
        transform: rotate(30deg) translateX(50%);
    }
}

.feature-icon {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 20px;
    transition: all 0.3s ease;
    display: inline-block; /* ważne dla transformacji */
}

.feature-card:hover .feature-icon {
    transform: scale(1.2) translateX(10px); /* Powiększenie + przesunięcie w prawo */
    text-shadow: 0 0 15px var(--primary);
}
.feature-icon {
    transition: 
        transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 1.5), /* spersonalizowana krzywa animacji */
        text-shadow 0.2s ease;
}
.feature-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-title {
    color: var(--primary);
}

.feature-desc {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* Portfolio Section */
.portfolio {
    background: var(--dark);
    position: relative;
}

.portfolio::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="none" stroke="%232a2a2a" stroke-width="0.5"/></svg>');
    opacity: 0.3;
    z-index: 0;
}

.portfolio-content {
    position: relative;
    z-index: 1;
    display: none;
}

.portfolio-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.portfolio-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    gap: 10px;
    flex-wrap: wrap;
}

.portfolio-tab {
    padding: 10px 25px;
    background: var(--gray);
    border: none;
    color: white;
    font-weight: 500;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.portfolio-tab:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 240, 255, 0.2);
}

.portfolio-tab.active {
    background: var(--primary);
    color: var(--dark);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.5);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.portfolio-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 250px;
    transition: all 0.3s ease;
    animation: fadeIn 0.5s ease both;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-item:hover {
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.5);
    transform: translateY(-5px);
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 50%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-item-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--primary);
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.portfolio-item-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

/* Portfolio Single Page */
.portfolio-single {
    padding: 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
    animation: fadeIn 0.5s ease;
}

.portfolio-single-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.portfolio-single-image {
    border-radius: 10px;
    overflow: hidden;
    height: 250px;
    transition: all 0.3s ease;
}

.portfolio-single-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 240, 255, 0.3);
}

.portfolio-single-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-single-image:hover img {
    transform: scale(1.05);
}

.back-button {
    display: inline-block;
    margin-bottom: 30px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 10px 20px;
    border-radius: 30px;
    border: 2px solid var(--primary);
}

.back-button:hover {
    text-shadow: 0 0 10px var(--primary);
    background: rgba(0, 240, 255, 0.1);
}

.back-button i {
    margin-right: 10px;
}

/* Partners Section */
.partners-section {
    background: var(--dark);
    padding: 80px 20px;
    text-align: center;
}

@media (max-width: 429px) {
    .partners-section .partners-grid {
      gap: 0.5rem;
    }
    
    .partners-section .partner-logo {
      min-width: 80px;
      padding: 0.75rem;
    }
    
    .partners-section .partner-logo i {
      font-size: 1.5rem;
    }
    
    .partners-section .partner-logo span {
      font-size: 0.9rem;
    }
  }



  .promo .feature-card {
        background: #0a0a0a;
        border-radius: 15px;
        padding: 30px;
        max-width: 380px;
        color: white;
        position: relative;
        overflow: hidden;
        transition: all 0.3s ease;
        border: 1px solid #4a4a4a;
         transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 240, 255, 0.4);
    border-color: #00f0ff;
    animation: 
        ledFlow 3s linear infinite,
    }

    .promo .feature-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(0, 240, 255, 0.4);
        border-color: #00f0ff;
    }



    .promo .feature-icon {
        font-size: 50px;
        color: #00f0ff;
        margin-bottom: 20px;
        text-align: center;
        transition: all 0.5s ease;
    }


    .promo .feature-title {
        font-size: 26px;
        font-weight: 700;
        margin-bottom: 5px;
        text-align: center;
        color: #00f0ff;
        text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
        animation: moneyFloat 2s ease-in-out infinite;
        text-shadow: 0 0 20px #00f0ff;
    }
    .discount-badge {
        background: var(--danger);
        color: white;
        padding: 2px 8px;
        border-radius: 12px;
        font-size: 12px;
        font-weight: 600;
    }
    .promo .price-subtitle {
        font-size: 16px;
        color: rgba(255, 255, 255, 0.8);
        text-align: center;
        margin-bottom: 20px;
        font-weight: 500;
    }

    .promo .feature-desc {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin: 15px 0;
    }
    
    .promo .feature-desc strong,
    .promo .feature-desc p {
        display: block;
        width: 100%;
    }

    .promo .promo-container {
margin: 0 auto 20px;
width: 90%;
max-width: 400px;
display: flex;
flex-direction: column;
align-items: center;
}
.promo{
    display: flex;
    justify-content: center; /* Wyśrodkowanie w poziomie */
    align-items: center; /* Wyśrodkowanie w pionie */
    width: 100%;
    padding: 40px 20px;

}
.promo .promo-badge {
        background: linear-gradient(135deg, #FF9E1E 0%, #FF2D75 100%);
        color: white;
        padding: 10px 20px;
        border-radius: 30px;
        font-size: 14px;
        font-weight: 700;
        display: inline-block;
        margin: 0 auto 15px auto;
        text-align: center;
        animation: pulse 1.5s infinite;
        box-shadow: 0 4px 15px rgba(255, 46, 117, 0.3);
    }

    .promo .promo-list {
        text-align: left;
        margin: 15px 0;
        padding-left: 20px;
    }

    .promo .promo-list li {
        margin-bottom: 10px;
        position: relative;
        list-style-type: none;
    }

    .promo .promo-list li:before {
        content: '✓';
        color: #00f0ff;
        font-weight: bold;
        position: absolute;
        left: -20px;
    }

    .promo .feature-footer {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
        margin-top: 20px;
    }

    .promo .feature-footer span {
        display: inline-block;
        padding: 8px 15px;
        background: rgba(0, 240, 255, 0.15);
        border-radius: 20px;
        font-size: 12px;
        font-weight: 600;
        color: rgba(255, 255, 255, 0.9);
        transition: all 0.3s ease;
    }

    .promo .feature-card .feature-footer span {
        background: rgba(0, 240, 255, 0.3);
        color: white;
        transform: translateY(-3px);
    }

    @keyframes ledFlow {
        0% { transform: rotate(30deg) translateX(-50%); }
        100% { transform: rotate(30deg) translateX(50%); }
    }

    @keyframes moneyFloat {
        0%, 100% { transform: translateY(0) rotate(-5deg); }
        50% { transform: translateY(-10px) rotate(5deg) scale(1.1); }
    }

    @keyframes pulse {
        0% { transform: scale(1); box-shadow: 0 4px 15px rgba(255, 46, 117, 0.3); }
        50% { transform: scale(1.05); box-shadow: 0 6px 20px rgba(255, 46, 117, 0.5); }
        100% { transform: scale(1); box-shadow: 0 4px 15px rgba(255, 46, 117, 0.3); }
    }


.partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
}

.partner-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s ease;
    color: white;
    text-decoration: none;
    flex: 1;
    min-width: 150px;
    animation: fadeIn 0.5s ease both;
}

.partner-logo i {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
    transition: all 0.3s ease;
}

.partner-logo span {
    font-size: 1.2rem;
    font-weight: 500;
    transition: all 0.3s ease;
    text-align: center;
}

.partner-logo:hover i {
    transform: scale(1.1);
    text-shadow: 0 0 15px var(--primary);
}

.partner-logo:hover span {
    color: var(--primary);
    text-shadow: 0 0 10px var(--primary);
}

/* Pricing Section */
.pricing {
    background: var(--darker);
}
.pricing body {
    font-family: 'Poppins', system-ui, -apple-system, sans-serif;
    background: #f5f7fa;
    color: var(--dark);
    min-height: 100vh;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.configurator-container {
    max-width: 1000px;
    width: 100%;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    padding: 30px;
}

.main-title { 
    text-align: center;
    margin-bottom: 25px;
    font-size: 24px;
    font-weight: 700;
    color: #00f0ff;
}

/* Price Type Selection Styles */
.price-type-selection-container {
    text-align: center;
    margin-bottom: 20px;
}

.price-type-selection-container .section-title1 { 
    font-size: 24px; 
    font-weight: 700; 
    color: white;
    margin-bottom: 15px; 
    margin-top: 15px;
    text-align: center;
}

.price-type-options {
    display: flex;
    justify-content: center;
    gap: 12px; 
    margin-bottom: 25px; 
}

.price-type-option {
    padding: 14px 22px; 
    color: #00f0ff;
    border-radius: 10px; 
    font-weight: 600;
    font-size: 14px; 
    cursor: pointer;
    transition: all 0.25s ease-in-out;
    text-align: center;
    border: 1px solid #e0e0e0;
    background-color: rgba(67,97,238,0.07);
    color: #00f0ff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    flex-grow: 0; 
    flex-shrink: 1; 
    flex-basis: 185px; 
    min-width: 165px; 
    white-space: nowrap; 
}

.price-type-option:hover {
    border-color: var(--accent); 
    box-shadow: 0 4px 10px rgba(72, 149, 239, 0.15); 
    transform: translateY(-3px); 
    background-color: #f8f9fa; 
}

.price-type-option.active {
    border-color: var(--primary); 
    background: rgba(67,97,238,0.07); 
    color: var(--primary); 
    box-shadow: 0 4px 12px rgba(67,97,238,0.18); 
    transform: translateY(-3px); 
    font-weight: 700; 
}


.car-selection {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.car-option {
    padding: 14px 22px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease-in-out;
    text-align: center;
    border: 1px solid #e0e0e0;
    background-color: #ffffff;
    color: var(--dark);
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    flex-grow: 0;
    flex-shrink: 1;
    flex-basis: 185px; 
    min-width: 155px; 
    white-space: nowrap;
}

.car-option:hover {
    border-color: var(--accent);
    box-shadow: 0 4px 10px rgba(72, 149, 239, 0.15);
    transform: translateY(-3px);
}

.car-option.active {
    border-color: var(--primary);
    background: rgba(67,97,238,0.07);
    color: var(--primary);
    box-shadow: 0 4px 12px rgba(67,97,238,0.18);
    transform: translateY(-3px);
    font-weight: 700;
}


.month-options {
    display: flex;
    gap: 20px;
    justify-content: center; 
    flex-wrap: wrap; 
}

.month-option {
    background: white;
    border-radius: 10px;
    padding: 20px;
    border: 1px solid #e2e8f0;
    transition: opacity 0.3s ease-out, transform 0.3s ease-out; 
    flex: 1; 
    min-width: 280px; 
    max-width: 300px; 
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: visible;
    margin-top: 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    opacity: 1; 
    transform: scale(1) translateY(0); 
}

.month-option-enter {
    opacity: 0;
    transform: scale(0.98) translateY(5px); 
}


.month-option-header {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary);
    text-align: center;
}

.feature-list {
    margin: 15px 0;
    flex-grow: 1;
}

.feature-item {
    margin-bottom: 8px;
    font-size: 14px;
    display: flex;
    align-items: center;
}
.feature-item::before {
    content: '✓';
    color: var(--success);
    margin-right: 8px;
    font-weight: bold;
}


.display-count {
    font-size: 13px;
    color: #64748b;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed #e2e8f0;
}

.price-container {
    margin: 20px 0;
    text-align: center;
}

.original-price-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    min-height: 24px; 
}

.original-price {
    font-size: 15px;
    text-decoration: line-through;
    color: #94a3b8;
}

.discount-badge {
    background: var(--danger);
    color: white;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.discounted-price {
    font-size: 24px;
    font-weight: 800;
    margin: 5px 0;
    color: var(--dark);
}

.price-note {
    font-size: 13px;
    color: #64748b;
}

.promo-badge { 
    background: linear-gradient(135deg, var(--danger) 0%, var(--warning) 100%);
    color: white;
    padding: 8px 15px;
    border-radius: 20px 20px 20px 0;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 10px auto 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.promo-badge i {
    margin-right: 8px;
}

.ribbon {
    position: absolute;
    top: -6px;
    right: -6px;
    background: var(--warning);
    color: white;
    padding: 8px 15px;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 0 8px 0 8px;
}

.ribbon::after {
    content: "";
    position: absolute;
    bottom: -8px;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 8px 8px 0;
    border-color: transparent var(--warning) transparent transparent;
}


.btn-choose {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: none;
    background: var(--primary);
    color: white;
    font-weight: 600;
    font-size: 15px;
    margin-top: auto;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-choose:hover {
    background: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(67,97,238,0.2);
}

.highlight {
    border: 2px solid var(--accent);
    transform: scale(1.02);
    box-shadow: 0 8px 20px rgba(72, 149, 239, 0.15);
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    padding: 30px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transform: scale(0.95);
    transition: transform 0.3s ease;
}
.modal-overlay.active .modal-content {
    transform: scale(1);
}


.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #94a3b8;
    transition: color 0.2s ease;
}
.close-modal:hover {
    color: var(--dark);
}


.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 14px;
    color: #4a5568;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #cbd5e0;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(67,97,238,0.2);
}


.btn-submit {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: none;
    background: var(--primary);
    color: white;
    font-weight: 600;
    font-size: 16px;
    margin-top: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background: var(--secondary);
    transform: translateY(-1px);
}

.message-box-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.message-box-overlay.active {
    display: flex;
    opacity: 1;
}
.message-box-content {
    background: white;
    padding: 25px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}
.message-box-overlay.active .message-box-content {
     transform: scale(1);
}
.message-box-content p {
    margin-bottom: 20px;
    font-size: 16px;
    color: var(--dark);
}
.btn-message-ok {
    padding: 10px 25px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.2s ease;
}
.btn-message-ok:hover {
    background: var(--secondary);
}

/* Responsive adjustments for car options */
@media (max-width: 1024px) { 
    .car-option, .price-type-option {
        flex-basis: calc(33.333% - 8px); 
        min-width: 140px; 
    }
}


@media (max-width: 992px) {
    .car-option, .price-type-option { 
        flex-basis: 190px; 
    }
    .month-options {
        flex-direction: column;
        align-items: center;
    }
    .month-option {
        max-width: 450px;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .car-selection, .price-type-options { 
        gap: 10px;
    }
    .car-option, .price-type-option { 
        flex-basis: calc(50% - 5px);
        max-width: calc(50% - 5px);
        padding: 12px 18px;
        font-size: 13px;
    }
     .price-type-option { 
        min-width: 120px; 
    }
}

@media (max-width: 600px) {
    .configurator-container {
        padding: 20px;
    }
    .main-title, .price-type-selection-container .section-title1 { 
        font-size: 20px;
    }
    .price-type-options {
         gap: 10px; 
    }
    .price-type-option {
        padding: 12px 20px; 
        font-size: 13px;  
        flex-basis: calc(50% - 5px); 
        max-width: calc(50% - 5px);
    }
    .car-selection {
        gap: 8px;
    }
    .car-option {
        flex-basis: calc(50% - 4px);
        max-width: calc(50% - 4px);
        padding: 10px 12px;
        font-size: 12px;
        min-width: 110px;
    }
    .month-option {
        padding: 15px;
    }
    .month-option-header {
        font-size: 17px;
    }
    .discounted-price {
        font-size: 20px;
    }
    .promo-badge {
        font-size: 12px;
        padding: 7px 12px;
    }
    .modal-content {
        padding: 20px;
    }
    .form-group input, .form-group textarea {
        padding: 10px;
    }
    .btn-submit, .btn-choose {
        font-size: 14px;
        padding: 10px;
    }
}

@media (max-width: 480px) { 
    .car-selection, .price-type-options {
        flex-direction: column; 
        gap: 8px;
    }
    .car-option, .price-type-option {
        flex-basis: auto;
        width: 100%; 
        margin-bottom: 10px;
        padding: 12px;
        font-size: 13px;
        margin: auto;
    }
    .car-option:last-child, .price-type-option:last-child {
        margin-bottom: 0;
    }
}

@media (max-width: 900px) { 
    .ribbon {
        right: 0;
        font-size: 11px;
        padding: 6px 20px;
    }
    .ribbon::after {
         bottom: -6px;
         border-width: 0 6px 6px 0;
    }
}
.configurator-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    background: var(--gray);
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    padding: 0px;
    position: relative;
    border: 1px solid var(--light-gray);
    overflow: hidden;
}

.title {
    text-align: center;
    margin-bottom: 25px;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
    margin-top: 10px;
}

.car-selection {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.car-option {
    padding: 15px 25px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    flex: 1;
    max-width: 200px;
    min-width: 150px;
    border: 2px solid var(--light-gray);
    background: var(--dark);
    color: white;
}

.car-option:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 240, 255, 0.2);
}

.car-option.active {
    border-color: var(--primary);
    background: rgba(0, 240, 255, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 240, 255, 0.2);
    color: var(--primary);
}

.month-options-container {
    overflow-x: auto;
    padding-bottom: 20px;
    -webkit-overflow-scrolling: touch;
}

.month-options {
    display: flex;
    gap: 20px;
    justify-content: center;
    padding: 10px;
    min-width: max-content;
}
@media (max-width: 767px) {
    .kontakt {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 15px;
      margin-top: 2rem !important;
    }
  
    .contact-link {
      display: block;
      width: max-content;
      margin: 0 !important;
    }
    /* Główny kontener z opcjami miesięcy */
  }
  /* style.css */
/* Dodaj te style na końcu pliku */

/* Ukryj domyślny pasek przewijania na mobile */
@media (max-width: 768px) {
    .month-options-container::-webkit-scrollbar {
      display: none;
    }
    
    .month-options-container {
      -ms-overflow-style: none;  /* IE and Edge */
      scrollbar-width: none;  /* Firefox */
      padding-bottom: 0;
    }
  }
  
  .custom-scrollbar {
    display: none; /* Domyślnie ukryty */
  }
  
  @media (max-width: 768px) {
    .custom-scrollbar {
      display: block;
      height: 6px;
      background: var(--dark);
      border-radius: 3px;
      margin: 1em 10px;
      position: relative;
      
    }


  
    .scrollbar-thumb {
      height: 100%;
      background: var(--primary);
      border-radius: 3px;
      position: absolute;
      cursor: pointer;
      transition: width 0.3s, transform 0.3s;
    }
    
    .no-select {
      user-select: none;
      -webkit-user-select: none;
    }
  }
  @media (max-width: 768px) {
    .partners-grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .partner-logo {
        margin: 5px; /* Dodaje odstępy między elementami */
    }
}



.month-option {
    background: var(--dark);
    border-radius: 10px;
    padding: 20px;
    border: 1px solid var(--light-gray);
    transition: all 0.4s ease;
    min-width: 280px;
    max-width: 300px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: visible;
    margin-top: 20px;
    color: white;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.month-option:nth-child(1) {
    animation-delay: 0.1s;
}

.month-option:nth-child(2) {
    animation-delay: 0.3s;
}

.month-option:nth-child(3) {
    animation-delay: 0.5s;
}

.month-option-header {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary);
    text-align: center;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-list {
    margin: 15px 0;
    flex-grow: 1;
}

.feature-item {
    margin-bottom: 8px;
    font-size: 14px;
    min-height: 20px;
    color: rgba(255, 255, 255, 0.8);
}

.display-count {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 5px;
    min-height: 40px;
}

.price-container {
    margin: 20px 0;
    text-align: center;
}
.original-price-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.original-price {
    font-size: 15px;
    text-decoration: line-through;
    color: rgba(255, 255, 255, 0.4);
    height: 20px;
}

.discounted-price {
    font-size: 22px;
    font-weight: 800;
    margin: 5px 0;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
}

.price-note {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    height: 20px;
}

.promo-badge {
    background: linear-gradient(135deg, var(--danger) 0%, var(--warning) 100%);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 10px 0;
    text-align: center;
    min-height: 40px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 45, 117, 0.7);
    }
    70% {
        transform: scale(1.02);
        box-shadow: 0 0 0 10px rgba(255, 45, 117, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 45, 117, 0);
    }
}

.promo-badge i {
    margin-right: 8px;
}

.best-offer-ribbon {
    position: absolute;
    top: -10px;
    right: -10px;
    background: var(--warning);
    color: var(--dark);
    font-size: 12px;
    padding: 8px 30px;
    font-weight: 700;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 2;
    text-align: center;
    border-radius: 3px;
    animation: wiggle 2s infinite;
}

@keyframes wiggle {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(5deg);
    }
    75% {
        transform: rotate(-5deg);
    }
}

.best-offer-ribbon::before {
    content: "";
    position: absolute;
    bottom: -10px;
    right: 0;
    border-width: 10px 10px 0 0;
    border-style: solid;
    border-color: #c1781a transparent transparent transparent;
}

.btn-choose {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: none;
    background: var(--primary);
    color: var(--dark);
    font-weight: 600;
    font-size: 15px;
    margin-top: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 45px;
    position: relative;
    overflow: hidden;
}

.btn-choose:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 240, 255, 0.4);
}

.btn-choose::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.3), transparent);
    transform: rotate(45deg);
    transition: all 0.5s ease;
    opacity: 0;
}

.btn-choose:hover::before {
    opacity: 1;
    animation: shine 1.5s;
}

.highlight {
    border: 2px solid var(--primary);
    transform: scale(1.02);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
}

/* Contact Info Section */
.contact-info {
    background: var(--dark);
    padding: 60px 20px;
    text-align: center;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-card {
    background: var(--gray);
    border-radius: 15px;
    padding: 30px;
    transition: all 0.3s ease;
    border: 1px solid var(--light-gray);
    animation: fadeIn 0.5s ease both;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 240, 255, 0.1);
    border-color: var(--primary);
}

.contact-icon {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.contact-card:hover .contact-icon {
    transform: scale(1.2);
    text-shadow: 0 0 15px var(--primary);
}

.contact-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary);
}

.contact-text {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 10px;
}

.contact-link {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    font-size: 20px;
    margin-top: 1rem;
}
.kontakt{
    margin-top: 6rem;
}
.contact-link:hover {
    text-shadow: 0 0 10px var(--primary);
    transform: translateX(5px);
}

.opening-hours {
    text-align: left;
    margin-top: 70px;
}

.opening-hours p {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

/* Contact Form */
.contact-form-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 30px;
    background: var(--gray);
    border-radius: 15px;
    border: 1px solid var(--light-gray);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-form-title {
    text-align: center;
    margin-bottom: 30px;
    color: var(--primary);
    font-size: 28px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--primary);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid var(--light-gray);
    background: var(--dark);
    color: white;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
}
/* Dodaj te style do pliku style.css */
.video-icon-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    pointer-events: none;
}

.video-icon {
    font-size: 4rem;
    color: var(--primary);
    text-shadow: 0 0 20px rgba(0, 240, 255, 0.7);
    opacity: 0.9;
    transition: all 0.3s ease;
}
/* Nowe style dla obrazów partnerów */
.partner-image {
    width: 120px;
    height: auto;
    object-fit: contain;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    opacity: 0.9;
}

.partner-logo:hover .partner-image {
    opacity: 1;
    transform: scale(1.1);
}

/* Responsywność */
@media (max-width: 768px) {
    .partner-image {
        width: 80px;
        margin-bottom: 10px;
    }
}
@media(max-width: 325px) {
    .partners-grid {
      display: flex;
      flex-direction: row;
      justify-content: space-between;
      align-items: center;
    }
    
    .partner-logo {
      width: 30%; /* Daje każdemu logo około 30% szerokości kontenera */
      margin: 0;
      padding: 0 2px; /* Dodaje minimalny odstęp między logo */
      height: 35px; /* Stała wysokość dla wszystkich boxów */
      display: flex;
      align-items: center;
      justify-content: center;
    }
    
    .partner-image {
        max-height: 100%;
        width: auto;
        object-fit: contain; /* Zapewnia, że obrazy są całkowicie widoczne */
    }
  }
.gallery-item:hover .video-icon {
    transform: scale(1.2);
    opacity: 1;
    text-shadow: 0 0 30px var(--primary);
}

/* Dodatkowo upewnij się że kontener wideo ma position: relative */
.gallery-item.video-item {
    position: relative;
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-submit-btn {
    width: 100%;
    padding: 15px;
    background: var(--primary);
    color: var(--dark);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    margin-top: 10px;
}

.form-submit-btn:hover {
    background: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 240, 255, 0.4);
}

/* Footer */
.footer {
    background: var(--darker);
    padding: 50px;
    text-align: center;
    border-top: 1px solid var(--light-gray);
}

.footer-logo {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
    transition: all 0.3s ease;
}

.footer-logo:hover {
    transform: scale(1.05);
    text-shadow: 0 0 15px var(--primary);
}

.footer-logo span {
    color: var(--primary);
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.footer-links .nav-logo {
    height: 3rem;
    width: auto;
    margin-right: 15px;
    vertical-align: middle;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.footer-links a:hover {
    color: var(--primary);
    text-shadow: 0 0 10px var(--primary);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.social-links a {
    color: white;
    font-size: 20px;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray);
}
.modal-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background-color: rgba(0, 25, 50, 0.85); backdrop-filter: blur(5px); display: none; justify-content: center; align-items: center; z-index: 10000; opacity: 0; transition: opacity 0.3s ease; padding: 1rem; }
        .modal-overlay.active { display: flex; opacity: 1; }
        .modal-content { background-color: #161b22; padding: 1.5rem; border-radius: 1rem; border: 1px solid var(--primary); max-width: 500px; width: 100%; position: relative; box-shadow: 0 0 25px rgba(0, 170, 255, 0.3); animation: slideInUp 0.4s ease-out forwards; }
        @keyframes slideInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
        .modal-close-button { position: absolute; top: 0.75rem; right: 0.75rem; font-size: 1.8rem; color: #00aaff; background: none; border: none; cursor: pointer; transition: all 0.3s ease; }
        .modal-close-button:hover { color: #00ffff; transform: rotate(90deg); }
        .modal-submit-button { width: 100%; background-image: linear-gradient(to right, var(--primary), var(--primary-dark)); color: var(--darker); font-weight: 700; padding: 0.8rem; border-radius: 0.5rem; border: none; cursor: pointer; transition: all 0.3s ease; text-transform: uppercase; letter-spacing: 0.05em; }
        .modal-submit-button:hover { box-shadow: 0 0 15px var(--primary); transform: translateY(-2px); }
        .form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--primary); box-shadow: 0 0 10px rgba(0, 240, 255, 0.4); outline: none; }


        .starter-pack-section { display: flex; justify-content: center; align-items: center; padding: 40px 20px; }
        .starter-pack-card {
            border-radius: 1rem;
            padding: 2.5rem;
            max-width: 600px;
            text-align: center;
            position: relative;
            cursor: pointer;
            transition: transform 0.4s ease, box-shadow 0.4s ease;
            overflow: hidden;
            box-shadow: 0 15px 40px rgba(0, 240, 255, 0.15); /* ZMIANA: Dodano stały cień */
        }
        .starter-pack-card::before { /* Pulsing Border Glow */
            content: '';
            position: absolute;
            inset: -2px;
            z-index: -1;
            border-radius: inherit;
            background: linear-gradient(145deg, var(--accent), var(--primary));
            opacity: 1; /* ZMIANA: Stała widoczność poświaty */
            transition: opacity 0.4s ease;
            animation: pulse-border 3s infinite;
        }
        @keyframes pulse-border { 0%, 100% { opacity: 0.7; } 50% { opacity: 1; } }

        .starter-pack-card::after { /* Animated Grid */
            content: '';
            position: absolute;
            top: 0; left: 0;
            width: 200%; height: 200%;
            background-image:
                linear-gradient(to right, rgba(0, 240, 255, 0.1) 1px, transparent 1px),
                linear-gradient(to bottom, rgba(0, 240, 255, 0.1) 1px, transparent 1px);
            background-size: 40px 40px;
            animation: moveGrid 15s linear infinite;
            z-index: 0;
            opacity: 1; /* ZMIANA: Stała widoczność siatki */
            transition: opacity 0.5s ease-in-out;
        }
        @keyframes moveGrid { from { transform: translate(0, 0); } to { transform: translate(-40px, -40px); } }

        /* ZMIANA: Efekt :hover zastąpiony klasą .is-activated */
        .starter-pack-card.is-activated::after,
        .starter-pack-card:hover::after { opacity: 1; }

        /* ZMIANA: Efekt :hover zastąpiony klasą .is-activated */
        .starter-pack-card.is-activated,
        .starter-pack-card:hover { transform: translateY(-8px); box-shadow: 0 15px 40px rgba(0, 240, 255, 0.15); }
        .starter-pack-content { position: relative; z-index: 1; }
        .starter-pack-icon { font-size: 3rem; color: var(--primary); margin-bottom: 1rem; text-shadow: 0 0 15px var(--primary); animation: pulse-icon 2.5s infinite ease-in-out; }
        @keyframes pulse-icon { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.1); text-shadow: 0 0 25px var(--primary); } }
        
        .starter-pack-title { font-family: 'Inter', sans-serif; font-size: 2.5rem; font-weight: 800; color: #fff; text-transform: uppercase; letter-spacing: 1px; }
        .starter-pack-title span { color: var(--primary); text-shadow: 0 0 10px var(--primary); }
        
        .starter-pack-description { font-size: 1.2rem; color: #c9d1d9; margin: 0.5rem 0 1.5rem 0; }
        
        .starter-pack-discounts {
            display: flex;
            flex-direction: column;
            gap: 1rem;
            margin: 2rem 0;
        }
        .discount-item {
            display: flex;
            align-items: center;
            gap: 1rem;
            background: rgba(0, 0, 0, 0.3);
            border: 1px solid rgba(0, 240, 255, 0.2);
            padding: 0.75rem 1rem;
            border-radius: 0.75rem;
            text-align: left;
            transition: all 0.4s ease;
            opacity: 0; /* ZMIANA: opacity 0 na start, by animacja działała */
            animation: reveal-item 0.5s ease-out forwards;
        }
        @keyframes reveal-item {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        /* ZMIANA: Efekt :hover zastąpiony klasą .is-activated */
        .starter-pack-card.is-activated .discount-item,
        .starter-pack-card:hover .discount-item {
            opacity: 1;
            transform: translateY(0);
        }
        /* ZMIANA: Efekt :hover zastąpiony klasą .is-activated */
        .starter-pack-card.is-activated .discount-item:nth-child(1),
        .starter-pack-card:hover .discount-item:nth-child(1) { transition-delay: 0.15s; }
        /* ZMIANA: Efekt :hover zastąpiony klasą .is-activated */
        .starter-pack-card.is-activated .discount-item:nth-child(2),
        .starter-pack-card:hover .discount-item:nth-child(2) { transition-delay: 0.25s; }
        
        .discount-badge-promo {
            background-color: var(--primary);
            color: var(--dark);
            border-radius: 0.5rem;
            font-weight: 700;
            box-shadow: 0 0 8px rgba(0, 240, 255, 0.5);
            font-size: 1.1rem;
            padding: 0.5rem 0.8rem;
            line-height: 1;
        }
        .discount-badge-promo.featured {
            font-size: 1.5rem;
            padding: 0.6rem 1rem;
            background: var(--accent);
            color: white;
            box-shadow: 0 0 15px var(--accent);
        }
        .discount-text-wrapper {
            display: flex;
            flex-direction: column;
        }
        .discount-main-text {
            font-weight: 600;
            font-size: 1.1rem;
        }
        .discount-sub-text {
            font-size: 0.85rem;
            color: #a0aec0;
            font-weight: 400;
        }

        .starter-pack-button { display: inline-block; width: 100%; padding: 1rem; background: var(--primary); color: var(--dark); font-weight: 700; border-radius: 0.5rem; transition: all 0.3s ease; font-size: 1.2rem; border: none; box-shadow: 0 4px 15px rgba(0, 240, 255, 0.2); margin-top: 1rem; }
        
        /* ZMIANA: Efekt :hover zastąpiony klasą .is-activated */
        .starter-pack-card.is-activated .starter-pack-button,
        .starter-pack-card .starter-pack-button { background: white; color: black; box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3); }
        
        #starter-pack-modal h2 { color: var(--primary); font-family: 'Inter', sans-serif; font-size: 1.75rem; text-align: center; margin-bottom: 1.5rem; }

        .toast { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%) translateY(120%); background: linear-gradient(135deg, #2b3748, #161b22); color: var(--success-glow); padding: 1rem 1.5rem; border-radius: 0.5rem; border: 1px solid var(--success-glow); box-shadow: 0 4px 15px rgba(57, 255, 20, 0.2); z-index: 10001; opacity: 0; visibility: hidden; transition: all 0.4s cubic-bezier(0.21, 1.02, 0.73, 1); font-weight: 600; }
        .toast.show { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }

        .form-group select {
            appearance: none;
            -webkit-appearance: none;
            background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%2300f0ff' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
            background-position: right 0.7rem center;
            background-repeat: no-repeat;
            background-size: 1.5em 1.5em;
            padding-right: 3rem; 
            background-color: var(--darker);
        }
        
        .form-group select option {
            background: var(--darker);
            color: white;
            padding: 10px;
        }
.social-links a:hover {
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 0 15px var(--primary);
}

.copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

/* Modal Form */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--dark);
    padding: 30px;
    border-radius: 15px;
    max-width: 500px;
    width: 90%;
    position: relative;
    border: 1px solid var(--primary);
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.5);
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-modal:hover {
    color: var(--primary);
    transform: rotate(90deg);
}

.modal-content h2 {
    color: var(--primary);
    margin-bottom: 20px;
    text-align: center;
}

.modal-content p {
    margin-bottom: 20px;
    text-align: center;
}

.modal-content p strong {
    color: var(--primary);
}

.btn-submit {
    width: 100%;
    padding: 15px;
    background: var(--primary);
    color: var(--dark);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.btn-submit:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 240, 255, 0.4);
}

/* Responsive */
@media (max-width: 1200px) {
    .hero h1 {
        font-size: 3rem;
    }
}

@media (max-width: 992px) {
    .hero {
        padding-top: 150px;
        padding-bottom: 50px;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--dark);
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        gap: 15px;
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        border-bottom: 1px solid var(--light-gray);
    }
    
    .nav-links.active {
        transform: translateY(0);
    }
    
    .menu-toggle {
        display: block;
    }
    
    .section {
        padding: 70px 20px;
    }
    
    .car-option {
        max-width: 100%;
        width: 80%;
        
    }
    
    .month-option {
        min-width: 260px;
    }
    
    .partners-grid {
        gap: 30px;
    }
    
    .partner-logo {
        min-width: 120px;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 15px 20px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 30px;
    }
    
    .feature-card {
        padding: 20px;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .partners-grid {
        gap: 0px;
    }
    
    .partner-logo i {
        font-size: 2.5rem;
    }
    
    .partner-logo span {
        font-size: 1rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .contact-card {
        padding: 15px;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .btn-outline {
        margin-left: 0;
        margin-top: 15px;
    }
}