/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', 'Roboto', sans-serif;
    background-color: #F8F5F0;
    color: #333;
    line-height: 1.6;
}

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

/* Header Styles */
.header {
    background-color: #F8F5F0;
    padding: 20px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

/* Back to Portfolio Button */
.back-to-portfolio {
    position: fixed;
    left: 20px;
    top: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(229, 62, 62, 0.95);
    border: 1px solid rgba(229, 62, 62, 0.3);
    border-radius: 8px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.back-to-portfolio:hover {
    background: rgba(229, 62, 62, 1);
    transform: translateX(-2px);
    box-shadow: 0 4px 12px rgba(229, 62, 62, 0.4);
}

.back-to-portfolio svg {
    transition: transform 0.3s ease;
}

.back-to-portfolio:hover svg {
    transform: translateX(-3px);
}

/* Logo Styles */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-text {
    font-size: 24px;
    font-weight: 800;
    color: #E53E3E;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Navigation Styles */
.navigation {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav-list a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 6px;
    position: relative;
}

.nav-list a:hover {
    color: #E53E3E;
    background-color: rgba(229, 62, 62, 0.1);
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: #E53E3E;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-list a:hover::after {
    width: 80%;
}

.nav-list a.active {
    color: #E53E3E;
    background-color: rgba(229, 62, 62, 0.1);
}

.nav-list a.active::after {
    width: 80%;
}

/* Header Utilities */
.header-utils {
    display: flex;
    align-items: center;
    gap: 20px;
}

.search-icon,
.user-icon {
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.search-icon:hover,
.user-icon:hover {
    opacity: 0.7;
}

.contact-btn {
    background: linear-gradient(135deg, #E53E3E, #FF6B6B);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 2px 8px rgba(229, 62, 62, 0.2);
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(229, 62, 62, 0.3);
    background: linear-gradient(135deg, #FF6B6B, #E53E3E);
}

.contact-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(229, 62, 62, 0.2);
}


/* Main Content */
    .main-content {
        padding: 0;
        margin-top: 0;
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }

/* Hero Section */
.hero-section {
    background-image: url('images/hero.jpg');
    background-size: cover;
    background-position: center bottom; /* pokaż dół zdjęcia */
    background-repeat: no-repeat;
    border-radius: 40px;
    margin: 0 20px;
    padding: 80px 60px 20px 60px;
    min-height: 100vh; /* większy kontener, żeby nie przycinało dołu */
    position: relative;
    overflow: hidden;
    /* Dodaj ciemną nakładkę dla lepszej czytelności tekstu */
    background-color: #000;
    /* Subtelna wewnętrzna poświata czerwieni w krawędziach */
    box-shadow: inset 0 0 120px rgba(229, 62, 62, 0.12),
                inset 0 0 220px rgba(229, 62, 62, 0.06);
    /* Delikatne pomniejszenie całej sekcji (jak skalowanie) */
    transform: scale(0.75);
    transform-origin: center center;
}

/* Ciemna nakładka na obraz tła */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

/* Czerwona poświata nad tłem */
.hero-section::after {
    content: '';
    position: absolute;
    inset: -20px; /* zapobiega ostrym krawędziom po blurze */
    /* Dwie delikatne plamy czerwonego światła */
    background:
        radial-gradient(60% 60% at 85% 50%, rgba(229, 62, 62, 0.35) 0%, rgba(229, 62, 62, 0.18) 35%, rgba(229, 62, 62, 0.08) 55%, rgba(229, 62, 62, 0) 70%),
        radial-gradient(50% 50% at 15% 20%, rgba(229, 62, 62, 0.22) 0%, rgba(229, 62, 62, 0.1) 45%, rgba(229, 62, 62, 0) 65%);
    filter: blur(30px);
    z-index: 2; /* nad ciemną nakładką, pod treścią */
    pointer-events: none;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    position: relative;
    z-index: 3;
    text-align: center;
    width: 100%;
    padding: 0;
    margin: 0;
    flex-direction: column;
}

/* Hero Text */
.hero-text {
    max-width: 900px;
    z-index: 3;
    position: relative;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 0 auto;
    padding: 0;
    flex: none;
}

.hero-title {
    font-size: 72px;
    font-weight: 800;
    color: white;
    text-transform: uppercase;
    line-height: 1.2;
    margin-bottom: 30px;
    letter-spacing: 1px;
}

.hero-description {
    font-size: 22px;
    color: white;
    font-weight: 300;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 0;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-top: 40px;
    padding: 0;
    justify-content: center;
    align-items: center;
    width: 100%;
    flex-shrink: 0;
}

.btn-primary {
    background: linear-gradient(135deg, #E53E3E, #FF6B6B);
    color: white;
    border: none;
    padding: 20px 40px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(229, 62, 62, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #C53030, #E53E3E);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(229, 62, 62, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.8);
    padding: 20px 40px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
}

.appointment-btn {
    background: linear-gradient(135deg, #E53E3E, #FF6B6B);
    color: white;
    border: none;
    padding: 20px 40px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(229, 62, 62, 0.3);
    line-height: 1;
    white-space: nowrap;
    align-self: flex-start;
    margin-top: auto;
}

.appointment-btn:hover {
    background: linear-gradient(135deg, #C53030, #E53E3E);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(229, 62, 62, 0.4);
}

.hero-actions {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 600px;
}

.secondary-btn {
    background-color: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.8);
    padding: 20px 40px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    backdrop-filter: blur(10px);
    line-height: 1;
    white-space: nowrap;
    align-self: flex-start;
    margin-top: auto;
}

.secondary-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
}

/* Spójna wysokość CTA */
.btn-primary,
.btn-secondary,
.appointment-btn,
.secondary-btn {
    min-height: 60px;
    height: 60px;
}

/* Hero Visuals - teraz używane tylko dla layoutu */
.hero-visuals {
    position: absolute;
    right: 0;
    top: 0;
    width: 50%;
    height: 100%;
    z-index: 2;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 6px;
}

::-webkit-scrollbar-thumb {
    background: #E53E3E;
    border-radius: 6px;
    border: 2px solid #f1f1f1;
}

::-webkit-scrollbar-thumb:hover {
    background: #C53030;
}

/* Firefox scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: #E53E3E #f1f1f1;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Hero text animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.hero-description {
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

/* Same animation for subpage hero text */
.about-hero .hero-title,
.gallery-hero .hero-title,
.services-hero .hero-title {
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.about-hero .hero-description,
.gallery-hero .hero-description,
.services-hero .hero-description {
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

/* Hide mobile elements on desktop */
.hamburger,
.mobile-nav-overlay,
.mobile-nav {
    display: none;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-section {
        padding: 60px 40px;
        transform: scale(0.80);
    }
    .hero-section .hero-actions {
        left: 40px;
        bottom: 0;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-visuals {
        width: 50%;
        height: 100%;
    }
    
    .car-image {
        width: 100%;
        height: 100%;
    }
}

@media (max-width: 768px) {
    /* Zapobiegaj overflow na mobile */
    * {
        box-sizing: border-box;
    }
    
    html, body {
        overflow-x: hidden;
        width: 100%;
        max-width: 100vw;
    }
    
    .container {
        padding: 0 15px;
        max-width: 100%;
        width: 100%;
        margin: 0 auto;
    }
    
    .main-content {
        margin-top: 100px !important;
    }
    
    /* Ujednolicone zaokrąglenia na mobile */
    .hero-section,
    .about-hero,
    .gallery-hero,
    .services-hero,
    .about-image,
    .service-card,
    .team-card,
    .testimonial-item,
    .faq-item,
    .contact-info,
    .contact-form,
    .form-group input,
    .form-group textarea,
    .btn-primary,
    .btn-secondary {
        border-radius: 15px !important;
    }
    
    .hero-section {
        transform: none !important;
        margin: 20px 10px 0 10px;
        padding: 50px 20px 60px 20px;
        min-height: 80vh;
        border-radius: 15px !important;
        width: calc(100% - 20px);
        max-width: calc(100vw - 20px);
        box-shadow: none !important;
    }
    
    /* Wyłącz podwójne efekty na mobile */
    .hero-section::before,
    .hero-section::after {
        display: none !important;
    }
    
    .header .container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 10px 15px;
        max-width: 100%;
    }
    
    .back-to-portfolio {
        left: 10px;
        top: 10px;
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .back-to-portfolio span {
        display: none;
    }
    
    .logo {
        margin: 0;
    }
    
    .logo-text {
        font-size: 18px;
    }
    
    .contact-btn {
        padding: 8px 16px;
        font-size: 12px;
    }
    
    /* Ukryj nawigację na mobile */
    .navigation {
        display: none;
    }
    
    .header-utils {
        display: none;
    }
    
    /* Hamburger Menu Styles */
    .hamburger {
        display: flex !important;
        flex-direction: column;
        justify-content: space-around;
        width: 30px;
        height: 30px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 1001;
    }
    
    .hamburger-line {
        width: 100%;
        height: 3px;
        background-color: #E53E3E;
        border-radius: 2px;
        transition: all 0.3s ease;
    }
    
    .hamburger.active .hamburger-line:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .hamburger.active .hamburger-line:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .hamburger-line:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    
    /* Mobile Navigation Overlay */
    .mobile-nav-overlay {
        display: block !important;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .mobile-nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }
    
    /* Mobile Navigation */
    .mobile-nav {
        display: block !important;
        position: fixed;
        top: 0;
        right: -300px;
        width: 300px;
        height: 100%;
        background-color: #F8F5F0;
        z-index: 1000;
        transition: right 0.3s ease;
        padding-top: 80px;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    }
    
    .mobile-nav.active {
        right: 0;
    }
    
    .mobile-nav-list {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    
    .mobile-nav-list li {
        border-bottom: 1px solid #E0E0E0;
    }
    
    .mobile-nav-list a {
        display: block;
        padding: 20px 30px;
        color: #333;
        text-decoration: none;
        font-weight: 600;
        font-size: 16px;
        transition: all 0.3s ease;
    }
    
    .mobile-nav-list a:hover,
    .mobile-nav-list a.active {
        background-color: #E53E3E;
        color: white;
    }
    
    .hero-content {
        flex-direction: column;
        text-align: center;
        padding: 0 15px;
        margin: 0;
        width: 100%;
        height: 80vh;
        min-height: 80vh;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .hero-text {
        max-width: 100%;
        margin: 0 auto;
        padding: 0 10px;
        width: calc(100% - 20px);
    }

    .hero-actions {
        position: static;
        flex-direction: column;
        gap: 12px;
        width: 100%;
        margin-top: 25px;
        padding: 0 10px;
    }
    
    .btn-primary,
    .btn-secondary,
    .appointment-btn,
    .secondary-btn {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
        justify-content: center;
        padding: 16px 32px;
        font-size: 16px;
        font-weight: 700;
        min-height: 50px;
        height: 50px;
        border-radius: 15px !important;
    }
    
    .hero-title {
        font-size: 28px;
        margin-bottom: 16px;
        line-height: 1.2;
        word-wrap: break-word;
    }
    
    .hero-description {
        font-size: 16px;
        margin-bottom: 20px;
        line-height: 1.4;
        word-wrap: break-word;
    }
    
    .hero-visuals {
        width: 100%;
        height: 300px;
        position: relative;
        border-radius: 20px;
    }
    
    .main-car {
        border-radius: 20px;
    }
    
    .car-image {
        width: 100%;
        height: 100%;
    }
}

@media (max-width: 480px) {
    .hero-section {
        margin: 0 10px;
        padding: 30px 15px 50px 15px;
        border-radius: 20px;
        min-height: 65vh;
    }
    
    .hero-title {
        font-size: 22px;
        margin-bottom: 15px;
    }
    
    .hero-description {
        font-size: 14px;
        margin-bottom: 20px;
    }
    
    .appointment-btn,
    .secondary-btn {
        font-size: 15px;
        padding: 12px 24px;
    }
    
    .hero-visuals {
        width: 100%;
        height: 250px;
        position: relative;
        border-radius: 20px;
    }
    
    .main-car {
        border-radius: 20px;
    }
    
    .nav-list {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .header-utils {
        gap: 15px;
    }
    
    .contact-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* Page Styles */
.page-hero {
    background: linear-gradient(135deg, #E53E3E, #C53030);
    color: white;
    padding: 100px 0 80px;
    text-align: center;
}

.about-hero {
    background-image: url('images/onas.jpg');
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    border-radius: 40px;
    margin: 0 20px;
    padding: 80px 60px 20px 60px;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    background-color: #000;
    box-shadow: inset 0 0 120px rgba(229, 62, 62, 0.12),
                inset 0 0 220px rgba(229, 62, 62, 0.06);
    transform: scale(0.75);
    transform-origin: center center;
    will-change: transform;
    backface-visibility: hidden;
}

.gallery-hero {
    background-image: url('images/galeryhero.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    border-radius: 40px;
    margin: 0 20px;
    padding: 80px 60px 20px 60px;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    background-color: #000;
    box-shadow: inset 0 0 120px rgba(229, 62, 62, 0.12),
                inset 0 0 220px rgba(229, 62, 62, 0.06);
    transform: scale(0.75);
    transform-origin: center center;
    will-change: transform;
    backface-visibility: hidden;
}

.services-hero {
    background-image: url('images/services.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    border-radius: 40px;
    margin: 0 20px;
    padding: 80px 60px 20px 60px;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    background-color: #000;
    box-shadow: inset 0 0 120px rgba(229, 62, 62, 0.12),
                inset 0 0 220px rgba(229, 62, 62, 0.06);
    transform: scale(0.75);
    transform-origin: center center;
    will-change: transform;
    backface-visibility: hidden;
}

.about-hero::before,
.gallery-hero::before,
.services-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
    border-radius: 40px;
}

.about-hero::after,
.gallery-hero::after,
.services-hero::after {
    content: '';
    position: absolute;
    inset: -20px;
    background:
        radial-gradient(60% 60% at 85% 50%, rgba(229, 62, 62, 0.35) 0%, rgba(229, 62, 62, 0.18) 35%, rgba(229, 62, 62, 0.08) 55%, rgba(229, 62, 62, 0) 70%),
        radial-gradient(50% 50% at 15% 20%, rgba(229, 62, 62, 0.22) 0%, rgba(229, 62, 62, 0.1) 45%, rgba(229, 62, 62, 0) 65%);
    filter: blur(30px);
    z-index: 2;
    pointer-events: none;
}

.hero-section.about-hero .hero-content,
.hero-section.gallery-hero .hero-content,
.hero-section.services-hero .hero-content {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 100vh !important;
    position: relative !important;
    z-index: 3 !important;
    text-align: center !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

.hero-section.about-hero .hero-text,
.hero-section.gallery-hero .hero-text,
.hero-section.services-hero .hero-text {
    width: 100% !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    height: 100vh !important;
    max-width: 800px !important;
    flex: none !important;
    position: relative !important;
    z-index: 4 !important;
    margin: 0 auto !important;
}

.about-hero .hero-visuals,
.gallery-hero .hero-visuals,
.services-hero .hero-visuals {
    display: none;
}

.hero-section.about-hero .hero-buttons,
.hero-section.gallery-hero .hero-buttons,
.hero-section.services-hero .hero-buttons {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 16px !important;
    margin-top: 32px !important;
    width: 100% !important;
}

.hero-section.about-hero .hero-title,
.hero-section.gallery-hero .hero-title,
.hero-section.services-hero .hero-title {
    text-align: center !important;
    margin: 0 auto !important;
    width: 100% !important;
}

.hero-section.about-hero .hero-description,
.hero-section.gallery-hero .hero-description,
.hero-section.services-hero .hero-description {
    text-align: center !important;
    margin: 0 auto !important;
    width: 100% !important;
    max-width: 600px !important;
}

.page-hero h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.page-hero p {
    font-size: 20px;
    font-weight: 300;
    opacity: 0.9;
}

.about-section {
    padding: 80px 0;
    background-color: #F8F5F0;
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: stretch;
}

.about-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    height: 100%;
    display: flex;
    align-items: stretch;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.about-text h2 {
    font-size: 36px;
    color: #333;
    margin-bottom: 24px;
    font-weight: 700;
}

.about-text h3 {
    font-size: 24px;
    color: #E53E3E;
    margin: 32px 0 16px;
    font-weight: 600;
}

.about-text p {
    font-size: 18px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 24px;
}

.about-text ul {
    list-style: none;
    padding: 0;
}

.about-text li {
    font-size: 18px;
    color: #666;
    margin-bottom: 12px;
    padding-left: 24px;
    position: relative;
}

.about-text li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #E53E3E;
    font-weight: bold;
}

/* Responsive for About Section */
@media (max-width: 1024px) {
    .about-hero {
        padding: 60px 40px;
        transform: scale(0.80);
    }
}

@media (max-width: 768px) {
    .about-hero,
    .gallery-hero,
    .services-hero {
        transform: none !important;
        padding: 50px 20px 60px 20px !important;
        margin: 20px 10px 0 10px !important;
        width: calc(100% - 20px) !important;
        max-width: calc(100vw - 20px) !important;
        border-radius: 15px !important;
        min-height: 80vh !important;
        box-shadow: none !important;
    }
    
    /* Wyłącz podwójne efekty na mobile dla podstron */
    .about-hero::before,
    .about-hero::after,
    .gallery-hero::before,
    .gallery-hero::after,
    .services-hero::before,
    .services-hero::after {
        display: none !important;
    }
    
    .about-hero .hero-content,
    .gallery-hero .hero-content,
    .services-hero .hero-content {
        flex-direction: column !important;
        text-align: center !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100% !important;
        padding: 0 15px !important;
        height: 80vh !important;
        margin: 0 !important;
        min-height: 80vh !important;
    }
    
    .about-content {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
        max-width: 100% !important;
        padding: 0 15px !important;
        margin: 0 !important;
        width: 100% !important;
        overflow-x: hidden !important;
    }
    
    .about-image {
        position: static !important;
        order: -1 !important;
        height: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        border-radius: 15px !important;
        margin: 0 !important;
    }
    
    .about-image img {
        height: 250px !important;
        width: 100% !important;
        object-fit: cover !important;
    }
    
    .about-text h2 {
        font-size: 24px !important;
        margin-bottom: 15px !important;
        word-wrap: break-word !important;
    }
    
    .about-text h3 {
        font-size: 18px !important;
        margin-bottom: 10px !important;
    }
    
    .about-text p {
        font-size: 14px !important;
        line-height: 1.5 !important;
        word-wrap: break-word !important;
    }
}

/* Team Section */
.team-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #F8F5F0 0%, #E8E0D5 100%);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.team-card {
    position: relative;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.card-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #E53E3E, #FF6B6B);
    display: flex;
    align-items: center;
    justify-content: center;
}

.photo-placeholder {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 64px;
    font-weight: bold;
    font-family: 'Montserrat', sans-serif;
    border: 4px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 40px 30px 30px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.team-card:hover .card-overlay {
    transform: translateY(0);
}

.card-overlay h3 {
    font-size: 28px;
    margin: 0 0 8px 0;
    font-weight: 700;
}

.member-role {
    font-size: 18px;
    margin: 0 0 16px 0;
    opacity: 0.9;
    font-weight: 600;
    color: #FF6B6B;
}

.member-description {
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
    opacity: 0.95;
}

/* Responsive for Team Section */
@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
        margin-top: 25px !important;
        padding: 0 15px !important;
    }
    
    .team-card {
        height: auto !important;
        min-height: 350px !important;
        margin: 0 !important;
    }
    
    .photo-placeholder {
        width: 120px !important;
        height: 120px !important;
        font-size: 40px !important;
    }
    
    .card-overlay {
        padding: 20px 15px 15px !important;
    }
    
    .card-overlay h3 {
        font-size: 24px;
    }
    
    .member-role {
        font-size: 16px;
    }
    
    .member-description {
        font-size: 14px;
    }
}

.gallery-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #F8F5F0 0%, #E8E0D5 100%);
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 16px;
    color: #1A1A1A;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-description {
    font-size: 18px;
    color: #666;
    text-align: center;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.gallery-item {
    position: relative;
    height: 250px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #E53E3E, #FF6B6B);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
}


/* Process Section */
.process-section {
    padding: 80px 0;
    background-color: #F8F5F0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 42px;
    font-weight: 800;
    color: #333;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-header p {
    font-size: 20px;
    color: #666;
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
}

.process-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.process-card {
    background: white;
    border: 2px solid #E5E5E5;
    border-radius: 16px;
    padding: 40px 32px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.process-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.card-number {
    position: absolute;
    top: -20px;
    left: 32px;
    width: 40px;
    height: 40px;
    background: #E53E3E;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(229, 62, 62, 0.3);
}

.process-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin: 20px 0 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.process-card p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Services Section */
.services-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #F8F5F0 0%, #E8E0D5 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: white;
    border: none;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: left;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.service-card .service-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #E53E3E, #C53030);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    border-color: #E53E3E;
}

.service-icon {
    font-size: 48px;
    margin-bottom: 24px;
    display: block;
}

.service-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: #1A1A1A;
    margin-bottom: 16px;
}

.service-card p,
.service-description {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin: 0 0 20px 0;
}

.service-card {
    cursor: pointer;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.service-features span,
.service-features li {
    background: #F0F0F0;
    color: #666;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    list-style: none;
}

.read-more-btn {
    display: inline-block;
    background: linear-gradient(135deg, #E53E3E, #FF6B6B);
    color: white;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: auto;
    align-self: center;
    margin-bottom: 0;
    width: fit-content;
    flex-shrink: 0;
}

.read-more-btn:hover {
    background: linear-gradient(135deg, #FF6B6B, #E53E3E);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(229, 62, 62, 0.4);
}

/* Service Detail Pages */
.service-detail-section {
    padding: 80px 0;
    background-color: #F8F5F0;
}

.service-intro {
    font-size: 18px;
    line-height: 1.7;
    color: #333;
    margin-bottom: 30px;
}

.service-features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.service-features-list li {
    padding: 12px 0;
    border-bottom: 1px solid #E5E5E5;
    font-size: 16px;
    line-height: 1.6;
    color: #555;
}

.service-features-list li:last-child {
    border-bottom: none;
}

.service-features-list strong {
    color: #E53E3E;
    font-weight: 600;
}

.service-conclusion {
    font-size: 18px;
    line-height: 1.7;
    color: #333;
    margin-top: 30px;
    padding: 20px;
    background: linear-gradient(135deg, #F8F5F0, #E8E0D5);
    border-radius: 12px;
    border-left: 4px solid #E53E3E;
}

.service-image {
    margin-top: 30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.service-image:hover {
    transform: translateY(-5px);
}

.service-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: center;
    display: block;
}

.service-detail-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-detail-text h2 {
    font-size: 36px;
    color: #333;
    margin-bottom: 24px;
    font-weight: 700;
}

.service-detail-text h3 {
    font-size: 24px;
    color: #E53E3E;
    margin: 32px 0 16px;
    font-weight: 600;
}

.service-detail-text p {
    font-size: 18px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 24px;
}

.service-detail-text ul {
    list-style: none;
    padding: 0;
    margin-bottom: 32px;
}

.service-detail-text li {
    font-size: 16px;
    color: #666;
    margin-bottom: 12px;
    padding-left: 24px;
    position: relative;
    line-height: 1.5;
}

.service-detail-text li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #E53E3E;
    font-weight: bold;
}

.service-detail-sidebar .service-card {
    background: white;
    border: 1px solid #E5E5E5;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: auto;
    min-height: auto;
}

.service-detail-sidebar .service-card h3 {
    font-size: 18px;
    color: #1A1A1A;
    margin-bottom: 12px;
    font-weight: 600;
}

.service-detail-sidebar .service-card p {
    font-size: 14px;
    color: #666;
    margin-bottom: 16px;
    line-height: 1.5;
}

.service-detail-sidebar .btn-primary {
    background: linear-gradient(135deg, #E53E3E, #FF6B6B);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.service-detail-sidebar .btn-primary:hover {
    background: linear-gradient(135deg, #FF6B6B, #E53E3E);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(229, 62, 62, 0.3);
}

.service-detail-sidebar .service-image-card {
    padding: 0;
    overflow: hidden;
}

.service-detail-sidebar .service-image-card img {
    width: 100%;
    height: 100%;
    min-height: 800px;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 0;
    background: #F8F5F0;
    overflow: hidden;
}

.testimonials-marquee {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

.testimonials-marquee::before,
.testimonials-marquee::after {
    content: '';
    position: absolute;
    top: 20px;
    bottom: 20px;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.testimonials-marquee::before {
    left: 0;
    background: linear-gradient(to right, #F8F5F0, transparent);
}

.testimonials-marquee::after {
    right: 0;
    background: linear-gradient(to left, #F8F5F0, transparent);
}

.marquee-content {
    display: flex;
    animation: marquee 20s linear infinite;
    gap: 24px;
    padding: 0 20px;
}

.testimonial-item {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    min-width: 300px;
    flex-shrink: 0;
    position: relative;
    border-left: 4px solid #E53E3E;
}

.testimonial-item .stars {
    color: #FFD700;
    font-size: 1rem;
    margin-bottom: 12px;
}

.testimonial-item p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #333;
    font-style: italic;
    margin: 0 0 12px 0;
}

.testimonial-item .author {
    font-size: 0.8rem;
    color: #666;
    font-weight: 600;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes marquee-reverse {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0);
    }
}

.testimonials-marquee:hover .marquee-content {
    animation-play-state: paused;
}

.marquee-reverse .marquee-content {
    animation: marquee-reverse 20s linear infinite;
}

.marquee-reverse:hover .marquee-content {
    animation-play-state: paused;
}

/* FAQ Section */
.faq-section {
    padding: 100px 0;
    background: white;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.faq-item {
    border: 1px solid #E5E5E5;
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: #E53E3E;
    box-shadow: 0 4px 20px rgba(229, 62, 62, 0.1);
}

.faq-question {
    padding: 24px 32px;
    background: #F8F5F0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.faq-question:hover {
    background: #F0F0F0;
}

.faq-question h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1A1A1A;
    margin: 0;
    flex: 1;
    padding-right: 20px;
}

.faq-icon {
    font-size: 1.5rem;
    color: #E53E3E;
    font-weight: bold;
    transition: transform 0.3s ease;
    min-width: 24px;
    text-align: center;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 32px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: white;
    opacity: 0;
}

.faq-item.active .faq-answer {
    padding: 24px 32px;
    max-height: 1000px;
    opacity: 1;
}

.faq-answer p {
    font-size: 1rem;
    line-height: 1.7;
    color: #666;
    margin: 0;
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #F8F5F0 0%, #E8E0D5 50%, #F0E8E0 100%);
    color: #1A1A1A;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    align-items: start;
}

@media (min-width: 769px) {
    .contact-content {
        grid-template-columns: 1fr 1fr !important;
        display: grid !important;
    }
}

@media (min-width: 1024px) {
    .contact-content {
        grid-template-columns: 1fr 1fr !important;
        display: grid !important;
    }
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 24px;
    background: white;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.contact-icon {
    background: linear-gradient(135deg, #E53E3E, #FF6B6B);
    border-radius: 16px;
    padding: 20px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon svg {
    stroke: white;
}

.contact-details h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1A1A1A;
    margin: 0 0 8px 0;
}

.contact-details p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
    font-weight: 500;
}

.contact-form {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    padding: 50px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(229, 62, 62, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #E53E3E, #FF6B6B, #E53E3E);
    background-size: 200% 100%;
    animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.contact-form:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 25px 70px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(229, 62, 62, 0.15);
}

.contact-form h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1A1A1A;
    margin: 0 0 40px 0;
    text-align: center;
    position: relative;
}

.contact-form h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #E53E3E, #FF6B6B);
    border-radius: 2px;
}

.form-group {
    margin-bottom: 28px;
    position: relative;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 18px 24px;
    border: 2px solid #E5E5E5;
    border-radius: 15px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: white;
    position: relative;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #E53E3E;
    box-shadow: 
        0 0 0 4px rgba(229, 62, 62, 0.1),
        0 4px 20px rgba(229, 62, 62, 0.15);
    transform: translateY(-2px);
}

.form-group input:focus + label,
.form-group select:focus + label,
.form-group textarea:focus + label {
    color: #E53E3E;
}

.form-group textarea {
    resize: vertical;
    min-height: 130px;
    line-height: 1.6;
}

.form-group select {
    cursor: pointer;
    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='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 40px;
    appearance: none;
}

.contact-form .btn-primary {
    width: 100%;
    padding: 20px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    margin-top: 20px;
    background: linear-gradient(135deg, #E53E3E 0%, #FF6B6B 100%);
    border: none;
    border-radius: 15px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.contact-form .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.contact-form .btn-primary:hover::before {
    left: 100%;
}

.contact-form .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(229, 62, 62, 0.4);
    background: linear-gradient(135deg, #C53030 0%, #E53E3E 100%);
}

.contact-form .btn-primary:active {
    transform: translateY(-1px);
}

.contact-form .btn-primary svg {
    transition: transform 0.3s ease;
}

.contact-form .btn-primary:hover svg {
    transform: translateX(3px);
}

@media (max-width: 768px) {
    .service-detail-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .service-image img {
        height: 250px;
    }
    
    .testimonial-item {
        min-width: 280px;
        padding: 20px;
    }
    
    .marquee-content {
        gap: 16px;
        padding: 0 10px;
    }
    
    .testimonials-section {
        padding: 60px 0;
    }
    
    .faq-section {
        padding: 60px 0;
    }
    
    .faq-question {
        padding: 20px 24px;
    }
    
    .faq-question h3 {
        font-size: 1rem;
        padding-right: 16px;
    }
    
    .faq-item.active .faq-answer {
        padding: 20px 24px;
    }
    
    .contact-section {
        padding: 60px 0;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-form {
        padding: 40px 30px;
        border-radius: 15px !important;
    }
    
    .contact-form h3 {
        font-size: 1.5rem !important;
        margin-bottom: 30px !important;
    }
    
    .form-group {
        margin-bottom: 24px !important;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 16px 20px !important;
        font-size: 16px !important;
        border-radius: 12px !important;
    }
    
    .contact-form .btn-primary {
        padding: 18px 32px !important;
        font-size: 1rem !important;
        border-radius: 12px !important;
    }
    
    .contact-item {
        gap: 16px;
    }
    
    .contact-icon {
        padding: 12px;
    }
}

/* Footer */
footer.footer,
.footer,
body footer,
html body footer.footer {
    background: #2D2D2D !important;
    background-color: #2D2D2D !important;
    color: white !important;
    padding: 80px 0 0 0 !important;
    margin: 0 !important;
    border: none !important;
}

.footer-content {
    display: grid !important;
    grid-template-columns: 2fr 1fr 1fr 1fr !important;
    gap: 60px !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 20px 40px 20px !important;
}

.footer-section h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    margin: 0 0 24px 0;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.footer-logo .logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
}

.footer-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #CCCCCC;
    margin: 0 0 32px 0;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(229, 62, 62, 0.1);
    border-radius: 12px;
    color: #E53E3E;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #E53E3E;
    color: white;
    transform: translateY(-2px);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #CCCCCC;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #E53E3E;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #CCCCCC;
    font-size: 1rem;
}

.contact-info-item svg {
    color: #E53E3E;
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding: 24px 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-bottom p {
    color: #999;
    font-size: 0.9rem;
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 32px;
}

.footer-bottom-links a {
    color: #999;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: #E53E3E;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 20px 32px 20px;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .footer-bottom-links {
        gap: 24px;
    }
    
    .social-links {
        justify-content: center;
    }
}

/* Services Mobile Responsive */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        padding: 0 15px !important;
        margin: 0 !important;
    }
    
    .service-card {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
    }
    
    .service-card h3 {
        font-size: 20px !important;
        word-wrap: break-word !important;
    }
    
    .service-card p {
        font-size: 14px !important;
        line-height: 1.4 !important;
    }
}

/* Contact Mobile Responsive */
@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
        padding: 0 15px !important;
        margin: 0 !important;
    }
    
    .contact-info,
    .contact-form {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
    }
    
    .contact-info h2,
    .contact-form h2 {
        font-size: 24px !important;
        word-wrap: break-word !important;
    }
    
    .contact-info p {
        font-size: 14px !important;
        line-height: 1.5 !important;
    }
    
    .contact-info-item {
        padding: 15px !important;
        margin-bottom: 15px !important;
    }
    
    .contact-info-item h3 {
        font-size: 16px !important;
    }
    
    .contact-info-item p {
        font-size: 13px !important;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 12px !important;
        font-size: 14px !important;
    }
    
    .btn-primary {
        padding: 12px 24px !important;
        font-size: 14px !important;
    }
    
    /* Dodatkowe style zapobiegające overflow */
    .services-section,
    .team-section,
    .contact-section,
    .footer {
        width: 100% !important;
        max-width: 100vw !important;
        overflow-x: hidden !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    
    .services-section .container,
    .team-section .container,
    .contact-section .container,
    .footer .container {
        max-width: 100% !important;
        width: 100% !important;
        padding: 0 15px !important;
        margin: 0 auto !important;
    }
}

/* Language Switcher Styles */
.lang-switcher-workshop {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 99999;
    display: flex;
    gap: 8px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    padding: 4px;
    border: 1px solid rgba(229, 62, 62, 0.3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.lang-btn-workshop {
    background: transparent;
    border: none;
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 40px;
    text-align: center;
    position: relative;
    z-index: 100000;
    pointer-events: auto;
    overflow: hidden;
    font-family: 'Montserrat', 'Roboto', sans-serif;
}

.lang-btn-workshop::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.lang-btn-workshop:hover::before {
    left: 100%;
}

.lang-btn-workshop:not(.active) {
    opacity: 0.6;
}

.lang-btn-workshop:hover {
    opacity: 1;
    background: rgba(229, 62, 62, 0.2);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 4px 12px rgba(229, 62, 62, 0.2);
}

.lang-btn-workshop.active {
    background: #E53E3E;
    color: #fff;
    box-shadow: 0 4px 16px rgba(229, 62, 62, 0.4);
    transform: scale(1.05);
}

.lang-btn-workshop.active:hover {
    background: #c53030;
}

/* Language transition effects */
[data-pl], [data-en] {
    transition: all 0.4s ease-in-out;
}

.language-transition {
    animation: languageFadeIn 0.4s ease-in-out;
}

@keyframes languageFadeIn {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .lang-switcher-workshop {
        top: 70px;
        right: 20px;
    }
}
