/* ==========================================================================
   B.J.M.J. Jarosław Maćkowski - Modern Industrial CSS Styling
   Color Palette: Blue #0e76f1, Dark Slate #073874, Light Grey #f8fafc
   ========================================================================== */

:root {
    --primary-color: #0e76f1;
    --primary-dark: #005bc4;
    --primary-light: #d8e9ff;
    --secondary-dark: #073874;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --accent-orange: #f97316;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --shadow-glow: 0 0 25px rgba(14, 118, 241, 0.35);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-heading: 'Rajdhani', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-main); color: var(--text-main); background-color: var(--bg-white); line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.section-padding { padding: 90px 0; }
.text-center { text-align: center; }
.text-primary { color: var(--primary-color) !important; }
.bg-light { background-color: var(--bg-light); }
.margin-top-30 { margin-top: 30px; }
.margin-top-40 { margin-top: 40px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 28px; font-size: 0.95rem; font-weight: 600; border-radius: 6px; cursor: pointer; transition: var(--transition); border: 2px solid transparent; text-transform: uppercase; letter-spacing: 0.5px; }
.btn-primary { background-color: var(--primary-color); color: var(--bg-white); box-shadow: 0 4px 12px rgba(14, 118, 241, 0.3); }
.btn-primary:hover { background-color: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 6px 16px rgba(14, 118, 241, 0.4); }
.btn-outline { background-color: transparent; color: var(--bg-white); border-color: var(--bg-white); }
.btn-outline:hover { background-color: var(--bg-white); color: var(--secondary-dark); transform: translateY(-2px); }
.btn-outline-light { background-color: rgba(255, 255, 255, 0.15); color: var(--bg-white); border: 2px solid var(--bg-white); }
.btn-outline-light:hover { background-color: var(--bg-white); color: var(--primary-color); }
.btn-large { padding: 16px 36px; font-size: 1.05rem; }
.btn-cta-phone { background-color: #10b981; color: white; font-size: 1.15rem; padding: 16px 32px; box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4); }
.btn-cta-phone:hover { background-color: #059669; transform: scale(1.03); }

/* Top Bar */
.top-bar { background-color: var(--secondary-dark); color: rgba(255, 255, 255, 0.9); font-size: 0.85rem; padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.top-bar-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 15px; }
.top-contact { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; }
.top-contact a, .top-contact span { display: flex; align-items: center; gap: 8px; transition: var(--transition); }
.top-contact a:hover { color: var(--primary-color); }
.top-contact i { color: var(--primary-color); }

/* Language Selector */
.lang-selector { position: relative; }
.current-lang { background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2); color: white; padding: 5px 12px; border-radius: 4px; cursor: pointer; display: flex; align-items: center; gap: 8px; font-size: 0.85rem; font-weight: 600; transition: var(--transition); }
.current-lang:hover { background: rgba(255, 255, 255, 0.2); }
.lang-dropdown { position: absolute; right: 0; top: 100%; margin-top: 5px; background: var(--bg-white); color: var(--text-main); box-shadow: var(--shadow-lg); border-radius: 6px; width: 160px; display: none; z-index: 1000; overflow: hidden; border: 1px solid var(--border-color); }
.lang-dropdown.show { display: block; animation: fadeInDown 0.2s ease; }
.lang-dropdown li { padding: 10px 15px; cursor: pointer; display: flex; align-items: center; gap: 10px; font-weight: 500; transition: var(--transition); }
.lang-dropdown li:hover { background-color: var(--primary-light); color: var(--primary-color); }
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }

/* Navbar */
.navbar { background-color: var(--bg-white); box-shadow: var(--shadow-md); position: sticky; top: 0; z-index: 999; transition: var(--transition); }
.nav-container { display: flex; justify-content: space-between; align-items: center; height: 85px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo img { height: 55px; width: auto; }
.logo-text { display: flex; flex-direction: column; }
.logo-title { font-family: var(--font-heading); font-size: 1.6rem; font-weight: 800; color: var(--secondary-dark); line-height: 1; letter-spacing: 1px; }
.logo-subtitle { font-size: 0.72rem; font-weight: 600; color: var(--primary-color); text-transform: uppercase; letter-spacing: 0.5px; }
.nav-list { display: flex; align-items: center; gap: 25px; }
.nav-link { font-weight: 600; font-size: 1rem; color: var(--text-main); padding: 10px 0; position: relative; transition: var(--transition); }
.nav-link:hover, .nav-link.active { color: var(--primary-color); }
.nav-link::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 3px; background-color: var(--primary-color); transition: var(--transition); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

/* Dropdown */
.dropdown { position: relative; }
.dropdown-menu { position: absolute; top: 100%; left: 0; width: 280px; background: var(--bg-white); box-shadow: var(--shadow-lg); border-radius: 8px; padding: 10px 0; opacity: 0; visibility: hidden; transform: translateY(10px); transition: var(--transition); z-index: 100; border-top: 3px solid var(--primary-color); }
.dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu li { border-bottom: 1px solid var(--border-color); }
.dropdown-menu li:last-child { border-bottom: none; }
.dropdown-menu a { display: block; padding: 12px 20px; font-size: 0.9rem; font-weight: 500; color: var(--text-main); transition: var(--transition); }
.dropdown-menu a:hover { background-color: var(--bg-light); color: var(--primary-color); padding-left: 25px; }
.nav-right { display: flex; align-items: center; gap: 20px; }
.nav-cta-mobile { display: none; }

/* Hamburger */
.hamburger { display: none; background: none; border: none; cursor: pointer; width: 30px; height: 24px; position: relative; z-index: 1001; }
.hamburger .bar { display: block; width: 100%; height: 3px; background-color: var(--secondary-dark); margin: 5px 0; transition: var(--transition); border-radius: 3px; }
.hamburger.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.active .bar:nth-child(2) { opacity: 0; }
.hamburger.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Hero Slider */
.hero-slider-section { position: relative; height: 650px; width: 100%; overflow: hidden; background-color: var(--secondary-dark); }
.slider-container { width: 100%; height: 100%; position: relative; }
.slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; display: flex; align-items: center; opacity: 0; visibility: hidden; transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out; }
.slide.active { opacity: 1; visibility: visible; }
.slide-content { max-width: 800px; color: white; z-index: 2; }
.slide-tag { display: inline-block; background-color: var(--primary-color); color: white; padding: 6px 16px; border-radius: 50px; font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 20px; animation: fadeInUp 0.6s ease; }
.slide h1 { font-family: var(--font-heading); font-size: 3.5rem; font-weight: 700; line-height: 1.15; margin-bottom: 20px; text-shadow: 0 2px 10px rgba(0,0,0,0.5); animation: fadeInUp 0.8s ease; }
.slide p { font-size: 1.2rem; line-height: 1.6; margin-bottom: 30px; color: rgba(255, 255, 255, 0.9); max-width: 650px; text-shadow: 0 1px 5px rgba(0,0,0,0.5); animation: fadeInUp 1s ease; }
.slide-buttons { display: flex; gap: 15px; flex-wrap: wrap; animation: fadeInUp 1.2s ease; }
.slider-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255, 255, 255, 0.15); border: 2px solid rgba(255, 255, 255, 0.4); color: white; width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; cursor: pointer; transition: var(--transition); z-index: 10; }
.slider-btn:hover { background: var(--primary-color); border-color: var(--primary-color); }
.prev-btn { left: 30px; }
.next-btn { right: 30px; }
.slider-dots { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 10; }
.dot { width: 12px; height: 12px; background: rgba(255, 255, 255, 0.4); border-radius: 50%; cursor: pointer; transition: var(--transition); }
.dot.active { background: var(--primary-color); width: 30px; border-radius: 10px; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* Section Headings */
.section-title { margin-bottom: 60px; position: relative; }
.sub-title { display: block; color: var(--primary-color); font-size: 0.9rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 8px; }
.section-title h2 { font-family: var(--font-heading); font-size: 2.6rem; font-weight: 700; color: var(--secondary-dark); line-height: 1.2; }
.title-underline { width: 80px; height: 4px; background-color: var(--primary-color); margin: 15px auto 0; border-radius: 2px; }
.section-intro { max-width: 800px; margin: 20px auto 0; color: var(--text-muted); font-size: 1.1rem; }

/* About Section */
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 50px; align-items: center; }
.highlight-box { background: linear-gradient(135deg, var(--primary-light), #ffffff); border-left: 5px solid var(--primary-color); padding: 25px; border-radius: 8px; margin-bottom: 25px; box-shadow: var(--shadow-sm); display: flex; gap: 20px; align-items: flex-start; }
.icon-accent { font-size: 2rem; color: var(--primary-color); margin-top: 5px; }
.lead-text { font-size: 1.15rem; color: var(--secondary-dark); line-height: 1.6; }
.about-content h3 { font-family: var(--font-heading); font-size: 1.5rem; color: var(--secondary-dark); margin-bottom: 15px; display: flex; align-items: center; gap: 10px; }
.brand-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.pill { background-color: var(--bg-light); border: 1px solid var(--border-color); color: var(--secondary-dark); padding: 8px 18px; border-radius: 50px; font-weight: 600; font-size: 0.9rem; transition: var(--transition); }
.pill:hover { background-color: var(--primary-color); color: white; border-color: var(--primary-color); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.check-list li { margin-bottom: 15px; display: flex; align-items: flex-start; gap: 12px; font-size: 1.05rem; color: var(--text-main); }
.check-list i { color: var(--primary-color); font-size: 1.2rem; margin-top: 4px; }
.about-visual { display: flex; flex-direction: column; gap: 20px; }
.main-visual { background: linear-gradient(135deg, var(--secondary-dark), var(--primary-color)); height: 320px; border-radius: 12px; position: relative; overflow: hidden; display: flex; align-items: flex-end; padding: 30px; color: white; box-shadow: var(--shadow-lg); }
.visual-content h4 { font-size: 1.8rem; font-weight: 700; margin-bottom: 5px; }
.badge { display: inline-block; background: var(--accent-orange); color: white; padding: 4px 12px; border-radius: 4px; font-size: 0.8rem; font-weight: 700; margin-top: 10px; text-transform: uppercase; }
.visual-stats-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.stat-box-small { background: var(--bg-light); border: 1px solid var(--border-color); padding: 25px; border-radius: 12px; text-align: center; transition: var(--transition); }
.stat-box-small:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--primary-color); }
.stat-box-small i { font-size: 2.2rem; color: var(--primary-color); margin-bottom: 12px; }
.stat-box-small h5 { font-size: 1.1rem; font-weight: 700; color: var(--secondary-dark); }

/* Numbers Section */
.numbers-section { background: linear-gradient(135deg, var(--secondary-dark) 0%, #041d3d 100%); color: white; padding: 90px 0; position: relative; overflow: hidden; }
.light-title h2 { color: white; }
.text-light { color: #60a5fa !important; }
.light-underline { background-color: #60a5fa; }
.counter-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; margin-top: 50px; }
.counter-card { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.15); padding: 40px 20px; border-radius: 12px; text-align: center; transition: var(--transition); position: relative; overflow: hidden; }
.counter-card:hover { transform: translateY(-8px); background: rgba(255, 255, 255, 0.1); border-color: var(--primary-color); box-shadow: var(--shadow-glow); }
.counter-icon { font-size: 2.8rem; color: #60a5fa; margin-bottom: 20px; }
.counter-number { font-family: var(--font-heading); font-size: 3.5rem; font-weight: 800; color: white; line-height: 1; margin-bottom: 10px; }
.counter-label { font-size: 1.05rem; color: rgba(255, 255, 255, 0.85); font-weight: 500; }
.numbers-footer { margin-top: 60px; }
.equipment-badge { display: inline-flex; align-items: center; gap: 15px; background: rgba(14, 118, 241, 0.2); border: 1px solid var(--primary-color); padding: 15px 30px; border-radius: 50px; font-size: 1.1rem; font-weight: 600; color: white; box-shadow: 0 0 20px rgba(14, 118, 241, 0.3); }
.equipment-badge i { color: #60a5fa; font-size: 1.5rem; }

/* Trust Us / SEP Cards */
.sep-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; margin-top: 50px; }
.sep-card { background: var(--bg-white); border: 1px solid var(--border-color); border-radius: 16px; padding: 35px; box-shadow: var(--shadow-md); transition: var(--transition); position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; }
.sep-card:hover { transform: translateY(-10px); box-shadow: 0 20px 30px rgba(14, 118, 241, 0.15); border-color: var(--primary-color); }
.card-glow { position: absolute; top: -50px; right: -50px; width: 150px; height: 150px; background: radial-gradient(circle, rgba(14,118,241,0.15) 0%, rgba(255,255,255,0) 70%); border-radius: 50%; transition: var(--transition); }
.sep-card:hover .card-glow { transform: scale(1.5); }
.sep-header { display: flex; align-items: center; gap: 20px; margin-bottom: 25px; padding-bottom: 20px; border-bottom: 1px solid var(--border-color); }
.sep-icon { font-size: 2.5rem; background: var(--bg-light); width: 65px; height: 65px; display: flex; align-items: center; justify-content: center; border-radius: 12px; border: 1px solid var(--border-color); }
.sep-badge { display: block; font-size: 0.75rem; font-weight: 700; color: var(--primary-color); text-transform: uppercase; letter-spacing: 1px; }
.sep-header h3 { font-family: var(--font-heading); font-size: 1.6rem; color: var(--secondary-dark); font-weight: 700; }
.sep-list { display: flex; flex-direction: column; gap: 15px; margin-bottom: 30px; }
.sep-list li { display: flex; align-items: center; gap: 12px; font-size: 1.05rem; color: var(--text-main); }
.sep-list i { color: var(--primary-color); font-size: 1.1rem; }
.highlight-item { background: var(--primary-light); padding: 12px 15px; border-radius: 8px; color: var(--secondary-dark) !important; font-weight: 600; }
.sep-footer { border-top: 1px dashed var(--border-color); padding-top: 15px; }
.status-indicator { display: inline-flex; align-items: center; gap: 8px; color: #10b981; font-weight: 600; font-size: 0.9rem; }

/* Offer Preview */
.offer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 50px; }
.offer-card { background: var(--bg-white); padding: 35px 25px; border-radius: 12px; box-shadow: var(--shadow-sm); border: 1px solid var(--border-color); transition: var(--transition); }
.offer-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--primary-color); }
.offer-icon { width: 60px; height: 60px; background: var(--primary-light); color: var(--primary-color); display: flex; align-items: center; justify-content: center; font-size: 1.8rem; border-radius: 12px; margin-bottom: 20px; transition: var(--transition); }
.offer-card:hover .offer-icon { background: var(--primary-color); color: white; }
.offer-card h3 { font-family: var(--font-heading); font-size: 1.4rem; color: var(--secondary-dark); margin-bottom: 15px; font-weight: 700; }
.offer-card ul li { position: relative; padding-left: 20px; margin-bottom: 10px; color: var(--text-muted); font-size: 0.95rem; }
.offer-card ul li::before { content: '•'; position: absolute; left: 0; color: var(--primary-color); font-weight: bold; font-size: 1.2rem; top: -2px; }

/* Parallax CTA Banner */
.parallax-cta { background-size: cover; background-position: center; background-attachment: fixed; padding: 100px 0; color: white; position: relative; }
.parallax-content { max-width: 800px; margin: 0 auto; }
.cta-subtitle { display: inline-block; color: #60a5fa; font-size: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 15px; }
.parallax-content h2 { font-family: var(--font-heading); font-size: 2.8rem; font-weight: 700; margin-bottom: 20px; line-height: 1.2; }
.parallax-content p { font-size: 1.2rem; color: rgba(255, 255, 255, 0.9); margin-bottom: 40px; }
.parallax-actions { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }

/* Footer */
.footer { background-color: #041226; color: #cbd5e1; }
.footer-top { padding: 80px 0 50px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1.5fr; gap: 40px; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.footer-logo img { height: 45px; }
.footer-logo span { font-family: var(--font-heading); font-size: 1.8rem; font-weight: 800; color: white; }
.footer-about p { margin-bottom: 25px; line-height: 1.7; font-size: 0.95rem; }
.footer-socials { display: flex; gap: 15px; }
.footer-socials a { width: 40px; height: 40px; background: rgba(255, 255, 255, 0.1); display: flex; align-items: center; justify-content: center; border-radius: 50%; color: white; transition: var(--transition); }
.footer-socials a:hover { background: var(--primary-color); transform: translateY(-3px); }
.footer-col h4 { font-family: var(--font-heading); font-size: 1.3rem; color: white; margin-bottom: 25px; position: relative; padding-bottom: 10px; }
.footer-col h4::after { content: ''; position: absolute; bottom: 0; left: 0; width: 40px; height: 3px; background: var(--primary-color); }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: #94a3b8; transition: var(--transition); display: inline-block; }
.footer-links a:hover { color: white; transform: translateX(5px); }
.footer-contact-info ul li { display: flex; gap: 15px; margin-bottom: 20px; align-items: flex-start; }
.footer-contact-info i { font-size: 1.2rem; margin-top: 4px; }
.footer-contact-info div { display: flex; flex-direction: column; }
.footer-contact-info strong { color: white; font-weight: 600; }
.footer-bottom { background: #020914; padding: 25px 0; border-top: 1px solid rgba(255, 255, 255, 0.05); font-size: 0.9rem; }
.bottom-flex { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 15px; }
.bottom-links { display: flex; gap: 25px; }
.bottom-links a:hover { color: var(--primary-color); }

/* Responsive RWD */
@media (max-width: 1024px) {
    .about-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .slide h1 { font-size: 2.8rem; }
}
@media (max-width: 768px) {
    .top-bar-inner { flex-direction: column; text-align: center; justify-content: center; }
    .top-contact { justify-content: center; }
    .nav-container { height: 75px; }
    .hamburger { display: block; }
    .cta-btn-desktop { display: none; }
    .nav-menu { position: fixed; left: -100%; top: 75px; gap: 0; flex-direction: column; background-color: var(--bg-white); width: 100%; height: calc(100vh - 75px); text-align: left; transition: 0.4s ease; box-shadow: var(--shadow-lg); padding: 30px 20px; overflow-y: auto; }
    .nav-menu.active { left: 0; }
    .nav-list { flex-direction: column; align-items: flex-start; width: 100%; gap: 15px; }
    .nav-link { font-size: 1.2rem; display: block; width: 100%; padding: 10px 0; border-bottom: 1px solid var(--border-color); }
    .dropdown { width: 100%; }
    .dropdown-menu { position: static; width: 100%; box-shadow: none; border-top: none; padding-left: 15px; display: none; opacity: 1; visibility: visible; transform: none; }
    .dropdown.active .dropdown-menu { display: block; }
    .nav-cta-mobile { display: block; margin-top: 30px; width: 100%; }
    .nav-cta-mobile .btn { width: 100%; text-align: center; }
    .hero-slider-section { height: 550px; }
    .slide h1 { font-size: 2.2rem; }
    .slide p { font-size: 1rem; }
    .prev-btn { left: 10px; }
    .next-btn { right: 10px; }
    .section-title h2 { font-size: 2rem; }
    .parallax-content h2 { font-size: 2.2rem; }
    .footer-grid { grid-template-columns: 1fr; }
    .bottom-flex { flex-direction: column; text-align: center; }
}
/* Flag Icons Styling */
.flag-icon {
    font-size: 1.1rem;
    border-radius: 2px;
    box-shadow: 0 0 2px rgba(0,0,0,0.3);
}

.lang-dropdown {
    width: 180px;
}

/* Styling dla elementów dolnej stopki */
.bottom-links {
    display: flex;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
}

.dev-info {
    color: #94a3b8;
}

.dev-link {
    color: var(--primary-color);
    font-weight: 700;
    transition: var(--transition);
}

.dev-link:hover {
    color: white;
    text-shadow: 0 0 8px rgba(14, 118, 241, 0.6);
}

.privacy-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.privacy-link i {
    color: var(--primary-color);
    font-size: 0.85rem;
}
/* ==================== FLOATING WIDGETS (SCROLL UP & PHONE) ==================== */

/* Przycisk przewijania do góry (lewy dół) */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--secondary-dark);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px);
    color: #ffffff;
}

/* Animowana słuchawka telefoniczna (prawy dół) */
.floating-phone {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #10b981; /* Zielony kolor połączenia */
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
    z-index: 999;
    transition: var(--transition);
}

.floating-phone:hover {
    background-color: #059669;
    transform: scale(1.1);
    color: #ffffff;
}

/* Animacja wibracji słuchawki */
.phone-icon {
    animation: phoneShake 1.5s infinite ease-in-out;
}

/* Animacja pulsujących fal (radar effect) */
.phone-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(16, 185, 129, 0.6);
    border-radius: 50%;
    z-index: -1;
    animation: phonePulse 2s infinite;
}

@keyframes phoneShake {
    0%, 100% { transform: rotate(0deg); }
    10%, 30%, 50%, 70%, 90% { transform: rotate(-10deg); }
    20%, 40%, 60%, 80% { transform: rotate(10deg); }
}

@keyframes phonePulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

/* Dostosowanie na mniejszych ekranach mobilnych */
@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 20px;
        left: 20px;
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
    
    .floating-phone {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
        font-size: 1.4rem;
    }
}
.main-visual {
    background-color: var(--secondary-dark); /* Kolor zapasowy, gdyby zdjęcie się nie wgrało */
    background-size: cover;                  /* Zdjęcie wypełnia całą ramkę */
    background-position: center;              /* Wyśrodkowanie zdjęcia */
    background-repeat: no-repeat;
    height: 320px;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 30px;
    color: white;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

/* Subtelny efekt powiększenia zdjęcia przy najechaniu myszką */
.main-visual:hover {
    background-size: 105%;
}
/* ==================== RECIRCULATION SECTION ==================== */
.recirculation-section {
    position: relative;
}

.recirc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

.recirc-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    padding: 30px 25px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.recirc-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.recirc-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-light);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border-radius: 10px;
    margin-bottom: 18px;
    transition: var(--transition);
}

