@import url('https://fonts.googleapis.com/css2?family=Anton&family=Oswald:wght@400;500;600;700&display=swap');

/* =========================================================
   IRENEUSZ JESTEM — NOWY CZYSTY CSS
   KOMPUTER: styl i kolorystyka grafiki 1
   TELEFON: układ grafiki 2
   ========================================================= */

:root{
  --red:#f21b12;
  --red2:#c90e08;
  --white:#f7f7f7;
  --black:#050505;
  --black2:#0b0b0b;
  --gray:#aaa;
  --line:#252525;
}

*,
*::before,
*::after{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  background:var(--black);
  color:var(--white);
  font-family:Arial,sans-serif;
  overflow-x:hidden;
}

img{
  max-width:100%;
}

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

/* ================= HEADER ================= */

header{
  position:sticky;
  top:0;
  z-index:100;
  background:rgba(5,5,5,.97);
  border-bottom:1px solid var(--line);
}

.wrap{
  width:min(1200px,92%);
  margin:0 auto;
}

.nav{
  min-height:76px;
  display:flex;
  align-items:center;
  gap:28px;
}

.brand{
  display:flex;
  align-items:center;
  flex-shrink:0;
}

.brand img{
  width:180px;
  height:auto;
  display:block;
}

.nav nav{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:25px;
  flex:1;
}

.nav nav a{
  font-family:Oswald,Arial,sans-serif;
  font-size:13px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.3px;
}

.nav nav a:hover{
  color:var(--red);
}

.social{
  display:flex;
  align-items:center;
  gap:10px;
}

.social a{
  width:36px;
  height:36px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#111;
  border:1px solid #333;
  font-weight:700;
}

.hamb{
  display:none;
}

/* ================= HERO ================= */

.hero{
  background:
    radial-gradient(circle at 78% 35%,rgba(242,27,18,.08),transparent 28%),
    #050505;
  border-bottom:1px solid var(--line);
}

.hero-grid{
  width:min(1200px,92%);
  min-height:500px;
  margin:0 auto;
  padding:48px 0;
  display:grid;
  grid-template-columns:44% 56%;
  gap:25px;
  align-items:center;
}

.hero-copy{
  min-width:0;
}

/*
  WAŻNE:
  Anton jest główną czcionką dużego napisu,
  ponieważ daje ten ciężki, zwarty wygląd z grafiki 1.
  Impact jest awaryjną czcionką, gdy Google Fonts nie odpowie.
*/
.hero-copy .paint{
  display:block;
  margin:0 0 28px;
  padding:0;
  font-family:Anton,Impact,sans-serif;
  font-size:clamp(62px,8vw,108px);
  font-weight:400;
  line-height:.86;
  letter-spacing:0;
  color:var(--white);
  text-shadow:5px 5px 0 var(--red);
}

.hero-copy .paint b{
  display:block;
  margin:0;
  padding:0;
  font-family:Anton,Impact,sans-serif;
  font-weight:400;
  color:var(--red);
  text-shadow:5px 5px 0 var(--white);
}

.hero-copy h2{
  margin:0 0 24px;
  padding:0;
  font-family:Anton,Impact,sans-serif;
  font-size:clamp(28px,3vw,46px);
  font-weight:400;
  line-height:.98;
  letter-spacing:.2px;
  color:var(--white);
}

.hero-copy p{
  max-width:560px;
  margin:0 0 28px;
  color:#c7c7c7;
  font-size:18px;
  line-height:1.55;
}

.buttons{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}

.btn{
  display:inline-block;
  padding:13px 20px;
  border:1px solid #555;
  border-radius:7px;
  font-family:Oswald,Arial,sans-serif;
  font-weight:700;
  text-transform:uppercase;
}

.btn.red{
  background:var(--red);
  border-color:var(--red);
}

.hero-art{
  display:flex;
  align-items:center;
  justify-content:center;
  min-width:0;
}

.hero-art img{
  display:block;
  width:100%;
  max-width:650px;
  height:auto;
  max-height:600px;
  object-fit:contain;
  object-position:center;
}

