@font-face {
  font-family: "Candara";
  src: url("../fonts/Candara.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Candara";
  src: url("../fonts/Candarab.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
}

html,
body {
  max-width: 100%;
  position: relative;
}

body {
  font-family: "Candara", sans-serif;
  margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: normal;
  font-size: 28px;
}

h1 {
  font-size: 32px;
}

h2 {
  font-size: 30px;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

p {
  margin: 0;
  padding: 0;
  font-size: 20px;
}

.container {
  max-width: 1800px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .container {
    max-width: 768px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 5px;
    padding-right: 5px;
  }
}

section {
  padding: 20px 0;
}

header {
  padding-top: 10px;
  position: relative;
}

.back-btn {
  background-color: white;
  padding: 10px;
  border: 1px solid black;
  border-radius: 15px;
  transition: all 0.5s ease;
}

.back-btn:hover {
  color: aliceblue;
  background-color: rgb(0, 0, 0);
  border-radius: 15px;
  transition: all 0.5s ease;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.nav-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 20px;
}

@media (max-width: 768px) {
  .nav-list {
    display: none;
  }

  .menu-title {
  margin-top: 5px;
}

.ld-logo-mobile {
width: 100%;
}

  .menu-mobile {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(255, 255, 255);
    z-index: 999;
    transform: translateX(100%); 
  transition: transform 0.5s ease-in-out;
  }

  .menu-container {
    padding: 0px 20px;
    margin: 0;
  }

  .menu-mobile.is-open {
    transform: translateX(0);
  }

  .menu-open-btn {
    display: block;
    width: 50px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    border: none;
  }

  .menu-open-icon {
    width: 50px;
  }

  .menu-close-btn {
    position: absolute;
    top: 0px;
    right: 0px;
    width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    border: none;
  }

  .menu-close-icon {
    width: 50px;
  }

  .menu-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  .menu-list-title {
   border-bottom: 1px solid #ccc;
   display: flex;
   align-items: center;
   justify-content: space-between;
   font-size: 40px;
   padding: 10px 0;
   margin: 0;
}

.mobile-menu-section {
  display: none;
}


.menu-item.active .mobile-menu-section {
  display: block;
}

.mobile-menu-arrow {
  width: 16px;
  height: auto;
  display: inline-block;
  transform: rotate(0deg);
  transition: transform 0.3s ease-in-out;
  backface-visibility: hidden;
}

.menu-item.active .mobile-menu-arrow {
  transform: rotate(180deg);
}

.menu-productions-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 26px;
}

}

@media (min-width: 769px) {
  .menu-open-btn {
    display: none;
  }

  .menu-mobile {
    display: none;
  }
  
}

.nav-list-left {
  justify-content: left;
}

.nav-list-right {
  justify-content: right;
  align-items: center;
}

.nav-list-item {
  padding: 10px 0px;
}

.mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  padding: 10px;
  background-color: #ffffff;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
  border-top: 2px solid #eee;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.4s ease;
  z-index: 999;

  display: flex;
}

.nav-list-item-submenu:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega-menu-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mega-menu-link {
  font-size: 20px;
}

.mega-menu-link:hover {
  color: rgb(124, 124, 124);
}

.mega-menu-picture {
  margin: auto;
  width: 600px;
  height: 300px;
  background-size: cover;
  transition: background-image 0.5s ease;
}


.is-active {
  border-bottom: 1px solid black;
}


.logo-container {
  margin-left: 20px;
}

.ld-logo {
  max-width: 280px;
}


.open-search-btn {
  border: 0;
  background-color: inherit;
}

.search-icon {
  width: 15px;
}

.search-item {
  position: relative;
}

.search-container {
  display: none;
  position: absolute;
  top: 200%;
  right: 100%;
  background-color: white;
  padding: 10px 30px 10px 10px;
}

.search-container.active {
  display: block;
}

.search-group {
  display: flex;
  gap: 10px;
}

.close-search-icon {
  position: absolute;
  right: 0px;
  top: 0px;
 width: 30px;
 height: 30px;
}

.search-input {
  font-size: 16px;
 min-width: 200px;
 width: 100%;
}

@media (max-width: 768px) {
  .search-input {
    font-size: 20px;
  }
}

.error-blink {
  outline: 1px solid red !important;
  animation: shake 0.5s ease-in-out;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-3px); }
  75% { transform: translateX(3px); }
}

