
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #adb1ae;
    color: #333;
    width: 100%;
    height: 100vh;
    
  
}



/* nawigacja */

#logo {   
    height: 80px;
    width: auto;
}
.nav-bar {
    position: sticky;
    top: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #303131;
    z-index: 999;
    
}
.conteiner-nav-content a {
    text-align: center;
    display: block;
    color: #f4f4f4;
    padding: 14px;
    text-decoration: none;
}
.conteiner-nav-content li {
    float: left;
    position: relative;
}
.conteiner-nav-content ul {
    display: inline-block;
    list-style: none;
    
}
.conteiner-nav-content li::before,
.conteiner-nav-content li::after,
.dropdown-content a::before, 
.dropdown-content a::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, #ff0000, #00ffff);
  transform: scaleX(0);
  transition: transform 0.4s ease-out;
  left: 0;
}

.conteiner-nav-content li::before,
.dropdown-content a::before {
  top: -5px;
  transform-origin: left;
}

.conteiner-nav-content li::after,
.dropdown-content a::after {
  bottom: -5px;
  transform-origin: right;
}

.conteiner-nav-content li:hover::before,
.conteiner-nav-content li:hover::after,
.dropdown-content a:hover::before, 
.dropdown-content a:hover::after {
  transform: scaleX(1);
}
.dropdown {
    position: relative;
    display: inline-block;
}
.dropdown-content {
    display: none;
    background-color: #2e3b4e;
    position: absolute;
    min-width: 160px;
    z-index: 1;
}
.dropdown-content a {
    float: none;
    display: block;
    text-align: left;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.media {
    height: 30px;
    width: auto;
    padding: 2px;
}
.conteiner-nav-media a {
    text-decoration: none;
}
/* main */

#about {
    text-align: center;
    padding: 3rem 1rem;
    background-color: #adb1ae;
}
  
#about h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}
  
#about p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.6;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}

/* slajder */ 

#slajder-produktow {
    overflow: hidden;
    max-width: 400px;
    margin: 2em auto;
    position: relative;
    border-radius: 10px;
    display: block;
  }
  
  .slajdy-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
  }
  
  .slajd {
    flex: 0 0 100%;
    box-sizing: border-box;
    background: white;
    padding: 1em;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    text-align: center;
  }
  
  .slajd img {
    width: 100%;
    max-height: 250px;
    object-fit: contain;
    border-radius: 10px;
  }
  
  .slajd h3 {
    margin: 0.5em 0 0;
  }
  
  .slajd p {
    font-weight: bold;
    color: #2e3b4e;
  }
  .slajd a {
    text-decoration: none;
    color: inherit;
  }
  
  #slajder-produktow h2 {
    text-align: center;

  }
  
  .slajder-przyciski {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
  }
  
  .slajder-przyciski button {
    background-color: rgba(0,0,0,0.5);
    border: none;
    color: white;
    padding: 10px;
    cursor: pointer;
  }

  /* produkcje */

  #produkcje {
    padding: 2em 1em;
    background-color: #fff;
    max-width: 1000px;
    max-hight: 450px;
    margin: 0 auto;
    border-radius: 10px;
  }
  
  #produkcje h2 {
    text-align: center;
    margin-top: 2rem;
  }
  
  #produkcja {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1em;
  }
  
  #produkcja img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  }
  
  #produkcja p {
    text-align: center;
  }

  /* cookies */

  #cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #2e3b4e;
    color: white;
    padding: 1em;
    display: none;
    z-index: 10000;
  }
  
  #cookie-banner .cookie-content {
    max-width: 800px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 0.5em;
  }
  
  #cookie-banner p {
    margin: 0;
  }
  
  #cookie-banner a {
    color: #a3d1ff;
  }
  
  #accept-cookies {
    align-self: flex-start;
    background-color: #4caf50;
    color: white;
    border: none;
    padding: 0.5em 1em;
    border-radius: 4px;
    cursor: pointer;
  }
  .menu-toggle {
    display: none;
    font-size: 2em;
    color: white;
    padding: 10px 20px;
    cursor: pointer;
  }

  /* stopka */

  footer {
    height: 80px;
    background: #303131;
    color: #fff;
    position: static;
    bottom: 0;
    width: 100%;
  }
  
  footer p {
    padding-top: 30px;
    text-align: center;
  }
  
  footer a {
    color: inherit;
    text-decoration: none;
  }
/* media */


