/* ========================================
   MECH (ŚCIANY Z MCHU) PAGE STYLES
   ======================================== */

/* Hero Section */
.top-asystent-hero .mech-hero-section {
    width: 100%;
    height: 400px;
    position: relative;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0;
}

.top-asystent-hero .mech-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.top-asystent-hero .mech-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.top-asystent-hero .mech-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.top-asystent-hero .mech-hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 900;
    color: #ffffff;
    margin: 0;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.top-asystent-hero .mech-hero-overlay-image {
    position: absolute;
    bottom: -200px;
    left: 50%;
    transform: translate(-50%, -1px);
    z-index: 10;
    width: 400px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.top-asystent-hero .mech-hero-overlay-img {
    width: 400px;
    height: 400px;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
}

.top-asystent-hero .mech-page-section {
    width: 100%;
    background: #ffffff;
    padding: 80px 0;
    min-height: calc(100vh - 200px);
    position: relative;
    z-index: 5;
}

.top-asystent-hero .mech-page-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.top-asystent-hero .mech-content-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Intro Section: Text Left, Image Right */
.top-asystent-hero .mech-intro-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 100px;
}

.top-asystent-hero .mech-intro-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.top-asystent-hero .mech-intro-image {
    width: 85%;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 8px;
    margin: 0 auto;
}

.top-asystent-hero .mech-intro-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.top-asystent-hero .mech-page-subtitle {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: #111111;
    margin: 0 0 25px;
    line-height: 1.3;
}

.top-asystent-hero .mech-page-intro {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(0.9rem, 1.3vw, 1rem);
    font-weight: 300;
    color: rgba(0, 0, 0, 0.7);
    line-height: 1.7;
    margin: 0;
}

/* FAQ Section: Image Left, Accordion Right */
.top-asystent-hero .mech-faq-section {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
    margin: 100px 0;
}

.top-asystent-hero .mech-faq-image {
    width: 85%;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 8px;
    margin: 0 auto;
}

.top-asystent-hero .mech-faq-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.top-asystent-hero .mech-faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.top-asystent-hero .mech-accordion-item {
    background: #000000;
    border-radius: 6px;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.3s ease;
}

.top-asystent-hero .mech-accordion-item.animate-in {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.top-asystent-hero .mech-accordion-header {
    width: 100%;
    background: #000000;
    border: none;
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    transition: all 0.3s ease;
}

.top-asystent-hero .mech-accordion-header:hover {
    background: #1a1a1a;
}

.top-asystent-hero .mech-accordion-item.active .mech-accordion-header {
    background: #1a1a1a;
}

.top-asystent-hero .mech-accordion-question {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(0.9rem, 1.4vw, 1.05rem);
    font-weight: 500;
    color: #ffffff;
    margin: 0;
    line-height: 1.4;
    flex: 1;
}

.top-asystent-hero .mech-accordion-icon {
    color: #ffffff;
    font-size: 0.85rem;
    transition: transform 0.3s ease;
    margin-left: 15px;
    flex-shrink: 0;
}

.top-asystent-hero .mech-accordion-item.active .mech-accordion-icon {
    transform: rotate(180deg);
}

.top-asystent-hero .mech-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 24px;
}

.top-asystent-hero .mech-accordion-item.active .mech-accordion-content {
    max-height: 500px;
    padding: 0 24px 18px;
}

.top-asystent-hero .mech-accordion-answer {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(0.85rem, 1.1vw, 0.95rem);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin: 0;
}

/* Gallery Section */
.top-asystent-hero .mech-gallery-section {
    margin-top: 100px;
}

.top-asystent-hero .mech-gallery-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: #111111;
    text-align: center;
    margin: 0 0 50px;
}

.top-asystent-hero .mech-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.top-asystent-hero .mech-gallery-item {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0;
    transform: translateY(30px);
    display: flex;
    flex-direction: column;
}

.top-asystent-hero .mech-gallery-item.animate-in {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.top-asystent-hero .mech-gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.top-asystent-hero .mech-gallery-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f0f0f0;
    position: relative;
}

.top-asystent-hero .mech-gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.top-asystent-hero .mech-gallery-item:hover .mech-gallery-image img {
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 1024px) {
    .top-asystent-hero .mech-gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .top-asystent-hero .mech-hero-section {
        height: 400px;
    }
    
    .top-asystent-hero .mech-hero-title {
        font-size: clamp(2rem, 8vw, 3.5rem);
    }
    
    .top-asystent-hero .mech-hero-overlay-image {
        width: 300px;
        height: 300px;
        bottom: -150px;
        transform: translate(-50%, -1px);
    }
    
    .top-asystent-hero .mech-hero-overlay-img {
        width: 300px;
        height: 300px;
    }
    
    .top-asystent-hero .mech-page-section {
        padding: 60px 0 40px;
    }
    
    .top-asystent-hero .mech-page-container {
        padding: 0 24px;
    }
    
    .top-asystent-hero .mech-content-container {
        padding: 0 24px;
    }
    
    .top-asystent-hero .mech-intro-section {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 60px;
    }
    
    .top-asystent-hero .mech-intro-image {
        order: -1;
    }
    
    .top-asystent-hero .mech-faq-section {
        grid-template-columns: 1fr;
        gap: 40px;
        margin: 60px 0;
    }
    
    .top-asystent-hero .mech-faq-image {
        order: -1;
    }
    
    .top-asystent-hero .mech-accordion-header {
        padding: 20px;
    }
    
    .top-asystent-hero .mech-accordion-content {
        padding: 0 20px;
    }
    
    .top-asystent-hero .mech-accordion-item.active .mech-accordion-content {
        padding: 0 20px 20px;
    }
    
    .top-asystent-hero .mech-gallery-section {
        margin-top: 60px;
    }
    
    .top-asystent-hero .mech-gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .top-asystent-hero .mech-page-section {
        padding: 60px 0 30px;
    }
    
    .top-asystent-hero .mech-page-container {
        padding: 0 20px;
    }
    
    .top-asystent-hero .mech-content-container {
        padding: 0 20px;
    }
    
    .top-asystent-hero .mech-gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .top-asystent-hero .mech-page-intro {
        font-size: 0.95rem;
        line-height: 1.7;
    }
}



