
/* Zmienne globalne i animacje */
:root {
    --color-hero-bg: #080808;
    --color-accent: #808080;
    --color-accent-light: #A0A0A0;
    --gradient-silver: linear-gradient(145deg, var(--color-accent) 0%, var(--color-accent-light) 100%);
    --animation-duration: 0.6s;
    --animation-timing: cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.landing-malwina {
    background: #000;
}


/* Nowe definicje przycisków */
.malwina-black-btn {
    display: inline-flex;
    align-items: center;
    padding: 20px 40px;
    position: relative;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    gap: 15px;
    border-radius: 4px;
    overflow: hidden;
}

.malwina-black-btn.primary {
    background: linear-gradient(145deg, #000000 0%, #202020 100%);
    border: 1px solid rgba(255, 255, 255, 0.45);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
    transition: color 0.4s ease, border-color 0.4s ease;
}

/* Nowe podejście do animowanego overlay'a */
.malwina-black-btn.primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, #ffffff 0%, #a0a0a0 100%);
    transform: skewX(-45deg);
    transition: left 0.5s ease;
    z-index: -1;
}

/* Drugi element dla pełnego pokrycia */


.malwina-black-btn.primary:hover {
    color: #000000;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.malwina-black-btn.primary:hover::before {
    left: 0;
    width: 120%;
}

.malwina-black-btn.primary:hover::after {
    left: 100%;
}

.malwina-black-btn:active {
    transform: scale(0.98);
}

.malwina-black-btn .btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    transition: opacity 0.4s ease;
}

.malwina-black-btn:hover .btn-icon {
    opacity: 1;
}

.malwina-black-btn .btn-text {
    position: relative;
    z-index: 2;
}
























/* Sekcja Hero */
.hero {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(to bottom, var(--color-hero-bg) 0%, #000000 100%);
    padding: 100px 0 50px;
    overflow: hidden;
    isolation: isolate;
}

.hero-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 80px;
    position: relative;
    z-index: 2;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    height: calc(100vh - 170px);
}

/* Lewa strona - tekst */
.hero-text {
    flex: 0 1 50%;
    animation: fadeInLeft var(--animation-duration) var(--animation-timing) forwards;
}

.hero-logo {
    width: 180px;
    height: auto;
    margin-bottom: 40px;
}

.heading-gradient {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.heading-gradient .title-row-1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.1;
    font-weight: 700;
    color: #ffffff;
}

.heading-gradient .title-wrapper {
    display: inline-block; /* To spowoduje, że wrapper dostosuje się do szerokości tekstu */
    position: relative; /* Dla pozycjonowania podkreślenia */
    padding-bottom: 16px;
}
.heading-gradient .title-row-2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.1;
    font-weight: 300;
    background: var(--gradient-silver);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-fill-color: transparent;
    position: relative; /* Przenosimy position relative tutaj */
}

/* Animowane podkreślenie */
.heading-gradient .title-row-2::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 0;
    width: 0;
    height: 4px;
    background: linear-gradient(
        90deg, 
        rgba(255, 255, 255, 0.9) 0%, 
        rgba(255, 255, 255, 0.35) 100%
    );
    transition: width 1.2s var(--animation-timing);
    mix-blend-mode: overlay;
}

.heading-gradient .title-row-2.visible::after {
    width: 100%;
}

.hero-text .subtitle {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
    max-width: 40ch;
}

/* Prawa strona - obraz */
@keyframes floatingMachine {
    0% {
        transform: translateY(15px);
    }
    50% {
        transform: translateY(-15px); /* delikatne unoszenie */
    }
    100% {
        transform: translateY(15px);
    }
}

.hero-image-container {
    flex: 0 1 50%;
    animation: fadeInRight var(--animation-duration) var(--animation-timing) forwards;
}

.hero-image {
    position: relative;
    will-change: transform; /* optymalizacja wydajności */
}

.product-image {
    position: relative;
    z-index: 2;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
    animation: floatingMachine 6s ease-in-out infinite;
}

/* Elementy dekoracyjne */


.light-leak {
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at 60% 40%,
        rgba(128, 128, 128, 0.15),
        transparent 60%
    );
    mix-blend-mode: screen;
}

