* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Montserrat', sans-serif; }
body { background: #000; color: white; overflow-x: hidden; scroll-behavior: smooth; }

/* --- GEOMETRIC PARALLAX --- */
.parallax-container { position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }
.shape { position: absolute; border: 1px solid rgba(255,255,255,0.05); background: rgba(255,255,255,0.01); backdrop-filter: blur(2px); transition: transform 0.1s linear; }
.s1 { width: 200px; height: 200px; top: 15%; left: 5%; transform: rotate(45deg); border-radius: 20px; }
.s2 { width: 300px; height: 300px; top: 50%; right: -100px; border-radius: 50%; }
.s3 { width: 150px; height: 150px; top: 80%; left: 10%; transform: rotate(-15deg); border-radius: 10px; }

/* NAVBAR */
.navbar { position: fixed; top: 0; width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 25px 50px; z-index: 9999; background: rgba(0,0,0,0.85); backdrop-filter: blur(15px); border-bottom: 1px solid rgba(255,255,255,0.05); }
.logo { font-weight: 900; font-size: 1.6rem; letter-spacing: 2px; }
.nav-links { display: flex; list-style: none; gap: 35px; }
.nav-links a { text-decoration: none; color: white; font-size: 0.85rem; text-transform: uppercase; opacity: 0.7; transition: 0.3s; }
.nav-links a:hover { opacity: 1; }

/* HERO */
.hero-section { position: relative; width: 100%; height: 100vh; display: flex; align-items: center; justify-content: center; overflow: hidden; z-index: 2; }
.video-container { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }
#bg-video { width: 100%; height: 100%; object-fit: cover; filter: brightness(35%); }
.hero-content { position: relative; z-index: 2; text-align: center; }
h1 { font-size: clamp(2.5rem, 10vw, 6rem); font-weight: 900; letter-spacing: -2px; margin-bottom: 10px; }
.typing-text { font-size: 1.2rem; color: #bbb; text-transform: uppercase; letter-spacing: 4px; height: 1.5em; }
.hero-buttons { margin-top: 45px; display: flex; gap: 20px; justify-content: center; }
.btn { text-decoration: none; color: #000; background: #fff; padding: 18px 45px; border-radius: 50px; font-weight: 700; text-transform: uppercase; font-size: 0.85rem; transition: 0.3s; border: 1px solid #fff; cursor: pointer; }
.btn-alt { background: transparent; color: #fff; }
.btn:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(255,255,255,0.2); }

/* SEKCJE */
.projects-section, .features-section, .contact-section { background: transparent; padding: 100px 20px; position: relative; z-index: 3; }
.section-title { text-align: center; font-size: 2.8rem; font-weight: 900; margin-bottom: 60px; text-transform: uppercase; }
.projects-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 40px; max-width: 1200px; margin: 0 auto; }
.project-card { background: rgba(15,15,15,0.8); border: 1px solid #222; border-radius: 35px; overflow: hidden; transition: 0.5s; cursor: pointer; backdrop-filter: blur(10px); }
.project-card:hover { border-color: #666; transform: translateY(-10px); }
.card-img { height: 260px; background-size: cover; background-position: center; }
.card-content { padding: 40px; }

/* DLACZEGO JA */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; max-width: 1200px; margin: 0 auto; }
.feature-box { background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.05); padding: 40px; border-radius: 30px; text-align: center; transition: 0.4s; backdrop-filter: blur(10px); }
.feature-box:hover { background: rgba(255,255,255,0.05); transform: translateY(-10px); border-color: rgba(255,255,255,0.2); }
.feature-icon { font-size: 3rem; margin-bottom: 20px; display: block; }

/* LOGO SLIDER */
.logos-section { padding: 60px 0; background: rgba(255,255,255,0.01); border-top: 1px solid rgba(255,255,255,0.05); border-bottom: 1px solid rgba(255,255,255,0.05); overflow: hidden; position: relative; z-index: 3; }
.logos-track { display: flex; width: calc(250px * 12); animation: scrollLogos 30s linear infinite; align-items: center; }
.logo-item { width: 250px; text-align: center; font-weight: 900; font-size: 1.1rem; color: rgba(255,255,255,0.2); letter-spacing: 3px; }
@keyframes scrollLogos { 0% { transform: translateX(0); } 100% { transform: translateX(calc(-250px * 6)); } }

/* KONTAKT */
.contact-wrapper { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.5fr; gap: 50px; }
.contact-details { background: rgba(255,255,255,0.03); padding: 50px; border-radius: 40px; border: 1px solid rgba(255,255,255,0.08); display: flex; flex-direction: column; gap: 40px; }
.contact-box { display: flex; align-items: center; gap: 25px; }
.contact-box .icon { font-size: 2.2rem; background: rgba(255,255,255,0.05); padding: 20px; border-radius: 25px; }
.contact-box a, .contact-box p { font-size: 1.2rem; font-weight: 700; color: #fff; text-decoration: none; }
.map-container { border-radius: 40px; overflow: hidden; height: 500px; border: 1px solid #222; }

/* FOOTER & MODAL */
.footer-glass { max-width: 1200px; margin: 0 auto; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.05); border-radius: 45px; padding: 70px 20px; text-align: center; }
.footer-logo { font-size: 3rem; font-weight: 900; letter-spacing: 15px; }
.modal { display: none; position: fixed; z-index: 10000; left: 0; top: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.96); backdrop-filter: blur(25px); }
.modal-content { margin: 8% auto; padding: 60px; width: 90%; max-width: 750px; background: #0d0d0d; border-radius: 45px; border: 1px solid #222; position: relative; }
.close-modal { position: absolute; right: 35px; top: 30px; font-size: 40px; color: #444; cursor: pointer; }
.project-link-btn { display: inline-block; margin-top: 30px; padding: 16px 40px; background: #fff; color: #000; text-decoration: none; font-weight: 800; border-radius: 15px; }

.reveal { opacity: 0; transform: translateY(40px); transition: 1s ease-out; }
.reveal.active { opacity: 1; transform: translateY(0); }