/* 
* Zrelaya Konfeta - Profesjonalne Usługi Sprzątania
* Główny arkusz stylów
*/

/* === Reset & Base Styles === */
:root {
    --primary-color: #25AE88; /* Główny kolor - jasny zielony */
    --secondary-color: #1989AC; /* Uzupełniający - niebieski */
    --accent-color: #F5A623; /* Akcent - pomarańczowy */
    --dark-color: #333333; /* Ciemny kolor do tekstu */
    --light-color: #F5F5F5; /* Jasny kolor do tła */
    --white: #FFFFFF;
    --gray-light: #E8E8E8;
    --gray: #999999;
    --transition: all 0.3s ease;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --container-width: 1200px;
    --border-radius: 8px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--white);
    overflow-x: hidden;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style-type: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.section-header p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    color: var(--gray);
}

.hidden {
    display: none !important;
}

/* === Buttons === */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

.btn.primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn.primary:hover {
    background-color: #1e9673;
}

.btn.secondary {
    background-color: var(--secondary-color);
    color: var(--white);
}

.btn.secondary:hover {
    background-color: #167693;
}

.read-more {
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}

.read-more:after {
    content: "→";
    margin-left: 5px;
    transition: var(--transition);
}

.read-more:hover:after {
    margin-left: 10px;
}

/* === Cookie Banner === */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 20px;
    display: none; /* Initially hidden, will be shown via JS */
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-content h3 {
    margin-bottom: 10px;
}

.cookie-buttons {
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cookie-buttons button {
    padding: 8px 16px;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.cookie-buttons button:nth-child(1) {
    background-color: var(--primary-color);
    color: var(--white);
}

.cookie-buttons button:nth-child(2) {
    background-color: var(--gray-light);
    color: var(--dark-color);
}

.cookie-buttons button:nth-child(3) {
    background-color: transparent;
    color: var(--dark-color);
    text-decoration: underline;
}

.cookie-settings {
    margin-top: 20px;
    padding: 20px;
    background: var(--gray-light);
    border-radius: var(--border-radius);
}

.cookie-setting {
    margin-bottom: 15px;
}

.cookie-setting input {
    margin-right: 10px;
}

.cookie-setting p {
    margin-top: 5px;
    font-size: 0.9rem;
    color: var(--gray);
}

/* === Header & Navigation === */
header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 15px 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: var(--dark-color);
    font-weight: 600;
    position: relative;
}

nav ul li a:after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

nav ul li a:hover:after,
nav ul li a.active:after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 30px;
    height: 3px;
    background-color: var(--dark-color);
    margin: 3px 0;
    transition: var(--transition);
}

/* === Hero Section === */
.hero {
    min-height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: #f9f9f9;
}

.banner-background {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
    opacity: 0.3;
}

.banner-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 650px;
    margin: 0 auto;
    text-align: center;
    padding: 40px 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--dark-color);
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

/* === Services Section === */
.services {
    background-color: var(--light-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.service-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.service-card p {
    margin-bottom: 20px;
    color: var(--gray);
}

.services-cta {
    text-align: center;
}

/* === About Us Section === */
.about-us {
    background-color: var(--white);
}

.about-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--gray);
}

.about-features {
    margin: 30px 0;
}

