/* Базові стилі */
body, html {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Стилі для меню */
.black-menu {
    background: linear-gradient(135deg, #000000, #000000);
    padding: 15px;
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed; 
    top: 0;
    width: 100%;
    z-index: 1000;
    opacity: 0.9;
}

.logo {
    display: flex;
    align-items: center;
}

.logo h1 {
    margin: 0;
    font-family: 'Arial', sans-serif;
    font-size: 42px;
}

.logo-link {
    text-decoration: none;
    color: white;
}

.menu-options {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex; /* елементи в ряд */
    align-items: center;
}

 .menu-options li {
    margin-right: 30px;
}

nav ul li:last-child {
    margin-right: 50px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 20px;
    text-transform: uppercase;
    font-family: 'Arial', sans-serif;
    font-weight: bold;
    position: relative;
}

nav ul li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0;
    height: 2px;
    background-color: #ccccff;
    transition: width 1s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

nav ul li a:hover {
    color: #ccccff;
}

.company-logo {
    width: 80px;
    height: auto;
    margin-top: -10px;
    margin-bottom: 0px;
}



.menu-toggle {
    display: none;
    font-size: 30px;
    color: white;
    cursor: pointer;
    margin-right: 40px;
}
  .mobile-menu {
    display: none;
  }

/* Стилі для мобільного меню */





/* Стилі для презентації */
#presentation {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    z-index: -1;
}
   #presentation_mob {
     display: none;
   }

.white-space {
    display: flex;
    justify-content: space-between;
    padding: 2.8cm 60px;
}

.rectangle {
    width: calc((100% - 150px) / 3);
    height: 474px;
    background-color: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    margin: 0 10px;
}

.rectangle img {
    width: 100%;
    height: 6cm;
    object-fit: cover;
}

.rectangle .text {
    position:absolute;
    bottom:0;
    left:0;
    width:100%;
    padding:10px;
    background-color:rgba(255, 255, 255, 0.7);
}

.rectangle .text h2 {
    margin: 12px 12px 0;
    font-size: 22px;
    color: #333;
}

.rectangle .text p {
    margin-top: 10px;
    font-size: 18px;
    color: #333;
    margin-bottom: 60px;
    padding-right: 20px;
    padding-left: 10px;
}

.rectangle .button {
    position:absolute;
    bottom:20px;
    display: flex;
    justify-content: center;
    margin-left: 15%;
    font-family: Arial, sans-serif;
}




.rectangle .button a {
    text-decoration: none;
    color: #000000;
    font-size: 17px;
    font-weight: 400;
    border: 1px solid #000000;
    padding: 5px 15px;
    border-radius: 10px;
    text-align: center;
    transition: color 0.3s, background-color 0.3s, padding 0.3s;
}

.rectangle .button a:hover {
    background-color: #FFFFFF;
    color: #ABABAB;
    border-color: #ABABAB;
}

.rectangle:first-child {
    margin-right: 15px;
}

.rectangle:last-child {
    margin-left: 15px;
}

.full-height-section {
    background-color: #121118;
    padding: 60px 20px;
    display: flex;
    align-items: center;
}

.content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
}

.text {
    flex: 1;
    padding-right: 20px;

}

.text h2 {
    font-size: 60px;
    margin-bottom: 30px;
    color: #4b4a4e;
    font-family: Baron Neue, sans-serif;
    font-weight: bold;
}

.text p {
    font-size: 19.6px;
    line-height: 1.6;
    color: #ffffff;
    font-family: Helvetica;
}

.intro-button {
    display: inline-block;
    font-size: 28px;
    color: #ffffff;
    text-decoration: none;
    padding: 10px 20px;
    background-color: transparent;
    border: 2px solid #ffffff;
    border-radius: 5px;
    margin-top: 20px;
}

.intro-button:hover {
    color: #d8d8d8;
    border-color: #d8d8d8;
}

.photo {
    flex: 1;
}

.photo img {
    width: 80%;
    height: auto;
}

.white-space2 {
    display: flex;
    justify-content: space-between;
    padding: 120px;
}

.custom-rectangle {
    width: calc((100% - 80px) / 2);
    height: 100vh;
    background-color: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    border-radius: 0px;
    overflow: hidden;
    position: relative;

}
.transparent-block{
  display: none;
}

.custom-rectangle img {
    width: calc(100% - 30px);
    height: 250px;
    position:absolute;
    top:0;
    left:0;
    right:0;
    margin: 15px;
    object-fit: cover;
}

.custom-text {
    position:absolute;
    bottom:0;
    left:0;
    width:calc(100% - 20px);
    padding:10px;
    background-color:rgba(255, 255, 255, 0.7);
}

.custom-text h2 {
    margin: 12px;
    font-size: 22px;
    color: #333;
    font-family: Arial;
    margin-top: -240px;
}

.custom-text p {
    margin: 10px;
    font-size: 18px;
    color: #333;
}

.custom-button {
    position:absolute;
    bottom:20px;
    left:50%;
    transform:translateX(80%);
}