/* Tło */
.hero-background {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.bg-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.125) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255, 255, 255, 0.125) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.5;
    animation: gridSlide 3s linear infinite;
}

@keyframes gridSlide {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 50px 0;
    }
}

@keyframes gridSlideRev {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: -50px 0;
    }
}

.bg-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at 50% 0%,
        rgba(128, 128, 128, 0.15),
        transparent 70%
    );
}

.scroll-indicator {
    position: absolute;
    bottom: 40px; /* Zwiększamy trochę odstęp od dołu */
    left: 50%;
    margin-left: -65px;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    animation: fadeInUp var(--animation-duration) var(--animation-timing) forwards;
    animation-delay: 0.6s;
    opacity: 0;
    width: auto; /* Upewniamy się, że szerokość jest automatyczna */
    text-align: center; /* Centrujemy tekst */
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border-right: 2px solid var(--color-accent);
    border-bottom: 2px solid var(--color-accent);
    transform: rotate(45deg);
    animation: scrollPulse 2s infinite;
    margin: 0 auto; /* Centrujemy strzałkę */
}

.scroll-text {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 3px;
    white-space: nowrap; /* Zapobiegamy zawijaniu tekstu */
}

.hero-cta {
    margin-top: 3rem;
}

@keyframes scrollPulse {
    0% { transform: rotate(45deg) translate(-5px, -5px); }
    50% { transform: rotate(45deg) translate(0, 0); }
    100% { transform: rotate(45deg) translate(-5px, -5px); }
}

@keyframes floatAnimation {
    0% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0); }
}

/* Media Queries */
@media (max-width: 1200px) {
    .hero-container {
        padding: 0 40px;
    }
}

@media (max-width: 991px) {
    .hero-content {
        flex-direction: column;
        height: auto;
        text-align: center;
        gap: 40px;
    }

    .hero-text {
        flex: 0 1 auto;
    }

    .hero-image-container {
        flex: 0 1 auto;
        max-width: 600px;
        margin: 0 auto;
    }

    .hero-logo {
        margin: 0 auto 40px;
    }

    .hero-text .subtitle {
        margin: 0 auto 2.5rem;
    }
}

@media (max-width: 767px) {
    .hero {
        padding: 100px 0 40px;
    }

    .hero-container {
        padding: 0 20px;
    }

    .decoration-line {
        display: none;
    }
}




































/* Elegance & Technology Section */

.elegance-tech {
    position: relative;
    padding: 80px 0 120px 0;
    background: linear-gradient(90deg, #040404 0%, #171717 100%);
    overflow: hidden;
}

/* Tło i efekty */
.elegance-backdrop {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.backdrop-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at 70% 30%,
        rgba(128, 128, 128, 0.12),
        transparent 60%
    );
}

.backdrop-dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(
        rgba(128, 128, 128, 0.2) 1px,
        transparent 1px
    );
    background-size: 40px 40px;
    opacity: 0.3;
}




/* Kontener i nagłówek */
.elegance-tech-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 80px;
    z-index: 2;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-subtitle {
    display: block;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--color-accent);
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #fff;
}

.section-header .highlight {
    display: block;
    color: var(--color-accent);
}

.header-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.header-decoration .line {
    width: 60px;
    height: 2px;
    background: var(--color-accent);
}

.header-decoration .dot {
    width: 8px;
    height: 8px;
    background: var(--color-accent);
    transform: rotate(45deg);
}


/* Ulepszony tekst wstępny */
.intro-text {
    max-width: 800px;
    margin: 0 auto 80px;
    text-align: center;
    position: relative;
    padding: 0 20px;
}

.intro-text p {
    font-size: 1.25rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
}

.intro-text::after {
    content: '';
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--color-accent),
        transparent
    );
}


/* Karty szczegółów */
.details-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 0 20px;
    position: relative
    z-index: 1000 !important;
}

.detail-card {
    position: relative;
    background: rgba(18, 18, 18, 0.6);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
    border: 1px solid rgba(255, 255, 255, 0.05);
}


