/*
Theme Name: PRO-JACK
Theme URI: https://pro-jack.pl
Author: Daniel Czaja
Author URI: https://czajastudio.pl
Description: Motyw WordPress dla PRO-JACK - Techniczna Realizacja Wydarzeń
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pro-jack
*/

/* ===== RESET & GLOBAL ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===== SCROLL PROGRESS BAR ===== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: #E67E22;
    z-index: 9999;
    transition: width 0.1s linear;
}

.floating-stat-label {
    display: block;
    font-size: 13px;
    font-weight: 100;
    color: rgba(255, 255, 255, 0.8);
}

/* ===== MAGNETIC BUTTONS ===== */
.cta-button,
.cta-button-large {
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.cta-button:hover,
.cta-button-large:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(230, 126, 34, 0.4);
}

/* ===== ENHANCED GALLERY HOVER ===== */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    aspect-ratio: 16/10;
    cursor: pointer;
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(230, 126, 34, 0.92);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
}

.gallery-item::after {
    content: 'ZOBACZ';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    color: #FFFFFF;
    font-size: 24px;
    font-weight: 300;
    letter-spacing: 4px;
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 3;
    pointer-events: none;
}

.gallery-item:hover::before {
    opacity: 1;
}

.gallery-item:hover::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), filter 0.6s ease;
    filter: grayscale(100%) contrast(1.2) brightness(0.95);
}

.gallery-item:hover img {
    transform: scale(1.1);
    filter: grayscale(0%) contrast(1.1) brightness(1);
}

/* ===== ANIMATED STATS ===== */
.stat-number[data-count] {
    animation: countUp 2s ease-out forwards;
}

@keyframes countUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== TYPOGRAPHY ===== */
body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 1.8;
    color: #1A1A1A;
    background: #FFFFFF;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 4rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }

strong {
    font-weight: 400;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* ===== CONTAINER ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===== NAVIGATION ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav.sticky {
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 40px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 300;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #E67E22;
}

.cta-button {
    background: #E67E22;
    color: #FFFFFF;
    padding: 0.75rem 1.5rem;
    border-radius: 0;
    font-weight: 300;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: #D35400;
}

/* ===== HERO ===== */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) contrast(1.1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(26, 26, 26, 0.85) 0%,
        rgba(230, 126, 34, 0.15) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #FFFFFF;
}

.hero-main-text {
    font-size: 5rem;
    font-weight: 100;
    line-height: 1.1;
    margin-bottom: 2rem;
    letter-spacing: 2px;
}

.hero-main-text .line {
    display: block;
}

.hero-main-text .accent {
    color: #E67E22;
    font-weight: 300;
}

.hero-stats-inline {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin: 2rem 0;
    font-size: 1.1rem;
    font-weight: 200;
    letter-spacing: 2px;
}

.separator {
    color: #E67E22;
    font-weight: 100;
}

.cta-button-large {
    display: inline-block;
    background: #E67E22;
    color: #FFFFFF;
    padding: 1.25rem 3rem;
    font-size: 1.1rem;
    font-weight: 300;
    letter-spacing: 1px;
    border-radius: 0;
    margin-top: 2rem;
    transition: all 0.3s ease;
}

.cta-button-large:hover {
    background: #D35400;
}

/* ===== ABOUT ===== */
.about {
    padding: 6rem 0;
    background: #FAFAFA;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about h2 {
    margin-bottom: 1.5rem;
    color: #1A1A1A;
}

.about p {
    margin-bottom: 1.5rem;
    color: #4A4A4A;
}

.about h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #E67E22;
}

.about ul {
    list-style: none;
    padding-left: 0;
}

.about ul li {
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    position: relative;
    color: #4A4A4A;
}

.about ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #E67E22;
}

/* ===== STATS ===== */
.stats {
    background: #1A1A1A;
    padding: 4rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 2rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 100;
    color: #E67E22;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.stat-label {
    font-size: 0.9rem;
    font-weight: 200;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ===== SERVICES ===== */
.services {
    padding: 6rem 0;
    background: #FFFFFF;
}

.services h2 {
    margin-bottom: 1rem;
}

.section-intro {
    font-size: 1.2rem;
    color: #4A4A4A;
    margin-bottom: 3rem;
}

.service-item {
    margin-bottom: 3rem;
}

.service-item h3 {
    color: #E67E22;
    margin-bottom: 1rem;
}

.service-item ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1rem;
}

.service-item ul li {
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    position: relative;
    color: #4A4A4A;
}

.service-item ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #E67E22;
}

.service-effect {
    color: #666;
    font-style: italic;
}

/* ===== PORTFOLIO ===== */
.portfolio {
    padding: 6rem 0;
    background: #FAFAFA;
}

.portfolio h2 {
    margin-bottom: 1rem;
}

.portfolio-list {
    list-style: none;
    padding-left: 0;
    margin: 2rem 0;
}

.portfolio-list li {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    position: relative;
    color: #4A4A4A;
}

.portfolio-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #E67E22;
    font-weight: bold;
}

.gallery-title {
    margin-top: 4rem;
    margin-bottom: 1rem;
    color: #E67E22;
}

.gallery-intro {
    color: #4A4A4A;
    margin-bottom: 2rem;
}

/* ===== GALLERY ===== */
.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

/* ===== CONTACT ===== */
.contact {
    padding: 6rem 0;
    background: #1A1A1A;
    color: #FFFFFF;
}

.contact h2 {
    color: #FFFFFF;
    margin-bottom: 3rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact h3 {
    color: #E67E22;
    margin-top: 2rem;
    margin-bottom: 0.5rem;
}

.contact p {
    color: rgba(255, 255, 255, 0.8);
}

.contact a {
    color: #E67E22;
}

.contact a:hover {
    color: #D35400;
}

.contact-cta {
    text-align: center;
}

.contact-social {
    margin-top: 2rem;
    font-size: 0.9rem;
}

/* ===== FOOTER ===== */
.footer {
    background: #0D0D0D;
    color: rgba(255, 255, 255, 0.7);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    height: 40px;
    margin-bottom: 1rem;
}

.footer h4 {
    color: #E67E22;
    margin-bottom: 1rem;
}

.footer-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    margin-top: 2rem;
}

.footer-gallery img {
    width: 100%;
    height: 60px;
    object-fit: cover;
    opacity: 0.7;
    transition: opacity 0.3s ease, filter 0.3s ease;
    filter: grayscale(100%) contrast(1.1);
}

.footer-gallery img:hover {
    opacity: 1;
    filter: grayscale(0%);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero-main-text {
        font-size: 3rem;
    }
    
    .about-grid,
    .contact-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery {
        grid-template-columns: 1fr;
    }
    
    .nav-menu {
        display: none;
    }
}