.custom-button a {
    display:inline-block;
    text-decoration:none;
    color:#ff6b81;
    border:2px solid #ff6b81;
    padding:10px 30px;
    border-radius:5px;
    background-color:transparent;
    transition: background-color 0.3s, color 0.3s;
}

.custom-button a:hover {
    background-color:#ff6b81;
    color:white;
}

.section-title {
    font-size: 60px;
    text-align:center;
    margin-top: 60px;
    color: #4F5057;
    font-family: Calibri;
    font-weight: bold;
    margin-bottom: -40px;
}

.button-container {
    text-align:center;
    padding-top:20px;
    position:relative;
    padding:40px 0;
    text-align:center;
    width:100%;
}

.more-articles-button {
    display:inline-block;
    background-color:#ff5a7f;
    color:white;
    text-decoration:none;
    padding:10px 20px;
    border-radius:5px;
    font-weight:bold;
    font-size:26px;
    transition: background-color 0.3s;
    position:absolute;
    left:50%;
    transform:translateX(-50%);
    margin-top:-80px;
    font-family:Helvetica;
    padding:15px 60px;
}

.more-articles-button:hover {
    background-color:#ff2a4f;
}

.grey-section {
    background-color: #FFEFD5;
    display: flex;
    justify-content: space-between;
    padding: 40px;
    position: relative;
    height: 18cm;
    overflow: hidden;
}

.left-content {
    width: 50%;
    padding: 30px;
    position: relative;
}

.title {
    font-size: 32px;
    color: black;
    font-family: Arial, sans-serif;
    font-weight: bold;
    margin-top:-10px;
}

.description {
    font-size: 18px;
    margin-right: 170px;
    color: black;
    margin-bottom: 5px;
    margin-top: px;
    text-indent: 20px;
}


.link-button {
    color: #6D351A;
    text-decoration: none;
    font-size: 35px;
    font-family: Arial, sans-serif;
    font-weight: bolder;
    cursor: pointer;
}


.right-cut {
    width: 50%;
    clip-path: polygon(10% 0, 100% 0%, 100% 100%, 0% 100%);
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    background-color: #f0f0f0;
    z-index: 2;
}

.background-image {
    position: fixed;
    right: 0;
    top: 0;
    height: 100%;
    width: auto;
    background-image: url('path-to-your-image.jpg');
    background-size: cover;
    background-position: center;
    z-index: 1;
    opacity: 0.7;
}

.block2mob {
  display: none;
}

/* Основний блок */
.block2mob {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100vh; /* Висота блоку рівна висоті видимого екрану */
}

/* Фонове зображення */
.image-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -3;
}

.image-overlay img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Підганяє зображення під розмір контейнера */
}

/* Текстовий блок */
.text-content {
    position: relative;
    z-index: 2;
    background-color: rgba(210, 180, 140, 0.9); /* Світло-коричневий фон з прозорістю */
    color: #000;
    padding: 20px;
    height: 100%;
    overflow-y: auto; /* Додає вертикальний скрол при переповнені тексту */
}

/* Косий зріз */
.text-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit; /* Наслідує фоновий колір з батьківського елемента */
    clip-path: polygon(0 0, 100% 0, 0 100%); /* Косий зріз зліва */
    z-index: -1;
}

.transparent-block {
    background-color: rgba(0, 0, 0, 0.8); /* Напівпрозорий білий фон */
    color: #ffffff; /* Білий текст */
    padding: 30px;
    border-radius: 10px; /* Закруглені кути */
    width: 80%;
    max-width: 400px;
    margin: 20px auto; /* Центрування блоку */
    text-align: left; /* Вирівнювання тексту по центру */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Легка тінь */
    margin-top: -50vh;
}

/* Заголовок */
.titlemob {
    font-size: 26px;
    margin: 0 0 20px;
}

/* Текст */
.textmob {
    font-size: 17px;
    margin: 0 0 10px;
}

.buttonmob {
    display: inline-flex; /* Змінюємо на inline-flex для кращого вирівнювання контенту */
    align-items: center; /* Вертикальне вирівнювання тексту */
    justify-content: center; /* Горизонтальне вирівнювання тексту */
    background-color: rgba(0, 0, 0, 0.8); /* Колір фону кнопки */
    color: #fff; /* Колір тексту кнопки */
    padding: 12px 24px; /* Відступи з усіх боків */
    text-decoration: none;
    border-radius: 5px; /* Закруглені кути кнопки */
    font-size: 18px; /* Розмір шрифту */
    font-weight: bold; /* Жирний текст */
    transition: background-color 0.3s; /* Плавний перехід кольору фону при наведенні */
    box-sizing: border-box; /* Включає паддінги і бордери у загальний розмір елемента */
    height: auto; /* Автоматична висота для адаптації до тексту */
    min-height: 50px; /* Мінімальна висота кнопки для зручності натискання */
}

/* Кнопка при наведенні */
.buttonmob:hover {
    background-color: rgba(0, 0, 0, 0.6); /* Світліший колір фону при наведенні */
}









