/* Main Styles for Sprzatanie-domow-wroclaw.pl */

:root {
    --primary-color: #0077cc;
    --light-blue: #e6f7ff;
    --dark-blue: #004c8c;
    --light-gray: #f8f9fa;
    --text-dark: #333333;
    --text-light: #ffffff;
    --section-padding: 80px 0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    color: var(--text-dark);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header and Navigation */
header {
    background-color: var(--text-light);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

header.scrolled {
    padding: 10px 0;
    background-color: rgba(255, 255, 255, 0.95);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 70px;
    margin-right: 20px;
}

.logo-text {
    color: var(--primary-color);
    font-size: 24px;
    font-weight: 700;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--primary-color);
}

.mobile-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: var(--section-padding);
    background-color: var(--light-blue);
    margin-top: 80px;
    overflow: hidden;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--light-blue) 0%, rgba(230, 247, 255, 0.8) 100%);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
}

.hero-content {
    padding-right: 20px;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--dark-blue);
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
    color: var(--text-dark);
    opacity: 0.9;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    margin-top: 30px;
    gap: 20px;
}

.hero-badge {
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 10px 15px;
    border-radius: 50px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.hero-badge i {
    color: var(--primary-color);
    margin-right: 8px;
    font-size: 18px;
}

.hero-badge span {
    font-weight: 600;
    font-size: 14px;
}

.hero-image {
    position: relative;
    height: 500px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s;
}

.hero-image:hover img {
    transform: scale(1.03);
}

.hero-cta {
    margin-top: 15px;
    display: flex;
}



.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 16px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn:hover {
    background-color: var(--dark-blue);
    transform: translateY(-3px);
}

/* Responsive styles for hero section */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
    }

    .hero-content {
        text-align: center;
        padding-right: 0;
    }

    .hero-badges {
        justify-content: center;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 18px;
    }

    .hero-image {
        height: 400px;
        max-width: 600px;
        margin: 0 auto;
    }

}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 30px;
    }

    .hero-image {
        height: 300px;
    }

    .hero-badges {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        padding: 10px 20px;
    }

    .hero-cta{
        margin-top: -20px;
    }

    .hero-cta .btn {
        padding: 18px 36px;
    }
}

/* Services Section */
.services {
    background-color: var(--light-gray);
    padding: var(--section-padding);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.section-title p {
    max-width: 600px;
    margin: 0 auto;
    color: var(--text-dark);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--text-light);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
    text-align: center;
    padding: 30px 20px;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-icon i {
    font-size: 60px;
    color: var(--primary-color);
}

.service-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1;
    justify-content: space-between;
}

.service-content h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 22px;
}

.service-content p {
    margin-bottom: 20px;
    flex-grow: 1;
    display: flex;
    align-items: center;
}

.service-price {
    font-weight: bold;
    font-size: 24px;
    color: var(--dark-blue);
    margin: 15px 0;
    display: block;
}

.service-content .btn {
    align-self: center;
    margin-top: 10px;
}

/* Pricing Section */
.pricing {
    padding: var(--section-padding);
}

.price-list {
    max-width: 800px;
    margin: 0 auto;
    margin-bottom: 30px;
}

