:root {
    --text-color: #636e72;
    --primary-color: #8ba888;
    --secondary-color: #a8b9a5;
    --accent-color: #b8c5b4;
    --dark-color: #2d3436;
    --light-bg: #f7f9f7;
    --white: #ffffff;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-color);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
}

a {
    color: var(--primary-color);
}

.text-justify {
    text-align: justify;
}

/* Navbar */
.navbar {
    background: var(--white);
    box-shadow: 0 2px 15px rgba(184, 197, 180, 0.3);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link {
    color: var(--dark-color);
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--secondary-color);
}

.navbar-toggler {
    border: none;
}

.btn-primary-custom {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    color: var(--white);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary-custom:hover {
    background: #333333;
    color: var(--white);
    box-shadow: 0 8px 20px rgba(184, 197, 180, 0.4);
}

main {
    padding: 80px 0 0 0;
}

/* pagination */
.pagination .page-link {
    color: #8ba888;
}
.pagination .page-link:hover {
    color: #333333;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, rgba(212, 165, 165, 0.1), rgba(157, 200, 200, 0.1));
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(184, 197, 180, 0.3), transparent);
    top: -100px;
    right: -100px;
    border-radius: 50%;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-image {
    position: relative;
    z-index: 1;
    transform: rotate(2deg);
}

.hero-image img {
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(184, 197, 180, 0.3);
    width: 100%;
}
.google-rating-badge {
    position: absolute;
    bottom: -5px;
    right: 0px;
    background: white;
    padding: 1rem;
    border-radius: 20px;
    display: block;
    align-items: center;
    gap: 0.75rem;
    transform: rotate(-5deg);
    box-shadow: 0 15px 40px rgba(184, 197, 180, 0.3);
}
.google-rating-badge:hover {
    transform: scale(1.03) rotate(-5deg);
    transition: transform 0.5s ease;
}
.google-rating-badge .google-logo {
    width: 70px;
    height: auto;
    margin-top: 0.3rem;
}
.experiance-label {
    position: absolute;
    bottom: -5px;
    left: 0px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    padding: 0.75rem 1rem;
    border-radius: 20px;
    display: block;
    align-items: center;
    transform: rotate(5deg);
    color: white;
}
.experiance-label:hover {
    transform: scale(1.03) rotate(5deg);
    transition: transform 0.5s ease;
}
.experiance-label strong {
    font-size: 1.5rem;
}

.about-placeholder-image {
    background: #e0e0e0;
    background-size: contain;
    border-radius: 20px;
    width: 100%;
    box-shadow: 0 15px 40px rgba(184, 197, 180, 0.3);
}


.rating-stars {
    display: flex;
    gap: 3px;
}

.rating-stars i {
    color: #fbbc04;
    font-size: 1.3rem;
}

@media (max-width: 576px) {
    .google-rating-badge {
        gap: 0.5rem;
    }
    
    .rating-stars i {
        font-size: 1.1rem;
    }
    
    .google-rating-badge .google-logo {
        width: 60px;
    }
}

/* Stats Section */
.quote-section {
    background: var(--white);
    padding: 80px 0;
    margin-top: -40px;
    position: relative;
    z-index: 2;
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
}
.quote-section span {
    color: var(--primary-color);
}
@media (max-width: 768px) {
    .quote-section {
        font-size: 1.4rem;
    }

}

.stat-card {
    text-align: center;
    padding: 2rem;
    background: var(--light-bg);
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.stat-card h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.stat-card p {
    margin: 0;
}

/* Section Styling */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h1,
.section-title h2 {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title h1::after,
.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}
.section-title h1::after {
    bottom: -20px;
}

.section-title p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 1rem auto 0;
}

/* About Section */
.bg-light {
    background: var(--light-bg);
}

.section-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.section-content-image {
    flex: 1;
}

.section-content-image img {
    border-radius: 20px;
    width: 100%;
    box-shadow: 0 15px 40px rgba(184, 197, 180, 0.3);
}

.section-content-text {
    flex: 2;
}

.section-content-text h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.section-content-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.credentials {
    margin-top: 2rem;
}

.credential-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 1rem;
    background: var(--white);
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.credential-item:hover {
    transform: translateX(10px);
}

.credential-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 1rem;
    min-width: 30px;
}

