:root {
  --primary: #111827;
  --accent: #f97316;
  --bg: #f9fafb;
  --text: #0f172a;
}

/* ================= GLOBAL ================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  scroll-behavior: smooth;
}

main {
  min-height: calc(100vh - 140px);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

/* ================= NAVBAR ================= */

.navbar {
  background: white;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

/* LOGO */

.logo img {
  height: 75px;
  width: auto;
  display: block;
}

/* NAV LINKS */

.nav-links {
  position: absolute;
  top: 80px;
  left: 0;
  width: 100%;
  background: white;

  display: flex;
  flex-direction: column;
  padding: 20px;
  gap: 20px;

  transform: translateY(-200%);
  transition: 0.3s ease;
}

.nav-links.active {
  transform: translateY(0);
}

.nav-links a {
  display: flex;
  align-items: center;
  height: 40px;
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
}

.btn-nav {
  display: flex;
  align-items: center;
  justify-content: center;

  height: 40px;
  padding: 0 20px;

  background: var(--accent);
  border-radius: 12px;
  color: white !important;
}

/* HAMBURGER */

.hamburger {
  font-size: 26px;
  cursor: pointer;
}

/* ================= HERO ================= */

.hero {
  min-height: clamp(340px, 55vh, 600px);
  padding: 40px 20px;

  background:
    linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)),
    url('../images/hero.jpg') center/cover no-repeat;

  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;

  position: relative;
}

.hero-content {
  width: 100%;
  max-width: 650px;
}

.hero h1 {
  font-size: clamp(28px, 6vw, 48px);
  margin-bottom: 20px;
}

.hero p {
  font-size: clamp(16px, 4vw, 20px);
}

.hero-buttons {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.btn-primary,
.btn-outline {
  padding: 14px 26px;
  border-radius: 14px;
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: white;
}

.btn-outline {
  border: 2px solid white;
  color: white;
}

/* ================= SCROLL ARROW ================= */

.scroll-down{
  position:absolute;
  bottom:30px;
  left:50%;
  transform:translateX(-50%);
  width:24px;
  height:40px;
  border:2px solid white;
  border-radius:20px;
  display:flex;
  justify-content:center;
  align-items:flex-start;
}

.scroll-down span{
  width:4px;
  height:8px;
  background:white;
  border-radius:2px;
  margin-top:6px;
  animation:scroll 2s infinite;
}

@keyframes scroll{
  0%{ opacity:0; transform:translateY(0); }
  50%{ opacity:1; }
  100%{ opacity:0; transform:translateY(12px); }
}
/* ================= SEKCJE ================= */

.section {
  padding: clamp(40px, 6vw, 80px) 0;
  scroll-margin-top: 100px;
}

/* ================= STATS ================= */

.stats-section {
  background: white;
  margin-top: 40px;
  border-radius: 30px 30px 0 0;
  position: relative;
  padding-top: 20px;
}

.center {
  text-align: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 260px));
  gap: 30px;
  margin-top: 20px;
  justify-content: center;
  text-align: center;
}

.stat-card {
  padding: 30px;
  border-radius: 20px;
  background: var(--bg);

  transition: 0.25s;
}

.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.stat-card h3 {
  font-size: clamp(32px, 6vw, 48px);
  margin: 0;
  color: var(--accent);
}

.stat-card p {
  margin-top: 10px;
  font-weight: 500;
}

.stats-title{
  text-align:center;
  font-size:clamp(26px,4vw,34px);
  font-weight:700;
  margin-bottom:20px;
  color:var(--text);
}

/* ================= FOOTER ================= */

.footer{
  background:#111827;
  color:white;
  padding:16px 20px;
  font-size:14px;
}

/* ================= TABLET ================= */

@media (min-width: 768px) {

  .hero-buttons {
    flex-direction: row;
    justify-content: center;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

}

/* ================= DESKTOP ================= */

@media (min-width: 1024px) {

  .nav-links {
    position: static;
    flex-direction: row;
    transform: none;
    width: auto;
    padding: 0;
    gap: 30px;
  }

  .hamburger {
    display: none;
  }

  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }

}

/* ================= CONTACT ================= */

.contact {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-top: 40px;
}

/* FORM */

.form__note {
  margin-top: 12px;
  font-size: 14px;
  font-weight: 500;
}

.form {
  background: white;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.form__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.form label{
  display:block;
  font-weight:500;
  margin-bottom:14px;
}

.form label span{
  display:block;
  margin-bottom:6px;
}

.form input,
.form textarea {
  padding: 14px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  font-family: inherit;
  font-size: 14px;
  width:100%;
}

.form textarea {
  resize: vertical;
}

.form__actions {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.fineprint {
  font-size: 13px;
  color: #64748b;
}

.form__note {
  margin-top: 10px;
  font-size: 14px;
}

/* INFO CARD */

.contact__info {
  display: flex;
}

.infoCard .muted {
  margin-top: 50px;
}

.infoCard {
  background: white;
  padding: 35px;
  border-radius: 22px;
  width: 100%;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06);
  text-align: center;
}

.info-logo {
  width: 70px;
  margin-bottom: 10px;
}

.infoCard h3 {
  margin-top: 0;
}

.muted {
  color: #64748b;
}

.infoLine {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #f1f5f9;
}

.infoLine .k {
  color: #64748b;
}

.infoLine .v {
  font-weight: 600;
  text-decoration: none;
  color: var(--text);
}

.divider {
  height: 1px;
  background: #e5e7eb;
  margin: 20px 0;
}

.infoBtns {
  margin-top: 20px;
  display: flex;
  gap: 10px;
}

/* BUTTONS */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 500;
}

