/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

h1, h2, h3 {
    text-align: center;
    margin-bottom: 20px;
    color: #2c3e50;
}

p {
    text-align: center;
    margin-bottom: 20px;
    color: #555;
}

.cta-button {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(90deg, #ff7e5f, #feb47b);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url('hero-bg.png') center/cover no-repeat;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 0 1rem;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    color: #fff;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #fff;
}

/* About Section */
.about {
    padding: 80px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 40px;
}

.about-text, .about-image {
    flex: 1;
    min-width: 45%;
}

.about-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Services Section */
.services {
    padding: 80px 0;
    background-color: #fff;
}

.service-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-item i {
    font-size: 2.5rem;
    color: #ff7e5f;
    margin-bottom: 20px;
}

.service-item h3 {
    margin-bottom: 10px;
    color: #2c3e50;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    text-align: center;
    background-color: #2c3e50;
    color: white;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 8px;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    max-width: 500px;
    padding: 15px;
    border: none;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    transition: background-color 0.3s ease;
}

.contact-form input:focus, .contact-form textarea:focus {
    background-color: rgba(255, 255, 255, 0.2);
}

.contact-form button {
    margin-top: 20px;
}

/* Footer */
.footer {
    background-color: #1a2332;
    color: white;
    text-align: center;
    padding: 30px 0;
}

.social-icons a {
    color: white;
    margin: 0 10px;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.social-icons a:hover {
    transform: scale(1.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .nav-links {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* Uspójnienie nawigacji */
.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

/* Poprawki w sekcji usług */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

/* Lepsze praktyki dla przycisków */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: #007bff;
    color: white;
    border-radius: 5px;
    text-decoration: none;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.btn:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

/* Portfolio Section */
.portfolio {
    padding: 80px 0;
    background-color: #f9f9f9; /* Delikatne tło sekcji */
}

.portfolio h2 {
    text-align: center;
    margin-bottom: 20px;
}

.portfolio p {
    text-align: center;
    margin-bottom: 40px;
    color: #777;
}

.portfolio-grid {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.portfolio-item {
    background-color: #fff;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

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

.portfolio-item img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 10px;
}

.portfolio-item h3 {
    text-align: center;
    font-size: 1.2em;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 20px;
}

.testimonials p {
    text-align: center;
    margin-bottom: 40px;
    color: #777;
}

.testimonial-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-item {
    padding: 20px;
    background-color: #f1f1f1;
    border-left: 5px solid #007BFF;
    border-radius: 4px;
}

.testimonial-item p {
    font-style: italic;
    margin-bottom: 10px;
}

.testimonial-item h4 {
    text-align: right;
    font-weight: normal;
    color: #555;
}