/*
Theme Name: Sendormeco Holding
Theme URI: https://sendormeco.pl
Author: Sendormeco Holding
Author URI: https://sendormeco.pl
Description: Profesjonalny motyw one-pager dla Sendormeco Holding.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sendormeco-holding
Tags: one-page, custom-logo, custom-colors, dark, technology
*/

:root {
    --sh-black: #000000; --sh-cyan: #00FFFF; --sh-blue: #0088FF; --sh-grey: #333333;
    --sh-grey-light: #1a1a1a; --sh-grey-mid: #222222; --sh-white: #E0E0E0; --sh-white-bright: #FFFFFF;
    --sh-success: #00FF88; --sh-error: #FF4444;
    --sh-glow-cyan: 0 0 10px rgba(0,255,255,0.3), 0 0 20px rgba(0,255,255,0.15);
    --sh-gradient-accent: linear-gradient(135deg, #00FFFF 0%, #0088FF 100%);
    --sh-font-primary: 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
    --sh-font-heading: 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
    --sh-container-max: 1200px;
    --sh-transition-fast: 0.2s ease; --sh-transition-base: 0.3s ease;
    --sh-border-glow: 1px solid rgba(0,255,255,0.2); --sh-border-radius: 8px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body { background-color: var(--sh-black); color: var(--sh-white); font-family: var(--sh-font-primary); line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sh-cyan); text-decoration: none; transition: color var(--sh-transition-fast); }
a:hover { color: var(--sh-white-bright); }
::selection { background: rgba(0,255,255,0.3); color: var(--sh-white-bright); }
:focus-visible { outline: 2px solid var(--sh-cyan); outline-offset: 2px; }

h1, h2, h3, h4 { font-family: var(--sh-font-heading); font-weight: 700; line-height: 1.2; letter-spacing: 0.05em; color: var(--sh-white-bright); }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); text-transform: uppercase; letter-spacing: 0.15em; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.5rem); text-transform: uppercase; letter-spacing: 0.1em; }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); letter-spacing: 0.05em; }
h4 { font-size: 0.9rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--sh-cyan); }
p { margin-bottom: 1rem; } p:last-child { margin-bottom: 0; }

.sh-container { max-width: var(--sh-container-max); margin: 0 auto; padding: 0 1.5rem; width: 100%; }
.sh-section { padding: clamp(3rem, 8vw, 6rem) 0; position: relative; }
.sh-section__header { text-align: center; margin-bottom: 3rem; }
.sh-section__title { display: inline-block; margin-bottom: 1rem; }
.sh-section__line { width: 80px; height: 2px; background: var(--sh-gradient-accent); margin: 0 auto; border-radius: 1px; box-shadow: var(--sh-glow-cyan); }

.sh-skip-link { position: absolute; top: -100%; left: 50%; transform: translateX(-50%); background: var(--sh-cyan); color: var(--sh-black); padding: 0.5rem 1rem; z-index: 10000; border-radius: var(--sh-border-radius); font-weight: 600; }
.sh-skip-link:focus { top: 1rem; color: var(--sh-black); }

.sh-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(0,0,0,0.3); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(0,255,255,0.05); transition: background var(--sh-transition-base), border-color var(--sh-transition-base); }
.sh-nav--scrolled { background: rgba(0,0,0,0.9); border-bottom-color: rgba(0,255,255,0.15); }
.sh-nav__inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.sh-nav__logo { display: flex; align-items: center; gap: 0.75rem; color: var(--sh-white-bright); text-decoration: none; z-index: 1001; }
.sh-nav__logo img, .sh-nav__logo .custom-logo { width: 36px; height: 36px; object-fit: contain; }
.sh-nav__brand { font-size: 0.9rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--sh-cyan); }
.sh-nav__toggle { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 32px; height: 32px; background: none; border: none; cursor: pointer; padding: 4px; z-index: 1001; }
.sh-nav__toggle-bar { display: block; width: 100%; height: 2px; background: var(--sh-cyan); border-radius: 1px; transition: transform var(--sh-transition-base), opacity var(--sh-transition-base); }
.sh-nav__toggle[aria-expanded="true"] .sh-nav__toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.sh-nav__toggle[aria-expanded="true"] .sh-nav__toggle-bar:nth-child(2) { opacity: 0; }
.sh-nav__toggle[aria-expanded="true"] .sh-nav__toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.sh-nav__menu { list-style: none; display: flex; flex-direction: column; position: fixed; top: 0; right: -100%; width: 280px; height: 100vh; background: rgba(0,0,0,0.97); padding: 80px 2rem 2rem; transition: right var(--sh-transition-base); border-left: var(--sh-border-glow); }
.sh-nav__menu.is-open { right: 0; }
.sh-nav__menu li { margin-bottom: 0.5rem; }
.sh-nav__menu a { display: block; padding: 0.75rem 0; color: var(--sh-white); font-size: 1rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; position: relative; transition: color var(--sh-transition-fast); }
.sh-nav__menu a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 1px; background: var(--sh-gradient-accent); transition: width var(--sh-transition-base); }
.sh-nav__menu a:hover, .sh-nav__menu a.active { color: var(--sh-cyan); }
.sh-nav__menu a:hover::after, .sh-nav__menu a.active::after { width: 100%; }