/* Kontener obrazu */
.detail-image-wrapper {
    position: relative;
    padding-top: 75%;
    overflow: hidden;
    background: #000;
}

.detail-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.8s cubic-bezier(0.215, 0.61, 0.355, 1);
    transform-origin: center;
}

/* Ulepszony hover effect */
.detail-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 50px -10px rgba(0, 0, 0, 0.5),
                0 0 20px rgba(0, 0, 0, 0.4);
}

.detail-card:hover .detail-image {
    transform: scale(1.1);
    filter: brightness(1.1);
}

/* Zawartość karty */
.detail-content {
    position: relative;
    padding: 25px;
    background: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(10px);
    transition: all 0.5s ease;
}

Zaktualizowane style dla sekcji elegance

/* Modyfikacja detail-card i jego hover efektów */
.detail-card {
    position: relative;
    background: rgba(18, 18, 18, 0.6);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Uproszczony hover effect z nowym cieniem */
.detail-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.25),
                0 0 20px rgba(0, 0, 0, 0.4);
    background: rgba(28, 28, 28, 0.95);
}

/* Zawartość karty bez animowanego podkreślenia */
.detail-content {
    position: relative;
    padding: 25px;
    background: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(10px);
    transition: all 0.5s ease;
}

.detail-card:hover .detail-content {
    background: rgba(28, 28, 28, 0.95);
}

.detail-content h3 {
    color: var(--color-accent);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.detail-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    line-height: 1.6;
    transition: all 0.3s ease;
}

.detail-card:hover .detail-content h3 {
    color: #fff;
}

.detail-card:hover .detail-content p {
    color: rgba(255, 255, 255, 0.9);
}

/* Responsywność */
@media (max-width: 1200px) {
    .details-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .details-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .intro-text {
        margin-bottom: 60px;
    }

    .intro-text p {
        font-size: 1.125rem;
    }
}




/* Elementy dekoracyjne */
.showcase-decorations {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: -100;
}

.floating-shape {
    position: absolute;
    width: 200px; /* Zwiększam rozmiar dla lepszej widoczności */
    height: 200px;
    border: 1px solid rgba(128, 128, 128, 0.45);
    transform: rotate(45deg);
    backdrop-filter: blur(3px); /* Dodaję delikatne rozmycie dla głębi */
}

.floating-shape:before {
    content: '';
    position: absolute;
    inset: 10px;
    border: 1px solid rgba(128, 128, 128, 0.1);
    transform: rotate(0deg);
}

.floating-shape.shape-1 {
    top: 10%;
    left: -100px;
    animation: float 8s ease-in-out infinite;
}

.floating-shape.shape-2 {
    bottom: 10%;
    right: -100px;
    animation: float 8s ease-in-out infinite reverse;
}

.floating-circle {
    position: absolute;
    width: 400px; /* Zwiększam rozmiar */
    height: 400px;
    border: 1px solid rgba(128, 128, 128, 0.5);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes float {
    0% { 
        transform: rotate(45deg) translate(0, 0);
        opacity: 0.3;
    }
    50% { 
        transform: rotate(45deg) translate(0, -30px); /* Zwiększam amplitudę ruchu */
        opacity: 0.6;
    }
    100% { 
        transform: rotate(45deg) translate(0, 0);
        opacity: 0.3;
    }
}

@keyframes pulse {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.3; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.1; }
    100% { transform: translate(-50%, -50%) scale(1); opacity: 0.3; }
}

/* Responsywność */
@media (max-width: 1200px) {
    .elegance-tech-container {
        padding: 0 40px;
    }
}

@media (max-width: 991px) {
    .details-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .elegance-tech {
        padding: 80px 0;
    }

    .elegance-tech-container {
        padding: 0 20px;
    }

    .details-grid {
        grid-template-columns: 1fr;
    }

    .floating-shape,
    .floating-circle {
        display: none;
    }
}












































.key-features {
    position: relative;
    padding: 80px 0 120px 0;
    background: linear-gradient(270deg, #040404 0%, #171717 100%);
    overflow: hidden;
}

/* Tło i efekty - podobne do poprzedniej sekcji */
.features-backdrop {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.features-backdrop .backdrop-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at 30% 70%,
        rgba(128, 128, 128, 0.08),
        transparent 60%
    );
}

