/* Poprawki strony głównej - animacje, cienie, przyciski */

/* Hero section - lepsze animacje */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/warehouse-bg.jpg') center/cover;
    opacity: 0.1;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Główny nagłówek - lepsze cienie */
.hero h1 {
    color: #ffffff !important;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    font-weight: 700;
    margin-bottom: 1.5rem;
    animation: slideInLeft 1.2s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Podtytuł */
.hero p {
    color: #f0f0f0 !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    font-size: 1.2rem;
    margin-bottom: 2rem;
    animation: slideInRight 1.2s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Przyciski CTA - znacznie lepsze */
.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    animation: fadeInUp 1.5s ease-out;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    border: none !important;
    color: #ffffff !important;
    padding: 15px 30px !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    border-radius: 50px !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3) !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
    position: relative !important;
    overflow: hidden !important;
}

.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;
}

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

.btn-primary:hover {
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4) !important;
    color: #ffffff !important;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    color: #ffffff !important;
    padding: 15px 30px !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    border-radius: 50px !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    transition: all 0.3s ease !important;
    backdrop-filter: blur(10px) !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
}

/* Sekcje - lepsze animacje przy scrollowaniu */
.section {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.section.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Karty usług - lepsze cienie i hover */
.service-card {
    background: rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 15px !important;
    padding: 2rem !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important;
}

.service-card:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2) !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}

.service-card h3 {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
    margin-bottom: 1rem !important;
}

.service-card p {
    color: #e0e0e0 !important;
    line-height: 1.6 !important;
}

.service-card .icon {
    font-size: 3rem !important;
    color: #667eea !important;
    margin-bottom: 1rem !important;
    text-shadow: 0 2px 8px rgba(102, 126, 234, 0.3) !important;
}

/* Cennik - lepsze karty */
.pricing-card {
    background: rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 20px !important;
    padding: 2.5rem !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1) !important;
    position: relative !important;
    overflow: hidden !important;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.pricing-card.featured {
    border-color: rgba(102, 126, 234, 0.3) !important;
    box-shadow: 0 15px 50px rgba(102, 126, 234, 0.2) !important;
}

.pricing-card.featured::before {
    height: 6px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.pricing-card:hover {
    transform: translateY(-15px) !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2) !important;
    background: rgba(255, 255, 255, 0.08) !important;
}

.pricing-card h3 {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
}

.pricing-card .price {
    color: #667eea !important;
    font-size: 3rem !important;
    font-weight: 700 !important;
    text-shadow: 0 2px 8px rgba(102, 126, 234, 0.3) !important;
}

.pricing-card ul li {
    color: #e0e0e0 !important;
    margin-bottom: 0.5rem !important;
}

.pricing-card ul li::before {
    content: '✓';
    color: #4ade80 !important;
    font-weight: bold !important;
    margin-right: 10px !important;
}

/* Formularz kontaktowy - lepszy design */
.contact-form {
    background: rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 15px !important;
    padding: 2rem !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1) !important;
}

.contact-form .form-group {
    margin-bottom: 1.5rem !important;
}

.contact-form label {
    color: #ffffff !important;
    font-weight: 600 !important;
    margin-bottom: 0.5rem !important;
    display: block !important;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 8px !important;
    padding: 12px 15px !important;
    color: #ffffff !important;
    width: 100% !important;
    transition: all 0.3s ease !important;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: rgba(102, 126, 234, 0.5) !important;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1) !important;
    outline: none !important;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.6) !important;
}

/* Stopka - lepsze kolory */
.footer {
    background: rgba(0, 0, 0, 0.8) !important;
    backdrop-filter: blur(10px) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.footer h4 {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
}

.footer p,
.footer a {
    color: #cccccc !important;
    transition: color 0.3s ease !important;
}

.footer a:hover {
    color: #667eea !important;
    text-decoration: none !important;
}

/* Responsywność */
@media (max-width: 768px) {
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100% !important;
        max-width: 300px !important;
        justify-content: center !important;
    }
    
    .hero h1 {
        font-size: 2rem !important;
    }
    
    .service-card,
    .pricing-card {
        margin-bottom: 2rem !important;
    }
}

/* Scroll animations */
@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Dodatkowe klasy animacji */
.animate-left {
    animation: slideInFromLeft 1s ease-out;
}

.animate-right {
    animation: slideInFromRight 1s ease-out;
}

.animate-scale {
    animation: scaleIn 1s ease-out;
}

