/*!
Theme Name: infologypl
Theme URI: https://infology.pl
Author: Kordian Maćkowiak
Author URI: https://infology.pl
Description: Starter theme
Version: 1.0.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: infologypl
*/

/* Reset
--------------------------------------------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: #fff;
	color: #404040;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 1rem;
	line-height: 1.5;
}

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

embed,
iframe,
object {
	max-width: 100%;
}

/* Accessibility
--------------------------------------------- */
.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;
}

/* WordPress alignments
--------------------------------------------- */
.alignleft {
	float: left;
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {
	float: right;
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}

/* Header
--------------------------------------------- */
.site-header {
    position: relative;
    width: 100%;
    z-index: 1000;
    background: var(--color-header-bg, #ffffff);
    box-shadow: 0 1px 8px rgba(0,0,0,0.08);
    transition: box-shadow 0.3s ease;
}
body.admin-bar .site-header {
    position: relative;
}
/* Sticky header */
.site-header.sticky {
    position: fixed;
    top: 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    animation: slideDown 0.3s ease;
}
body.admin-bar .site-header.sticky {
    top: 32px;
}
.header-spacer {
    display: none;
}
.site-header.sticky + .header-spacer {
    display: block;
}
@keyframes slideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    padding: 10px 40px;
}
.header-logo a {
    text-decoration: none;
    display: flex;
    align-items: center;
}
.header-logo img {
    max-height: 60px;
    width: auto;
    display: block;
}
.header-logo .site-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: -0.5px;
}
/* Desktop menu */
.header-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.header-menu li {
    list-style: none;
}
.header-menu li a {
    text-decoration: none;
    color: var(--color-link, #1a1a1a);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.2s ease;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    position: relative;
}
.header-menu li a:hover {
    color: var(--color-link-hover, #c5a55a);
    background: rgba(0,0,0,0.03);
}
.header-menu li.current-menu-item a,
.header-menu li.current_page_item a {
    color: var(--color-link-hover, #c5a55a);
    background: rgba(197,165,90,0.08);
}
/* Active menu on scroll */
.header-menu li a.active {
    color: var(--color-link-hover, #c5a55a);
    background: rgba(197,165,90,0.08);
}
.header-menu li a.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 16px;
    right: 16px;
    height: 2px;
    background: #c5a55a;
    border-radius: 1px;
}
/* Mobile toggle - hamburger */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    flex-direction: column;
    gap: 6px;
    z-index: 1001;
}
.mobile-menu-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--color-primary, #1a1a1a);
    border-radius: 2px;
    transition: 0.3s;
}
.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}
.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}
.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}
/* Mobile nav */
.mobile-nav {
    display: none;
    background: rgba(255,255,255,0.98);
    padding: 10px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.mobile-nav.active {
    display: block;
}
.mobile-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}
.mobile-menu li {
    list-style: none;
}
.mobile-menu li a {
    display: block;
    padding: 14px 40px;
    text-decoration: none;
    color: var(--color-link, #1a1a1a);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    transition: all 0.2s ease;
}
.mobile-menu li a:hover {
    color: var(--color-link-hover, #c5a55a);
    background: rgba(0,0,0,0.02);
    padding-left: 50px;
}
.mobile-menu li.current-menu-item a,
.mobile-menu li.current_page_item a {
    color: var(--color-link-hover, #c5a55a);
}
/* Active mobile menu on scroll */
.mobile-menu li a.active {
    color: var(--color-link-hover, #c5a55a);
}
/* Desktop */
@media (min-width: 769px) {
    .desktop-nav {
        display: block;
    }
    .mobile-menu-toggle {
        display: none !important;
    }
    .mobile-nav {
        display: none !important;
    }
}
/* Mobile */
@media (max-width: 768px) {
    .desktop-nav {
        display: none !important;
    }
    .mobile-menu-toggle {
        display: flex !important;
    }
    .header-inner {
        padding: 8px 20px;
    }
    .header-logo img {
        max-height: 45px;
    }
    body.admin-bar .site-header.sticky {
        top: 0;
    }
}

/* Content area
--------------------------------------------- */
.site-main.no-padding-top {
    padding-top: 0;
}

/* Hero Video Banner
--------------------------------------------- */
.hero-video-banner {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
}

.hero-video-yt {
    pointer-events: none;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #000;
}

.hero-video-yt iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw;
    min-height: 100%;
    min-width: 177.77vh;
    transform: translate(-50%, -50%);
    border: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.6s ease-in;
}

.hero-video-yt iframe.is-playing {
    opacity: 1;
}

.hero-video::-webkit-media-controls {
    display: none !important;
}

.hero-video::-webkit-media-controls-start-playback-button {
    display: none !important;
}

.hero-video::-webkit-media-controls-panel {
    display: none !important;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.7) 35%, rgba(255,255,255,0) 65%);
    z-index: 1;
}

.hero-content {
    position: absolute;
    bottom: 60px;
    left: 60px;
    z-index: 2;
    max-width: 550px;
}

.hero-title {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 3rem;
    font-weight: 700;
    font-style: italic;
    color: #1a1a1a;
    margin: 0 0 15px 0;
    line-height: 1.2;
}

.hero-description {
    font-size: 1rem;
    color: #333;
    margin: 0 0 25px 0;
    line-height: 1.6;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #c5a55a;
    color: #fff;
    text-decoration: none;
    padding: 12px 28px;
    border-radius: 25px;
    font-size: 0.95rem;
    transition: background 0.3s ease;
}

.hero-btn:hover {
    background: #b08f45;
    color: #fff;
}

.hero-btn:visited {
    color: #fff;
}

@media (max-width: 768px) {
    .hero-video-banner {
        height: calc(100dvh - 61px) !important;
        min-height: calc(-webkit-fill-available - 61px);
    }

    .hero-overlay {
        background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.6) 100%);
    }

    .hero-title {
        font-size: 2rem;
        color: #fff !important;
    }

    .hero-description {
        color: rgba(255,255,255,0.9) !important;
    }

    .hero-content {
        bottom: 40px;
        left: 20px;
        right: 20px;
    }
}