.features-backdrop .backdrop-dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(
        rgba(128, 128, 128, 0.15) 1px,
        transparent 1px
    );
    background-size: 40px 40px;
    opacity: 0.3;
}

/* Kontener */
.features-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 80px;
    z-index: 2;
}

/* Grid funkcji */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
}

/* Boks funkcji */
.feature-box {
    position: relative;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(128, 128, 128, 0.1);
    border-radius: 12px;
    padding: 60px 25px 30px;
    transition: all 0.4s cubic-bezier(0.215, 0.61, 0.355, 1); /* Płynniejsza animacja */
    
    /* Dodajemy gradient dla górnej krawędzi */
    border-image: linear-gradient(
        to right,
        rgba(128, 128, 128, 0.1),
        rgba(255, 255, 255, 0.3),
        rgba(128, 128, 128, 0.1)
    ) 1;
    border-image-slice: 1;
}

.feature-box:hover {
    background: rgba(255, 255, 255, 0.08); /* Jaśniejsze tło */
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.feature-box:hover::after {
    content: '';
    position: absolute;
    inset: -1px;
    background: linear-gradient(45deg, 
        rgba(255, 255, 255, 0.1),
        rgba(255, 255, 255, 0.2),
        rgba(255, 255, 255, 0.1)
    );
    border-radius: 12px;
    opacity: 0.5;
    z-index: -1;
    transition: opacity 0.4s ease;
}

.feature-box:hover .feature-content h3 {
    color: #ffffff;
    transition: color 0.4s ease;
}

.feature-box:hover .feature-content p {
    color: #ffffff;
    transition: color 0.4s ease;
}

/* Wrapper ikony */
.feature-icon-wrapper {
    position: absolute;
    top: -45px;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon {
    width: 90px;
    height: 90px;
    position: relative;
    z-index: 2;
    transition: all 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.feature-box:hover .feature-icon {
    transform: scale(1.1);
    filter: brightness(1.2);
}

.icon-backdrop {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--color-accent) 0%, transparent 100%);
    opacity: 0.1;
    border-radius: 50%;
    filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.feature-box:hover .icon-backdrop {
    opacity: 0.3;
    transform: scale(1.2);
}

/* Zawartość boksu */
.feature-content {
    position: relative;
    text-align: center;
}

.feature-content h3 {
    color: var(--color-accent);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    transition: color 0.4s ease;
}

.feature-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    line-height: 1.6;
    transition: color 0.4s ease;
}

.feature-decoration {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: var(--color-accent);
    opacity: 0;
    transition: all 0.3s ease;
}

.feature-box:hover .feature-decoration {
    opacity: 0.5;
    width: 50px;
}

/* Animacja wejścia */
.feature-box {
    opacity: 0;
    transform: translateY(20px);
}

.feature-box.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Media Queries */
@media (max-width: 1200px) {
    .features-container {
        padding: 0 40px;
    }
    
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 20px;
    }
}

@media (max-width: 767px) {
    .key-features {
        padding: 80px 0;
    }

    .features-container {
        padding: 0 20px;
    }
}

@media (max-width: 575px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-box {
        max-width: 320px;
        margin: 0 auto;
    }
}


/* Modyfikujemy klasy dla animacji */
.feature-box[data-animation="fade-up"] {
    opacity: 0;
    transform: translateY(20px);
}

.feature-box[data-animation="fade-up"].visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
















































/* Główne ustawienia sekcji */
.accessories {
    position: relative;
    padding: 120px 0;
    background: linear-gradient(180deg, #000000 0%, #101010 100%);
}

/* Tło i efekty */
.accessories-backdrop {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.accessories .bg-grid {
    animation: gridSlideRev 3s linear infinite;
}

.accessories-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 80px;
    position: relative;
    z-index: 2;
}

/* Nagłówek sekcji - spójny z poprzednimi sekcjami */
.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header .section-subtitle {
    display: block;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--color-accent);
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #fff;
}

.section-header .highlight {
    display: block;
    color: var(--color-accent);
}