/* Стилі для футера */
footer {
    background-color:#121118;
    color:white;
    padding:40px 30px;
    text-align:center;
    position:relative;
}

.footer-content {
    display:flex;
    justify-content:space-between;
    align-items:center;
    width:100%;
    font-size:20px;
}

.contact-info, .social-media {
    flex:1;
    text-align:left;
}

.contact-info p, .contact-info a {
    display:block;
    margin-bottom:15px;
    color:white;
    text-decoration:none;
    margin-left:30px;
}

.social-media {
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%, -50%);
}

.social-media a {
    font-size:24px;
    margin:0 10px;
    color:white;
}

.contact-button {
    background-color:#8781FF;
    color:white;
    padding:10px 20px;
    text-decoration:none;
    border-radius:5px;
    font-weight:bold;
    position:absolute;
    margin-left: 22px;
    bottom:40px;
}

.contact-button:hover {
    background-color:#0056b3;
}

.copy rights {
    font-size:14px;
    color:#ccc;
    position:absolute;
    bottom:10px;
    width:100%;
    text-align:center;
}









/* Медіа-запити для адаптивності */
 @media(max-width: 1200px) {
    .white-space, .white-space2 {
        flex-direction: column;
        align-items: center;
        padding: 60px 20px;
    }

    .rectangle {
        width: 100%;
        margin: 10px 0;
    }
}

@media (max-width: 992px) {
    .white-space, .white-space2 {
        padding: 40px 20px;
    }


    .content {
        flex-direction: column;
    }

    .text, .photo {
        padding: 30px;
    }
}


@media (max-width: 960px) {
  .menu-toggle {
      display: block;
  }

  .mobile-menu {
      display: none;
      flex-direction: column;
      position: fixed;
      top: 0;
      right: 0;
      height: 100%;
      width: 250px;
      background: rgba(0, 0, 0, 0.9);
      z-index: 1001;
      padding: 20px;
  }

  .mobile-menu.open {
      display: flex;
  }

  .mobile-menu nav ul {
      display: flex;
      flex-direction: column;
  }

  .mobile-menu nav ul li {
      margin: 20px 0;
  }

  .mobile-menu nav ul li a {
      color: white;
      font-size: 20px;
  }

  .close-btn {
      font-size: 30px;
      color: white;
      cursor: pointer;
      align-self: flex-end;
  }
  .nav { display: none;
  }
  .menu-options {
    display: none;
  }
   .black-menu {
     height: 45px;
   }

  }


@media (max-width: 768px) {
    .full-height-section {
        padding: 20px;
    }

    .content {
        max-width: 100%;
    }

    .text h2 {
        font-size: 40px;
    }

    .intro-button {
        font-size: 20px;
        padding: 8px 16px;
    }
}

@media (max-width: 465px) {
    .logo h1 {
        font-size: 24px;
    }

    .nav ul li a {
        font-size: 16px;
    }

    .intro-button {
        font-size: 18px;
        padding: 6px 12px;
    }

    .black-menu {
      height: 32px;
    }

    .footer-content{
      height: 400px!important;
    }

  .company-logo {
    width: 50px;
    height: 50px;
    }

  #presentation {
    display: none;
  }
  #presentation_mob {
    display: block;
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;

  }

  .rectangle {
      width: 100%;
      margin: 10px 10px;

  }
  .button{
    margin-bottom: 4px;
  }

  .photo {
    display: none;
  }
  .Menu2 {
    list-style-type: none;
  }
  .section-title {
    margin-bottom: 2px;
  }

  .custom-rectangle {
    height: 600px;
    width: 95%;
    margin-bottom: 45px;
      }
  .custom-text {
    margin-bottom: 40px;
  }
  .custom-button {
    right: 32vw;
    bottom: -25px;
    margin-top: 15px;
  }


  .footer-content {
      display:flex;
      justify-content:space-between;
      align-items:center;
      width:100%;
      font-size:20px;
      height: 30vh;
  }

  .contact-info {
      flex:1;
      text-align:center;
      margin-top: -160px;
      position: relative;
      left: -7%;
  }

  .contact-info p, .contact-info a {
      color:white;
      text-decoration:none;
  }

  .social-media {
      position:absolute;
      top:45%;
      left: 0;
      margin-left: 56%;
      width: 60%;
  }

  .social-media a {
      font-size:24px;
      color:white;
  }

  .contact-button {
    background-color:#8781FF;
    color:white;
    text-decoration:none;
    border-radius:5px;
    font-weight:bold;
    position:absolute;
    bottom:35%;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 50%;
  }
  .grey-section {
    display: none;

  }
  .block2mob {
    display: block;
    height: 50vh;
  }
  .section-title {
    color: #ffffff;
  }
  .transparent-block{
    display: block;
  }
  .button a{
    top: -3vh;
    position: absolute;
    margin-left: 56vw;
    width: 45vw;

  }

}

@media (max-width: 390px) {
  .custom-text {
    margin-bottom: 40px;
    top: 79%;
  }

  .custom-rectangle {
    height: 670px;
    width: 95%;
    margin-bottom: 45px;
      }


}
