/*
Theme Name: HorMart
Theme URI: https://hormart.cz
Author: Jan Horna, HorMart
Author URI: 
Description: A custom block theme for HorMart.cz
Requires at least: 6.8
Tested up to: 6.8
Requires PHP: 5.7
Version: 
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template: twentytwentyfive
Text Domain: hormart
Tags: 
*/

/* Header styles */
.wp-block-site-logo img {
    filter: invert(1) hue-rotate(180deg) saturate(2);
}

/* Carousel tuning */
:where(.cb-carousel-block, .reference) .wp-block-post-featured-image img {
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}
:where(.cb-carousel-block, .reference) .wp-block-post-featured-image img:hover {
    filter: grayscale(0%);
}
.swiper-pagination-bullet-active {
    background: var(--wp--preset--color--accent) !important;
}
.cb-carousel-block .cb-button-next, .cb-carousel-block .cb-button-prev {
    color: var(--wp--preset--color--accent) !important;
}
:where(.cb-carousel-block, .reference) h3.wp-block-post-title {
    border-top: 2px solid var(--wp--preset--color--accent);
    padding-top: 2rem;
}
:where(.cb-carousel-block, .reference) .entry-content.alignfull {
    padding: 0;
}

/* Contact Form 7 styles */
.wpcf7-form-control {
    background-color: rgba(255, 255, 255, 0.95) !important;
    color: var(--wp--preset--color--bg) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 0.5rem !important;
    padding: 0.75rem 1rem !important;
    font-family: var(--wp--preset--font-family--body) !important;
    font-size: 1rem !important;
    transition: border-color 0.2s ease !important;
}
.wpcf7-form-control:focus {
    border-color: var(--wp--preset--color--accent) !important;
    outline: none !important;
}
.wpcf7-form-control.wpcf7-textarea {
    min-height: 100px !important;
}
.wpcf7-form input[type='submit'] {
    background-color: var(--wp--preset--color--accent) !important;
    color: var(--wp--preset--color--text) !important;
    border: none !important;
    border-radius: 0.5rem !important;
    padding: 0.9rem 1.5rem !important;
    font-family: var(--wp--preset--font-family--heading) !important;
    font-weight: 500 !important;
    font-size: 0.95rem !important;
    letter-spacing: 0.05em !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}
.wpcf7-form input[type='submit']:hover {
    background-color: var(--wp--preset--color--accent-hover) !important;
    transform: translateY(-1px) !important;
}
.wpcf7-form label {
    color: var(--wp--preset--color--text) !important;
    font-weight: 500 !important;
    margin-bottom: 0.5rem !important;
    display: block !important;
}

/* Mobile styles */
@media (max-width: 768px) {
    .reference .wp-block-spacer {
        height: 3rem !important;
    }
}

/* Chatbot tuning */
.mwai-body {
    border-top: 2px solid var(--wp--preset--color--accent);
}
.mwai-chatgpt-theme .mwai-reply .mwai-name .mwai-name-text {
  opacity: 1 !important;
  color: rgba(255, 255, 255, 0.6);
}
.mwai-ai .ai-red {
  color: var(--wp--preset--color--accent);
  font-weight: 600;
}
.mwai-chatgpt-theme .mwai-reply .mwai-text a {
    color: var(--wp--preset--color--accent) !important;
}
