/* =========================
   WaterLoop — style.css (LIGHT)
   Professional, clean, fast
   ========================= */

/* ---- Design tokens ---- */
:root{
  --bg:#f5f7fa;
  --bg2:#ffffff;

  --card:#ffffff;
  --text:#0b1f33;
  --muted:#4b5c6e;

  --line:rgba(11,31,51,.14);
  --line2:rgba(11,31,51,.10);

  --accent:#1d7dd8;
  --accent2:#39a7ff;

  --radius:18px;
  --shadow: 0 18px 50px rgba(0,0,0,.10);
  --shadow2: 0 10px 30px rgba(0,0,0,.06);
}

/* ---- Base ---- */
*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: linear-gradient(180deg, var(--bg), var(--bg2));
  color: var(--text);
}
a{ color:inherit; text-decoration:none; }
a:hover{ opacity:.92; }
img{ max-width:100%; display:block; }
.container{
  width:min(1120px, 92vw);
  margin-inline:auto;
}

/* Accessibility */
.skip{
  position:absolute; left:-9999px; top:auto;
}
.skip:focus{
  left:16px; top:12px; z-index:9999;
  padding:10px 12px; background:#fff; color:#000;
  border-radius:10px;
  box-shadow: var(--shadow2);
}

/* =========================
   TOPBAR / NAV
   ========================= */
.topbar{
  position:sticky;
  top:0;
  z-index:100;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:12px 0;
  gap:14px;
}

/* Brand */
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  transition: opacity 200ms ease;
}
.brand:hover{
  opacity: 0.85;
}
.brand__logo{
  width:40px; height:40px;
  border-radius:12px;
  border:1px solid var(--line2);
  box-shadow: 0 8px 24px rgba(29,125,216,.15);
  transition: transform 200ms ease, box-shadow 200ms ease;
  flex-shrink: 0;
  object-fit: cover;
}
.brand:hover .brand__logo{
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(29,125,216,.20);
}
.brand__text strong{
  display:block;
  font-size:14px;
  font-weight:700;
  letter-spacing:.3px;
  color: var(--text);
}
.brand__text span{
  display:block;
  font-size:12px;
  color:var(--muted);
  white-space: nowrap;
}

/* Desktop nav */
.nav{
  display:flex;
  gap:18px;
  align-items:center;
}
.nav a{
  font-weight:700;
  font-size:14px;
  color:var(--muted);
}

/* Mobile nav button */
.navbtn{
  display:none;
  width:44px; height:42px;
  border-radius:12px;
  border:1px solid var(--line);
  background: rgba(11,31,51,.04);
}
.navbtn span{
  display:block;
  height:2px;
  width:18px;
  margin:5px auto;
  background: rgba(11,31,51,.85);
  border-radius:999px;
}

/* Mobile menu */
.mobilemenu{
  display:none;
  padding:12px 0 16px;
  border-top:1px solid var(--line);
  background: rgba(255,255,255,.92);
}
.mobilemenu a{
  display:block;
  padding:12px 0;
  color: var(--muted);
  font-weight:700;
}
.mobilemenu__cta{
  display:inline-flex;
  margin-top:8px;
  padding:12px 14px;
  border:1px solid var(--line);
  border-radius:14px;
  background:#ffffff;
  color: var(--text) !important;
}
.mobilemenu.is-open{ display:block; }

/* =========================
   BUTTONS
   ========================= */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:14px 22px;
  border-radius:12px;
  background: linear-gradient(135deg, #39a7ff, #1f7dd6);
  color:#02121f;
  font-weight:800;
  letter-spacing:.5px;
  text-transform:uppercase;
  font-size:13px;
  border:none;
  transition: all .25s ease;
}