/* About Section
--------------------------------------------- */
.about-section {
    position: relative;
    padding: 80px 0;
    overflow: hidden;
}

.about-decoration {
    position: absolute;
    width: 100px;
    height: 100px;
    pointer-events: none;
    z-index: 2;
}

.about-decoration-top {
    top: 40px;
    left: 40px;
}

.about-decoration-top span {
    display: block;
    width: 100%;
    height: 100%;
    border-top: 1.5px solid #c5a55a;
    border-left: 1.5px solid #c5a55a;
}

.about-decoration-bottom {
    bottom: 40px;
    right: 40px;
}

.about-decoration-bottom span {
    display: block;
    width: 100%;
    height: 100%;
    border-bottom: 1.5px solid #c5a55a;
    border-right: 1.5px solid #c5a55a;
}

.about-inner {
    display: flex;
    align-items: stretch;
    gap: 0;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.about-image-col {
    flex: 0 0 48%;
    position: relative;
    padding: 30px 40px 30px 60px;
}

.about-image {
    position: relative;
    z-index: 1;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.about-badge {
    position: absolute;
    bottom: 30px;
    right: 0;
    background: #fff;
    border: 1px solid #e0e0e0;
    padding: 20px 35px;
    text-align: center;
    z-index: 2;
}

.about-badge-number {
    display: block;
    font-family: 'Georgia', serif;
    font-size: 2.8rem;
    font-weight: 400;
    line-height: 1;
    margin-bottom: 8px;
    color: #c5a55a;
}

.about-badge-text {
    display: block;
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #666;
}

.about-text-col {
    flex: 1;
    padding: 20px 0 20px 50px;
    border-left: 1px solid #e0e0e0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-label {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 12px;
    font-weight: 500;
}

.about-title {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 2.6rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 30px 0;
    color: #1a1a1a;
}

.about-title em {
    font-style: italic;
}

.about-description {
    margin-bottom: 10px;
}

.about-description p {
    font-size: 0.92rem;
    line-height: 1.8;
    margin: 0 0 18px 0;
    color: #555;
}

.about-signature {
    margin-top: 20px;
}

.about-name {
    display: block;
    font-family: 'Georgia', serif;
    font-size: 1.4rem;
    font-style: italic;
    font-weight: 700;
    margin-bottom: 4px;
}

.about-role {
    display: block;
    font-size: 0.85rem;
    color: #888;
}

/* About Mobile
--------------------------------------------- */
@media (max-width: 768px) {
    .about-section {
        padding: 40px 0;
    }

    .about-decoration {
        display: none;
    }

    .about-inner {
        flex-direction: column;
        padding: 0 20px;
        gap: 0;
    }

    .about-image-col {
        flex: none;
        width: 100%;
        padding: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .about-image {
        max-width: 280px;
        width: 100%;
        margin: 0 auto;
    }

    .about-badge {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: -30px;
        align-self: center;
    }

    .about-text-col {
        padding: 30px 0 0 0;
        border-left: none;
        text-align: center;
    }

    .about-label {
        margin-bottom: 10px;
    }

    .about-title {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }

    .about-description p {
        font-size: 0.88rem;
        text-align: left;
    }

    .about-signature {
        text-align: center;
        margin-top: 15px;
        padding-top: 15px;
        border-top: 1px solid #e0e0e0;
    }

    .about-image-col.animate-from-left,
    .about-label.animate-from-right,
    .about-title.animate-from-right,
    .about-description.animate-from-right,
    .about-signature.animate-from-right {
        transform: translateX(0) translateY(30px);
    }
}

/* Section Separator
--------------------------------------------- */
.section-separator {
    margin: 0 40px;
    height: 0;
    border-top: 1px solid #e0e0e0;
}

@media (max-width: 768px) {
    .section-separator {
        margin: 0 20px;
    }
}

/* Scroll Animations
--------------------------------------------- */
.animate-on-scroll {
    opacity: 0;
    transition: all 0.4s ease-out;
}
.animate-from-left {
    transform: translateX(-30px);
}
.animate-from-right {
    transform: translateX(30px);
}
.animate-from-bottom {
    transform: translateY(20px);
}
.animate-on-scroll.animated {
    opacity: 1;
    transform: translateX(0) translateY(0);
}

.animate-delay-1 { transition-delay: 0.05s; }
.animate-delay-2 { transition-delay: 0.1s; }
.animate-delay-3 { transition-delay: 0.15s; }
.animate-delay-4 { transition-delay: 0.2s; }
.animate-delay-5 { transition-delay: 0.25s; }

/* Portfolio Section
--------------------------------------------- */
.portfolio-section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

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

.portfolio-label {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 10px;
    font-weight: 500;
}

.portfolio-title {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 2.6rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
    color: #1a1a1a;
}

.portfolio-title em {
    font-style: italic;
}

.portfolio-title-line {
    width: 40px;
    height: 3px;
    border-radius: 2px;
    margin: 15px auto 0;
}

/* Filters */
.portfolio-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
    padding: 0 20px;
}

.portfolio-filter {
    background: none;
    border: 1px solid #ddd;
    padding: 10px 24px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #555;
}

.portfolio-filter:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.portfolio-filter.active {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

/* Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(var(--kolumny, 3), 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Item */
.portfolio-item {
    position: relative;
    height: var(--h, 400px);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.4s ease;
    border: 2px solid #e0e0e0;
}

.portfolio-item.hidden {
    display: none;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

.portfolio-item:hover {
    border-color: var(--accent, #c5a55a);
}

/* Overlay */
.portfolio-item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 20px 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0) 100%);
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.portfolio-item:hover .portfolio-item-overlay {
    transform: translateY(0);
}

.portfolio-item-title {
    font-family: 'Georgia', serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 5px 0;
}

.portfolio-item-desc {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.8);
    margin: 0 0 10px 0;
}

/* Actions (zoom + album link) */
.portfolio-item-actions {
    display: flex;
    gap: 10px;
    margin-top: 8px;
}

.portfolio-zoom,
.portfolio-album-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.5);
    background: rgba(255,255,255,0.1);
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.portfolio-zoom:hover,
.portfolio-album-link:hover {
    background: var(--accent, #c5a55a);
    border-color: var(--accent, #c5a55a);
    color: #fff;
}

/* Lightbox */
.portfolio-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.92);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 40px;
}

.portfolio-lightbox.active {
    display: flex;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    background: none;
    border: none;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    transition: color 0.3s;
    z-index: 10001;
    line-height: 1;
}

.lightbox-close:hover {
    color: #c5a55a;
}

.lightbox-img {
    max-width: 90%;
    max-height: 80vh;
    object-fit: contain;
    border: 3px solid rgba(255,255,255,0.1);
}

.lightbox-caption {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    margin-top: 15px;
    text-align: center;
}

@media (max-width: 1024px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    .portfolio-section {
        padding: 50px 0;
    }

    .portfolio-title {
        font-size: 2rem;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .portfolio-item {
        height: 300px;
    }

    .portfolio-item-overlay {
        transform: translateY(0);
        background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 100%);
    }

    .portfolio-filter {
        padding: 8px 16px;
        font-size: 0.7rem;
    }

    .lightbox-img {
        max-width: 95%;
    }

    .lightbox-close {
        top: 10px;
        right: 15px;
    }
}

/* Video Section
--------------------------------------------- */
.video-section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

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

.video-section-label {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 10px;
    font-weight: 500;
}

.video-section-title {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 2.6rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
    color: #1a1a1a;
}

.video-section-title em {
    font-style: italic;
}

.video-section-line {
    width: 40px;
    height: 3px;
    border-radius: 2px;
    margin: 15px auto 0;
}

/* Main Player */
.video-player {
    width: 100%;
    margin: 0 auto 0;
    padding: 0 40px;
}

.video-player-screen {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    background: #000;
    border-radius: 4px;
    overflow: hidden;
}

.video-embed-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.video-embed-container iframe,
.video-embed-container video {
    width: 100%;
    height: 100%;
    border: none;
}

/* Poster overlay */
.video-player-poster {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 2;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.4s ease;
}

.video-player-poster.hidden {
    opacity: 0;
    pointer-events: none;
}

.video-play-btn {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid rgba(255,255,255,0.6);
    background: rgba(0,0,0,0.4);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-play-btn svg {
    margin-left: 4px;
}

.video-play-btn:hover {
    background: var(--accent, #c5a55a);
    border-color: var(--accent, #c5a55a);
    transform: scale(1.1);
}

/* Player info bar */
.video-player-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 20px 15px;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    z-index: 3;
    pointer-events: none;
}

.video-player-info.hidden {
    display: none;
}

.video-player-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.video-player-kat {
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
}

.video-player-title {
    font-family: 'Georgia', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
}

.video-player-czas {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
}

/* Filmstrip */
.video-filmstrip {
    width: 100%;
    margin: 0 auto;
    padding: 0 40px;
}

.filmstrip-border {
    height: 8px;
    background: #333;
    background-image: repeating-linear-gradient(
        90deg,
        #333 0px, #333 8px,
        #555 8px, #555 10px,
        #333 10px, #333 18px,
        transparent 18px, transparent 22px,
        #333 22px, #333 30px,
        #555 30px, #555 32px,
        #333 32px, #333 40px
    );
    background-size: 40px 8px;
}

.filmstrip-track {
    display: flex;
    gap: 12px;
    padding: 12px;
    background: #333;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: #555 #333;
}

.filmstrip-track::-webkit-scrollbar {
    height: 4px;
}

.filmstrip-track::-webkit-scrollbar-track {
    background: #333;
}

.filmstrip-track::-webkit-scrollbar-thumb {
    background: #555;
    border-radius: 2px;
}

.filmstrip-item {
    position: relative;
    flex: 0 0 200px;
    height: 110px;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.filmstrip-item.active {
    border-color: var(--accent, #c5a55a);
}

.filmstrip-item:hover {
    transform: scale(1.03);
}

.filmstrip-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.filmstrip-duration {
    position: absolute;
    top: 6px;
    right: 6px;
    background: rgba(0,0,0,0.8);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 600;
    padding: 1px 5px;
    border-radius: 3px;
    z-index: 2;
}

.filmstrip-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 8px 8px;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 100%);
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.filmstrip-kat {
    font-size: 0.55rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 600;
}

.filmstrip-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Video Mobile */
@media (max-width: 768px) {
    .video-section {
        padding: 50px 0;
    }

    .video-section-title {
        font-size: 2rem;
    }

    .video-player {
        padding: 0 15px;
    }

    .video-filmstrip {
        padding: 0 15px;
    }

    .filmstrip-item {
        flex: 0 0 150px;
        height: 85px;
    }

    .video-play-btn {
        width: 60px;
        height: 60px;
    }

    .video-play-btn svg {
        width: 35px;
        height: 35px;
    }

    .video-player-title {
        font-size: 1rem;
    }

    .filmstrip-title {
        font-size: 0.65rem;
    }
}





/* Social Media Section
--------------------------------------------- */
.social-section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

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

.social-section-label {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 10px;
    font-weight: 500;
}

.social-section-title {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 2.6rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
    color: #1a1a1a;
}

.social-section-title em {
    font-style: italic;
}

.social-section-line {
    width: 40px;
    height: 3px;
    border-radius: 2px;
    margin: 15px auto 0;
}

/* Social Icons */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    padding: 0 20px;
    flex-wrap: wrap;
}

.social-icon-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: 1px solid #ddd;
    border-radius: 30px;
    text-decoration: none;
    color: #555;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.social-icon-link:hover {
    border-color: var(--accent, #c5a55a);
    color: var(--accent, #c5a55a);
    background: rgba(197, 165, 90, 0.05);
    transform: translateY(-2px);
}

.social-icon-link svg {
    flex-shrink: 0;
}

.social-icon-name {
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Social Grid */
.social-grid {
    display: grid;
    grid-template-columns: repeat(var(--kolumny, 3), 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Post Card */
.social-post-card {
    position: relative;
    height: var(--h, 350px);
    overflow: hidden;
    display: block;
    text-decoration: none;
    border: 2px solid #e0e0e0;
    transition: border-color 0.3s ease;
}

.social-post-card:hover {
    border-color: var(--accent, #c5a55a);
}

.social-post-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.social-post-card:hover img {
    transform: scale(1.05);
}

/* Overlay */
.social-post-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 15px 15px;
    background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0) 100%);
    transform: translateY(100%);
    transition: transform 0.4s ease;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.social-post-card:hover .social-post-overlay {
    transform: translateY(0);
}

.social-post-platform {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.social-post-platform svg {
    width: 16px;
    height: 16px;
}

.social-post-desc {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Hover Icon */
.social-post-hover-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--accent, #c5a55a);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    pointer-events: none;
}

.social-post-card:hover .social-post-hover-icon {
    transform: translate(-50%, -50%) scale(1);
}

/* Social Mobile */
@media (max-width: 1024px) {
    .social-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    .social-section {
        padding: 50px 0;
    }

    .social-section-title {
        font-size: 2rem;
    }

    .social-icons {
        gap: 10px;
    }

    .social-icon-link {
        padding: 8px 14px;
        font-size: 0.7rem;
    }

    .social-icon-name {
        display: none;
    }

    .social-icon-link svg {
        width: 22px;
        height: 22px;
    }

    .social-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 0 15px;
    }

    .social-post-card {
        height: 200px;
    }

    .social-post-overlay {
        transform: translateY(0);
        background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 100%);
    }

    .social-post-hover-icon {
        display: none;
    }
}











/* Contact Section
--------------------------------------------- */
.kontakt-section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

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

.kontakt-section-label {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 10px;
    font-weight: 500;
}

.kontakt-section-title {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 2.6rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
    color: #1a1a1a;
}

.kontakt-section-title em {
    font-style: italic;
}

.kontakt-section-line {
    width: 40px;
    height: 3px;
    border-radius: 2px;
    margin: 15px auto 0;
}

/* Layout */
.kontakt-inner {
    display: flex;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    align-items: flex-start;
}

/* Left column — info */
.kontakt-info {
    flex: 0 0 320px;
    display: flex;
    flex-direction: column;
    gap: 25px;
    padding-top: 10px;
}

.kontakt-info-header {
    margin-bottom: 10px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.kontakt-info-title {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 1.6rem;
    font-weight: 700;
    font-style: italic;
    margin: 0 0 10px 0;
}

.kontakt-info-desc {
    font-size: 0.9rem;
    line-height: 1.7;
    color: #666;
    margin: 0;
}

.kontakt-info-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.kontakt-info-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border: 1px solid #e0e0e0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.kontakt-info-item:hover .kontakt-info-icon {
    background: var(--accent, #c5a55a);
    border-color: var(--accent, #c5a55a);
    color: #fff !important;
}

.kontakt-info-item:hover .kontakt-info-icon svg {
    stroke: #fff;
}

.kontakt-info-label {
    display: block;
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 3px;
    font-weight: 500;
}

.kontakt-info-value {
    display: block;
    font-size: 0.95rem;
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

a.kontakt-info-value:hover {
    color: var(--accent, #c5a55a);
}

/* Social links in contact */
.kontakt-social {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.kontakt-social-link {
    width: 40px;
    height: 40px;
    border: 1px solid #ddd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    text-decoration: none;
    transition: all 0.3s ease;
}

.kontakt-social-link:hover {
    background: var(--accent, #c5a55a);
    border-color: var(--accent, #c5a55a);
    color: #fff;
}

.kontakt-social-link:hover svg {
    stroke: #fff;
    fill: #fff;
}

/* Right column — form */
.kontakt-form {
    flex: 1;
}

/* Contact Form 7 Styling
--------------------------------------------- */
.kontakt-form .wpcf7 {
    width: 100%;
}

.kontakt-form .wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Row layout */
.kontakt-form .cf7-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.kontakt-form .cf7-col {
    flex: 1;
}

.kontakt-form .cf7-full {
    flex-direction: column;
}

/* Labels */
.kontakt-form label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #555;
    margin-bottom: 6px;
}

.kontakt-form label .required {
    color: var(--accent, #c5a55a);
}

/* Inputs */
.kontakt-form .wpcf7-form-control:not(.wpcf7-submit):not(.wpcf7-acceptance) {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.92rem;
    font-family: inherit;
    color: #333;
    background: #fafafa;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    -webkit-appearance: none;
}

.kontakt-form .wpcf7-form-control:not(.wpcf7-submit):not(.wpcf7-acceptance):focus {
    outline: none;
    border-color: var(--accent, #c5a55a);
    box-shadow: 0 0 0 3px rgba(197, 165, 90, 0.1);
    background: #fff;
}

/* Select */
.kontakt-form select.wpcf7-form-control {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23555' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

/* Textarea */
.kontakt-form textarea.wpcf7-form-control {
    min-height: 140px;
    resize: vertical;
}

/* Date */
.kontakt-form input[type="date"].wpcf7-form-control {
    cursor: pointer;
}

/* Acceptance / Consent */
.kontakt-form .cf7-consent {
    margin-bottom: 20px;
}

.kontakt-form .cf7-consent label {
    text-transform: none;
    font-weight: 400;
    font-size: 0.82rem;
    color: #777;
    letter-spacing: 0;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    cursor: pointer;
}

.kontakt-form .wpcf7-acceptance .wpcf7-list-item {
    margin: 0;
}

.kontakt-form .wpcf7-acceptance input[type="checkbox"] {
    margin-top: 2px;
    accent-color: var(--accent, #c5a55a);
}

/* Submit */
.kontakt-form .cf7-submit {
    margin-top: 5px;
}

.kontakt-form .wpcf7-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--accent, #c5a55a);
    color: #fff;
    border: none;
    padding: 14px 40px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    width: auto;
}

.kontakt-form .wpcf7-submit:hover {
    background: #b08f45;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(197, 165, 90, 0.3);
}

/* Validation */
.kontakt-form .wpcf7-not-valid {
    border-color: #e74c3c !important;
}

.kontakt-form .wpcf7-not-valid-tip {
    font-size: 0.75rem;
    color: #e74c3c;
    margin-top: 4px;
}

/* Response messages */
.kontakt-form .wpcf7-response-output {
    margin: 20px 0 0 !important;
    padding: 15px 20px !important;
    border-radius: 4px !important;
    font-size: 0.88rem;
}

.kontakt-form .wpcf7-mail-sent-ok {
    border-color: #27ae60 !important;
    background: #f0faf4;
    color: #27ae60;
}

.kontakt-form .wpcf7-validation-errors {
    border-color: #e74c3c !important;
    background: #fef5f5;
    color: #e74c3c;
}

/* Spinner */
.kontakt-form .wpcf7-spinner {
    margin-left: 10px;
}

/* Contact Mobile
--------------------------------------------- */
@media (max-width: 768px) {
    .kontakt-section {
        padding: 50px 0;
    }

    .kontakt-section-title {
        font-size: 2rem;
    }

    .kontakt-inner {
        flex-direction: column;
        gap: 40px;
        padding: 0 20px;
    }

    .kontakt-info {
        flex: none;
        width: 100%;
        gap: 20px;
    }

    .kontakt-form .cf7-row {
        flex-direction: column;
        gap: 15px;
    }

    .kontakt-form .wpcf7-submit {
        width: 100%;
    }
}







/* Footer
--------------------------------------------- */
.site-footer {
    padding: 0;
    margin-top: 0;
    box-shadow: 0 -2px 20px rgba(0,0,0,0.08);
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 18px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

/* Social icons */
.footer-social {
    display: flex;
    gap: 6px;
}

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.15);
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social-link:hover {
    background: #c5a55a;
    border-color: #c5a55a;
    color: #fff;
}

.footer-social-link:hover svg {
    stroke: #fff;
    fill: #fff;
}

/* Copyright */
.footer-copyright {
    font-size: 0.72rem;
}

/* Right — legal + credit */
.footer-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

.footer-legal-link {
    color: inherit;
    text-decoration: none;
    font-size: 0.72rem;
    transition: color 0.3s ease;
}

.footer-legal-link:hover {
    color: #c5a55a;
}

.footer-sep {
    opacity: 0.3;
    font-size: 0.68rem;
}

.footer-credit-text {
    font-size: 0.72rem;
    white-space: nowrap;
}

.footer-credit-link {
    display: flex;
    align-items: center;
}

.footer-credit-logo {
    height: 15px;
    width: auto;
    display: block;
    filter: grayscale(100%) opacity(0.5);
    transition: filter 0.3s ease;
}

.footer-credit-link:hover .footer-credit-logo {
    filter: grayscale(0%) opacity(1);
}

/* Footer Mobile */
@media (max-width: 768px) {
    .footer-inner {
        flex-direction: column;
        gap: 8px;
        padding: 12px 20px;
    }

    .footer-right {
        flex-wrap: wrap;
        justify-content: center;
    }
}








/* Podstrony — content styling
--------------------------------------------- */
.site-main {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 40px 80px;
}

.site-main.no-padding-top {
    max-width: none;
    padding: 0;
}

.site-main .entry-title {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 2.4rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 30px 0;
    padding-bottom: 20px;
    border-bottom: 2px solid #c5a55a;
}

.site-main .entry-content h2 {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 40px 0 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e0e0e0;
}

.site-main .entry-content h3 {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
    margin: 30px 0 10px;
}

.site-main .entry-content p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #555;
    margin: 0 0 15px;
}

.site-main .entry-content a {
    color: #c5a55a;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.site-main .entry-content a:hover {
    color: #b08f45;
}

.site-main .entry-content ul,
.site-main .entry-content ol {
    margin: 0 0 20px 20px;
    color: #555;
    font-size: 0.95rem;
    line-height: 1.8;
}

.site-main .entry-content li {
    margin-bottom: 5px;
}

.site-main .entry-content strong {
    color: #333;
}

.site-main .entry-content blockquote {
    margin: 20px 0;
    padding: 15px 25px;
    border-left: 3px solid #c5a55a;
    background: #faf9f6;
    color: #555;
    font-style: italic;
}

.site-main .entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 0.9rem;
}

.site-main .entry-content th,
.site-main .entry-content td {
    padding: 10px 15px;
    border: 1px solid #e0e0e0;
    text-align: left;
}

.site-main .entry-content th {
    background: #f5f5f5;
    font-weight: 600;
    color: #333;
}

.site-main .entry-content .wp-suggested-text {
    color: #999;
    font-style: italic;
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .site-main {
        padding: 30px 20px 50px;
    }

    .site-main .entry-title {
        font-size: 1.8rem;
    }

    .site-main .entry-content h2 {
        font-size: 1.3rem;
    }
}







/* 404 Page
--------------------------------------------- */
.error-404-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
    padding: 60px 40px;
    text-align: center;
}

.error-404-inner {
    max-width: 560px;
}

.error-404-number {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 8rem;
    font-weight: 700;
    line-height: 1;
    color: #c5a55a;
    opacity: 0.15;
    margin-bottom: -10px;
    letter-spacing: -5px;
}

.error-404-title {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 15px;
}

.error-404-desc {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #777;
    margin: 0 0 35px;
}

.error-404-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.error-404-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-family: inherit;
}

.error-404-btn-primary {
    background: #c5a55a;
    color: #fff;
}

.error-404-btn-primary:hover {
    background: #b08f45;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(197, 165, 90, 0.3);
}

.error-404-btn-secondary {
    background: transparent;
    color: #555;
    border: 1px solid #ddd;
}

.error-404-btn-secondary:hover {
    border-color: #c5a55a;
    color: #c5a55a;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .error-404-page {
        padding: 40px 20px;
        min-height: 60vh;
    }

    .error-404-number {
        font-size: 5rem;
    }

    .error-404-title {
        font-size: 1.5rem;
    }

    .error-404-actions {
        flex-direction: column;
        align-items: center;
    }

    .error-404-btn {
        width: 100%;
        justify-content: center;
    }
}