/*
Theme Name: New Innometh Theme
Theme URI: https://innometh.pl
Author: Patryk Wójcik
Author URI: https://innometh.pl
Version: 1.0
*/

/* Definicja kolorów w zmiennych */
:root {
    --primary-color: #0073e6; /* Główny kolor */
    --secondary-color: #0056b3; /* Kolor dodatkowy */
    --accent-color: #ffdd57; /* Kolor akcentowy */
    --background-color: #f4f4f4; /* Kolor tła */
    --text-light: #ffffff; /* Jasny tekst */
    --text-dark: #333333; /* Ciemny tekst */
    --tile-hover-shadow: rgba(0, 0, 0, 0.2); /* Cień kafelków na hover */
}

/* Resetowanie marginesów i styl podstawowy */
body {
    font-family: 'Roboto', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--background-color);
    color: var(--text-dark);
}

/* Nagłówek i stopka: obsługiwane przez klasy Tailwind bezpośrednio w header.php / footer.php */
#header nav a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}
#header nav a:hover {
    color: #3b82f6;
}

/*strona serwisu*/
.service-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: var(--background-color);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.service-header h1 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-header p {
    font-size: 1.2rem;
    line-height: 1.6;
    text-align: center;
    color: var(--text-dark);
}

.service-benefits, .service-offer, .service-contact {
    margin-top: 40px;
}

    .service-benefits ul, .service-offer ul {
        list-style: none;
        padding: 0;
        margin: 20px 0;
    }

        .service-benefits ul li, .service-offer ul li {
            margin-bottom: 10px;
            font-size: 1.1rem;
            color: var(--text-dark);
            display: flex;
            align-items: center;
        }

            .service-benefits ul li::before, .service-offer ul li::before {
                content: "✔";
                color: var(--primary-color);
                font-weight: bold;
                margin-right: 10px;
            }

    .service-contact p {
        text-align: center;
        font-size: 1.1rem;
        margin-bottom: 20px;
    }

.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--text-light) !important;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    text-align: center;
    margin: 0 auto;
    display: block;
}

    .cta-button:hover {
        background-color: var(--secondary-color);
    }

.service-contact {
    text-align: center;
    margin-top: 20px;
}

.call-us {
    font-size: 1rem;
    margin-top: 10px;
    color: var(--text-dark);
}

    .call-us a.call-button {
        color: var(--primary-color);
        font-weight: bold;
        text-decoration: none;
        border: 2px solid var(--primary-color);
        padding: 8px 12px;
        border-radius: 5px;
        transition: background-color 0.3s, color 0.3s;
    }

        .call-us a.call-button:hover {
            background-color: var(--primary-color);
            color: var(--text-light);
        }

/* Cennik na stronie serwisu */
.service-pricing-link {
    text-align: center;
    margin: 40px 0;
}

    .service-pricing-link h2 {
        font-size: 1.5rem;
        color: var(--primary-color);
        margin-bottom: 10px;
    }

    .service-pricing-link p {
        font-size: 1rem;
        color: var(--text-dark);
    }

.cta-link {
    color: var(--primary-color);
    font-weight: bold;
    text-decoration: underline;
    transition: color 0.3s ease;
}

    .cta-link:hover {
        color: var(--accent-color);
    }

 /* Cennik */
.service-pricing h1 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.accordion {
    max-width: 800px;
    margin: 0 auto;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
}

.accordion-item {
    border-bottom: 1px solid #ddd;
}

.accordion-header {
    width: 100%;
    text-align: left;
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 15px;
    cursor: pointer;
    font-size: 1rem;
    border: none;
    outline: none;
    transition: background-color 0.3s ease;
}

    .accordion-header:hover {
        background-color: var(--secondary-color);
    }

.accordion-content {
    padding: 15px;
    display: none;
    background-color: var(--text-light);
    font-size: 0.9rem;
    color: var(--text-dark);
}

    .accordion-content p {
        margin: 5px 0;
    }

.accordion-header.active + .accordion-content {
    display: block;
}
.price-toggle-slider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
    font-size: 1rem;
    font-weight: bold;
    color: var(--text-dark);
}

.toggle {
    position: relative;
    width: 70px;
    height: 35px;
    background-color: var(--secondary-color);
    border-radius: 20px;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
}

    .toggle input {
        opacity: 0;
        width: 0;
        height: 0;
    }

.slider {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 30px;
    height: 30px;
    background-color: var(--primary-color);
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.toggle input:checked + .slider {
    transform: translateX(35px);
    background-color: var(--accent-color);
}

.price-toggle-slider span {
    font-size: 1rem;
    color: var(--text-dark);
}


/* cennik dev*/
.description-row {
    display: none;
    background-color: var(--background-color);
    font-size: 0.9rem;
    color: var(--text-dark);
    text-align: left;
}

    .description-row.visible {
        display: table-row;
        animation: fadeIn 0.3s ease-in-out;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.pricing-row {
    cursor: pointer;
    transition: background-color 0.2s ease;
}

    .pricing-row:hover {
        background-color: rgba(0, 0, 0, 0.05);
    }

/* Ustawienie pełnej wysokości dla html i body */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

/************************************************************
 * KOMENTARZE (formularz WordPressa, wywoływany przez comments_template())
 ************************************************************/
.comment-respond,
.comment-reply-title {
    margin-bottom: 20px;
}

/* Formularz komentarzy */
#commentform {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

    #commentform p {
        margin: 0;
    }

    #commentform label {
        font-weight: bold;
        margin-bottom: 5px;
        color: var(--text-dark);
    }

    #commentform input[type="text"],
    #commentform input[type="email"],
    #commentform textarea {
        width: 100%;
        padding: 10px;
        border: 1px solid #ccc;
        border-radius: 5px;
    }

    #commentform input[type="submit"] {
        background-color: var(--primary-color);
        color: var(--text-light);
        font-weight: bold;
        padding: 10px 20px;
        border: none;
        border-radius: 5px;
        cursor: pointer;
    }

        #commentform input[type="submit"]:hover {
            background-color: var(--secondary-color);
        }

.blog-section {
    margin-bottom: 3rem;
}

    .blog-section h2 {
        font-size: 1.6rem;
        margin-bottom: 0.5rem;
        margin-top: 2rem;
    }

    .blog-section img {
        max-width: 100%;
        height: auto;
        width: 100%;
        max-width: 300px;
        display: block;
        margin: 1rem auto;
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }

    .blog-section ul {
        margin-left: 1.5rem;
        list-style-type: disc;
    }

    .blog-section p {
        line-height: 1.7;
        margin-bottom: 1rem;
    }

    .blog-section .highlight {
        background-color: #f9f9f9;
        padding: 1.5rem;
        border-radius: 10px;
        margin-bottom: 2rem;
    }

.blog-cta {
    background-color: #f3f4f6;
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 3rem;
    border-left: 4px solid #2563eb;
}

    .blog-cta a {
        color: #2563eb;
        font-weight: 600;
        text-decoration: none;
    }

        .blog-cta a:hover {
            text-decoration: underline;
        }