:root {
    --bg-light: #ffffff;
    --bg-gray: #F8FAFC; 
    --text-primary: #0F172A; 
    --text-secondary: #475569; 
    
    --accent: #F97316; 
    --accent-hover: #EA580C;
    --brand-navy: #1E3A8A; 
    
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    --nav-height: 70px;
    --border-radius: 12px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; background-color: var(--bg-light); }
body { font-family: var(--font-body); color: var(--text-primary); line-height: 1.6; overflow-x: hidden; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: 700; color: var(--brand-navy); }
a { text-decoration: none; color: inherit; transition: all 0.3s ease; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.section-light { background-color: var(--bg-light); padding: 50px 0; }
.section-gray { background-color: var(--bg-gray); padding: 50px 0; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.mt-4 { margin-top: 20px; }
.text-muted { color: var(--text-secondary); font-size: 0.85em; }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); }
.rounded-xl { border-radius: 16px; }

.section-badge { display: inline-block; padding: 4px 12px; background-color: rgba(249, 115, 22, 0.15); color: var(--accent-hover); border-radius: 30px; font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }
.sub-heading { color: var(--text-secondary); font-size: 16px; max-width: 500px; margin: 10px auto 0; }

.navbar { position: fixed; top: 0; left: 0; width: 100%; height: var(--nav-height); background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(8px); z-index: 1000; border-bottom: 1px solid #E2E8F0; box-shadow: 0 2px 4px rgba(0,0,0,0.02); transition: all 0.3s ease; }
.nav-container { display: flex; justify-content: space-between; align-items: center; height: 100%; }

.logo { display:flex; align-items:center; height:100%; gap: 10px; }
.logo-img { max-height: 48px; width: auto; object-fit: contain; }
.logo-text { font-size: 22px; font-weight: 800; font-family: var(--font-heading); color: var(--brand-navy); white-space: nowrap; }
.logo-text span { color: var(--accent); }

.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a:not(.btn) { font-size: 14px; font-weight: 600; color: var(--text-secondary); }
.nav-links a:not(.btn):hover { color: var(--brand-navy); }

.btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 24px; border-radius: 8px; font-weight: 700; font-size: 14px; transition: 0.3s; cursor: pointer; text-align: center; }
.btn-large { padding: 14px 32px; font-size: 15px; }
.btn-primary { background: var(--accent); color: #fff; border: 2px solid var(--accent); box-shadow: 0 4px 10px rgba(249, 115, 22, 0.2); }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 6px 15px rgba(249, 115, 22, 0.3); }
.btn-cta { background: var(--brand-navy); color: #fff; border-radius: 8px; }
.btn-cta:hover { background: #1E293B; transform: translateY(-2px); }

.hamburger { display: none; cursor: pointer; }
.hamburger .bar { display: block; width: 25px; height: 3px; margin: 5px auto; background-color: var(--brand-navy); transition: all 0.3s; }

.hero-light { position: relative; padding-top: var(--nav-height); min-height: 85vh; display: flex; align-items: center; background: #1E3A8A; background-image: url('../assets/gallery/rybnik_wisniowiec_skatepark/1.jpg'); background-size: cover; background-position: center; background-attachment: fixed; }
.hero-overlay { position: absolute; top:0; left:0; width:100%; height:100%; background: linear-gradient(135deg, rgba(15, 23, 42, 0.75) 0%, rgba(30, 58, 138, 0.3) 100%); z-index: 1; pointer-events: none; }
.hero-content { position: relative; z-index: 2; max-width: 900px; padding: 60px 20px; margin: 0 auto; text-align: center; color: #fff; }
.hero-light h1 { font-size: clamp(36px, 5vw, 60px); margin-bottom: 24px; line-height: 1.1; margin-left: auto; margin-right: auto; color: #fff; text-shadow: 0 4px 15px rgba(0,0,0,0.4); font-weight: 800; }
.hero-light .subtitle { font-size: clamp(17px, 1.8vw, 20px); color: rgba(255,255,255,0.95); margin-bottom: 45px; max-width: 700px; line-height: 1.6; margin-left: auto; margin-right: auto; text-shadow: 0 2px 8px rgba(0,0,0,0.4); font-weight: 500; }

.trust-badges { display: flex; gap: 20px; margin-top: 50px; flex-wrap: wrap; justify-content: center; }
.badge { background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(10px); border: 2px solid #fff; padding: 14px 30px; border-radius: 50px; font-weight: 800; font-size: 16px; display: flex; align-items: center; gap: 12px; box-shadow: 0 15px 35px rgba(0,0,0,0.3); color: var(--brand-navy); transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.badge:hover { transform: translateY(-5px) scale(1.05); box-shadow: 0 20px 40px rgba(0,0,0,0.4); }
.badge i { color: var(--accent); font-size: 20px; }

.split-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.about-text h2 { font-size: 32px; margin-bottom: 20px; }
.about-text p { font-size: 15px; margin-bottom: 16px; color: var(--text-secondary); }
.owner-signatures { display: flex; gap: 32px; }
.owner { display: flex; align-items: center; gap: 12px; }
.owner .initial { width: 42px; height: 42px; background: rgba(30, 58, 138, 0.1); color: var(--brand-navy); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 16px; }
.owner .name { font-weight: 700; line-height: 1.2; font-size: 14px; }
.owner small { font-weight: 500; color: var(--text-secondary); font-size: 12px; }

.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; margin-top: 40px; }
.service-card { background: #fff; padding: 30px 24px; border-radius: var(--border-radius); box-shadow: 0 4px 10px rgba(0,0,0,0.02); border: 1px solid #F1F5F9; transition: all 0.3s ease; }
.service-card:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
.icon-wrapper { width: 48px; height: 48px; border-radius: 12px; background: rgba(30, 58, 138, 0.05); color: var(--brand-navy); display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 16px; transition: 0.3s; }
.service-card:hover .icon-wrapper { background: var(--accent); color: #fff; }
.service-card h3 { font-size: 18px; margin-bottom: 8px; }
.service-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.4; }


.google-rating { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 10px; background: #fff; padding: 8px 16px; border-radius: 30px; box-shadow: 0 2px 4px rgba(0,0,0,0.03); }
.google-rating .score { font-size: 24px; font-weight: 800; font-family: var(--font-heading); }
.google-rating .stars { color: #F59E0B; font-size: 16px; }

/* === NOWY CAROUSEL DLA OPINII === */
.reviews-carousel-wrapper { position: relative; max-width: 1050px; margin: 30px auto; overflow: hidden; padding: 0 50px; }
.reviews-track { display: flex; gap: 20px; transition: transform 0.4s ease; overflow-x: auto; scroll-behavior: smooth; scroll-snap-type: x mandatory; -ms-overflow-style: none; scrollbar-width: none; align-items: stretch;}
.reviews-track::-webkit-scrollbar { display: none; }
.review-card { min-width: 300px; flex: 0 0 calc(33.333% - 14px); scroll-snap-align: start; background: #fff; padding: 24px; border-radius: var(--border-radius); text-align: left; box-shadow: 0 4px 6px rgba(0,0,0,0.02); border: 1px solid #E2E8F0; }
.reviewer-info { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--brand-navy); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px;}
.review-stars { color: #F59E0B; font-size: 10px; margin-top: 2px; }
.review-text { color: var(--text-secondary); font-style: italic; font-size: 14px; }

.slider-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; background: #fff; border: 1px solid #E2E8F0; border-radius: 50%; box-shadow: 0 4px 6px rgba(0,0,0,0.05); cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 18px; color: var(--brand-navy); z-index: 2; transition: 0.3s; }
.slider-btn:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.slider-btn.prev { left: 0; }
.slider-btn.next { right: 0; }

.btns-flex { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin-top: 20px; }

/* === ZAAWANSOWANA GALERIA === */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 16px; margin-top: 40px; grid-auto-flow: dense; }
.gallery-item { border-radius: var(--border-radius); position: relative; overflow: hidden; background: #e2e8f0; cursor: pointer; }
.gallery-item.type-large { grid-column: span 2; grid-row: span 2; }
.gallery-item::after { content: attr(data-location); position: absolute; inset: 0; background: rgba(249, 115, 22, 0.85); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 18px; opacity: 0; transition: 0.3s; z-index: 2; padding: 20px; text-align: center;}
.gallery-item:hover::after { opacity: 1; }

.gallery-overlay { position: absolute; bottom: 0; left: 0; width: 100%; padding: 40px 16px 16px; background: linear-gradient(0deg, rgba(0, 0, 0, 0.8) 0%, transparent 100%); color: #fff; z-index: 1;}
.gallery-overlay h4 { color: #fff; font-size: 16px; margin-bottom: 4px; }
.gallery-overlay p { color: rgba(255,255,255,0.9); font-size: 13px; text-shadow: 1px 1px 2px rgba(0,0,0,0.9); }

/* === LIGHTBOX MODAL === */
.lightbox { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.92); z-index: 99999; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: 0.3s; }
.lightbox.active { opacity: 1; pointer-events: auto; }
.lightbox-content { position: relative; max-width: 90vw; max-height: 90vh; display:flex; align-items:center; justify-content:center;}
.lightbox-img { max-width: 100%; max-height: 85vh; object-fit: contain; border-radius: 8px; display:none; }
.lightbox-img.active { display:block; animation: fadeIn 0.3s ease; }
.lightbox-close { position: absolute; top: 20px; right: 20px; color: #fff; font-size: 32px; cursor: pointer; z-index: 2; transition: 0.2s; width: 40px; height: 40px; display:flex; align-items:center; justify-content:center; background: rgba(255,255,255,0.1); border-radius:50%;}
.lightbox-close:hover { color: var(--accent); background: #fff;}
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); color: #fff; font-size: 30px; cursor: pointer; user-select: none; transition: 0.2s; background: rgba(255,255,255,0.1); border-radius: 50%; width: 60px; height: 60px; display:flex; align-items:center; justify-content:center; z-index: 100000; border: 1px solid rgba(255,255,255,0.2); }
.lightbox-nav:hover { color: var(--accent); background: #fff;}
.lightbox-nav.prev { left: 30px; }
.lightbox-nav.next { right: 30px; }
.gallery-counter { position: absolute; bottom: -40px; left: 50%; transform: translateX(-50%); color: #fff; font-size: 14px; font-weight: 500; background: rgba(0,0,0,0.5); padding: 4px 12px; border-radius: 20px; white-space: nowrap;}
@keyframes fadeIn { from { opacity: 0; transform: scale(0.98); } to { opacity: 1; transform: scale(1); } }


.contact-info-blocks { display: flex; flex-direction: column; gap: 16px; margin-top: 24px; }
.contact-block { display: flex; align-items: flex-start; gap: 16px; }
.contact-block i { font-size: 20px; color: var(--brand-navy); background: rgba(30,58,138,0.05); width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; border-radius: 12px; flex-shrink: 0; }
.contact-block span { display: block; font-size: 12px; text-transform: uppercase; font-weight: 700; color: var(--text-secondary); margin-bottom: 2px; }
.contact-block a { font-size: 16px; font-weight: 600; color: var(--text-primary); transition: 0.2s; display: block; }
.contact-block a:hover { color: var(--accent); }
.contact-block p { font-size: 14px; color: var(--text-primary); margin: 0;}

.map-container { border-radius: var(--border-radius); overflow: hidden; height: 100%; min-height: 350px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); }

footer { background: var(--text-primary); padding: 30px 0; color: #fff; }
.flex-footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-logo { font-size: 20px; font-weight: 800; font-family: var(--font-heading); }
.footer-copy { color: #94A3B8; font-size: 13px; }

.reveal-up { transform: translateY(20px); opacity: 0; transition: all 0.6s cubic-bezier(0.5, 0, 0, 1); }
.reveal-left { transform: translateX(-20px); opacity: 0; transition: all 0.6s cubic-bezier(0.5, 0, 0, 1); }
.reveal-right { transform: translateX(20px); opacity: 0; transition: all 0.6s cubic-bezier(0.5, 0, 0, 1); }
.reveal-up.active, .reveal-left.active, .reveal-right.active { transform: translate(0); opacity: 1; }
.delay-1 { transition-delay: 0.1s; } .delay-2 { transition-delay: 0.2s; } .delay-3 { transition-delay: 0.3s; }

.mobile-float-cta { display: none; }

@media (max-width: 1200px) {
    .lightbox-nav.prev { left: 10px; }
    .lightbox-nav.next { right: 10px; }
}
@media (max-width: 992px) {
    .split-grid2 { grid-template-columns: 1fr; gap: 30px; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-item.type-large { grid-column: span 1; grid-row: span 1; }
    .hero-light h1 { font-size: 38px; }
    .review-card { flex: 0 0 calc(50% - 10px); min-width: 250px;}
}
@media (max-width: 768px) {
    .hamburger { display: block; }
    .logo-text { font-size: 18px; }
    .nav-links { position: fixed; left: -100%; top: var(--nav-height); flex-direction: column; background: #fff; width: 100%; text-align: center; transition: 0.3s; box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1); padding: 30px 20px; gap: 20px; border-bottom: 1px solid #E2E8F0; }
    .nav-links.active { left: 0; }
    .hamburger.active .bar:nth-child(2) { opacity: 0; }
    .hamburger.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
    .hero-content { padding-top: 20px; }
    
    body { padding-bottom: 64px; }
    .mobile-float-cta { display: flex; position: fixed; bottom: 0; left: 0; width: 100%; z-index: 9999; background: var(--accent); color: #fff; height: 60px; align-items: center; justify-content: center; box-shadow: 0 -3px 15px rgba(249, 115, 22, 0.3); font-size: 18px; font-family: var(--font-heading); font-weight: 700; gap: 10px; }
    .mobile-float-cta:active { background: var(--accent-hover); }
    
    .reviews-carousel-wrapper { padding: 0; }
    .slider-btn { display: none !important; }
    .review-card { flex: 0 0 calc(100% - 20px); margin:0 5px;}
    .reviews-track { gap: 10px;}
}
/* Social Promo Section */
.social-promo-section {
    padding: 60px 20px;
    background: #f8fafc;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
}

.social-btns-large {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-social {
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-facebook {
    background: #1877F2;
    color: white;
}

.btn-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
}

.btn-social:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    color: white;
    filter: brightness(1.1);
}

@media (max-width: 768px) {
    .btn-social {
        width: 100%;
        justify-content: center;
    }
}

/* Parallax Section */
.parallax-divider {
    height: 400px;
    background-image: url('../assets/gallery/zory_rowien_budowa_hali/1.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.parallax-divider::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(30, 58, 138, 0.6);
}

.parallax-divider .container {
    position: relative;
    z-index: 2;
    color: #fff;
    text-align: center;
}

.parallax-divider h2 {
    color: #fff;
    font-size: 32px;
    margin: 0;
}

@media (max-width: 768px) {
    .hero-light { background-attachment: scroll; }
    .parallax-divider { background-attachment: scroll; height: 200px; }
    .lightbox-nav { width: 44px; height: 44px; font-size: 20px; }
    .lightbox-nav.prev { left: 10px; }
    .lightbox-nav.next { right: 10px; }
}
