/*
Theme Name: Twenty Twenty-Five
Theme URI: https://wordpress.org/themes/twentytwentyfive/
Author: the WordPress team
Author URI: https://wordpress.org
Description: Twenty Twenty-Five emphasizes simplicity and adaptability. It offers flexible design options, supported by a variety of patterns for different page types, such as services and landing pages, making it ideal for building personal blogs, professional portfolios, online magazines, or business websites. Its templates cater to various blog styles, from text-focused to image-heavy layouts. Additionally, it supports international typography and diverse color palettes, ensuring accessibility and customization for users worldwide.
Requires at least: 6.7
Tested up to: 6.8
Requires PHP: 7.2
Version: 1.3
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: twentytwentyfive
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news
*/

/*
 * Link styles
 * https://github.com/WordPress/gutenberg/issues/42319
 */
a {
	text-decoration-thickness: 1px !important;
	text-underline-offset: .1em;
}

/* Focus styles */
:where(.wp-site-blocks *:focus) {
	outline-width: 2px;
	outline-style: solid;
}

/* Increase the bottom margin on submenus, so that the outline is visible. */
.wp-block-navigation .wp-block-navigation-submenu .wp-block-navigation-item:not(:last-child) {
	margin-bottom: 3px;
}

/* Increase the outline offset on the parent menu items, so that the outline does not touch the text. */
.wp-block-navigation .wp-block-navigation-item .wp-block-navigation-item__content {
	outline-offset: 4px;
}

/* Remove outline offset from the submenus, otherwise the outline is visible outside the submenu container. */
.wp-block-navigation .wp-block-navigation-item ul.wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	outline-offset: 0;
}

/*
 * Progressive enhancement to reduce widows and orphans
 * https://github.com/WordPress/gutenberg/issues/55190
 */
h1, h2, h3, h4, h5, h6, blockquote, caption, figcaption, p {
	text-wrap: pretty;
}

/*
 * Change the position of the more block on the front, by making it a block level element.
 * https://github.com/WordPress/gutenberg/issues/65934
*/
.more-link {
	display: block;
}


/* Contact form 7 */
/* ------------------------------------------- */
/* 1. Podstawowe resetowanie i kontener formularza */
/* ------------------------------------------- */

/* Kontener główny formularza */
.wpcf7-form {
    max-width: 600px;
    margin: 40px auto;
    padding: 30px;
    background-color: #ffffff; /* Czyste białe tło */
    border-radius: 12px; /* Zaokrąglone rogi */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); /* Subtelny cień */
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Ukrycie pól meta (dla czystości kodu, nie są istotne wizualnie) */
.hidden-fields-container {
    display: none;
}

/* ------------------------------------------- */
/* 2. Etykiety i pola tekstowe (input, textarea) */
/* ------------------------------------------- */

/* Ustawienia etykiet - modernizacja układu */
.wpcf7-form p {
    margin-bottom: 20px;
    line-height: 1.4;
}

.wpcf7-form label {
    display: block; /* Upewnia się, że etykieta zajmuje całą szerokość */
    font-size: 14px;
    font-weight: 600; /* Pogrubienie tekstu etykiety */
    color: #333333;
    margin-bottom: 8px;
    text-transform: uppercase; /* Lekkie unowocześnienie */
    letter-spacing: 0.5px;
}

/* Ujednolicenie stylu wszystkich pól tekstowych */
.wpcf7-form-control:not(.wpcf7-submit) {
    display: block;
    width: 100%; /* Pełna szerokość dla pól */
    padding: 12px 15px;
    font-size: 16px;
    line-height: 1.5;
    color: #333333;
    background-color: #f9f9f9; /* Bardzo jasne tło pola */
    border: 1px solid #dddddd; /* Subtelna ramka */
    border-radius: 8px; /* Zaokrąglone rogi pól */
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box; /* Ważne, aby padding nie zwiększał szerokości */
}

/* Stan 'Focus' dla nowoczesnego efektu */
.wpcf7-form-control:focus {
    outline: none; /* Usunięcie domyślnego focusu przeglądarki */
    border-color: #002b00; /* AKCENT: Główny kolor tematu */
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(0, 43, 0, 0.25); /* AKCENT: Subtelna poświata w kolorze tematu */
}

/* Stylizacja textarea (dla pola wiadomości) */
.wpcf7-textarea {
    resize: vertical; /* Pozwolenie tylko na pionową zmianę rozmiaru */
    min-height: 150px;
}

/* ------------------------------------------- */
/* 3. Przycisk 'Wyślij' (Submit Button) */
/* ------------------------------------------- */

.wpcf7-submit {
    display: inline-block;
    padding: 12px 30px;
    margin-top: 10px;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffffff;
    background-color: #002b00; /* AKCENT: Główny kolor tematu */
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 43, 0, 0.4); /* AKCENT: Cień w kolorze tematu */
}

/* Stan 'Hover' i 'Focus' dla przycisku */
.wpcf7-submit:hover,
.wpcf7-submit:focus {
    background-color: #001f00; /* AKCENT: Ciemniejszy odcień na najazd/focus */
    box-shadow: 0 6px 20px rgba(0, 43, 0, 0.6); /* AKCENT: Wzmocniony cień */
}

/* Stan nieaktywny (ładowanie lub błąd - opcjonalnie) */
.wpcf7-form.submitting .wpcf7-submit {
    opacity: 0.8;
}

/* ------------------------------------------- */
/* 4. Komunikaty zwrotne (Status Messages) */
/* ------------------------------------------- */

.wpcf7-response-output {
    padding: 15px;
    margin-top: 20px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
}

.wpcf7-mail-sent-ok {
    background-color: #e6ffed; /* Jasna zieleń */
    border-color: #6cbf7d;
    color: #1a7e2e;
}

.wpcf7-mail-sent-ng,
.wpcf7-acceptance-response {
    background-color: #ffe6e6; /* Jasna czerwień */
    border-color: #e3342f;
    color: #a00a0a;
}
