/* =========================================================
   BURLLAB — style główne
   Najczęściej zmieniane wartości: kolory, szerokość i odstępy.
   ========================================================= */
:root {
  --bg: #f1efec;
  --paper: #f7f5f2;
  --dark: #0b0b0b;
  --dark-2: #151515;
  --gold: #c9953c;
  --gold-light: #e2b65e;
  --text: #161616;
  --muted: #6e6a64;
  --line: rgba(201, 149, 60, .35);
  --white: #fff;

  --max: 1180px;
  --container-gutter: 48px;
  --header-height: 76px;
  --shadow: 0 18px 50px rgba(0, 0, 0, .12);

  /* Zdjęcia tła — zmień ścieżki tutaj. */

  --about-image: url("https://images.unsplash.com/photo-1601058268499-e52658b8c7f4?auto=format&fit=crop&w=1400&q=85");
  --page-hero-image: url("img/3d-modeling-design.png");
  --page-hero-3d-design: url("img/3d-design-modeling.png");
  --page-hero-epoxy: url("img/hero-epoxy.png");
  
}

/* 01. Podstawy i wspólne elementy
   --------------------------------------------------------- */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.65;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

.container,
.hero-inner {
  width: min(var(--max), calc(100% - var(--container-gutter)));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
  z-index: 9999;
  padding: 10px 14px;
  background: var(--white);
}

.section {
  padding: 74px 0;
}

.center {
  margin-top: 28px;
  text-align: center;
}

.eyebrow,
.gold-title {
  color: var(--gold);
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 700;
}

.eyebrow {
  letter-spacing: 2px;
}

.gold-title {
  letter-spacing: 1.6px;
}

/* 02. Nagłówek, logo i nawigacja
   --------------------------------------------------------- */
.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(5, 5, 5, .88);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  backdrop-filter: blur(8px);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-height);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  color: var(--white);
}

/* Nadpisuje ogólne img { width: 100% }. */
.brand-logo {
  display: block;
  width: auto;
  height: 56px;
  max-width: 150px;
  object-fit: contain;
}

.nav-toggle {
  display: none;
}

.menu {
  display: flex;
  align-items: center;
  gap: 26px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu a {
  color: #eee;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .45px;
  transition: .2s;
}

.menu a:hover,
.menu a[aria-current="page"] {
  color: var(--gold-light);
}

.media img{
width:100%;
height:100%;
object-fit: cover; 
}

/* Kontrolka języka w menu. Tłumaczenia wymagają osobnych treści lub skryptu. */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.language-item {
  flex: none;
}

.language-select {
  max-width: 130px;
  min-height: 38px;
  padding: 6px 10px;
  border: 1px solid var(--gold);
  border-radius: 0;
  background: var(--dark);
  color: var(--white);
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}

.language-select:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
}

/* 03. Przyciski
   --------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: .7px;
  font-size: 12px;
  font-weight: 700;
  transition: .2s;
}

.btn:hover {
  background: var(--gold);
  color: #111;
}

.btn.dark {
  border-color: #222;
  color: #111;
}

.btn.dark:hover {
  background: #111;
  color: var(--white);
}

.btn.gold {
  background: var(--gold);
  color: #111;
}

.btn.gold:hover {
  background: var(--gold-light);
}

/* 04. Strona główna — hero
   --------------------------------------------------------- */
.hero {
  display: flex;
  align-items: center;
  min-height: 680px;
  padding-top: var(--header-height);
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(5, 5, 5, .94) 0%, rgba(5, 5, 5, .82) 38%,
      rgba(5, 5, 5, .26) 68%, rgba(5, 5, 5, .42) 100%),
    var(--hero-image) center / cover no-repeat;
}

/* Hero ma pionowy margines auto, w odróżnieniu od .container. */
.hero-inner {
  margin-block: auto;
}

.hero-copy {
  max-width: 560px;
}

.hero h1 {
  margin: 18px 0 22px;
  font-size: clamp(44px, 6vw, 78px);
  line-height: 1.02;
  letter-spacing: -2px;
  text-transform: uppercase;
}

.hero p {
  margin: 0 0 32px;
  color: #ddd;
  font-size: 20px;
}

/* 05. Atuty / usługi
   --------------------------------------------------------- */
