body {
    margin: 0;
    padding: 0;
    background-color: #04003F; /* Виправлено значення кольору */
    font-family: "Noah Regular", sans-serif;
    max-width: 100%; /* Максимальна ширина сторінки */
    margin: auto; /* Центрування сторінки по горизонталі */
    overflow-x: hidden; /* Забороняє горизонтальний скрол */
}
.section {
    width: 100%;
    margin: 0 auto;
}
a{
    text-decoration: none;  /* Видаляє підкреслення */
  color: inherit; 
}
 header {
    height: 650px; 
    max-width: 100%; 
    background-image: url('images/1-st.png');
    background-size: cover; 
    background-position: top center; /* Позиція зображення — зверху по центру */
    display: flex;
    justify-content: left;
    align-items: center;
    text-align: left;
     padding-left: 20px;
}
.navigation {
    width: 100%;
    height: 48px;
    background-color: white;
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000; /* Високий пріоритет */
}
/* Styling for the hamburger menu icon */
.hamburger {
    display: none;
    font-size: 1.3em;
    user-select: none;
}
.burger-menu{justify-content: space-between;
width: 85%;}
.burger-menu .nav-box{
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 75%;
    display: flex;
}
.burger-menu a{
    display: flex;
    list-style: none;
    grid-gap: 20px;
    justify-content: space-between;
    padding: 15px 15px;
 }
#checkbox_toggle {
    display: none; /* Сховати checkbox */
}
.checkbox-toggle {
        display: none;
    }
.navigation .logo {
    width: 122px;
    height: 28px;
    background-image: url('images/logo.svg');
    background-size: contain;
    background-repeat: no-repeat;
    margin-left: 20px;
}

.navigation .call-us {
    display: flex; /* Робимо контейнер флексбоксом */
    align-items: center; /* Центруємо текст по вертикалі */
    justify-content: center; /* Центруємо по горизонталі (не обов'язково) */
    background-color: #04003F;
    color: white;
    width: 154px;
    height: 48px;
    text-align: center;
    cursor: pointer;
}
.navigation .call-us a {
  text-decoration: none;  /* Видаляє підкреслення */
  color: inherit;
     background-color: #04003F;
    font-size: 16px;
    font-weight: bold;
    align-content: center;
    margin: auto;
    padding: 0;
}
.dropdown {
    position: relative;
    cursor: pointer;
    padding: 15px 12px;
    border-radius: 5px;
    display: inline-block;
     color: black;
}
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 10%;
    background-color: white;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    padding: 15px;
    min-width: 80px;
    color: black;
}
.dropdown:hover .dropdown-menu, 
.dropdown:focus-within .dropdown-menu {
    display: block;
    color: black;
}
    .burger-menu {
    display: flex;
    list-style: none;
    grid-gap: 20px;
    justify-content: space-between;
 }
.hamburger {
    display: none;
    font-size: 1.5em;
    cursor: pointer;
    background-color: #04003F;
    color: white;
    padding: 8px 16px;
    border-radius: 24px;
    text-align: left;
}
.header-content {
    color: white;
    height: 100px;
    justify-content: space-between;
    width: 700px;
    margin-left: 20px;
    margin-top: 40px;
    }
.header-content h1 {
    font-size: 76px;
    font-weight: auto;
    background: linear-gradient(to right, #FFFFFF, #0056b3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.header-content p {
    font-size: 16px;
}
h1, p {
    margin: 0;  /* Прибирає відступи з усіх боків */
    padding: 0; /* Прибирає внутрішні відступи */
}
h1{
    text-transform: uppercase; 
    letter-spacing: [2px];
}
/*--------------------fabrics------------------------*/
.fabrics {
    width: 90%;
    margin: auto;
    padding: 20px 0;
    font-family: Noah;
    color: white;
    margin-bottom: 10px;
}
h2 {
    font-size: 36px;
    margin-bottom: 20px;
    text-align: center;
}
.fabric-item p {
    font-size: 10px;
    margin-bottom: 2px;
    text-transform: uppercase;
}
.fabric-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 20px;
    justify-content: center;
    margin: 40px 0;
}
.fabric-item {
    width: 232px;
    height: 256px;
}

