*{
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    box-sizing: border-box;
}
body{
    color: #ffffff;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.3)), url("../images/bg.png") no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', sans-serif;
    max-width: 1800px; margin: 0 auto;
    overflow-x: hidden;
    padding-top: 7vh;
}
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

img { 
  max-width: 100%; height: auto;
}
h1 {
  font-size: clamp(1.4em, 4vw, 2.2em);
}
h2 {
  font-size: clamp(0.7em, 2.5vw, 1.4em);
}
p {
  font-size: clamp(0.7em, 2vw, 1em);
}
.menu {
  width: clamp(220px, 40vw, 400px);
}
button{
    background: linear-gradient(90deg, #e7c141 0%, #D4AF37 100%);
    color: #ffffff;
    padding: 12px 16px;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    font-size: 1.1em;
}
button:hover{
    background: linear-gradient(90deg, #E5C56E 0%, #B8912C 100%);
    transform: scale(1.03);
}
.documents, .katalog{
    margin-bottom: 5vh;
    scroll-margin-top: 10vh;
}
header{
    padding: 0 2%;
    background-color: rgba(0, 0, 0, 0.3);
    transition: background-color 0.3s ease;
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    justify-content: space-between;
    align-items: center;
}
.header-left{
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 55%;
  text-align: center;
}
.logo{
    width: 15%;
    max-width: 100px;
    max-height: auto;
}
.logo-text{
    color: #ffee00;
    font-weight: bold;
    text-align: center;
}
#menu-btn{
    display: none;
}
.menu ul{
    list-style: none;
    margin: 1% 0;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    align-items: center;
    font-size: 1.1em;
}
.menu ul li a{
    color: #ffffff;
    text-decoration: none;
    padding: 10px 15px;
    font-weight: 800;
    transition: color 0.3s ease;
    text-align: center;
}
.menu ul li a:hover{
    background: linear-gradient(90deg, #F6D365 0%, #D4AF37 100%);
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
}
.hero-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  padding: 5% 5% 0;
}

.hero-form {
  background-color: rgba(26, 26, 26, 0.95);
  padding: 30px 20px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
  width: 100%;
  max-width: 400px;
  color: #fff;
  box-sizing: border-box;
  min-width: 280px;
  flex-grow: 1;
}

.hero-section .img-container {
  flex: 1 1 300px;
  max-width: 600px;
  min-width: 280px;
  align-items: center;
}

.hero-section .img-container img {
  width: 100%;
  height: auto;
  display: block;
}


.hero-form h2 {
  margin-bottom: 20px;
  color: #ffcc00;
}
.hero-form label {
  display: block;
  margin-top: 10px;
}
.hero-form input, .hero-form textarea{
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  margin-bottom: 15px;
  background: #333;
  border: 1px solid #555;
  color: #fff;
  border-radius: 5px;
  box-sizing: border-box;
}
.hero-form button[type="submit"] {
  width: 100%;
  padding: 10px;
  background-color: #ffcc00;
  color: #000;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
}
.hero-form button[type="submit"]:hover {
  background-color: #e6b800;
  transform: scale(1.03);
  transition: 0.3s;
}
.documents {
  background-color: #1f2937;
  color: #f9fafb;
  width: clamp(300px, 90%, 1000px);
  padding: 2rem 1.5rem;
  margin: 5rem auto;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  font-family: 'Segoe UI', sans-serif;
}
.documents h1 {
  font-size: 28px;
  color: #3b82f6;
  margin-bottom: 25px;
  border-bottom: 2px solid #3b82f6;
  padding-bottom: 10px;
}
.document-lists {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.document-column {
  flex: 1;
  min-width: 200px;
}

.document-column h2 {
  margin-bottom: 10px;
  font-size: 20px;
  color: #3b82f6;
}
.document-list {
  list-style: disc;
  padding-left: 20px;
  line-height: 1.6;
  color: #e5e7eb;
}
.katalog h1{
    text-align: center;
}
.katalog-blocks {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}
.katalog-block{
    background-color: #1a1a1a;
    border-radius: 10px;
    padding: 30px 20px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}
.katalog-block:hover {
  transform: translateY(-10px);
  cursor: pointer;
}
.katalog-block img{
  width: 100%;
}
.katalog-block h2{
  background-color: rgba(0, 0, 0, 0.6);
  padding: 0 3%;
}
.katalog-block h3{
  text-align: center;
  font-size: clamp(0.5em, 2.5vw, 1.5em);
  text-decoration: overline;
  text-decoration-thickness: 1px;
  text-decoration-color: #f1ee23;
}
.katalog-block ul{
    list-style: none;
}
.katalog-block ul li{
  margin-bottom: 15px;
}
.katalog-block i {
  font-size: 1em;
  color: #ffcc00;
}
.modal {
  display: none; 
  position: fixed; 
  z-index: 999; 
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto; 
  background-color: rgba(0,0,0,0.7);
}
.modal-content {
  background-color: #1a1a1a;
  margin: 5% auto;
  max-height: 90vh;
  overflow-y: auto;
  padding: 30px;
  border-radius: 10px;
  width: 90%;
  max-width: 400px;
  color: #fff;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.modal-content h2 {
  margin-bottom: 20px;
  color: #ffcc00;
}

.modal-content label {
  display: block;
  margin-top: 10px;
}

.modal-content input, .modal-content textarea{
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  margin-bottom: 15px;
  background: #333;
  border: 1px solid #555;
  color: #fff;
  border-radius: 5px;
}

.modal-content button[type="submit"] {
  width: 100%;
  padding: 10px;
  background-color: #ffcc00;
  color: #000;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.modal-content button[type="submit"]:hover {
  background-color: #e6b800;
}
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover {
  color: #fff;
}
footer{
    width: 100%;
    height: auto;
    padding: 0 5% 0.5% 5%;
    background-color: rgba(65, 65, 65, 0.2);
    text-align: center;
}
footer .main{
    display: flex;
    justify-content: space-around;
    align-items: center;
}
footer ul{
    justify-content: center;
}
footer .social {
    width: 15%;
}
footer .social img{
    width: 45%;
    max-height: 30px;
    max-width: 30px;
}
@media (max-width: 1340px) {
  main{
    font-size: 0.8em;
  }
  h1 {
    font-size: 1.8em;
  }
  h2 {
    font-size: 1.3em;
  }
  p{
    font-size: 0.8em;
  }
  .menu-container{
    position: relative;
    display: inline-block;
  }
  .menu{
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 40%;
    background-color: rgba(0, 0, 0, 0.95);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 80px 20px 20px;
    gap: 20px;

    transform: translateX(100%);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    z-index: 100;
    box-shadow: -5px 0 15px rgba(0,0,0,0.5);
  }
  .menu.active {
    transform: translateX(0);
    opacity: 1;
  }
  #menu-btn{
    position: fixed;
    display: block;
    z-index: 101;
    font-size: 30px;
    padding: 2%;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    top: 0;
    right: 0;
  }

  .menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 60%;
    margin-bottom: 340%;
  }
  .menu li {
    margin-bottom: 20%;
    text-align: center;
  }
  .menu a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.8em;
  }
  .katalog li{
    font-size: 0.8em;
  }
  footer .social img{
    max-width: 18px;
  }
}
@media (max-width: 880px) {
  main{
    font-size: 0.7em;
  }
  h1 {
    font-size: 1.6em;
  }
  h2 {
    font-size: 1.1em;
  }
  p{
    font-size: 0.7em;
  }
  .menu a{
    font-size: 1.3em;
  }
  .katalog li{
    font-size: 0.5em;
  }
  footer .social img{
    max-width: 18px;
  }
}
@media (max-width: 700px) {
  main{
    font-size: 0.7em;
  }
  h1 {
    font-size: 1.4em;
  }
  h2 {
    font-size: 1.1em;
  }
  p{
    font-size: 0.7em;
  }
  .menu{
    width: 45%;
  }
  .menu ul{
    width: 70%;
  }
  .menu a{
  font-size: 1.25em;
  }
  .menu ul {
    margin-bottom: 360%;
  }
  .katalog li{
    font-size: 0.4em;
  }
  footer .social img{
    max-width: 18px;
  }
}
@media (max-width: 520px){
  h1 {
    font-size: 1.1em;
  }
  h2 {
    font-size: 0.8em;
  }
  p{
    font-size: 0.4em;
  }
    .header-left p{
    display: none;
  }
  .header-left{
    justify-content: start;
  }
  .menu{
    width: 60%;
  }
  .menu ul {
    width: 70%;
  }
  .menu a{
  font-size: 1em;
  }
  .katalog li{
    font-size: 0.2em;
  }
  footer .social img{
    max-width: 10px;
  }
}