.features {
  padding: 34px 0;
  background: var(--paper);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.feature {
  padding: 18px 30px;
  border-right: 1px solid #d7d2cc;
  text-align: center;
}

.feature:last-child {
  border: 0;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin: 0 auto 15px;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
}

.feature-icon span {
  transform: rotate(-45deg);
  color: var(--gold);
  font-size: 20px;
}

.feature h3 {
  margin: 0 0 8px;
  font-size: 14px;
  text-transform: uppercase;
}

.feature p {
  margin: 0;
  color: #555;
  font-size: 13px;
}

/* 06. O nas
   --------------------------------------------------------- */
.about-split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  background: var(--dark-2);
  color: var(--white);
}

.about-split .image {
  min-height: 460px;
  background: var(--about-image) center / cover;
}

.about-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px clamp(34px, 6vw, 78px);
}

.about-copy h2 {
  margin: 14px 0 22px;
  font-size: 38px;
  line-height: 1.12;
  text-transform: uppercase;
}

.about-copy p {
  max-width: 550px;
  color: #ccc;
}

/* 07. Nagłówki sekcji i realizacje
   --------------------------------------------------------- */
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 28px;
}

.section-head h2 {
  margin: 6px 0 0;
  font-size: 32px;
  line-height: 1.1;
  text-transform: uppercase;
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

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

.project-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: #222;
}

.project-card img {
  height: 100%;
  object-fit: cover;
  transition: transform .5s;
}

.project-card:hover img {
  transform: scale(1.06);
}

.project-card figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 52px 18px 16px;
  background: linear-gradient(transparent, rgba(0, 0, 0, .82));
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

/* 08. CTA i szybki kontakt
   --------------------------------------------------------- */
.cta {
  padding: 60px 0;
  border-top: 1px solid #272727;
  border-bottom: 1px solid #272727;
  background: #111;
  color: var(--white);
}

.cta-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 50px;
}

.cta h2 {
  margin: 8px 0 10px;
  font-size: 38px;
  line-height: 1.1;
}

.cta p {
  margin: 0 0 24px;
  color: #ccc;
}

