/* Store Creation Template Styles */

/* Animacje fade-up */
.animate-fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-fade-up.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Store Hero Section: Hero with Contact Form */
.website-hero-section {
    padding: 100px 0;
}

.website-hero-section .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.website-hero-section .section-headline,
.website-hero-section .section-kicker {
    font-size: 18px;
    font-weight: 500;
    color: var(--color-orange);
}

.website-hero-section .section-title {
    font-weight: 500;
    margin-bottom: 1rem;
    color: var(--color-main);
}

.website-hero-section .section-description {
    margin: 0 auto;
    color: var(--color-dark);
}

.website-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 60px;
    align-items: center;
}

.website-hero-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.website-hero-image {
    border-radius: 15px;
}

.website-hero-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
    transition: transform 0.1s ease-out;
}

.website-hero-right {
    display: flex;
    align-items: stretch;
}

.contact-form-wrapper {
    width: 100%;
}

.contact-form-wrapper .contact-form {
    background: var(--color-white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.contact-form-wrapper .contact-form h3 {
    color: var(--color-dark);
    margin-bottom: 20px;
}

.contact-form-wrapper .contact-form input,
.contact-form-wrapper .contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #f0f0f0;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: var(--font-face);
}

.contact-form-wrapper .contact-form input:focus,
.contact-form-wrapper .contact-form textarea:focus {
    outline: none;
    border-color: var(--color-main);
}

.contact-form-wrapper .contact-form button {
    background: var(--color-orange);
    color: var(--color-white);
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    font-family: var(--font-face);
}

.contact-form-wrapper .contact-form button:hover {
    background: #e55a2b;
    transform: translateY(-2px);
}

/* Store Features Section: 6 Features Grid */
.website-features-section {
    padding: 100px 0;
    background: #fff;
}

.website-features-section .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.website-features-section .section-headline,
.website-features-section .section-kicker {
    font-size: 18px;
    font-weight: 500;
    color: var(--color-orange);
}

.website-features-section .section-title {
    font-weight: 500;
    margin-bottom: 1rem;
    color: var(--color-main);
}

.website-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.website-feature-card {
    background: var(--color-white);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: var(--color-orange) 1px solid;
    border-top: var(--color-orange) 5px solid;
}

.website-feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.website-feature-card .service-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.website-feature-card .service-icon::before {
    content: '';
    position: absolute;
    width: 120px;
    height: 120px;
    background: rgba(224, 224, 224, 0.5);
    opacity: 0.5;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.website-feature-card .service-icon img {
    position: relative;
    z-index: 1;
    object-fit: contain;
    max-width: 100%;
    height: auto;
}

.website-feature-card:hover .service-icon::before {
    background: var(--color-orange);
    opacity: 0.5;
    transform: translate(-50%, -50%) scale(1.05);
}

.website-feature-title {
    font-weight: 500;
    margin-top: 1.5em;
    margin-bottom: 15px;
    color: var(--color-main);
}

.website-feature-text {
    line-height: 1.6;
    color: var(--color-dark);
}

/* Store Parallax Section: Parallax Background */
.website-parallax-section {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
    z-index: 1;
    isolation: isolate;
}

.parallax-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    z-index: 0;
    pointer-events: none;
    /* Tło jest całkowicie nieruchome względem viewport - nie przesuwa się ani o 1px podczas scrollowania */
    /* Ograniczamy widoczność tła tylko do sekcji 3 - clip-path ustawiane przez JavaScript */
}

.parallax-content {
    position: relative;
    z-index: 1;
    padding: 100px 0;
}

.website-parallax-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.website-parallax-left {
    display: flex;
    flex-direction: column;
}

.website-parallax-text {
    color: var(--color-dark);
    line-height: 1.8;
}

.website-parallax-text h2,
.website-parallax-text h3,
.website-parallax-text h4,
.website-parallax-text h5,
.website-parallax-text h6 {
    color: var(--color-main);
    margin-bottom: 20px;
}

.website-parallax-text p {
    margin-bottom: 15px;
}

.website-parallax-text ul,
.website-parallax-text ol {
    margin-left: 20px;
    margin-bottom: 15px;
}

.website-parallax-right {
    display: flex;
    align-items: center;
    justify-content: center;
}

.website-parallax-center-image {
    text-align: center;
    position: relative;
    z-index: 2;
    width: 100%;
}

.website-parallax-center-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    border-bottom: var(--color-orange) 5px solid;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .website-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .website-hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .website-hero-left {
        order: -1;
    }
    
    .website-hero-image {
        order: 1;
    }
    
    .website-hero-left .btn {
        width: 100%;
        text-align: center;
    }
    
    
    .website-features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .website-parallax-section {
        padding: 60px 0;
    }
    
    .parallax-content {
        padding: 60px 0;
    }
    
    .website-parallax-columns {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .website-parallax-right {
        order: -1;
    }
    
    .parallax-background {
        background-attachment: scroll;
    }
    
    .contact-form-wrapper .contact-form {
        padding: 30px 20px;
    }
}

/* Why Worth Section */
.why-worth-section {
    padding: 100px 0;
}

.why-worth-row {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 80px;
    flex-wrap: nowrap;
}

.why-worth-row:last-child {
    margin-bottom: 0;
}

/* Desktop: Row 1 - Text Left, Image Right */
.why-worth-row-1 {
    flex-direction: row;
}

.why-worth-row-1 .why-worth-text {
    order: 1;
}

.why-worth-row-1 .why-worth-image {
    order: 2;
}

/* Desktop: Row 2 - Image Left, Text Right */
.why-worth-row-2 {
    flex-direction: row;
}

.why-worth-row-2 .why-worth-image {
    order: 1;
}

.why-worth-row-2 .why-worth-text {
    order: 2;
}

/* Desktop: Row 3 - Full Width Text */
.why-worth-row-3 {
    flex-direction: column;
}

.why-worth-text {
    flex: 1 1 50%;
    min-width: 0;
    color: var(--color-dark);
    line-height: 1.8;
}

.why-worth-text h2,
.why-worth-text h3,
.why-worth-text h4,
.why-worth-text h5,
.why-worth-text h6 {
    color: var(--color-main);
    margin-bottom: 20px;
}

.why-worth-text p {
    margin-bottom: 15px;
}

.why-worth-text ul,
.why-worth-text ol {
    margin-left: 20px;
    margin-bottom: 15px;
}

.why-worth-image {
    flex: 1 1 50%;
    min-width: 0;
    text-align: center;
}

.why-worth-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    display: block;
}