.fabric-item p {
    margin-top: 10px;
    font-size: 14px;
    font-weight: bold;
}
 .overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); /* Затемнення на 70% */
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}
.overlay-content {
    height: 538px;
    width: 328px;
    position: relative;
    background: white;
    padding: 20px;
    border-radius: 10px;
    text-align: left;
}
.overlay img {
    width: 254px;
    height: 218px;
    height: auto;
    border: 10px solid white; /* Рамка на 10px згори і побокам */
    margin: 10px 25px;
}
.overlay p {
    margin-bottom: 10px; 
    font-size: 16px;
    color: black;
}
/*------------------Footer--------------------------*/
footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    background-color: white;
    color: black;
    padding: 20px;
}
.footer-block1 {
    flex: 1;
    text-align: left;
}
.footer-block1 p {
    margin: 5px 0;
    padding-left: 350px;
}
.footer-block1 a {
    color: black;
    text-decoration: none;
}
.footer-block2 {
    flex: 1;
    text-align: right;
}
.footer-block2 a {
    margin: 0 10px;
    font-size: 32px;
    color: black;
    text-decoration: none;
}
.footer-block2 i {
    height: 32px;
    width: 32px;
    display: inline-block;
}
.colortext {
    width: 100%;
    text-align: center;
    margin-top: 10px;
    font-size: 14px;
}
/*-------------- Адаптація для телефонів------------- */
@media screen and (min-device-width: 0px) and (max-device-width: 430px){
* {
    max-width: 100%;
    box-sizing: border-box;
}
    html{
    max-width: 100%;
}
body{ 
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}
.section {
    width: 100%;
    margin: 0;
    padding: 0;
 }
header {
    padding: 0;
    margin: 0;
    width: 100%;
    height: 560px;
    background-size: cover;
    
}
.header-content{
    text-align: left;
    margin: 15px;
}
.header-content h1{
    font-size: 36px;
    line-height: 1.2;
} 
.navigation {
    width: 100%;
}
.navigation .logo {
    width: 80px;
    height: 34px;
}
.hamburger {
    display: block;
    margin: 0;
    border-radius: 0;
    width: 70px;
    justify-content: center;
    text-align: center;
}
.burger-menu {
    display: none;
    flex-direction: column;
    align-items: center;
    position: absolute;
    top: 48px; /* або 100%, якщо menu всередині .navigation */
    left: 0;
    width: 100%;
    background-color: #04003F;
    z-index: 999;
}

.checkbox-toggle:checked + .hamburger + .burger-menu {
    display: flex; /* З flex, щоб працював flex-direction */
}

.burger-menu a,
.burger-menu #lin,
.burger-menu .dropdown,
.burger-menu .dropdown-menu,
.burger-menu .call-us{
   padding: 16px;
    color: white;
    width: 100%;
    text-align: center;
    border-top: 1px solid #ffffff22;
    background-color: #04003F;
    text-decoration: none;
    font-size: 16px;
}
/*----------------------fabrics-----------------------*/
.fabrics {
    width: 100%;
    margin: 40px 0;
    font-family: Noah;
    color: white;
    text-align: center;
}
.fabric-item {
    margin: 40px auto;
    width: 80%;
    height: 130px;
}    
.fabric-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 10px;
    justify-content: center;
    margin: 15px 0;
}
.overlay {
    position: fixed;
    max-width: 100%;
    max-height: 100%;
    background-size: contain; /* щоб зображення не розтягувалося */
    z-index: 1000;
    max-width: 100%;
    margin: 0;   
}
.overlay-content {
     height: 100%;
    width: 100%;
    background: white;
    padding: 20px;
    border-radius: 10px;
    text-align: left;
}
.overlay img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease-in-out;
    margin: 40px 0;
}    
/*----------------------footer------------------------*/
.footer-block1{
    justify-content: flex-start;
}  
footer {
    width: 100%;
    height: auto;
    display: block;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 20px;
}
.footer-block1 {
    margin: 40px auto;
    text-align: left;
}
.footer-block1 p {
    margin: 15px 0;
    padding-left: 20px;
}
.footer-block2 {
    text-align: left;
    width: 100%;
    justify-content: space-between;
}
.footer-block2 a {
    margin: 0 20px;
    font-size: 24px;
    padding: 0 2px;
}
.footer-block2 i {
    height: 32px;
    width: 32px;    
}
.colortext {
    padding-top: 40px;
    text-align: left;
    margin-top: 10px;
    font-size: 14px;
}
}