.recirc-card:hover .recirc-icon {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.recirc-card h4 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--secondary-dark);
    margin-bottom: 10px;
    line-height: 1.3;
}

.recirc-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ==================== STATIC PAGE HERO ==================== */
.static-hero {
    background-size: cover;
    background-position: center;
    padding: 100px 0 80px;
    color: white;
    position: relative;
    border-bottom: 3px solid var(--primary-color);
}

.static-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.static-hero h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.static-hero p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
    .static-hero { padding: 70px 0 50px; }
    .static-hero h1 { font-size: 2.2rem; }
    .static-hero p { font-size: 1rem; }
}
/* ==================== RESPONSIVE MEDIA QUERIES (RWD) ==================== */

@media (max-width: 1024px) {
    /* Wymuszenie 1 kolumny na tabletach, nadpisujące style liniowe HTML */
    .about-grid {
        grid-template-columns: 1fr !important;
        gap: 35px !important;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr !important;
    }
    
    .slide h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    /* Zmniejszenie ogólnych marginesów sekcji na smartfonach */
    .section-padding {
        padding: 50px 0 !important;
    }

    /* Wymuszenie 1 kolumny we WSZYSTKICH siatkach (grid) na telefonie */
    .about-grid,
    .counter-grid,
    .sep-grid,
    .offer-grid,
    .recirc-grid,
    .visual-stats-row,
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    /* Zapobieganie ucinaniu i wychodzeniu tekstu poza ekran */
    h1, h2, h3, h4, h5, p, span, strong {
        max-width: 100%;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    /* Dopasowanie rozmiarów czcionek nagłówków do wąskich ekranów */
    .section-title h2,
    .about-content h2,
    .trust-section h2,
    .recirculation-section h2 {
        font-size: 1.8rem !important;
        line-height: 1.25 !important;
    }

    .about-content h3,
    .offer-card h3,
    .sep-header h3 {
        font-size: 1.4rem !important;
    }

    /* Pełna szerokość i odpowiednie paddingi dla kart graficznych i tekstowych */
    .visual-card,
    .stat-box-small,
    .recirc-card,
    .offer-card,
    .sep-card {
        width: 100% !important;
        padding: 25px 20px !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }

    /* Dopasowanie zdjęć wewnątrz kart na 100% szerokości telefonu */
    .visual-card img {
        width: 100% !important;
        height: auto !important;
        max-height: 300px;
        object-fit: cover;
    }

    /* Top bar i nawigacja na smartfonie */
    .top-bar-inner {
        flex-direction: column;
        text-align: center;
        justify-content: center;
    }

    .top-contact {
        justify-content: center;
        gap: 10px;
    }

    .nav-container {
        height: 75px;
    }

    .hamburger {
        display: block;
    }

    .cta-btn-desktop {
        display: none;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 75px;
        gap: 0;
        flex-direction: column;
        background-color: var(--bg-white);
        width: 100%;
        height: calc(100vh - 75px);
        text-align: left;
        transition: 0.4s ease;
        box-shadow: var(--shadow-lg);
        padding: 30px 20px;
        overflow-y: auto;
        z-index: 1000;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        gap: 15px;
    }

    .nav-link {
        font-size: 1.2rem;
        display: block;
        width: 100%;
        padding: 10px 0;
        border-bottom: 1px solid var(--border-color);
    }

    .dropdown {
        width: 100%;
    }

    .dropdown-menu {
        position: static;
        width: 100%;
        box-shadow: none;
        border-top: none;
        padding-left: 15px;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .nav-cta-mobile {
        display: block;
        margin-top: 30px;
        width: 100%;
    }

    .nav-cta-mobile .btn {
        width: 100%;
        text-align: center;
    }

    /* Slidery i nagłówki statyczne na telefonie */
    .hero-slider-section {
        height: 500px;
    }

    .slide h1,
    .static-hero h1 {
        font-size: 2rem !important;
        line-height: 1.2 !important;
    }

    .slide p,
    .static-hero p {
        font-size: 1rem !important;
    }

    .prev-btn { left: 10px; }
    .next-btn { right: 10px; }

    .parallax-content h2 {
        font-size: 1.8rem !important;
    }

    /* Stopka na telefonie */
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    .bottom-flex {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .bottom-links {
        justify-content: center;
    }
}
/* ==================== MODERN COOKIE BANNER ==================== */
.cookie-banner {
    position: fixed;
    bottom: 25px;
    left: 50%;
    transform: translate(-50%, 150%);
    width: calc(100% - 40px);
    max-width: 850px;
    background: rgba(7, 56, 116, 0.96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #ffffff;
    padding: 20px 25px;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    z-index: 99999;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-banner.show {
    transform: translate(-50%, 0);
}

.cookie-content {
    display: flex;
    align-items: center;
    gap: 18px;
}

.cookie-icon {
    font-size: 2.2rem;
    color: #f97316; /* Pomarańczowy akcent przemysłowy */
    flex-shrink: 0;
}

.cookie-text h4 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: #ffffff;
}

.cookie-text p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
    margin: 0;
}

.cookie-link {
    color: #60a5fa;
    text-decoration: underline;
    font-weight: 600;
    transition: var(--transition);
}

.cookie-link:hover {
    color: #ffffff;
}

.cookie-actions {
    flex-shrink: 0;
}

.cookie-btn-accept {
    padding: 10px 24px;
    font-size: 0.9rem;
    background-color: var(--primary-color);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    white-space: nowrap;
}

.cookie-btn-accept:hover {
    background-color: #005bc4;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(14, 118, 241, 0.4);
}

/* RWD - Wygląd na smartfonach */
@media (max-width: 768px) {
    .cookie-banner {
        bottom: 15px;
        flex-direction: column;
        align-items: flex-start;
        padding: 18px;
        gap: 15px;
        border-radius: 12px;
    }

    .cookie-content {
        align-items: flex-start;
    }

    .cookie-icon {
        font-size: 1.8rem;
    }

    .cookie-actions {
        width: 100%;
    }

    .cookie-btn-accept {
        width: 100%;
        text-align: center;
        padding: 12px;
    }
}