*{
margin:0;
padding:0;
box-sizing:border-box;
}

html{
scroll-behavior:smooth;
}

body{
font-family:'Inter',sans-serif;
background:#050505;
color:white;
overflow-x:hidden;
}

/* CURSOR */

.cursor-light{
position:fixed;
width:420px;
height:420px;
border-radius:50%;
background:rgba(0,255,255,0.12);
filter:blur(120px);
pointer-events:none;
z-index:0;
transform:translate(-50%,-50%);
}

/* BACKGROUND */

body::before{
content:"";
position:fixed;
inset:0;
background:
radial-gradient(circle at top right, rgba(0,255,255,0.10), transparent 30%),
radial-gradient(circle at bottom left, rgba(0,255,255,0.05), transparent 30%);
pointer-events:none;
z-index:0;
}

/* NAVBAR */

.navbar{
position:fixed;
top:0;
left:0;
width:100%;
padding:18px 5%;
display:flex;
justify-content:space-between;
align-items:center;
background:rgba(0,0,0,0.5);
backdrop-filter:blur(18px);
border-bottom:1px solid rgba(255,255,255,0.05);
z-index:999;
}

.logo-wrap{
display:flex;
align-items:center;
gap:16px;
text-decoration:none;
color:white;
font-size:18px;
font-weight:700;
z-index:1001;
}

.logo-wrap img{
width:56px;
height:56px;
border-radius:18px;
object-fit:cover;
}

nav{
display:flex;
align-items:center;
gap:34px;
}

nav a{
text-decoration:none;
color:white;
opacity:0.82;
transition:0.3s;
font-size:16px;
}

nav a:hover{
opacity:1;
color:#42e8f7;
}

/* MOBILE MENU */

.mobile-menu-btn{
display:none;
width:58px;
height:58px;
border-radius:20px;
background:rgba(255,255,255,0.05);
border:1px solid rgba(255,255,255,0.08);
align-items:center;
justify-content:center;
flex-direction:column;
gap:6px;
cursor:pointer;
z-index:1002;
}

.mobile-menu-btn span{
width:24px;
height:2px;
background:white;
border-radius:999px;
}

/* HERO */

.hero{
position:relative;
min-height:100vh;
padding:180px 5% 100px;
overflow:hidden;
display:flex;
align-items:center;
}

.hero-video{
position:absolute;
inset:0;
width:100%;
height:100%;
object-fit:cover;
z-index:0;
}

.hero-overlay{
position:absolute;
inset:0;
background:
linear-gradient(to bottom,
rgba(0,0,0,0.45),
rgba(0,0,0,0.82));
z-index:1;
}

.hero-content{
position:relative;
z-index:2;
max-width:920px;
}

.hero-badge{
display:inline-flex;
padding:14px 22px;
border-radius:999px;
background:rgba(255,255,255,0.05);
border:1px solid rgba(255,255,255,0.08);
font-size:14px;
margin-bottom:28px;
backdrop-filter:blur(12px);
}

.hero h1{
font-size:96px;
line-height:0.92;
letter-spacing:-5px;
margin-bottom:28px;
max-width:800px;
}

.hero p{
font-size:24px;
line-height:1.6;
max-width:760px;
opacity:0.84;
}

.hero-buttons{
display:flex;
gap:18px;
margin-top:42px;
flex-wrap:wrap;
}

.btn-primary,
.btn-secondary{
padding:20px 30px;
border-radius:24px;
text-decoration:none;
font-size:18px;
font-weight:600;
transition:0.3s;
}

.btn-primary{
background:#42e8f7;
color:black;
}

.btn-secondary{
background:rgba(255,255,255,0.05);
border:1px solid rgba(255,255,255,0.08);
color:white;
}

.btn-primary:hover,
.btn-secondary:hover{
transform:translateY(-4px);
}

/* HERO TAGS */

.hero-bottom{
position:relative;
margin-top:60px;
z-index:2;
}

.hero-tags{
display:flex;
flex-wrap:wrap;
gap:14px;
}

