/*
Theme Name: ifil
Theme URI: https://sylen.eu/
Author: ifil Team
Author URI: https://sylen.eu/
Description: Nowoczesny i elegancki motyw WordPress dla firmy budowlano-deweloperskiej z dedykowanym CPT Inwestycje, taksonomią branżową i nowoczesnym designem.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.7
Requires PHP: 7.4
Text Domain: ifil
Tags: construction, portfolio, custom-post-types, custom-menu, featured-images, theme-options
*/

/* ===============================================================
   Standard WordPress Classes & Fallbacks
   =============================================================== */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: #21759b;
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%;
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

/* Base resets & theme enhancements */
html {
    scroll-behavior: smooth;
}

body {
    background-color: #F3F0E9;
    color: #333333;
    font-family: "EB Garamond", serif;
}

h1, h2, h3, h4, h5, h6, .font-serif, .font-bold {
    font-family: "Cormorant Garamond", serif;
}

/* Pagination */
.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 9999px;
    border: 1px solid #E5E7EB;
    background-color: #ffffff;
    color: #333333;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    text-decoration: none;
    margin: 0 0.25rem;
}

.pagination .page-numbers:hover {
    background-color: #5C7285;
    border-color: #5C7285;
    color: #ffffff;
}

.pagination .page-numbers.current {
    background-color: #5C7285;
    border-color: #5C7285;
    color: #ffffff;
}

.pagination .page-numbers.dots {
    border: none;
    background: transparent;
}

/* Glow Background effect */
.glow-bg {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(92, 114, 133, 0.15) 0%, rgba(92, 114, 133, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

/* Accordion collapse */
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

/* Service row */
.service-row {
    border-bottom: 1px dashed var(--border-dark, #cccccc);
    transition: all 0.3s ease;
}

.service-row:hover {
    padding-left: 20px;
}