.why-worth-text-full {
    width: 100%;
    color: var(--color-dark);
    line-height: 1.8;
}

.why-worth-text-full h2,
.why-worth-text-full h3,
.why-worth-text-full h4,
.why-worth-text-full h5,
.why-worth-text-full h6 {
    color: var(--color-main);
    margin-bottom: 20px;
}

.why-worth-text-full p {
    margin-bottom: 15px;
}

.why-worth-text-full ul,
.why-worth-text-full ol {
    margin-left: 20px;
    margin-bottom: 15px;
}

@media (max-width: 480px) {
    .website-hero-section,
    .website-features-section {
        padding: 60px 0;
    }
    
    
    .website-feature-card {
        padding: 30px 20px;
    }
}

/* Why Worth Section Responsive */
@media (max-width: 768px) {
    .why-worth-section {
        padding: 60px 0;
    }
    
    .why-worth-row {
        flex-direction: column !important;
        gap: 40px;
        margin-bottom: 60px;
    }
    
    .why-worth-text,
    .why-worth-image {
        width: 100%;
        flex: 1 1 100% !important;
    }
    
    /* Mobile: Always text first, then image */
    .why-worth-row-1 .why-worth-text,
    .why-worth-row-2 .why-worth-text {
        order: 1 !important;
    }
    
    .why-worth-row-1 .why-worth-image,
    .why-worth-row-2 .why-worth-image {
        order: 2 !important;
    }
}

/* FAQ Section */
.faq-section {
    padding: 100px 0;
}

.faq-section .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.faq-section .section-headline,
.faq-section .section-kicker {
    font-size: 18px;
    font-weight: 500;
    color: var(--color-orange);
}

.faq-section .section-title {
    font-weight: 500;
    margin-bottom: 1rem;
    color: var(--color-main);
}

.faq-list {
    margin: 0 auto;
}

.faq-item-wrapper {
    margin-bottom: 20px;
}

.faq-item {
    background: var(--color-white);
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: var(--color-orange);
}

.faq-item[open] {
    border-color: var(--color-orange);
    box-shadow: 0 4px 16px rgba(255, 107, 53, 0.15);
}

.faq-item[open] .faq-icon {
    transform: rotate(180deg);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 30px;
    cursor: pointer;
    list-style: none;
    font-weight: 600;
    color: var(--color-main);
    font-size: 1.1rem;
    transition: color 0.3s ease;
    user-select: none;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question:hover {
    color: var(--color-orange);
}

.faq-question-text {
    flex: 1;
    padding-right: 20px;
}

.faq-icon {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-orange);
    color: var(--color-white);
    border-radius: 50%;
    transition: transform 0.3s ease, background 0.3s ease;
    font-size: 0.8rem;
}

.faq-item[open] .faq-icon {
    background: var(--color-main);
}

.faq-answer {
    padding: 0 30px 25px 30px;
    color: var(--color-dark);
    line-height: 1.8;
    animation: fadeIn 0.3s ease;
}

.faq-answer p {
    margin-bottom: 15px;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer ul,
.faq-answer ol {
    margin-left: 20px;
    margin-bottom: 15px;
}

.faq-answer h2,
.faq-answer h3,
.faq-answer h4,
.faq-answer h5,
.faq-answer h6 {
    color: var(--color-main);
    margin-bottom: 15px;
    margin-top: 15px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* FAQ Section Responsive */
@media (max-width: 768px) {
    .faq-section {
        padding: 60px 0;
    }
    
    .faq-question {
        padding: 20px;
        font-size: 1rem;
    }
    
    .faq-answer {
        padding: 0 20px 20px 20px;
    }
    
    .faq-icon {
        width: 25px;
        height: 25px;
        font-size: 0.7rem;
    }
}