.header-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.header-decoration .line {
    width: 60px;
    height: 2px;
    background: var(--color-accent);
}

.header-decoration .dot {
    width: 8px;
    height: 8px;
    background: var(--color-accent);
    transform: rotate(45deg);
}

/* Tekst wprowadzający */
.intro-text {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
}

.intro-text p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

/* Showcase */
.accessories-showcase {
    display: flex;
    gap: 60px;
    position: relative; /* Added for proper sticky context */
}

/* Galeria zdjęć */
.accessories-gallery {
    flex: 0 0 60%;
    position: relative; /* Changed from previous version */
}

.gallery-image {
    position: sticky; /* This should work now */
    top: 100px;
    margin-bottom: 40px;
    transition: opacity 0.3s ease;
}

.gallery-image:last-child {
    margin-bottom: 0;
}

.gallery-image img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: block; /* Ensures no extra space */
}

.accessories-categories {
    flex: 0 0 40%;
    display: flex;
    flex-direction: column;
    gap: 30px;
    /* Ensure this content is tall enough to see sticky effect */
}

.accessories-category {
    background: rgba(50, 50, 50, 0.5);
    border: 1px solid rgba(128, 128, 128, 0.3);
    border-radius: 12px;
    padding: 30px;
    transition: all 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.accessories-category:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(10px);
    border-color: rgba(128, 128, 128, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.accessories-category h3 {
    color: var(--color-accent);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(128, 128, 128, 0.2);
}

.accessories-category ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.accessories-category ul li {
    position: relative;
    padding-left: 24px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.5;
    transition: color 0.3s ease, transform 0.3s ease;
}

.accessories-category ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-size: 1.1em;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.accessories-category ul li:hover {
    color: #fff;
    transform: translateX(5px);
}

.accessories-category ul li:hover::before {
    opacity: 1;
    transform: translateX(0);
}

/* Media Queries */
@media (max-width: 1200px) {
    .accessories-container {
        padding: 0 40px;
    }
}

@media (max-width: 992px) {
    .accessories-showcase {
        flex-direction: column;
    }

    .accessories-gallery {
        flex: 0 0 100%;
    }

    .gallery-image {
        position: relative; /* Disable sticky on mobile */
        top: 0;
        max-width: 600px;
        margin: 0 auto 40px;
    }

    .accessories-categories {
        flex: 0 0 100%;
        min-height: auto; /* Reset min-height on mobile */
    }
}

@media (max-width: 768px) {
    .accessories {
        padding: 80px 0;
    }

    .accessories-container {
        padding: 0 20px;
    }

    .intro-text p {
        font-size: 1rem;
    }
}

































.cta-section {
    position: relative;
    padding: 120px 0;
    min-height: 80vh;
    background: #000;
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* Background elements */
.cta-backdrop {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.cta-backdrop .bg-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(0,0,0,0.5) 0%,
        rgba(0,0,0,0.1) 100%
    );
    z-index: 2;
}

.cta-background-image {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* Content container */
.cta-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 80px;
    position: relative;
    z-index: 2;
}

.cta-content {
    max-width: 70%;
    margin: 0 auto;
    animation: fadeInLeft var(--animation-duration) var(--animation-timing) forwards;
}

/* Typography */
.cta-content h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.2;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 2rem;
    text-align: center;
}

.cta-content h2 .accent {
    display: block;
    color: var(--color-accent);
}

.cta-description {
    margin-bottom: 3rem;
    text-align: center;
}

.cta-description p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

/* Buttons */
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Secondary button variant */
.malwina-black-btn.secondary {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
}

.malwina-black-btn.secondary:hover {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

/* Media queries */
@media (max-width: 1200px) {
    .cta-container {
        padding: 0 40px;
    }

    .cta-content {
        max-width: 90%;
    }
}

@media (max-width: 992px) {
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 768px) {
    .cta-section {
        padding: 80px 0;
    }

    .cta-container {
        padding: 0 20px;
    }

    .cta-content {
        max-width: 100%;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .cta-description p {
        font-size: 1rem;
    }

    .malwina-black-btn {
        width: 100%;
        justify-content: center;
    }
}