

.page-id-1167, .page-id-1261, .page-id-1259 {
  position: relative;
  background-image: url('https://natalyun.com/wp-content/uploads/2025/04/bg-main.webp');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  min-height: 100vh;
  z-index: 0;
}

.page-id-1167::before,
.page-id-1261::before,
.page-id-1259::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  background: linear-gradient(0deg, rgba(0, 0, 0, 1.0) 0%, rgba(0, 0, 0, 0.1) 60%);
  pointer-events: none;
}

  
.wrapper, main {
  position: relative;
  z-index: 2;
}
  
  header.bg-light {
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
  }

 footer.bg-light {
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
  }


  
header.bg-light .navbar {
    background-color: transparent !important;
  }
  
  .page-id-1167 header.bg-light .navbar-brand,
  .page-id-1261 header.bg-light .navbar-brand,
  .page-id-1259 header.bg-light .navbar-brand,
  .page-id-1167 header.bg-light .navbar-nav .nav-link,
  .page-id-1261 header.bg-light .navbar-nav .nav-link,
  .page-id-1259 header.bg-light .navbar-nav .nav-link {
    color: white !important;
  }
  
  .page-id-1167 .navbar-toggler,
  .page-id-1261 .navbar-toggler,
  .page-id-1259 .navbar-toggler {
    color: #fff !important;
  }
  
  
  .full-width-container {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    position: relative;
    overflow: hidden;
  }
  
  .full-width-container img {
    width: 100%;
    display: block;
    object-fit: cover;
  }
  
  .full-width-banner {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    background-image: url('https://natalyun.com/wp-content/uploads/2025/04/bg-main.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-start;
    padding-top: 8%;
    padding-bottom: 8%;
    margin-bottom: 40px;
  }
  
  /* На мобільних — обмеження по ширині */
@media (max-width: 767.98px) {
  .full-width-banner {
    width: 100%;
    margin-left: 0;
    border-radius: 20px; /* опційно — закруглені краї */
  }
}


  .full-width-banner .container {
    display: flex;
    align-items: flex-start;
  }
  
  .page-title {
    color: #fff;
    font-size: clamp(2rem, 5vw, 4rem);
    margin: 0;
  }
  

  
  .contact-container {
     
      padding:0px 20px;

      color:#fff;

  }
  
  
  /* Мовний перемикач на десктопі справа */
  @media (min-width: 768px) {
    .lang-switcher {
      flex-direction: row;
      align-items: center;
    }
  }
  

  
  
  .page-id-1167 .navbar,
  .page-id-1261 .navbar,
  .page-id-1259 .navbar {
    --bs-nav-link-color: #fff !important;
    --bs-nav-link-hover-color: #fefd21 !important;
  }
  
  
  
  

  /* Лише для головної сторінки */
body.home .navbar-toggler {
    border: none;
    background: transparent;
  }

  body.home .h2 {display: none;}
  
  /* Іконка гамбургера — біла */
  body.home .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='white' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  }
  
  /* Наведення — жовтий */
  body.home .navbar-toggler:hover .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23fefd21' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  }
  