.btn:hover{
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(57,167,255,.35);
}
.btn--sm{
  padding:10px 14px;
  border-radius:10px;
  font-size:12px;
  font-weight:800;
}
.btn--ghost{
  background: linear-gradient(135deg, #39a7ff, #1f7dd6);
  color: #02121f;
  border:none;
}
.btn--ghost:hover{
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(57,167,255,.35);
}

/* =========================
   HERO (LIGHT + PLAN)
   ========================= */
.hero{
  padding:54px 0 18px;
  min-height: 520px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before{
  content:"";
  position:absolute;
  inset:0;
  background: radial-gradient(
    circle at 70% 50%,
    rgba(57,167,255,.15),
    transparent 60%
  );
  pointer-events:none;
  z-index:1;
}

.hero--plan{
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

/* decorative bg layer with image */
.hero--plan .hero__bg{
  position:absolute;
  inset:0;
  background-image: url('../img/hero1.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  z-index:0;
}

/* readability overlay for text */
.hero--plan::before{
  content:"";
  position:absolute;
  inset:0;
  background: rgba(255,255,255,.35);
  z-index:1;
}

.hero--plan1{
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

/* decorative bg layer with image */
.hero--plan1 .hero__bg{
  position:absolute;
  inset:0;
  background-image: url('../img/hero2.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  z-index:0;
}

/* readability overlay for text */
.hero--plan1::before{
  content:"";
  position:absolute;
  inset:0;
  background: rgba(255,255,255,.35);
  z-index:1;
}    
/* HERO 3: kontynuacja stylistyki hero1 i hero2 */
.hero--plan2{
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

/* decorative bg layer with image */
.hero--plan2 .hero__bg{
  position:absolute;
  inset:0;
  background-image: url('../img/hero3.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  z-index:0;
}

/* readability overlay for text */
.hero--plan2::before{
  content:"";
  position:absolute;
  inset:0;
  background: rgba(255,255,255,.35);
  z-index:1;
}

/* HERO 4: kontynuacja — tło hero4.jpg */
.hero--plan3{
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

.hero--plan3 .hero__bg{
  position:absolute;
  inset:0;
  background-image: url('../img/hero4.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  z-index:0;
}

.hero--plan3::before{
  content:"";
  position:absolute;
  inset:0;
  background: rgba(255,255,255,.35);
  z-index:1;
}
/* layout: text only (logo moved to topbar) */
.hero__grid{
  display:grid;
  grid-template-columns: 1fr;
  align-items:center;
  gap:40px;
  position:relative;
  z-index:2;
}

.hero__content{
  max-width: 680px;
}

.kicker{
  display:inline-block;
  padding:7px 10px;
  border:1px solid rgba(11,31,51,.3);
  border-radius:999px;
  color: #0b1f33;
  background:rgba(255,255,255,.85);
  font-weight:800;
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.5px;
}

.hero h1{
  margin:14px 0 12px;
  font-size: clamp(32px, 4vw, 46px);
  line-height:1.12;
  color: #0b1f33;
  font-weight:900;
  text-shadow: 0 2px 8px rgba(255,255,255,.6);
}
.hero h1 span{
  color:#1d7dd8;
  font-weight:900;
}

.hero h2{
  margin:14px 0 12px;
  font-size: clamp(28px, 3.5vw, 42px);
  line-height:1.12;
  color: #0b1f33;
  font-weight:900;
  text-shadow: 0 2px 8px rgba(255,255,255,.6);
}
.hero h2 span{
  color:#1d7dd8;
  font-weight:900;
}

.lead{
  color: #0b1f33;
  font-size:16px;
  line-height:1.65;
  margin:0 0 16px;
  text-shadow: 0 1px 3px rgba(255,255,255,.8);
}

.hero__cta{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin:18px 0 0;
}

.hero__stats{
  margin-top:40px;
  display:flex;
  gap:40px;
  flex-wrap:wrap;
}

.hero__stats div{
  display:flex;
  flex-direction:column;
}

.hero__stats strong{
  font-size:28px;
  font-weight:800;
  color:#0b1f33;
  letter-spacing:.5px;
}

.hero__stats span{
  margin-top:4px;
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:1.2px;
  color:#0b1f33;
}

/* =========================
   SECTIONS
   ========================= */
.section{ padding:54px 0; }

.section--alt{
  background: rgba(11,31,51,.03);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}

.section__head h2{
  margin:0 0 8px;
  font-size:26px;
}
.section__head p{
  margin:0;
  color: var(--muted);
  line-height:1.6;
}

/* =========================
   CARDS / GRID
   ========================= */
.cards{
  margin-top:18px;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
}

.card{
  padding:18px;
  border-radius: var(--radius);
  border:1px solid var(--line);
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow2);
}
.card h3{
  margin:0 0 8px;
  font-size:16px;
}
.card p{
  margin:0;
  color: var(--muted);
  line-height:1.55;
  font-size:14px;
}
.card .tag{
  display:inline-block;
  margin-top:10px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid var(--line);
  color:#0f3d69;
  background: rgba(29,125,216,.08);
  font-size:12px;
  font-weight:900;
}

/* projects */
.grid3{
  margin-top:18px;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
}
.project{
  padding:18px;
  border-radius: var(--radius);
  border:1px solid var(--line);
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow2);
}
.project h3{
  margin:0 0 8px;
  font-size:16px;
}
.project ul{
  margin:0;
  padding-left:18px;
  color: var(--muted);
  line-height:1.6;
  font-size:14px;
}

/* split about */
.split{
  display:grid;
  grid-template-columns: 1.25fr .75fr;
  gap:18px;
  align-items:start;
}
.ticks{
  margin:14px 0 0;
  padding-left:18px;
  color: var(--muted);
  line-height:1.8;
}
.info{
  padding:18px;
  border-radius: var(--radius);
  border:1px solid var(--line);
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow2);
}
.info h3{ margin:0 0 10px; }

/* =========================
   CONTACT
   ========================= */
.contact{
  margin-top:18px;
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:14px;
}

.form{
  padding:18px;
  border-radius: var(--radius);
  border:1px solid var(--line);
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow2);
}

label{
  display:block;
  font-weight:900;
  font-size:13px;
  color: var(--text);
  margin:0 0 10px;
}

input, textarea{
  width:100%;
  margin-top:6px;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid rgba(11,31,51,.18);
  background:#ffffff;
  color: var(--text);
  outline:none;
}
input::placeholder, textarea::placeholder{
  color: rgba(11,31,51,.45);
}
input:focus, textarea:focus{
  border-color: rgba(29,125,216,.55);
}
.form__note{
  margin:10px 0 0;
  color: var(--muted);
  font-size:12px;
}

.panel{
  padding:18px;
  border-radius: var(--radius);
  border:1px solid var(--line);
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow2);
}
.panel--map{
  padding:0;
  overflow:hidden;
}
.map{
  height:240px;
  background: rgba(11,31,51,.02);
}

/* =========================
   FOOTER
   ========================= */
.footer{
  padding:24px 0;
  border-top:1px solid var(--line);
  color: var(--muted);
}
.footer__inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
}
.muted{ color: var(--muted); }

/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 920px){
  .hero__grid{
    grid-template-columns:1fr;
    gap:26px;
  }
  .hero__stats{
    gap:32px;
  }
  .cards, .grid3{
    grid-template-columns:1fr 1fr;
  }
  .split{
    grid-template-columns:1fr;
  }
  .contact{
    grid-template-columns:1fr;
  }
}

@media (max-width: 640px){
  .nav{ display:none; }
  .navbtn{ display:block; }
  .cards, .grid3{
    grid-template-columns:1fr;
  }
  .hero{
    padding:44px 0 14px;
  }
  .hero__stats{
    gap:24px;
  }
}
.section--industrial{
  background: linear-gradient(
    180deg,
    rgba(255,255,255,.02),
    rgba(255,255,255,.01)
  );
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}

.section__head--center{
  text-align:center;
  max-width:800px;
  margin:0 auto 40px;
}

.industrial-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:20px;
}

.industrial-card{
  padding:26px;
  border-radius:var(--radius);
  border:1px solid var(--line);
  background: linear-gradient(
    180deg,
    rgba(255,255,255,.05),
    rgba(255,255,255,.02)
  );
  transition: transform .3s ease, box-shadow .3s ease;
}

.industrial-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
}

.industrial-card h3{
  margin:0 0 14px;
  font-size:16px;
  letter-spacing:.5px;
  text-transform:uppercase;
  color:#bfe4ff;
}

.industrial-card ul{
  margin:0;
  padding-left:18px;
  line-height:1.8;
  color:var(--muted);
  font-size:14px;
}

.industrial-cta{
  margin-top:40px;
  text-align:center;
}

@media (max-width: 920px){
  .industrial-grid{
    grid-template-columns:1fr;
  }
}
/* ================================
   INDUSTRIAL TOWER SECTION
================================ */

.section--tower{
  position:relative;
  min-height:65vh;
  display:flex;
  align-items:center;
  overflow:hidden;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}

.tower__bg{
  position:absolute;
  inset:0;
  background-image:
    linear-gradient(
      90deg,
      rgba(7,20,34,.9) 0%,
      rgba(7,20,34,.75) 40%,
      rgba(7,20,34,.4) 70%,
      rgba(7,20,34,.25) 100%
    ),
    url('../img/wiezowiec.jpg');

  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  z-index:0;
}

.tower__content{
  position:relative;
  z-index:1;
  max-width:700px;
}

.section--tower h2{
  font-size:clamp(26px, 3vw, 40px);
  margin:0 0 16px;
  line-height:1.2;
}

.section--tower p{
  color:var(--muted);
  font-size:16px;
  line-height:1.6;
  margin-bottom:24px;
}

@media (max-width:768px){
  .section--tower{
    min-height:50vh;
  }
}