.contact-mini {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.contact-item {
  padding-left: 20px;
  border-left: 1px solid var(--line);
}

.contact-item .icon {
  margin-bottom: 7px;
  color: var(--gold);
  font-size: 24px;
}

.contact-item strong {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
}

.contact-item span {
  color: #ccc;
  font-size: 13px;
}

/* 09. Stopka
   --------------------------------------------------------- */
.site-footer {
  background: var(--dark);
  color: #bbb;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 50px;
  padding: 38px 0;
}

.footer-main h3 {
  color: var(--white);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-main p,
.footer-main a {
  color: #aaa;
  font-size: 13px;
}

.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
  columns: 2;
}

.footer-links li {
  margin: 6px 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
  border-top: 1px solid #252525;
  font-size: 11px;
}

/* 10. Podstrony — hero i treść 
   --------------------------------------------------------- */
.page-hero {
  padding: 160px 0 90px;
  color: var(--white);
}

/*zdjecia na poszczegolne strony*/
.page-3d-design{
 background:
    linear-gradient(90deg, rgba(7, 7, 7, .93), rgba(7, 7, 7, .48)),
    var(--page-hero-3d-design) center / cover;
}
.page-epoxy{
 background:
    linear-gradient(90deg, rgba(7, 7, 7, .93), rgba(7, 7, 7, .48)),
    var(--page-hero-epoxy) center / cover;
}

.page-hero h1 {
  margin: 15px 0;
  font-size: clamp(42px, 6vw, 70px);
  line-height: 1;
}

.page-hero p {
  max-width: 700px;
  margin: 0;
  color: #ddd;
  font-size: 18px;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
}

.content-grid.reverse .copy {
  order: 2;
}

.content-grid.reverse .media {
  order: 1;
}

.media img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.copy h2 {
  margin: 8px 0 18px;
  font-size: 36px;
  line-height: 1.1;
  text-transform: uppercase;
}

.copy p {
  color: #555;
}

.list {
  padding-left: 20px;
}

.list li {
  margin: 8px 0;
}

.dark-band {
  background: var(--dark-2);
  color: var(--white);
}

.dark-band .copy p {
  color: #ccc;
}

/* 11. Karty i galeria podstron
   --------------------------------------------------------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  padding: 28px;
  border: 1px solid #ddd6ce;
  background: var(--white);
}

.card h3 {
  margin: 12px 0;
  font-size: 16px;
  text-transform: uppercase;
}

.card p {
  color: #666;
  font-size: 14px;
}

.card-number {
  color: var(--gold);
  font-size: 14px;
  font-weight: 700;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.gallery img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* 12. Formularz i informacje kontaktowe
   --------------------------------------------------------- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.field input,
.field textarea {
  padding: 13px 14px;
  border: 1px solid #cfc8bf;
  outline: none;
  background: var(--white);
  font: inherit;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--gold);
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.notice {
  margin-top: 12px;
  color: #777;
  font-size: 12px;
}

.info-list {
  display: grid;
  gap: 15px;
}

.info-list strong {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
}

.info-list a,
.info-list span {
  color: #555;
}

/* 13. Tablet — do 980 px
   --------------------------------------------------------- */
@media (max-width: 980px) {
  .menu {
    gap: 15px;
  }

  .menu a {
    font-size: 10px;
  }

  .feature-grid,
  .projects-grid,
  .contact-mini {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature:nth-child(2) {
    border-right: 0;
  }

  .feature:nth-child(-n + 2) {
    border-bottom: 1px solid #d7d2cc;
  }

  .cta-grid {
    grid-template-columns: 1fr;
  }
}

/* 14. Telefon / mały tablet — do 760 px
   --------------------------------------------------------- */
@media (max-width: 760px) {
  :root {
    --container-gutter: 32px;
    --header-height: 68px;
  }

  .brand-logo {
    height: 48px;
    max-width: 120px;
  }

  .nav-toggle {
    display: block;
    position: absolute;
    opacity: 0;
    pointer-events: none;
  }

  .nav-button {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-left: auto;
    padding: 10px;
    cursor: pointer;
  }

  .nav-button span {
    width: 24px;
    height: 2px;
    background: var(--white);
  }

  .menu {
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    display: grid;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    border-bottom: 1px solid transparent;
    background: #090909;
    transition: max-height .25s;
  }

  .menu li {
    border-top: 1px solid #202020;
  }

  .menu a {
    display: block;
    padding: 15px 24px;
    font-size: 12px;
  }

  .nav-toggle:checked ~ .menu {
    max-height: 600px;
    border-bottom-color: #252525;
  }

  .hero {
    min-height: 650px;
  }

  .hero h1 {
    font-size: 48px;
    letter-spacing: -1px;
  }

  .hero p {
    font-size: 17px;
  }

  .about-split,
  .content-grid,
  .content-grid.reverse {
    grid-template-columns: 1fr;
  }

  .about-split .image {
    min-height: 300px;
  }

  .about-copy {
    padding: 50px 24px;
  }

  .section {
    padding: 55px 0;
  }

  .section-head {
    display: block;
  }

  .section-head .btn {
    margin-top: 18px;
  }

  .content-grid.reverse .copy,
  .content-grid.reverse .media {
    order: initial;
  }

  .cards,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-main {
    gap: 20px;
  }

  .footer-bottom {
    display: block;
  }

  .footer-bottom span {
    display: block;
    margin-top: 7px;
  }
}

/* 15. Mały telefon — do 480 px
   --------------------------------------------------------- */
@media (max-width: 480px) {
  .feature-grid,
  .projects-grid,
  .contact-mini,
  .form-grid,
  .gallery {
    grid-template-columns: 1fr;
  }

  .feature {
    border-right: 0 !important;
    border-bottom: 1px solid #d7d2cc;
  }

  .feature:last-child {
    border-bottom: 0;
  }

  .hero h1 {
    font-size: 39px;
  }

  .page-hero {
    padding: 135px 0 70px;
  }

  .page-hero h1 {
    font-size: 44px;
  }

  .field.full {
    grid-column: auto;
  }
}

.mail-display {
  /* 1. Definiujemy części maila jako zmienne */
  --e-user: "contact";
  --e-at: "@";
  --e-domain: "burllab.com";
}

.mail-display::before {
  /* 2. Łączymy zmienne w jeden ciąg tekstowy */
  content: var(--e-user) var(--e-at) var(--e-domain);
}

.number-display {
  /* 1. Definiujemy części maila jako zmienne */
  --n-1: "+48 ";
  --n-2: "793 ";
  --n-3: "773 ";
  --n-4: "546";
}

.number-display::before {
  /* 2. Łączymy zmienne w jeden ciąg tekstowy */
  content: var(--n-1) var(--n-2) var(--n-3) var(--n-4);
}

.disabled{
pointer-events: none; 
}