.navbar-toggler {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
  }
  
  /* Також прибирає контур при фокусі або активності */
  body.home .navbar-toggler:focus,
  body.home .navbar-toggler:active {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
  }

  
  
  
  /* Default: Extra-small devices such as small phones (less than 350px) */
  @media only screen and (min-width: 350px) {
      .logo {max-width:120px;}
     
      .navbar-collapse {background-color: #fff; border-radius: 20px; padding:20px; margin-top:10px;}
      .s-icon {width:20px; height:20px;}
      body {padding: 20px 0px;}
      .full-width-banner {height: auto;}

  }
  
  /* Small devices such as large phones (640px and up) */
  @media only screen and (min-width: 640px) {
      .logo {max-width:120px;}
      .lang-switcher {color:#fff;}
      .navbar-collapse {background-color: transparent; border-radius: none; padding:0px; margin-top:0px;}
      .s-icon {width:22px; height:22px;}
      body {padding: 20px 0px ;}
      .full-width-banner {height: auto;}
  }
  
  /* Medium devices such as tablets (768px and up) */
  @media only screen and (min-width: 768px) {
      .logo {max-width:150px;}
      .navbar-collapse {background-color: transparent; border-radius: none; padding:0px; margin-top:0px;}
      body.home .navbar {--bs-navbar-color: #fff!important;}
      .s-icon {width:22px; height:22px;}
      body {padding: 20px 0px ;}
      .full-width-banner {height: 350px;
  }
}
  
  /* Large devices such as laptops (1024px and up) */
  @media only screen and (min-width: 1024px) {
      .logo {max-width:150px;}
      .lang-switcher {color:#fff;}
      .navbar-collapse {background-color: transparent; border-radius: none; padding:0px; margin-top:0px;}
      body.home .navbar {--bs-navbar-color: #fff!important;}
      .s-icon {width:25px; height:25px;}
      body {padding: 20px 0px ;}
      .full-width-banner {height: 450px;}
  }
  
  /* Largest devices such as desktops (1280px and up) */
  @media only screen and (min-width: 1280px) {
      .logo { max-width:150px;}
      .lang-switcher {color:#fff;}
      .navbar-collapse {background-color: transparent; border-radius: none; padding:0px; margin-top:0px;}
      body.home .navbar {--bs-navbar-color: #fff!important;}
      .s-icon {width:25px; height:25px;}
      body {padding: 20px 0px ;}
      .full-width-banner {height: 450px;}
  }
  


  .contact-container {
    max-width: 500px;
    margin: 0 auto;
  }
  .contact-container .btn {
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 30px;
    transition: all 0.3s ease;
  }
  .contact-container .btn:hover {
    background-color: #fcd900;
    color: #000;
    border-color: #fcd900;
  }




  .social-icons {
    display: flex;
    justify-content: center;
    gap: 0px;
  }
  
  .social-icons a {

    color: #ffffff;
   
    border-radius: 50%;
    padding: 12px;
    transition: all 0.3s ease;
  }
  
  .social-icons a:hover {
    color: #f4c10f;
    border-color: #f4c10f;
  }
  





.page-id-1167,
.page-id-1261,
.page-id-1259 {
  position: relative;
  background-image: url('https://natalyun.com/wp-content/uploads/2025/04/bg-main.webp');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  min-height: 100vh;
  z-index: 0;
}

.page-id-1167::before,
.page-id-1261::before,
.page-id-1259::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  background: linear-gradient(0deg, rgba(0, 0, 0, 1.0) 0%, rgba(0, 0, 0, 0.1) 60%);
  pointer-events: none;
}

  
.wrapper, main {
  position: relative;
  z-index: 2;
}
  
  header.bg-light {
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
  }

 footer.bg-light {
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
  }


  
header.bg-light .navbar {
    background-color: transparent !important;
  }
  
  .page-id-1167 header.bg-light .navbar-brand,
  .page-id-1261 header.bg-light .navbar-brand,
  .page-id-1259 header.bg-light .navbar-brand,
  .page-id-1167 header.bg-light .navbar-nav .nav-link,
  .page-id-1261 header.bg-light .navbar-nav .nav-link,
  .page-id-1259 header.bg-light .navbar-nav .nav-link {
    color: white !important;
  }
  
  .page-id-1167 .navbar-toggler,
  .page-id-1261 .navbar-toggler,
  .page-id-1259 .navbar-toggler {
    color: #fff !important;
  }
  
  
  
  
  .contact-container {
     
      padding:0px 20px;

      color:#fff;

  }
  
  
  /* Мовний перемикач на десктопі справа */
  @media (min-width: 768px) {
    .lang-switcher {
      flex-direction: row;
      align-items: center;
    }
  }
  

  
  
  
  .page-id-1167 .navbar,
  .page-id-1261 .navbar,
  .page-id-1259 .navbar {
    --bs-nav-link-color: #fff !important;
    --bs-nav-link-hover-color: #fefd21 !important;
  }
  
  
  
  

  /* Лише для головної сторінки */
body.home .navbar-toggler {
    border: none;
    background: transparent;
  }

  body.home .h2 {display: none;}
  
  /* Іконка гамбургера — біла */
  body.home .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='white' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  }
  
  /* Наведення — жовтий */
  body.home .navbar-toggler:hover .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23fefd21' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  }
  

.navbar-toggler {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
  }
  
  /* Також прибирає контур при фокусі або активності */
  body.home .navbar-toggler:focus,
  body.home .navbar-toggler:active {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
  }

  
  
  
  /* Default: Extra-small devices such as small phones (less than 350px) */
  @media only screen and (min-width: 350px) {
      .logo {max-width:140px;}
     
      .navbar-collapse {background-color: #fff; border-radius: 20px; padding:20px; margin-top:10px;}
      .s-icon {width:20px; height:20px;}
      .lang-link {font-size: 12px;}
  }
  
  /* Small devices such as large phones (640px and up) */
  @media only screen and (min-width: 640px) {
      .logo {max-width:120px;}
      .lang-switcher {color:#fff;}
      .navbar-collapse {background-color: transparent; border-radius: none; padding:0px; margin-top:0px;}
      .s-icon {width:22px; height:22px;}
      .lang-link {font-size: 14px;}
  }
  
  /* Medium devices such as tablets (768px and up) */
  @media only screen and (min-width: 768px) {
      .logo {max-width:150px;}
      .navbar-collapse {background-color: transparent; border-radius: none; padding:0px; margin-top:0px;}
      body.home .navbar {--bs-navbar-color: #fff!important;}
      .s-icon {width:22px; height:22px;}
      .lang-link {font-size: 14px;}
      
  }
  
  
  /* Large devices such as laptops (1024px and up) */
  @media only screen and (min-width: 1024px) {
      .logo {max-width:150px;}
      .lang-switcher {color:#fff;}
      .navbar-collapse {background-color: transparent; border-radius: none; padding:0px; margin-top:0px;}
      body.home .navbar {--bs-navbar-color: #fff!important;}
      .s-icon {width:25px; height:25px;}
      .lang-link {font-size: 14px;}
      
  }
  
  /* Largest devices such as desktops (1280px and up) */
  @media only screen and (min-width: 1280px) {
      .logo { max-width:150px;}
      .lang-switcher {color:#fff;}
      .navbar-collapse {background-color: transparent; border-radius: none; padding:0px; margin-top:0px;}
      body.home .navbar {--bs-navbar-color: #fff!important;}
      .s-icon {width:25px; height:25px;}
      .lang-link {font-size: 14px;}
      
  }
  


  .contact-container {
    max-width: 500px;
    margin: 0 auto;
  }
  .contact-container .btn {
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 30px;
    transition: all 0.3s ease;
  }
  .contact-container .btn:hover {
    background-color: #fcd900;
    color: #000;
    border-color: #fcd900;
  }




  .social-icons {
    display: flex;
    justify-content: center;
    gap: 0px;
  }
  
  .social-icons a {

    color: #ffffff;
   
    border-radius: 50%;
    padding: 12px;
    transition: all 0.3s ease;
  }
  
  .social-icons a:hover {
    color: #f4c10f;
    border-color: #f4c10f;
  }

  .page-id-1167 footer,
  .page-id-1261 footer,
  .page-id-1259 footer {
    background-color: transparent; /* або залишити як є, якщо bg-light важливий */
    color: #fff;
  }
  
  .page-id-1167 footer p,
  .page-id-1261 footer p,
  .page-id-1259 footer p {
    color: #fff;
  }
  
  

/* ГОЛОВНА СТОРІНКА (усі мовні версії) */
.page-id-1167 .lang-switcher .lang-link,
.page-id-1259 .lang-switcher .lang-link,
.page-id-1261 .lang-switcher .lang-link,
.page-id-1167 .lang-switcher-front .lang-link,
.page-id-1259 .lang-switcher-front .lang-link,
.page-id-1261 .lang-switcher-front .lang-link {
  font-weight: 500;
  color: white;
  text-decoration: none;
}

.page-id-1167 .lang-switcher .lang-link:hover,
.page-id-1259 .lang-switcher .lang-link:hover,
.page-id-1261 .lang-switcher .lang-link:hover,
.page-id-1167 .lang-switcher-front .lang-link:hover,
.page-id-1259 .lang-switcher-front .lang-link:hover,
.page-id-1261 .lang-switcher-front .lang-link:hover {
  color: #ffcc00;
}


/* ІНШІ СТОРІНКИ */
.lang-switcher .lang-link {
  font-weight: 500;
  color: #000;
  text-decoration: none;
}
.lang-switcher .lang-link:hover {
  color: #003366;
}

.lang-switcher, .lang-switcher-front {
  gap: 0.1rem;
  align-items: center;
}

.page-id-1167 .navbar-toggler,
.page-id-1259 .navbar-toggler,
.page-id-1261 .navbar-toggler {
  display: none !important;
}

 
.page-id-1167 main,
.page-id-1259 main,
.page-id-1261 main {
  background-color: transparent;
  z-index: 2;
  position: relative;
}

  
 
/* Portfolio Page */

.portfolio-section {padding-left: 0px!important;padding-right: 0px!important;}
.portfolio-carousel {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: visible; /* було hidden */
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;

  padding-bottom: 30px; /* додаємо місце для тіні */
}

.portfolio-carousel::-webkit-scrollbar {
  display: none; /* для Chrome, Safari та Opera */
}



.portfolio-card {
  position: relative;
  width: 85%;
  min-width: 320px;
  border-radius: 20px;
  background-color: #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: box-shadow 0.3s ease;
  cursor: pointer;
  flex: 0 0 auto;
  margin-right: 1.5rem; /* відступ між елементами */
}

@media (min-width: 768px) {
  .portfolio-card {
    width: 48%; /* планшети */
  }
}

@media (min-width: 1024px) {
  .portfolio-card {
    width: 45%; /* десктопи */
  }
}

@media (min-width: 1440px) {
  .portfolio-card {
    width: 45%;
  }
}



.portfolio-card:last-child {
  margin-right: 0;
}



.portfolio-card:hover {
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.portfolio-card .img-wrapper {
  position: relative;
  width: 100%;
  padding-top: 100%; /* 1:1 aspect ratio */
  border-radius: 20px 20px 0 0;
  overflow: hidden;
}

.portfolio-card img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px 20px 0 0;
}

.portfolio-card .description {
  padding: 15px 15px 5px 15px;
  font-size: 0.9rem;
  font-weight: 500;
}



/* Попап */
.portfolio-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 10px;
}

.portfolio-popup.show {
  display: flex;
}

.portfolio-popup-content {
  background: #fff;
  padding: 20px;
  max-width: 95%;
  max-height: 95%;
  overflow-y: auto;
  border-radius: 20px;
  position: relative;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.portfolio-popup-content .close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  color: #000;
  background: none;
  border: none;
}

/* Посилання в меню — чіткий чорний колір, без підкреслень */
header .navbar-nav .menu-item a {
  color: #000 !important;
  text-decoration: none !important;
  font-weight: 500;
  padding: 8px 12px;
  transition: color 0.3s ease;
}

/* Наведення */
header .navbar-nav .menu-item a:hover,
header .navbar-nav .menu-item a:focus {
  color: #003366 !important;
  text-decoration: none !important;
}

/* Активне меню */
header .navbar-nav .current-menu-item > .menu-item a,
header .navbar-nav .current_page_item > .menu-item a {
  color: #003366 !important;
  font-weight: 600;
}



.natalyun-banner {
  position: relative;
  background-image: url('https://natalyun.com/wp-content/uploads/2025/04/bg-main.webp');
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 100px 0 80px;
  text-align: left;
  z-index: 1;
}

.natalyun-banner .container {
  position: relative;
  z-index: 2;
}

.natalyun-banner .page-title {
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.natalyun-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 100px;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDBweCIgdmlld0JveD0iMCAwIDEyODAgMTQwIiBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxnIGZpbGw9IiNmZmZmZmYiPjxwYXRoIGQ9Ik0xMjgwIDMuNEMxMDUwLjU5IDE4IDEwMTkuNCA4NC44OSA3MzQuNDIgODQuODljLTMyMCAwLTMyMC04NC4zLTY0MC04NC4zQzU5LjQuNTkgMjguMiAxLjYgMCAzLjRWMTQwaDEyODB6IiBmaWxsLW9wYWNpdHk9Ii4zIi8+PHBhdGggZD0iTTAgMjQuMzFjNDMuNDYtNS42OSA5NC41Ni05LjI1IDE1OC40Mi05LjI1IDMyMCAwIDMyMCA4OS4yNCA2NDAgODkuMjQgMjU2LjEzIDAgMzA3LjI4LTU3LjE2IDQ4MS41OC04MFYxNDBIMHoiIGZpbGwtb3BhY2l0eT0iLjUiLz48cGF0aCBkPSJNMTI4MCA1MS43NmMtMjAxIDEyLjQ5LTI0Mi40MyA1My40LTUxMy41OCA1My40LTMyMCAwLTMyMC01Ny02NDAtNTctNDguODUuMDEtOTAuMjEgMS4zNS0xMjYuNDIgMy42VjE0MGgxMjgweiIvPjwvZz48L3N2Zz4=");
  background-repeat: no-repeat;
  background-size: cover;
  z-index: 1;
  pointer-events: none;
}

main {
  background-color: #fff;
  z-index: 2;
  position: relative;
}

.m-header {margin: 0 2rem 4rem 2rem; color:#003366;}