/* Services Section */
.service-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(184, 197, 180, 0.25);
    transition: all 0.3s ease;
    height: 100%;
    border: 2px solid transparent;
}

.service-card h4 {
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(184, 197, 180, 0.4);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: rotate(360deg);
}

.service-icon i {
    font-size: 2rem;
    color: var(--white);
}

.service-card h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.service-card p {
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.service-card ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.service-card ul li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.service-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
}

/* Target Audience Section */
#dla-kogo {
    background: var(--light-bg);
}

.audience-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    border-left: 4px solid var(--primary-color);
}

.audience-card:hover {
    box-shadow: 0 10px 30px rgba(184, 197, 180, 0.3);
}

.audience-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.audience-card h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.audience-card p {
    line-height: 1.6;
    margin: 0;
}

/* Testimonials Section */
.testimonial-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(184, 197, 180, 0.25);
    position: relative;
    margin-bottom: 2rem;
}

.testimonial-card::before {
    content: '"';
    font-size: 6rem;
    color: var(--primary-color);
    opacity: 0.2;
    position: absolute;
    top: -20px;
    left: 20px;
    font-family: Georgia, serif;
}

.testimonial-text {
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 1.5rem;
}

.author-info h5 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--dark-color);
    display: inline-block;
}

.author-info p {
    margin: 0;
    font-size: 0.9rem;
}

.stars {
    color: #ffd700;
    margin-top: 0.5rem;
}

/* Contact Section */
.contact-info {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(184, 197, 180, 0.25);
    height: 100%;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.contact-item i {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-right: 1.5rem;
    min-width: 35px;
}

.contact-item-content h5 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.contact-item-content p {
    margin: 0;
}

.contact-item-content a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item-content a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-link {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: rotate(360deg);
    box-shadow: 0 8px 20px rgba(184, 197, 180, 0.4);
}

.map-container {
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(184, 197, 180, 0.4);
    background: #e9ecef;
    border: 1px solid #e9ecef;
}
.map-container-inner {
    border-radius: 20px;
    overflow: hidden;
    line-height: 0;
    background: #e9ecef;
}

.form-control, .form-select {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(198, 123, 136, 0.15);
}

/* Footer */
footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 3rem 0 1.5rem;
}

footer a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--primary-color);
}

#cta-mobile {
    display: none;
    position: fixed;
    bottom: -0.75rem;
    right: -0.75rem;
    z-index: 100;
    line-height: 3.5rem;
    font-size: 1.5rem;
    border-radius: 50%;
    opacity: 0.9;
    transform: rotate(15deg);
}
#cta-mobile:hover {
    opacity: 1;
}

/* Blog */
.blog-card {
    overflow: hidden;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(184, 197, 180, 0.25);
    transition: all 0.3s ease;
    height: 100%;
    border: 2px solid transparent;
}
.blog-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(184, 197, 180, 0.4);
}
.blog-card a {
    text-decoration: none;
}
.blog-card .blog-card-summary {
    font-size: 0.8rem;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;     /* ← tutaj ustawiasz liczbę linii */
    line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
}

.accordion-item .accordion-header .accordion-button {
    color: var(--primary-color);
}
.accordion-item .accordion-header .accordion-button:not(.collapsed) {
    background-color: var(--accent-color);
    color: white;
}
.accordion-item .accordion-header .accordion-button:focus {
    box-shadow: none;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding-right: calc(var(--bs-gutter-x) * 1);
        padding-left: calc(var(--bs-gutter-x) * 1);
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .section-content {
        flex-direction: column;
    }

    .navbar-collapse {
        background: var(--white);
        padding: 1rem;
        border-radius: 10px;
        margin-top: 1rem;
    }

    #cta-mobile {
        display: block;
    }
}
