/* Dodatkowe style dla strony głównej */

/* Hero section */
.main-hero {
    height: 85vh;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1556741533-6e6a62bd8b49?auto=format&fit=crop&q=80') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.hero-content {
    max-width: 900px;
    padding: 0 20px;
    animation: fadeInUp 1s ease-out;
}

.main-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.main-hero p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* About section */
.about-us {
    padding: 80px 0;
    background-color: white;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 50px;
    align-items: center;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text p {
    color: #555;
    margin-bottom: 20px;
    line-height: 1.7;
    font-size: 1.1rem;
}

.about-image {
    flex: 1;
    min-width: 300px;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.about-image img:hover {
    transform: scale(1.02);
}

.btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    margin-top: 10px;
}

.btn-secondary:hover {
    background-color: #1a2a3a;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Stats */
.stats-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-top: 60px;
    text-align: center;
}

.stat-item {
    flex: 1;
    min-width: 200px;
    margin: 20px;
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-10px);
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 10px;
    position: relative;
}

.stat-number::after {
    content: '+';
    font-size: 2rem;
    position: absolute;
    top: 0;
}

.stat-label {
    color: var(--primary-color);
    font-weight: 500;
}

/* Why us section */
.why-us {
    padding: 80px 0;
    background-color: var(--light-color);
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.why-us-item {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-align: center;
    height: 100%;
}

.why-us-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.why-us-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(231, 76, 60, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
}

.why-us-icon i {
    font-size: 30px;
    color: var(--secondary-color);
}

.why-us-item h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.why-us-item p {
    color: #555;
}

/* Services preview */
.services-preview {
    padding: 80px 0;
    background-color: white;
}

.services-slider {
    max-width: 1000px;
    margin: 50px auto 20px;
    position: relative;
    overflow: hidden;
}

.service-slide {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-slide.active {
    display: block;
    opacity: 1;
}

.service-slide-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: center;
}

.service-slide-image {
    flex: 1;
    min-width: 300px;
}

.service-slide-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-slide-text {
    flex: 1;
    min-width: 300px;
}

.service-slide-text h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.service-slide-text p {
    color: #555;
    margin-bottom: 20px;
    line-height: 1.7;
}

.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
}

.slider-prev,
.slider-next {
    background-color: transparent;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
    padding: 5px 10px;
    transition: color 0.3s;
}

.slider-prev:hover,
.slider-next:hover {
    color: var(--secondary-color);
}

.slider-dots {
    display: flex;
    justify-content: center;
    margin: 0 20px;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: #ddd;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active {
    background-color: var(--secondary-color);
}

/* Clients section */
.clients-section {
    padding: 60px 0;
    background-color: var(--light-color);
}

.clients-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
}

.client-logo {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.client-logo:hover {
    filter: grayscale(0);
    opacity: 1;
}

.client-logo img {
    max-width: 150px;
    max-height: 80px;
}

/* Testimonials main */
.testimonials-main {
    padding: 80px 0;
    background-color: white;
}

.main-testimonial {
    max-width: 900px;
    margin: 50px auto 0;
    text-align: center;
}

.testimonial-quote {
    position: relative;
    padding: 30px 50px;
    margin-bottom: 30px;
}

.testimonial-quote i.fa-quote-left {
    position: absolute;
    top: 0;
    left: 0;
    font-size: 30px;
    color: var(--secondary-color);
    opacity: 0.3;
}

.testimonial-quote i.fa-quote-right {
    position: absolute;
    bottom: 0;
    right: 0;
    font-size: 30px;
    color: var(--secondary-color);
    opacity: 0.3;
}

.testimonial-quote p {
    font-size: 1.3rem;
    color: #555;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-author img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin-right: 20px;
    object-fit: cover;
}

.author-info h4 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.author-info p {
    color: #777;
    font-style: italic;
}

/* CTA main */
.cta-main {
    padding: 80px 0;
    background-color: var(--primary-color);
    color: white;
}

.cta-main .container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}

.cta-content {
    flex: 1;
    min-width: 300px;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-image {
    flex: 1;
    min-width: 300px;
}

.cta-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Join us */
.join-us {
    padding: 80px 0;
    background-color: var(--light-color);
}

.join-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}

.join-text {
    flex: 1;
    min-width: 300px;
}

.join-text h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.join-text p {
    color: #555;
    margin-bottom: 30px;
    font-size: 1.1rem;
    line-height: 1.7;
}

.join-image {
    flex: 1;
    min-width: 300px;
}

.join-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Responsive styles */
@media (max-width: 768px) {
    .main-hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .why-us-grid {
        grid-template-columns: 1fr;
    }
    
    .service-slide-content {
        flex-direction: column;
    }
    
    .service-slide-image {
        order: 1;
    }
    
    .service-slide-text {
        order: 2;
    }
    
    .testimonial-quote p {
        font-size: 1.1rem;
    }
}