#hamburger-icon {
    margin: auto 0;
    display: none;
    cursor: pointer;
}
#hamburger-icon div {
    width: 35px;
    height: 3px;
    background-color: white;
    margin: 6px 0;
    transition: 0.4s;
}
.open .mobile-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}
.mobile-menu {
    display: none;
    position: absolute;
    top: 65px;
    height: auto;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    background-color: #30343a;
    min-width: 150px;
    left: 50%;
    right: auto;
    text-align: center;
    transform: translate(-50%, 0);
   
}
.mobile-menu ul {
  float: left;
}

.open .bar1 {
    -webkit-transform: rotate(-45deg) translate(-6px, 6px);
    transform: rotate(-45deg) translate (-6px, 6px);
}
.open .bar2 {
    opacity: 0;
}
.open .bar3 {
    -webkit-transform: rotate(45deg) translate(-6px, -8px);
    transform: rotate(45deg) translate (-6px, -8px);
}
.mobile-menu li {
  margin-top: 10px;
  margin-bottom: 10px;
  text-decoration: none;
  padding: 0.5em;
  list-style: none;
  position: relative;
}
.mobile-menu a {
  text-decoration: none;
  color: white;
  padding: 5px 8px;
}
.mobile-menu li::before,
.mobile-menu li::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, #ff0000, #00ffff);
  transform: scaleX(0);
  transition: transform 0.4s ease-out;
  left: 0;
}
.mobile-menu li::before {
  top: -5px;
  transform-origin: left;
}
.mobile-menu li::after {
  bottom: -5px;
  transform-origin: right;
}
.mobile-menu li:hover::before,
.mobile-menu li:hover::after {
  transform: scaleX(1);
}

  @media only screen and (max-width: 758px) {
    .conteiner-nav-content {
        display: none;
    }
    #hamburger-icon {
        display: block;
        
    }
    .conteiner-nav-media {
        display: none;
    }
  }

/* index ^^^ */

#mail img {
  width: 210px;
  height: auto;
  padding: 7px;
}
#produkcje-kontakt {
  padding: 2em 1em;
  background-color: #fff;
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 10px;
}

#produkcja-kontakt {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1em;
}

#produkcja-kontakt img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

#produkcje-kontakt h2 {
  text-align: center;
  margin-top: 2rem;
}
#main-kontakt {
  margin-top: 10px;
}

/* kontakt ^^^ */

#koszyk2 {
  display: flex;
  flex-direction: column;
  align-items: center;
}
#przyciski {
  display: flex;
  flex-direction: row;
}
button {
  padding: 0.5em 1em;
  background-color: #303131;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
#przyciski button {
  margin: 1em;
}
.site {
  min-height: 100dvh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  grid-template-columns: minmax(0, 1fr);
}

/* koszyk ^^^ */

#produkt-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.funkcja_foto {
  max-width: 50%;
  height: auto;
  border-radius: 8px;
  box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.25);
}
.opis {
  margin-top: 1em;
}
.cena {
  font-size: 1.4em;
  color: #2e3b4e;
  margin-top: 1em;
}
.przycisk {
  margin-top: 2em;
}

/* opis produktu ^^^ */

#polityka_container {
  padding: 1em;
}

/* polityka ^^^ */

.produkty {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1em;
}
.produkt {
  background: #fff;
  padding: 1em;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  text-align: center;
  
}
.produkt img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}
.produkt h3 {
  text-align: center;
}
.nasze-produkty {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.produkt span {
  display: block;
  margin: 0.5em 0;
  font-weight: bold;
}
button {
  padding: 0.5em 1em;
  background-color: #303131;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
button:hover {
  background-color: #3e4f66;
}
.produkt a {
  text-decoration: none;
  color: inherit;
}

/* produkty breloki ^^^ */

#zamowienie-container,
#formularz {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 50px;
}
#formularz {
  background: #fff;
  padding: 1em;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  max-width: 1000px;
  margin: auto;
}
#formularz label {
  display: block;
  margin-top: 1em;
}
#formularz input,
#formularz textarea {
  width: 100%;
  padding: 0.5em;
  margin-top: 0.25em;
  border: 1px solid #ccc;
  border-radius: 4px;
    }
#formularz button{
  margin-top: 1em;
  padding: 0.5em 1em;
  background-color: #303131;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
#formularz button:hover {
  background-color: #3e4f66;
}



/* zamowienie ^^^ */
#dziekujemy-button {
  margin-top: 1em;
  padding: 0.5em 1em;
  background-color: #303131;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
#dziekujemy-button a {
  text-decoration: none;
  color: inherit;
}
#dziekujemy-button:hover {
  background-color: #3e4f66;
}
#dziekujemy-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
#dziekujemy-footer {
  text-align: center;
  height: 80px;
  background: #303131;
  color: #fff;
  position: absolute;
  bottom: 0;
  width: 100%;
}