.about-features li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.about-features li:before {
    content: "✓";
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

/* === Testimonials Section === */
.testimonials {
    background-color: var(--light-color);
}

.testimonials-slider {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.testimonial-card {
    width: 100%;
    padding: 40px;
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-bottom: 20px;
}

.testimonial-content {
    text-align: center;
}

.testimonial-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 20px;
}

.testimonial-content p {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.testimonial-author h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.testimonial-author p {
    font-size: 0.9rem;
    color: var(--gray);
    font-style: normal;
    margin-bottom: 0;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.testimonial-controls button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--white);
    border: 1px solid var(--gray-light);
    color: var(--dark-color);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
}

.testimonial-controls button:hover {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

/* === Blog Preview Section === */
.blog-preview {
    background-color: var(--white);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.blog-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.blog-image {
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-content {
    padding: 25px;
}

.blog-content h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.blog-content p {
    margin-bottom: 20px;
    color: var(--gray);
}

.blog-cta {
    text-align: center;
}

/* === Newsletter Section === */
.newsletter {
    background-color: var(--primary-color);
    color: var(--white);
}

.newsletter-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-content h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.newsletter-content p {
    margin-bottom: 30px;
}

.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
}

.form-group {
    display: flex;
    margin-bottom: 20px;
}

.form-group input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    font-size: 1rem;
}

.form-group button {
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    background-color: var(--secondary-color);
}

.form-group button:hover {
    background-color: var(--dark-color);
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    text-align: left;
}

.form-checkbox input {
    margin-right: 10px;
    margin-top: 5px;
}

.form-checkbox label {
    font-size: 0.9rem;
}

.form-checkbox a {
    color: var(--white);
    text-decoration: underline;
}

/* === Contact CTA Section === */
.contact-cta {
    background-color: var(--secondary-color);
    color: var(--white);
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.cta-content p {
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.cta-buttons .btn.secondary {
    background-color: transparent;
    border: 2px solid var(--white);
}

.cta-buttons .btn.secondary:hover {
    background-color: var(--white);
    color: var(--secondary-color);
}

/* === Footer === */
footer {
    background-color: var(--dark-color);
    color: var(--white);
    padding: 70px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo img {
    height: 50px;
    margin-bottom: 15px;
}

.footer-content h3 {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-content ul li {
    margin-bottom: 10px;
}

.footer-content ul li a {
    color: var(--gray-light);
}

.footer-content ul li a:hover {
    color: var(--white);
}

.footer-contact ul li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: var(--gray-light);
}

.footer-contact ul li i {
    margin-right: 10px;
}

.social-media {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-media a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    transition: var(--transition);
}

.social-media a:hover {
    background-color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.legal-links a {
    color: var(--gray-light);
    margin-left: 20px;
    font-size: 0.9rem;
}

.legal-links a:hover {
    color: var(--white);
}

/* === Contact Page === */
.contact-page {
    background-color: var(--light-color);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.contact-info {
    background-color: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.contact-info h2 {
    margin-bottom: 30px;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.contact-icon {
    margin-right: 15px;
    width: 40px;
    height: 40px;
    min-width: 40px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.contact-text h3 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.contact-form {
    background-color: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.contact-form h2 {
    margin-bottom: 30px;
}

.form-row {
    margin-bottom: 20px;
}

.form-row label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-row input,
.form-row textarea,
.form-row select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--gray-light);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
}

.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
    border-color: var(--primary-color);
    outline: none;
}

.form-row textarea {
    min-height: 150px;
    resize: vertical;
}

/* === Blog Page === */
.blog-page {
    background-color: var(--light-color);
}

.blog-header {
    margin-bottom: 50px;
    text-align: center;
}

.blog-header h1 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.blog-header p {
    max-width: 700px;
    margin: 0 auto;
    color: var(--gray);
}

.blog-listing {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

/* === Single Blog Post === */
.blog-post {
    background-color: var(--white);
}

.post-header {
    margin-bottom: 40px;
    text-align: center;
}

.post-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.post-meta {
    color: var(--gray);
    margin-bottom: 20px;
}

.post-image {
    margin-bottom: 40px;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.post-content {
    max-width: 800px;
    margin: 0 auto;
}

.post-content p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.post-content h2 {
    margin: 40px 0 20px;
    font-size: 1.8rem;
}

.post-content h3 {
    margin: 30px 0 15px;
    font-size: 1.5rem;
}

.post-content ul,
.post-content ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.post-content ul li,
.post-content ol li {
    margin-bottom: 10px;
}

/* === Thank You Page === */
.thank-you {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--light-color);
}

.thank-you-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 60px 20px;
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.thank-you-icon {
    width: 100px;
    height: 100px;
    background-color: rgba(37, 174, 136, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
}

.thank-you-content h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.thank-you-content p {
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.back-home {
    margin-top: 20px;
}

/* === Legal Pages === */
.legal-page {
    background-color: var(--white);
    padding: 60px 0;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h1 {
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.legal-content h2 {
    font-size: 1.8rem;
    margin: 40px 0 20px;
}

.legal-content p {
    margin-bottom: 20px;
    line-height: 1.7;
}

.legal-content ul {
    margin: 20px 0;
    padding-left: 20px;
}

.legal-content ul li {
    margin-bottom: 10px;
    list-style-type: disc;
}

/* === Services Page === */
.services-page {
    background-color: var(--light-color);
}

.services-header {
    text-align: center;
    margin-bottom: 50px;
}

.services-header h1 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.services-header p {
    max-width: 700px;
    margin: 0 auto;
    color: var(--gray);
}

.service-detail {
    margin-bottom: 80px;
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.service-detail:last-child {
    margin-bottom: 0;
}

.service-detail-content {
    padding: 40px;
}

.service-detail-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.service-detail-content p {
    margin-bottom: 20px;
    line-height: 1.7;
}

.service-features {
    margin: 30px 0;
}

.service-features li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.service-features li:before {
    content: "✓";
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

.service-cta {
    margin-top: 30px;
}

/* === About Us Page === */
.about-page {
    background-color: var(--white);
}

.about-header {
    text-align: center;
    margin-bottom: 50px;
}

.about-header h1 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.about-header p {
    max-width: 700px;
    margin: 0 auto;
    color: var(--gray);
}

.about-section {
    margin-bottom: 80px;
}

.about-section h2 {
    font-size: 2rem;
    margin-bottom: 30px;
}

.about-section p {
    margin-bottom: 20px;
    line-height: 1.7;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.team-member {
    text-align: center;
}

.team-member-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
}

.team-member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member h3 {
    margin-bottom: 10px;
}

.team-member p {
    color: var(--gray);
    margin-bottom: 10px;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.team-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: var(--gray-light);
    color: var(--dark-color);
    transition: var(--transition);
}

.team-social a:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* === Responsive Design === */
@media (max-width: 1200px) {
    .hero-content h1 {
        font-size: 3rem;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 992px) {
    section {
        padding: 60px 0;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

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

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

    .about-image {
        order: -1;
        margin-bottom: 30px;
    }

    .cta-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--white);
        padding: 80px 20px 30px;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 100;
    }

    nav.active {
        right: 0;
    }

    nav ul {
        flex-direction: column;
    }

    nav ul li {
        margin: 0 0 20px;
    }

    .mobile-menu-btn {
        display: flex;
        z-index: 101;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .form-group {
        flex-direction: column;
    }

    .form-group input {
        border-radius: var(--border-radius);
        margin-bottom: 10px;
    }

    .form-group button {
        border-radius: var(--border-radius);
        width: 100%;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .legal-links {
        margin-top: 10px;
    }

    .legal-links a {
        margin: 0 10px;
    }

    .blog-listing {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .service-detail-content {
        padding: 30px 20px;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .section-header h2,
    .about-text h2,
    .cta-content h2,
    .newsletter-content h2,
    .legal-content h1,
    .services-header h1,
    .about-header h1,
    .blog-header h1 {
        font-size: 1.8rem;
    }

    .testimonial-card {
        padding: 25px 15px;
    }

    .cookie-buttons {
        flex-direction: column;
    }

    .cookie-buttons button {
        width: 100%;
    }
}

/* === Icons === */
/* These are placeholder styles for icons. In a real implementation, you would use SVG icons or an icon font like Font Awesome */
[class^="icon-"] {
    display: inline-block;
    width: 1em;
    height: 1em;
    margin-right: 0.5em;
}

.icon-location:before {
    content: "📍";
}

.icon-phone:before {
    content: "📞";
}

.icon-mail:before {
    content: "✉️";
}

.icon-facebook:before {
    content: "f";
}

.icon-instagram:before {
    content: "i";
}

.icon-linkedin:before {
    content: "l";
}