.sh-btn { display: inline-block; padding: 0.8rem 2rem; font-family: var(--sh-font-primary); font-size: 0.9rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; border-radius: var(--sh-border-radius); cursor: pointer; transition: all var(--sh-transition-base); border: 2px solid transparent; text-align: center; }
.sh-btn--primary { background: var(--sh-cyan); color: var(--sh-black); border-color: var(--sh-cyan); }
.sh-btn--primary:hover { background: transparent; color: var(--sh-cyan); box-shadow: var(--sh-glow-cyan); transform: translateY(-2px); }

.sh-hero { min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; position: relative; overflow: hidden; padding: 0; }
.sh-hero__bg-pattern { position: absolute; inset: 0; background-image: url('assets/images/hero-bg-pattern.svg'); background-size: 200px 200px; background-repeat: repeat; opacity: 0.06; pointer-events: none; }
.sh-hero__glow { position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(0,255,255,0.06) 0%, rgba(0,136,255,0.03) 30%, transparent 70%); pointer-events: none; }
.sh-hero__content { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 1.5rem; padding: 2rem 1.5rem; }
.sh-hero__logo { width: 120px; height: 120px; animation: glowPulse 3s ease-in-out infinite; }
.sh-hero__logo img, .sh-hero__logo video { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 0 20px rgba(0,255,255,0.4)); }
.sh-hero__logo video { background: transparent; }
.sh-hero__title { background: var(--sh-gradient-accent); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.sh-hero__tagline { font-size: clamp(1rem, 2vw, 1.25rem); color: var(--sh-white); max-width: 600px; line-height: 1.8; }
.sh-hero__scroll-indicator { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); }
.sh-hero__scroll-indicator span { display: block; width: 24px; height: 40px; border: 2px solid rgba(0,255,255,0.4); border-radius: 12px; position: relative; }
.sh-hero__scroll-indicator span::after { content: ''; position: absolute; top: 6px; left: 50%; transform: translateX(-50%); width: 4px; height: 8px; background: var(--sh-cyan); border-radius: 2px; animation: scrollBounce 2s ease-in-out infinite; }

.sh-about { background: var(--sh-grey-light); border-top: 1px solid rgba(0,255,255,0.08); }
.sh-about__grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
.sh-about__text { font-size: 1.05rem; line-height: 1.8; color: var(--sh-white); }
.sh-about__text p { margin-bottom: 1.25rem; }
.sh-hex-decoration { position: relative; width: 200px; height: 200px; margin: 0 auto; }
.sh-hex { position: absolute; width: 80px; height: 80px; border: 2px solid rgba(0,255,255,0.2); clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%); }
.sh-hex--1 { top: 10%; left: 50%; transform: translateX(-50%); border-color: rgba(0,255,255,0.3); }
.sh-hex--2 { top: 50%; left: 15%; transform: translateY(-50%); width: 60px; height: 60px; border-color: rgba(0,136,255,0.3); }
.sh-hex--3 { top: 55%; right: 15%; width: 50px; height: 50px; border-color: rgba(0,255,255,0.15); }
.sh-about__image img { border-radius: var(--sh-border-radius); border: var(--sh-border-glow); }

