/* style.css */

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

html{
  scroll-behavior:smooth;
}

body{
  font-family:Arial, Helvetica, sans-serif;
  background:#ffffff;
  color:#222222;
  line-height:1.6;
  font-size:16px;
}

/* =======================
GLOBAL
======================= */
section{
  width:100%;
  padding:70px 20px;
}

h1,h2,h3{
  font-weight:700;
}

h2{
  text-align:center;
  font-size:42px;
  margin-bottom:20px;
}

/* =======================
HERO
======================= */
.hero{
  min-height:100vh;
  background:
  linear-gradient(rgba(0,0,0,.20), rgba(0,0,0,.20)),
  url('banner.avif') center center/cover no-repeat;
  display:flex;
  justify-content:center;
  align-items:center;
  text-align:center;
  padding:20px;
}

.hero-box{
  max-width:820px;
}

.hero h1{
  font-size:64px;
  color:#ffffff;
  line-height:1.1;
  margin-bottom:18px;
  text-shadow:
    0 3px 8px rgba(0,0,0,.85),
    0 0 18px rgba(0,0,0,.65),
    0 0 30px rgba(0,0,0,.45);
}

.hero p{
  color:#ffffff;
  font-size:24px;
  margin-bottom:30px;
  text-shadow:
    0 2px 6px rgba(0,0,0,.85),
    0 0 14px rgba(0,0,0,.55);
}

/* =======================
BUTTON
======================= */
.btn{
  display:inline-block;
  background:#e53935;
  color:#ffffff;
  padding:14px 28px;
  border:none;
  border-radius:8px;
  text-decoration:none;
  font-weight:700;
  font-size:18px;
  cursor:pointer;
  transition:.25s;
}

.btn:hover{
  background:#c62828;
}

/* =======================
SEKCJE
======================= */
.offer,
.specials,
.realizations{
  max-width:1400px;
  margin:auto;
}

.offer-info{
  text-align:center;
  margin-bottom:30px;
  font-size:18px;
  color:#666666;
}

.small-info{
  font-size:15px;
}

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

.notes p{
  margin:8px 0;
  font-size:16px;
  color:#555555;
}

/* =======================
SLIDER
======================= */
.slider-box{
  display:flex;
  align-items:center;
  gap:15px;
}

.slider{
  width:100%;
  overflow:hidden;
}

.slides{
  display:flex;
  transition:.4s ease;
}

.slide{
  flex:0 0 calc(100% / 3);
  max-width:calc(100% / 3);
  padding:10px;
}

.slide img{
  width:100%;
  height:260px;
  object-fit:cover;
  display:block;
  border-radius:18px;
  background:#f0f0f0;
}

.slide h3{
  text-align:center;
  font-size:24px;
  margin-top:14px;
}

.slide p{
  text-align:center;
  font-size:20px;
  color:#e53935;
  font-weight:700;
}

.nav{
  width:54px;
  height:54px;
  border:none;
  border-radius:50%;
  background:#e53935;
  color:#ffffff;
  font-size:22px;
  cursor:pointer;
  flex-shrink:0;
}

.nav:hover{
  background:#c62828;
}

/* =======================
KONTAKT
======================= */
.contact{
  background:#111111;
  color:#ffffff;
  text-align:center;
}

.contact h2{
  color:#ffffff;
}

.contact p{
  font-size:22px;
  margin:12px 0;
}

.contact-link{
  color:#ffffff;
  text-decoration:none;
  font-weight:700;
}

.contact-link:hover,
.contact-link:focus,
.contact-link:visited{
  color:#ffffff;
  text-decoration:none;
}

/* =======================
STOPKA AUTOR
======================= */
.footer-author{
  background:#ffffff;
  color:#000000;
  padding:16px 20px;
  display:flex;
  justify-content:center;
  align-items:center;
  gap:12px;
  font-size:14px;
  text-align:center;
  border-top:1px solid #eeeeee;
}

.footer-author span{
  color:#000000;
}

.footer-logo{
  display:block;
  width:auto;
  height:auto;
  max-height:35px;
}

/* =======================
COOKIES
======================= */
.cookie-banner{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.58);
  display:flex;
  justify-content:center;
  align-items:center;
  padding:20px;
  z-index:99999;
}

.cookie-banner.hidden{
  display:none;
}

.cookie-content{
  width:100%;
  max-width:720px;
  background:#ffffff;
  border-radius:18px;
  padding:32px;
  text-align:center;
}

.cookie-content p{
  font-size:18px;
  margin-bottom:10px;
}

.cookie-policy{
  margin-bottom:22px;
}

.cookie-policy a{
  color:#e53935;
  text-decoration:none;
  font-weight:700;
}

.cookie-content button{
  background:#e53935;
  color:#ffffff;
  padding:14px 28px;
  border:none;
  border-radius:8px;
  font-weight:700;
  cursor:pointer;
}

/* =======================
TABLET
======================= */
@media(max-width:1100px){

.slide{
  flex:0 0 50%;
  max-width:50%;
}

.slide img{
  height:230px;
}

}

/* =======================
MOBILE
======================= */
@media(max-width:768px){

section{
  padding:55px 15px;
}

h2{
  font-size:32px;
}

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

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

.slide{
  flex:0 0 100%;
  max-width:100%;
}

.slide img{
  height:220px;
}

.slide h3{
  font-size:20px;
}

.slide p{
  font-size:18px;
}

.nav{
  width:42px;
  height:42px;
  font-size:18px;
}

.contact p{
  font-size:18px;
}

.notes p{
  font-size:15px;
}

.footer-author{
  padding:14px 15px;
  font-size:13px;
  gap:10px;
}

.footer-logo{
  max-height:35px;
}

.cookie-content{
  padding:24px;
}

.cookie-content p{
  font-size:16px;
}

}