body
{
    background-color: #3e3e3e;
    font-family: "Roboto Condensed", sans-serif;
}

html
{
  scroll-behavior: smooth;
}

*
{
    box-sizing: border-box;
    transition: 0.2s ease;
}

footer
{
    background-color: #1a1a1a;
    color: #ccc;
    max-width: 980px;
    width: 100%;
    padding: 10px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0;
    text-align: center;
}

h1
{
    font-size: 36px;
    text-align: center;
}

header
{
    background-color: #2f2f2f;
    width: 100%;
    max-width: 980px;
    padding: 10px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 0;    
}

h1 a
{
    color: #ffda27;
    text-decoration: none;
}

h1 a:visited
{
    color: #ffda27;
    text-decoration: none;
}

nav
{
    background-color: #2f2f2f;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.menu
{
    list-style-type: none;
    padding: 0px;
    font-size: 18px;
    min-height: 40px;
    line-height: 200%;
}

.menu > li
{
    display: inline-block;
    padding-left: 20px;
    padding-right: 20px;
    border-right: 2px dashed #3e3e3e;
}

.menu > li:first-child
{
    border-left: 2px dashed #3e3e3e;
}

.menu > li > a
{
    color: #fff;
    text-decoration: none;
}

.menu > li > a:visited
{
    color: #fff;
    text-decoration: none;
}

.menu > li > a:hover
{
    color: #ffda27;
}

h2
{
    color: #ffda27;
    font-size: 28px;
    text-align: center;
}

#hero
{
    width: 100%;
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
    padding: 10px;
    background-color: #1a1a1a;
    color: #fff;
    text-align: center;
}

.btn 
{
  display: inline-block;
  padding: 12px 24px;
  font-size: 16px;
  text-decoration: none;
  font-weight: 600;
  border-radius: 6px;
  transition: all 0.3s ease;
  margin-right: 10px;
}

.btn-yellow 
{
  background-color: #ffda27;
  color: #000;
  border: none;
  border: 2px solid #ffda27
}

.btn-yellow:hover 
{
  background-color: #1a1a1a;
  color: #ffda27;
}

.btn-outline 
{
  background-color: transparent;
  color: #ffda27;
  border: 2px solid #ffda27;
}

.btn-outline:hover 
{
  background-color: #ffda27;
  color: #000;
}

#oferta
{
    width: 100%;
    max-width: 980px;
    padding: 10px;
    margin-left: auto;
    margin-right: auto;
    background-color: #2f2f2f;
}

#nag
{
    text-align: left;
    margin-left: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    
}

a.kafelek
{
    text-decoration: none;
    
}

.kafelek 
{
  background-color: #111;
  color: #ffda27;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 0 20px rgba(255, 255, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
  height: 100%;
}

.kafelek:hover 
{
  transform: translateY(-6px);
  box-shadow: 0 0 25px rgba(255, 255, 0, 0.4);
}

.ikona
{
    font-size: 50px;
    color: #ffda27;
}

.kafelki-grid
{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    padding: 20px;
    align-items: stretch;
    justify-items: center;
}

.kafelki-grid h3
{
    text-transform: uppercase;
}

.kafelki-grid p
{
    color: #ccc;
}

@media (max-width: 700px) 
{
  .kafelki-grid 
  {
    grid-template-columns: 1fr; /* na małych ekranach 1 kolumna */
  }
}

@media (max-width: 768px) 
{
  h1 
  {
    font-size: 1.6rem;
  }

  .hero-buttons 
  {
    flex-direction: column;
    gap: 10px;
  }

  .kafelek 
  {
    padding: 16px;
  }
}

@media (max-width: 1024px) {
  h1 {
    font-size: 2rem;
  }

  .kafelki-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-buttons {
    flex-direction: row;
    gap: 12px;
  }
}

@media (max-width: 768px) {
  .kafelki-grid {
    grid-template-columns: 1fr;
  }

  .kafelek {
    padding: 16px;
    font-size: 0.95rem;
  }

  h1, h2 {
    font-size: 1.4rem;
  }

  nav {
    flex-direction: column;
    align-items: center;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons a {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 0.95rem;
  }

  .kafelek {
    padding: 12px;
  }

  header {
    padding: 10px;
    font-size: 0.9rem;
  }

  h1 {
    font-size: 1.2rem;
    line-height: 1.4;
  }

  footer {
    font-size: 0.85rem;
    text-align: center;
  }
}

@media (max-width: 768px) 
{
  .menu 
  {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem; /* mniejszy odstęp */
    padding: 0;
    margin: 0;
  }

  .menu li 
  {
    list-style: none;  /* usuwa kreski */
    width: 100%;
    text-align: center;
    margin: 0;          /* usuwa dodatkowe marginesy */
    border-left: none;
    border-right: none;
    gap: 0.5rem;
  }
  .menu li:first-child 
  {
    border-left: none;
  }

  .menu li a 
  {
    display: inline-block;
    padding: 8px 0;
    font-size: 16px;
  }
}