.btn--primary {
  background: var(--accent);
  color: white;
}

.btn--ghost {
  border: 1px solid #e5e7eb;
  color: var(--text);
}

/* RESPONSIVE */

@media (min-width: 768px) {

  .form__row {
    grid-template-columns: 1fr 1fr;
  }

}

@media (min-width: 1024px) {

  .contact {
    grid-template-columns: 1.4fr 1fr;
  }

}

/* ================= REALIZACJE ================= */

.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
  margin-top: 40px;
}

.portfolio-card {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  cursor: pointer;
}

.portfolio-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  transition: 0.3s;
}

.portfolio-card:hover img {
  transform: scale(1.05);
}

.portfolio-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;

  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  color: white;

  padding: 20px;
}

.photo-count {
  position: absolute;
  top: 12px;
  right: 12px;

  background: var(--accent);
  color: white;

  padding: 5px 10px;
  border-radius: 20px;
  font-size: 13px;
}

/* RESPONSIVE */

@media (min-width:768px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width:1024px) {
  .portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ================= GALERIA ================= */

.gallery {
  position: fixed;
  top: 0;
  left: 0;

  width: 100%;
  height: 100%;

  background: rgba(0, 0, 0, .9);

  display: flex;
  align-items: center;
  justify-content: center;

  z-index: 999;
}

.gallery img {
  max-width: 90%;
  max-height: 90%;
}

.gallery-close {
  position: absolute;
  top: 30px;
  right: 40px;

  color: white;
  font-size: 30px;
  cursor: pointer;
}

.gallery-arrow {
  position: absolute;
  top: 50%;

  color: white;
  font-size: 40px;
  cursor: pointer;

  transform: translateY(-50%);
}

.gallery-prev {
  left: 40px;
}

.gallery-next {
  right: 40px;
}

/* TABLET */

@media (min-width:768px) {

  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }

}

/* DESKTOP */

@media (min-width:1024px) {

  .portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
  }

}


/* ================= SERVICES ================= */

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
  margin-top: 40px;
}

.service-box {
  background: white;
  border-radius: 16px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: .3s;
}

.service-box:hover {
  transform: translateY(-5px);
}

.icon {
  font-size: 32px;
  margin-bottom: 15px;
  color: var(--accent);
}

/* ================= DETAILS ================= */

.details-card {
  background: white;
  padding: 35px;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.details-card ul {
  margin-top: 15px;
  padding-left: 18px;
}

.details-card li {
  margin-bottom: 8px;
}

/* ================= SERVICE DETAILS ================= */

.service-details {
  padding-top: 20px;
}

.details-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 35px;
  margin-top: 60px;
}

.details-card {

  background: white;
  padding: 40px;

  border-radius: 18px;

  border: 1px solid #e5e7eb;

  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);

  transition: 0.3s;
}

.details-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.details-icon {

  width: 48px;
  height: 48px;

  background: rgba(249, 115, 22, 0.1);

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 12px;

  color: var(--accent);
  font-size: 20px;

  margin-bottom: 18px;
}

.details-card h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.details-card p {
  color: #6b7280;
  margin-bottom: 18px;
}

.details-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.details-card li {

  display: flex;
  align-items: center;

  gap: 10px;

  margin-bottom: 10px;

  font-size: 15px;
}

.details-card li::before {

  content: "✓";

  color: var(--accent);

  font-weight: 700;
}

/* RESPONSIVE */

@media(min-width:768px) {

  .details-grid {
    grid-template-columns: repeat(2, 1fr);
  }

}

/* ================= SECTION HEAD ================= */

.section__head {
  text-align: center;
  max-width: 700px;
  margin: -90px auto 40px auto;
}

.section__head h2 {
  font-size: clamp(26px, 4vw, 34px);
  margin-bottom: 10px;
}

.section__head p {
  color: #6b7280;
  font-size: 16px;
}

/* ================= SECTION HEAD 2 ================= */

.section__head2 {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 30px auto;
}

.section__head2 h2 {
  font-size: clamp(26px, 4vw, 34px);
  margin-bottom: 8px;
}

.section__head2 p {
  color: #6b7280;
  font-size: 16px;
}

/* ================= Buttons ================= */

.infoLine:last-of-type{
  border-bottom:none;
}

.infoBtns{
  margin-top:45px;
  display:flex;
  justify-content:center;
}

.btn--primary{
  border:none;
}

.infoCard img{
  width:60px;
  height:auto;
  display:block;
  margin:0 auto 10px auto;
}

.muted{
  text-align: center;
}

.btn-call{
  display:flex;
  align-items:center;
  gap:8px;

  padding:10px 16px;
  border-radius:999px;

  background:var(--accent);
  color:white;
  font-weight:600;
  text-decoration:none;

  transition:.2s;
}

.btn-call:hover{
  transform:translateY(-1px);
  box-shadow:0 6px 16px rgba(0,0,0,.15);
}

.call-icon{
  font-size:16px;
}