.sh-projects { background: var(--sh-black); }
.sh-projects__grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.sh-project-card { background: var(--sh-grey-mid); border: var(--sh-border-glow); border-radius: var(--sh-border-radius); padding: 2rem; transition: all var(--sh-transition-base); position: relative; overflow: hidden; }
.sh-project-card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(0,255,255,0.03) 0%, transparent 60%); pointer-events: none; }
.sh-project-card:hover { border-color: rgba(0,255,255,0.5); box-shadow: var(--sh-glow-cyan); transform: translateY(-4px); }
.sh-project-card__icon { width: 48px; height: 48px; color: var(--sh-cyan); margin-bottom: 1.25rem; }
.sh-project-card__icon svg { width: 100%; height: 100%; }
.sh-project-card__title { color: var(--sh-cyan); margin-bottom: 0.75rem; }
.sh-project-card__desc { color: var(--sh-white); font-size: 0.95rem; line-height: 1.7; margin-bottom: 1.25rem; }
.sh-project-card__features { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.sh-project-card__features li { background: rgba(0,136,255,0.15); color: var(--sh-cyan); font-size: 0.75rem; padding: 0.3rem 0.75rem; border-radius: 20px; border: 1px solid rgba(0,136,255,0.2); letter-spacing: 0.03em; font-weight: 500; }
.sh-project-card__link { display: inline-block; margin-top: 1.25rem; color: var(--sh-cyan); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.05em; transition: color var(--sh-transition-fast); }
.sh-project-card__link:hover { color: var(--sh-white-bright); }

.sh-contact { background: var(--sh-grey-light); border-top: 1px solid rgba(0,255,255,0.08); }
.sh-contact__desc { text-align: center; max-width: 600px; margin: -1rem auto 3rem; color: var(--sh-white); font-size: 1.05rem; }
.sh-contact__info-centered { display: flex; justify-content: center; }
.sh-contact-info { display: flex; flex-direction: column; gap: 1.5rem; }
.sh-contact-info__item { display: flex; align-items: flex-start; gap: 1rem; }
.sh-contact-info__icon { width: 24px; height: 24px; color: var(--sh-cyan); flex-shrink: 0; margin-top: 0.25rem; }
.sh-contact-info__icon svg { width: 100%; height: 100%; }
.sh-contact-info__item h4 { margin-bottom: 0.25rem; }
.sh-contact-info__item a, .sh-contact-info__item p { color: var(--sh-white); font-size: 0.95rem; margin: 0; }
.sh-contact-info__item a:hover { color: var(--sh-cyan); }

.sh-footer { background: var(--sh-grey); border-top: 1px solid rgba(0,255,255,0.1); padding: 1.5rem 0; }
.sh-footer__inner { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; text-align: center; }
.sh-footer__logo { display: flex; align-items: center; gap: 0.5rem; color: var(--sh-cyan); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; }
.sh-footer__logo img { width: 24px; height: 24px; object-fit: contain; }
.sh-footer__text { color: rgba(224,224,224,0.6); font-size: 0.8rem; margin: 0; }

@media (prefers-reduced-motion: no-preference) {
    @keyframes glowPulse { 0%, 100% { filter: drop-shadow(0 0 20px rgba(0,255,255,0.4)); } 50% { filter: drop-shadow(0 0 35px rgba(0,255,255,0.7)) drop-shadow(0 0 60px rgba(0,136,255,0.3)); } }
    @keyframes scrollBounce { 0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; } 50% { transform: translateX(-50%) translateY(12px); opacity: 0.3; } }
    @keyframes hexFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
    .sh-hex--1 { animation: hexFloat 4s ease-in-out infinite; }
    .sh-hex--2 { animation: hexFloat 4s ease-in-out 1s infinite; }
    .sh-hex--3 { animation: hexFloat 4s ease-in-out 2s infinite; }
    .sh-animate { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
    .sh-animate.is-visible { opacity: 1; transform: translateY(0); }
    .sh-animate:nth-child(2) { transition-delay: 0.1s; }
    .sh-animate:nth-child(3) { transition-delay: 0.2s; }
    .sh-animate:nth-child(4) { transition-delay: 0.3s; }
}
@media (prefers-reduced-motion: reduce) { .sh-animate { opacity: 1; transform: none; } .sh-hero__logo { animation: none; } }

@media (min-width: 768px) {
    .sh-nav__toggle { display: none; }
    .sh-nav__menu { position: static; flex-direction: row; width: auto; height: auto; background: transparent; padding: 0; border-left: none; gap: 0.25rem; }
    .sh-nav__menu li { margin-bottom: 0; }
    .sh-nav__menu a { padding: 0.5rem 1rem; font-size: 0.8rem; }
    .sh-hero__logo { width: 150px; height: 150px; }
    .sh-about__grid { grid-template-columns: 1.2fr 0.8fr; }
    .sh-projects__grid { grid-template-columns: repeat(2, 1fr); }
    .sh-footer__inner { flex-direction: row; justify-content: space-between; }
}
@media (min-width: 992px) {
    .sh-hero__logo { width: 180px; height: 180px; }
    .sh-projects__grid { grid-template-columns: repeat(2, 1fr); }
    .sh-nav__menu a { font-size: 0.85rem; }
    .sh-project-card { padding: 2.5rem; }
}

.admin-bar .sh-nav { top: 32px; }
@media (max-width: 782px) { .admin-bar .sh-nav { top: 46px; } }