/* ================= STRIP ================= */

.strip{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  background:#080808;
  border-bottom:1px solid var(--line);
}

.strip div{
  padding:20px 15px;
  text-align:center;
  border-right:1px solid var(--line);
}

.strip div:last-child{
  border-right:0;
}

.strip strong{
  display:block;
  margin-bottom:5px;
  font-family:Oswald,Arial,sans-serif;
  font-size:17px;
  text-transform:uppercase;
}

.strip span{
  color:#999;
  font-size:13px;
}

/* ================= SEKCJE ================= */

section{
  padding:52px 0;
  border-bottom:1px solid var(--line);
}

.section-title{
  display:flex;
  align-items:center;
  gap:15px;
  margin-bottom:25px;
}

.section-title h2{
  margin:0;
  font-family:Anton,Impact,sans-serif;
  font-weight:400;
  font-size:36px;
}

.section-title span{
  width:70px;
  height:5px;
  background:var(--red);
  transform:skew(-20deg);
}

/* ================= FILMY ================= */

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

.cards article{
  overflow:hidden;
  background:#0c0c0c;
  border:1px solid #333;
  border-radius:8px;
}

.cards article img{
  display:block;
  width:100%;
  aspect-ratio:16/9;
  object-fit:cover;
}

.cards article h3{
  margin:11px 12px 5px;
  font-family:Oswald,Arial,sans-serif;
  font-size:19px;
  line-height:1.05;
}

.cards article p{
  margin:0 12px 14px;
  color:#888;
  font-size:12px;
}

/* ================= O MNIE ================= */

.about{
  display:grid;
  grid-template-columns:1fr 2fr 1fr;
  gap:30px;
  align-items:center;
}

.about img{
  width:100%;
  border-radius:50%;
  border:1px solid #444;
}

.about h2{
  margin:0 0 15px;
  font-family:Anton,Impact,sans-serif;
  font-weight:400;
  font-size:40px;
}

.about p{
  color:#bbb;
  line-height:1.6;
}

/* ================= GALERIA ================= */

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

.gallery-grid img{
  display:block;
  width:100%;
  aspect-ratio:1/1;
  object-fit:cover;
  border:1px solid #333;
  border-radius:8px;
}

/* ================= WSPÓŁPRACA ================= */

.work-grid{
  display:grid;
  grid-template-columns:2fr 1fr;
  gap:25px;
  align-items:center;
}

.work-grid p{
  color:#bbb;
  line-height:1.6;
}

.work-button{
  justify-self:end;
}

/* ================= KONTAKT ================= */

.contact{
  display:grid;
  grid-template-columns:1fr 1.5fr;
  gap:30px;
}

.contact p{
  color:#aaa;
  line-height:1.5;
}

.contact form{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}

.contact input,
.contact textarea{
  width:100%;
  padding:14px;
  border:1px solid #444;
  border-radius:6px;
  background:#0d0d0d;
  color:#fff;
  font:inherit;
}

.contact textarea{
  grid-column:1/-1;
  min-height:150px;
  resize:vertical;
}

.contact button{
  justify-self:start;
  padding:14px 23px;
  border:0;
  border-radius:6px;
  background:var(--red);
  color:#fff;
  font-family:Oswald,Arial,sans-serif;
  font-weight:700;
  text-transform:uppercase;
  cursor:pointer;
}

/* ================= STOPKA ================= */

footer{
  padding:25px 0;
  color:#777;
  font-size:12px;
}

footer .wrap{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}

/* =========================================================
   TELEFON
   UKŁAD GRAFIKI 2
   CZCIONKA + KOLORY GRAFIKI 1
   ========================================================= */