.page-title {
  text-align: center;
  border-bottom: 1px solid black;
}

.hero-bg {
  display: flex;
  padding: 20px 0;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 90vh;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.orac-logo,
.noel-logo {
  position: relative;
  z-index: 10;
}

.orac-logo {
  margin: 0 35px 0 0;
}

@media (max-width: 768px) {
  .orac-logo {
    margin: 0 auto;
  }
}

.noel-logo {
  margin: 0 auto;
}

.hero-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.left-photo {
  background-image: url("../images/hero-light-bg.webp");
  z-index: 1;
}

.right-photo {
  background-image: url("../images/hero-bg.webp");
  z-index: 2;
  clip-path: polygon(100% 0, 100% 0, 100% 100%, 0% 100%);
}

.page-map {
  background-color: #e8e0d5;
  padding: 10px;
  margin-top: 20px;
}

.hero-text-container {
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-text-title {
  text-align: center;
  font-size: 38px;
}

.hero-text-par {
  max-width: 600px;
  text-align: center;
  font-size: 30px;
}

.hero-img {
  max-width: 100%;
}

.hero-text-pages {
  max-width: 1200px;
  text-align: center;
  font-size: 18px;
  margin: 0 auto 33px auto;
}

@media (max-width: 768px) {
  .hero-text-pages {
    margin: 0 auto 0 auto;
  }
}

.orac-logo {
  width: 100px;
}

.noel-logo {
  width: 200px;
}

.productions-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.productions-title {
  border-bottom: 1px solid black;
  width: 100%;
  text-align: center;
  padding-bottom: 10px;
}

.productions-list {
  display: flex;
  flex-direction: column;
}

.productions-img {
  width: 50%;
}

@media (max-width: 768px) {
  .productions-img {
    width: 100%;
  }
}

.productions-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  row-gap: 20px;
}

.productions-card-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 50%;
  text-align: center;
}

@media (max-width: 768px) {
  .productions-card-container {
    width: 100%;
  }
}

.productions-card-text {
  padding: 0px 40px 20px 40px;
}

.productions-card-btn {
  color: rgb(0, 0, 0);
  padding: 10px;
  border: 1px solid black;
  background-color: rgb(255, 255, 255);
  border-radius: 15px;
  transition: all 0.5s ease;
}

.productions-card-btn:hover {
  color: aliceblue;
  background-color: rgb(0, 0, 0);
  border-radius: 15px;
  transition: all 0.5s ease;
}

@media (max-width: 768px) {
  .productions-card {
    flex-direction: column;
    text-align: center;
  }

  .productions-card-container {
    order: 1;
  }

  .productions-img {
    order: 2;
    width: 100%;
  }
}

footer {
  background-color: #e8e0d5;
}

.footer-container {
  display: flex;
  justify-content: space-around;
  align-items: start;
  gap: 25px;
  padding: 20px 0;
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
}

.footer-logo {
  width: 150px;
}

@media (max-width: 768px) {
  .footer-logo {
    width: 100px;
  }
}

.footer-title {
  font-size: 22px;
}

.footer-clients-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media (max-width: 768px) {
  .footer-clients-container {
    display: none;
  }
}

.footer-clients-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-clients-link {
  font-size: 18px;
}

.footer-contacts-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media (max-width: 768px) {
  .footer-contacts-title {
    display: none;
  }
  .footer-about-title {
    display: none;
  }
}

.footer-tel-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-tel-item {
  display: flex;
}

.footer-tel-title {
  font-size: 18px;
}

.footer-tel-link {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.footer-icon {
  width: 20px;
  margin-left: 40px;
}

.footer-social-icon {
  width: 20px;
}

.footer-social-list {
  display: flex;
  gap: 10px;
}

.footer-about-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-about-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-about-text {
  font-size: 18px;
}

.back-to-top {
  position: fixed;
  bottom: 20px; 
  right: 20px;  
  width: 40px;
  height: 40px;
  background-color: #000; 
  color: #fff;
  border: none;
  border-radius: 50%; 
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 9999; 
  
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background-color: #333;
  transform: scale(1.05);
}