.hero-tags span{
padding:12px 18px;
border-radius:999px;
background:rgba(255,255,255,0.05);
border:1px solid rgba(255,255,255,0.06);
font-size:13px;
}

/* SECTIONS */

.services,
.portfolio,
.about,
.contact{
padding:130px 5%;
position:relative;
z-index:2;
}

.section-top{
display:flex;
justify-content:space-between;
align-items:flex-end;
gap:60px;
margin-bottom:60px;
}

.section-tag{
font-size:13px;
letter-spacing:3px;
font-weight:700;
color:#42e8f7;
margin-bottom:18px;
}

.section-top h2,
.about h2,
.contact h2{
font-size:72px;
line-height:0.95;
letter-spacing:-4px;
}

.section-text{
max-width:460px;
font-size:18px;
line-height:1.8;
opacity:0.72;
}

/* SERVICES */

.services-grid{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:24px;
}

.service-card{
padding:36px;
border-radius:32px;
background:rgba(255,255,255,0.03);
border:1px solid rgba(255,255,255,0.06);
transition:0.35s;
}

.service-card:hover{
transform:translateY(-8px);
border-color:rgba(66,232,247,0.24);
box-shadow:0 0 40px rgba(66,232,247,0.08);
}

.number{
font-size:14px;
opacity:0.5;
margin-bottom:24px;
}

.service-card h3{
font-size:30px;
margin-bottom:18px;
}

.service-card p{
line-height:1.8;
opacity:0.72;
}

/* PORTFOLIO */

.portfolio-grid{
display:grid;
grid-template-columns:repeat(2,1fr);
gap:28px;
}

.project{
position:relative;
overflow:hidden;
border-radius:34px;
height:360px;
border:1px solid rgba(255,255,255,0.06);
text-decoration:none;
transition:0.4s;
display:block;
background:#111;
}

.project img{
width:100%;
height:100%;
object-fit:cover;
transition:0.5s;
display:block;
}

.project:hover{
transform:translateY(-6px);
box-shadow:0 20px 60px rgba(0,0,0,0.35);
}

.project:hover img{
transform:scale(1.05);
}

.project-overlay{
position:absolute;
inset:0;
display:flex;
flex-direction:column;
justify-content:flex-end;
padding:28px;
background:
linear-gradient(to top,
rgba(0,0,0,0.9),
rgba(0,0,0,0.08));
}

.project-label{
font-size:30px;
font-weight:700;
color:white;
margin-bottom:10px;
}

.project-description{
font-size:15px;
line-height:1.7;
opacity:0.78;
color:white;
}

/* ABOUT */

.about{
display:grid;
grid-template-columns:1fr 1fr;
gap:80px;
}

.about-text{
display:flex;
flex-direction:column;
gap:30px;
}

.about-text p{
font-size:21px;
line-height:1.9;
opacity:0.74;
}

/* CONTACT */

.contact-box{
padding:70px;
border-radius:40px;
background:rgba(255,255,255,0.03);
border:1px solid rgba(255,255,255,0.06);
display:flex;
justify-content:space-between;
align-items:flex-end;
gap:60px;
}

.contact-buttons{
display:flex;
flex-direction:column;
gap:18px;
min-width:420px;
}

.contact-button{
padding:24px 28px;
border-radius:22px;
background:rgba(255,255,255,0.04);
border:1px solid rgba(255,255,255,0.08);
text-decoration:none;
color:white;
font-size:18px;
transition:0.3s;
}

.contact-button:hover{
transform:translateY(-4px);
border-color:rgba(66,232,247,0.24);
color:#42e8f7;
}

/* FOOTER */

footer{
padding:40px 5%;
border-top:1px solid rgba(255,255,255,0.06);
opacity:0.45;
font-size:14px;
position:relative;
z-index:2;
}

/* MOBILE */