@media (max-width:700px){

  header{
    position:relative;
  }

  .wrap{
    width:100%;
    padding-left:25px;
    padding-right:25px;
  }

  .nav{
    min-height:80px;
    justify-content:space-between;
  }

  .brand img{
    width:205px;
  }

  .nav nav,
  .social{
    display:none;
  }

  .hamb{
    display:block;
    width:42px;
    height:42px;
    padding:0;
    border:0;
    background:none;
    color:#fff;
    font-size:0;
    position:relative;
  }

  .hamb::before{
    content:"☰";
    position:absolute;
    inset:0;
    display:grid;
    place-items:center;
    font-size:38px;
    line-height:1;
  }

  /* ---- HERO ---- */

  .hero-grid{
    width:100%;
    min-height:0;
    padding:28px 0 35px;
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:24px;
  }

  /*
    Zdjęcie nie zajmuje już całego ekranu.
    Jest szerokie, ale ma bezpieczny margines.
  */
  .hero-art{
    order:1;
    width:92%;
    max-width:600px;
    margin:0 auto;
    padding:0;
  }

  .hero-art img{
    display:block;
    width:100%;
    max-width:100%;
    max-height:none;
    height:auto;
    object-fit:contain;
  }

  /*
    Tekst znajduje się POD zdjęciem,
    tak jak na grafice 2.
  */
  .hero-copy{
    order:2;
    width:100%;
    max-width:600px;
    padding:0 28px;
    margin:0 auto;
    overflow:visible;
  }

  /*
    DUŻA CZCIONKA Z GRAFIKI 1
    - Anton
    - białe IRENEUSZ
    - czerwone JESTEM
    - brak nakładania się linii
  */
  .hero-copy .paint{
    display:block !important;
    width:100% !important;
    height:auto !important;
    margin:0 0 30px !important;
    padding:0 !important;
    font-family:Anton,Impact,sans-serif !important;
    font-size:52px !important;
    font-weight:400 !important;
    line-height:.90 !important;
    letter-spacing:0 !important;
    white-space:normal !important;
    overflow:visible !important;
    color:var(--white) !important;
    text-shadow:4px 4px 0 var(--red) !important;
  }

  .hero-copy .paint b{
    display:block !important;
    width:100% !important;
    height:auto !important;
    margin:0 !important;
    padding:0 !important;
    font-family:Anton,Impact,sans-serif !important;
    font-size:52px !important;
    font-weight:400 !important;
    line-height:.90 !important;
    color:var(--red) !important;
    text-shadow:4px 4px 0 var(--white) !important;
  }

  /*
    PODTYTUŁ:
    również Anton, ale mniejszy.
  */
  .hero-copy h2{
    display:block !important;
    width:100% !important;
    margin:0 0 22px !important;
    padding:0 !important;
    font-family:Anton,Impact,sans-serif !important;
    font-size:28px !important;
    font-weight:400 !important;
    line-height:1.02 !important;
    letter-spacing:0 !important;
    color:var(--white) !important;
  }

  .hero-copy p{
    width:100%;
    margin:0 0 24px;
    font-size:17px;
    line-height:1.55;
  }

  .buttons{
    flex-direction:column;
    align-items:stretch;
  }

  .btn{
    text-align:center;
  }

  /* ---- RESZTA STRONY ---- */

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

  .strip div{
    border-bottom:1px solid var(--line);
  }

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

  .strip div:nth-child(3),
  .strip div:nth-child(4){
    border-bottom:0;
  }

  section{
    padding:40px 0;
  }

  .section-title h2{
    font-size:31px;
  }

  .cards{
    grid-template-columns:1fr;
    gap:18px;
  }

  .cards article h3{
    font-size:21px;
  }

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

  .about img{
    width:180px;
  }

  .about h2{
    font-size:36px;
  }

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

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

  .work-button{
    justify-self:start;
  }

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

  .contact form{
    grid-template-columns:1fr;
  }

  .contact textarea{
    grid-column:1;
  }

  footer .wrap{
    flex-direction:column;
    text-align:center;
  }
}

/* Małe telefony */
@media (max-width:390px){

  .brand img{
    width:175px;
  }

  .hero-grid{
    padding-top:22px;
  }

  .hero-art{
    width:90%;
  }

  .hero-copy{
    padding-left:22px;
    padding-right:22px;
  }

  .hero-copy .paint,
  .hero-copy .paint b{
    font-size:47px !important;
  }

  .hero-copy h2{
    font-size:25px !important;
  }
}