.pricing-category {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.price-item {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid #ddd;
}

.price-item:last-child {
    border-bottom: none;
}

.price-name {
    font-weight: 600;
}

.price-value {
    font-weight: 700;
    color: var(--primary-color);
}

/* Testimonials Section */
.testimonials {
    background-color: var(--light-blue);
    padding: var(--section-padding);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: var(--text-light);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 15px;
    position: relative;
    flex-grow: 1;
}

.testimonial-text::before {
    content: '"';
    font-size: 50px;
    color: var(--light-blue);
    position: absolute;
    top: -15px;
    left: -10px;
    opacity: 0.5;
}

.testimonial-author {
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.author-info h4 {
    margin-bottom: 5px;
    color: var(--primary-color);
    font-size: 18px;
}

.author-info p {
    color: #777;
    font-size: 14px;
}

/* About Section */
.about {
    padding: var(--section-padding);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.about-text h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 36px;
}

.about-text p {
    margin-bottom: 20px;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-text {
    font-size: 14px;
    color: #777;
}

/* FAQ Section */
.faq-section {
    padding: var(--section-padding);
    background-color: var(--light-gray);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    padding: 15px 20px;
    background-color: var(--text-light);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    transition: background-color 0.3s;
}

.faq-question:hover {
    background-color: #f5f5f5;
}

.faq-question i {
    transition: transform 0.3s;
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s;
    background-color: #fafafa;
}

/* Contact Section */
.contact {
    background-color: var(--light-gray);
    padding: var(--section-padding);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.contact-info h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 24px;
}

.contact-details {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    margin-bottom: 20px;
}

.contact-icon {
    color: var(--primary-color);
    font-size: 24px;
    min-width: 40px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin-right: 13px;
}

.contact-text {
    line-height: 1.4;
}

.contact-text p {
    margin: 0;
}

/* Updated Social Media Links - in a horizontal row */
.social-links {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 20px;
    margin: auto;
}

.social-icon {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    transition: transform 0.3s, color 0.3s;
    padding: 10px 15px;
    border-radius: 8px;
    background-color: #d5e3ec;
    min-width: 130px;
}

.social-icon.instagram i {
    color: #E1306C;
}

social-icon.tiktok i {
    color: #000000;
}

.social-icon.youtube i {
    color: #FF0000;
}

.social-icon.facebook i {
    color: #1877F2;
}

.social-icon span {
    font-size: 16px;
    margin-left: 10px;
}

/* Contact CTA Container (replacement for form) */
.contact-cta-container {
    background-color: var(--text-light);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-description h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 24px;
}

.contact-description p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.big-contact-button {
    text-align: center;
    margin-top: 20px;
}

.btn-lg {
    padding: 20px 40px;
    font-size: 20px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-lg i {
    font-size: 24px;
}

@media (max-width: 992px) {
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .contact-cta-container {
        order: -1;
    }
}

@media (max-width: 768px) {
    .contact-icon {
        font-size: 20px;
        min-width: 30px;
    }
    
    .contact-cta-container {
        padding: 20px;
    }
    
    .btn-lg {
        padding: 15px 30px;
        font-size: 18px;
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .social-icon {
        width: 100%;
        justify-content: center;
    }
}

/* Marketplace Comparison Section */
.marketplace-comparison {
    padding: var(--section-padding);
    background-color: var(--light-gray);
    position: relative;
}

.marketplace-content {
    max-width: 900px;
    margin: 0 auto;
}

.marketplace-text {
    background-color: var(--text-light);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.marketplace-text p {
    margin-bottom: 25px;
    font-size: 18px;
    line-height: 1.7;
}

.marketplace-text strong {
    color: var(--dark-blue);
    font-weight: 700;
}

.marketplace-advantages {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
}

.advantage-item {
    display: flex;
    align-items: center;
    background-color: var(--light-blue);
    padding: 12px 20px;
    border-radius: 50px;
    min-width: 200px;
}

.advantage-item i {
    color: var(--primary-color);
    font-size: 20px;
    margin-right: 12px;
}

.advantage-item span {
    font-weight: 600;
    font-size: 16px;
}

.marketplace-cta {
    margin-top: 30px;
}

@media (max-width: 768px) {
    .marketplace-text {
        padding: 25px;
    }
    
    .marketplace-text p {
        font-size: 16px;
    }
    
    .advantage-item {
        min-width: auto;
        width: calc(50% - 10px);
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .advantage-item {
        width: 100%;
    }
}

/* Partnership Section */
.partnership-section {
    padding: var(--section-padding);
    background-color: var(--text-light);
}

.partnership-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.partnership-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.partnership-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s;
}

.partnership-image:hover img {
    transform: scale(1.05);
}

.partnership-text h3 {
    margin-bottom: 20px;
    font-size: 28px;
    color: var(--primary-color);
}

.partnership-text h3 a {
    color: var(--primary-color);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s;
}

.partnership-text h3 a:hover {
    border-color: var(--primary-color);
}

.partnership-text p {
    margin-bottom: 20px;
    font-size: 18px;
    line-height: 1.6;
}

.partnership-list {
    list-style: none;
    margin: 25px 0;
}

.partnership-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
}

.partnership-list li i {
    color: var(--primary-color);
    margin-right: 10px;
    margin-top: 5px;
}

.partnership-cta {
    margin-top: 30px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-outline-dark {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline-dark:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
}

@media (max-width: 992px) {
    .partnership-content {
        grid-template-columns: 1fr;
    }
    
    .partnership-image {
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .partnership-text h3 {
        font-size: 24px;
    }
    
    .partnership-text p {
        font-size: 16px;
    }
    
    .partnership-cta {
        flex-direction: column;
    }
    
    .partnership-cta .btn {
        width: 100%;
        text-align: center;
    }
}

/* CTA Section */
.cta-section {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 60px 0;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn-white {
    background-color: var(--text-light);
    color: var(--primary-color);
}

.btn-white:hover {
    background-color: #f0f0f0;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--text-light);
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Footer */
footer {
    background-color: var(--dark-blue);
    color: var(--text-light);
    padding: 40px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.footer-logo img {
    height: 40px;
    margin-right: 10px;
}

.footer-logo-text {
    color: var(--text-light);
    font-size: 20px;
    font-weight: 700;
}

.footer-links h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--text-light);
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links ul li a:hover {
    color: var(--text-light);
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.footer-contact-icon {
    margin-right: 10px;
    color: var(--primary-color);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    color: #ccc;
}

/* Before-After Section */
.before-after-section {
    padding: var(--section-padding);
    background-color: var(--text-light);
}

.before-after-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.before-after-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.before-after-text p {
    margin-bottom: 20px;
    font-size: 18px;
    color: var(--text-dark);
    line-height: 1.6;
}

.before-after-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    width: 100%;
    margin: 20px 0;
}

.image-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    position: relative;
}

.image-container:hover {
    transform: translateY(-10px);
}

.image-container img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s;
}

.image-container:hover img {
    transform: scale(1.05);
}

.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.7);
    color: var(--text-light);
    padding: 15px;
    text-align: center;
    font-weight: 600;
}

.before-after-cta {
    margin-top: 20px;
    text-align: center;
}

@media (max-width: 768px) {
    .before-after-images {
        grid-template-columns: 1fr;
    }
    
    .before-after-text p {
        font-size: 16px;
    }
}

/* Responsive Styles */
@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
    }

    nav {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--text-light);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
        transform: translateY(-150%);
        transition: transform 0.3s;
    }

    nav.active {
        transform: translateY(0);
    }

    nav ul {
        flex-direction: column;
        align-items: center;
    }

    nav ul li {
        margin: 10px 0;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 18px;
    }

    .section-title h2 {
        font-size: 30px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 30px;
    }

    .btn {
        padding: 10px 20px;
    }

    .stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .section-title h2 {
        font-size: 26px;
    }
}