@media(max-width:1000px){

.mobile-menu-btn{
display:flex;
}

nav{
position:fixed;
top:92px;
right:-100%;
width:280px;
height:calc(100vh - 92px);
background:rgba(5,5,5,0.97);
backdrop-filter:blur(20px);
padding:40px 30px;
display:flex;
flex-direction:column;
gap:24px;
transition:0.4s;
border-left:1px solid rgba(255,255,255,0.08);
z-index:1001;
}

nav.active{
right:0;
}

nav a{
font-size:20px;
}

.hero{
padding-top:170px;
padding-left:24px;
padding-right:24px;
padding-bottom:120px;
min-height:auto;
}

.hero h1{
font-size:clamp(52px,15vw,76px);
line-height:0.92;
letter-spacing:-3px;
}

.hero p{
font-size:20px;
line-height:1.55;
max-width:100%;
}

.hero-buttons{
flex-direction:column;
gap:16px;
}

.btn-primary,
.btn-secondary{
width:100%;
text-align:center;
}

.email-button{
font-size:15px;
overflow-wrap:anywhere;
word-break:break-word;
}

.hero-tags{
gap:12px;
}

.hero-tags span{
font-size:12px;
padding:12px 16px;
}

.section-top{
flex-direction:column;
align-items:flex-start;
gap:26px;
}

.section-top h2,
.about h2,
.contact h2{
font-size:52px;
}

.services-grid,
.portfolio-grid,
.about{
grid-template-columns:1fr;
}

.project{
height:280px;
}

.contact-box{
flex-direction:column;
align-items:flex-start;
padding:40px 24px;
}

.contact-buttons{
width:100%;
min-width:100%;
}

.contact-button{
width:100%;
text-align:center;
font-size:15px;
overflow-wrap:anywhere;
word-break:break-word;
}

footer{
text-align:center;
line-height:1.7;
}

}
/* REALIZACJE HERO FIX */

.small-hero{
min-height:auto !important;
padding:170px 5% 90px !important;
display:flex;
align-items:flex-start !important;
}

.small-hero .hero-content{
max-width:1100px;
margin:0 auto;
width:100%;
}

.small-hero h1{
font-size:86px !important;
line-height:0.92 !important;
letter-spacing:-4px !important;
max-width:900px;
margin-bottom:28px;
}

.small-hero p{
font-size:24px;
line-height:1.6;
max-width:850px;
opacity:0.82;
}

@media(max-width:1000px){

.small-hero{
padding:150px 24px 70px !important;
}

.small-hero h1{
font-size:58px !important;
line-height:0.94 !important;
letter-spacing:-3px !important;
}

.small-hero p{
font-size:20px !important;
line-height:1.6;
}

}

/* ==== FINAL FIXES ==== */

.project{
position:relative;
overflow:hidden;
}

.project img{
position:absolute !important;
inset:0;
width:100%;
height:100%;
object-fit:cover;
z-index:1;
display:block;
}

.project-overlay{
position:absolute;
inset:0;
z-index:2;
display:flex;
flex-direction:column;
justify-content:flex-end;
padding:28px;
background:linear-gradient(to top, rgba(0,0,0,0.88), rgba(0,0,0,0.1));
}

.hero-image-box{
width:100%;
display:flex;
justify-content:center;
align-items:center;
}

.hero-side-image{
width:100%;
height:520px;
object-fit:cover;
display:block;
border-radius:32px;
}

@media(max-width:1000px){

nav{
display:flex !important;
}

.mobile-menu-btn{
display:flex !important;
}

.hero h1{
font-size:clamp(48px,14vw,76px) !important;
line-height:0.95 !important;
word-break:break-word;
}

.hero p{
font-size:20px !important;
}

.project{
height:280px !important;
}

.hero-side-image{
height:320px !important;
}

}


/* ===== FINAL FIXES ===== */

.hero-split{
display:grid;
grid-template-columns:1fr 1fr;
gap:70px;
align-items:center;
}

.hero-left h1{
font-size:92px;
line-height:0.92;
letter-spacing:-5px;
margin-bottom:30px;
}

.hero-left p{
font-size:24px;
line-height:1.6;
opacity:0.82;
}

.hero-side-image{
width:100%;
height:520px;
object-fit:cover;
border-radius:34px;
display:block;
}

.realizacje-hero{
padding-top:180px;
padding-bottom:100px;
min-height:auto;
}

@media(max-width:1000px){

.hero-split{
grid-template-columns:1fr;
gap:40px;
}

.hero-left h1{
font-size:58px;
}

.hero-left p{
font-size:20px;
}

.hero-side-image{
height:320px;
}

}

/* BLOG FIX */

nav a{
pointer-events:auto !important;
}

.blog-card-link{
display:block;
text-decoration:none;
color:white;
}

/* MOBILE MENU FIX */

.mobile-menu-btn{
display:none;
}

@media(max-width:1000px){

.mobile-menu-btn{
display:flex;
}

nav{
position:fixed;
top:90px;
right:-100%;
width:280px;
height:calc(100vh - 90px);
background:#050505;
display:flex;
flex-direction:column;
padding:40px 30px;
gap:24px;
transition:0.35s;
z-index:999;
}

nav.active{
right:0;
}

}


/* ===== FINAL GLOBAL FIX ===== */

.hero-split{
display:grid;
grid-template-columns:1fr 1fr;
gap:60px;
align-items:center;
}

.hero-left{
max-width:720px;
}

.hero-left h1{
font-size:88px;
line-height:0.92;
letter-spacing:-4px;
margin-bottom:28px;
}

.hero-left p{
font-size:22px;
line-height:1.6;
opacity:0.82;
}

.hero-image-box{
width:100%;
}

.hero-side-image{
width:100%;
height:520px;
object-fit:cover;
border-radius:34px;
display:block;
}

.blog-card-link{
display:block;
text-decoration:none;
color:white;
}

.blog-card-link .service-card{
height:100%;
}

.article-container{
max-width:1200px;
margin:0 auto;
padding:180px 6% 120px;
}

.article-main{
max-width:900px;
}

.mobile-menu-btn{
display:none;
}

@media(max-width:1000px){

.mobile-menu-btn{
display:flex;
flex-direction:column;
justify-content:center;
align-items:center;
gap:6px;
width:62px;
height:62px;
border-radius:20px;
background:rgba(255,255,255,0.05);
border:1px solid rgba(255,255,255,0.08);
cursor:pointer;
z-index:1001;
}

.mobile-menu-btn span{
width:28px;
height:2px;
background:white;
display:block;
border-radius:999px;
}

nav{
position:fixed !important;
top:92px;
right:-100%;
width:280px;
height:calc(100vh - 92px);
background:#050505;
display:flex !important;
flex-direction:column;
padding:40px 30px;
gap:24px;
transition:0.35s;
z-index:1000;
}

nav.active{
right:0;
}

.hero-split{
grid-template-columns:1fr;
gap:40px;
}

.hero-left h1{
font-size:56px;
}

.hero-left p{
font-size:19px;
}

.hero-side-image{
height:320px;
}

}



/* ===== BLOG ARTICLE FINAL FIX ===== */

.small-hero{
min-height:60vh;
padding:180px 6% 100px;
display:flex;
align-items:center;
}

.small-hero .hero-content{
max-width:1000px;
}

.small-hero h1{
font-size:82px;
line-height:0.95;
letter-spacing:-4px;
margin-bottom:28px;
}

.article-container{
max-width:1200px;
margin:0 auto;
padding:160px 6% 120px;
}

.article-main{
max-width:860px;
font-size:20px;
line-height:1.9;
}

.article-main h2{
font-size:44px;
margin:60px 0 24px;
}

.article-main p{
margin-bottom:26px;
opacity:0.82;
}

@media(max-width:1000px){

.small-hero h1{
font-size:54px;
}

.article-main{
font-size:18px;
}

.article-main h2{
font-size:34px;
}

}
.email-button{
word-break:break-word;
overflow-wrap:anywhere;
}
@media(max-width:1000px){

.hero{
padding-bottom:60px;
}

.hero-bottom{
margin-top:40px;
}

}
.btn-primary,
.btn-secondary{
display:flex;
align-items:center;
justify-content:center;
}