/* ====== RESET ====== */
html, body {
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
  color: #333;
  background: #f9f9f9;
 
}
body {
  display: flex;
  flex-direction: column;
}

*, *::before, *::after { box-sizing: inherit; }

/* ====== NAVBAR ====== */
.header{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  z-index: 1000;
}
.navbar {
  width: 100%;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
    position: relative;
  border-bottom: #c0af70 1px solid;
  background-color: rgba(0,0,0,0.4);

}

.imgNav{
    position: absolute;
    width: 100%;
    height: 100%;
   top: 0;
    left: 0;
    z-index: -1;
}
.nav-wrap {
  width: 100%;
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
   position: relative;
  z-index: 2;
  
}
.logo {
    display: flex;
    flex-direction: row;
    align-items: center;
    font-family: "Roboto", sans-serif;
  font-size: 34px;
  color: #fff;
  letter-spacing: 1px;
  margin-left: 10px;
}
.logoImg{
  width: auto;
  height: 70px;
}
.menu {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 25px;
}

.menu li a {
  position: relative;
  color: #fff;
  text-decoration: none;
  font-weight: 400;
  transition: color 0.3s;
  font-size: 20px;
}
.menu li a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-4px;
  width:0;
  height:2px;
  background:#c0af70;
  transition: width 0.3s ease;
}

.menu li a:hover::after{
  width:100%;
}
.navTog{
    color: #fff;
  text-decoration: none;
  font-weight: 400;
  transition: color 0.3s;
  font-size: 20px;
  background-color: transparent;
  border: none;
}
.navTog::after{
  content:"▾";
  margin-left:6px;
  font-size:14px;
  display:inline-block;     /* ЭТО ВАЖНО */
  transition: transform 0.3s ease;
}

.navTog.active::after{
  transform: rotate(180deg);
}
.menu li a:hover {
  color: #c0af70;
}
.contactIcons{
  display: flex;
  flex-direction: column;
  align-items: center;
}
.socialIcons {
  display: flex;
  align-items: center;
  gap: 5px;  
}
.lang{
  color: #c0af70;
  text-decoration: none;
  font-weight: 400;
}
.socialIcons a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;   
  margin: 0;    
}

.socialImg {
  width: 40px;
  height: 40px;
}
/* SMALL TOGGLE */
.dropdown {
  position: relative;
}
.dropdown-menu{
    position: absolute;
  top: 45px;
  left: 0;

  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;

  transition: 0.25s ease;
   
}
.smallNav{
    background-color: #282828;
    width: 280px;
    padding: 10px;
    padding-left: 40px;
    color: white;
    list-style-type: none;  
}
.smallNav:hover{
    color: #c0af70;
}
.navOpen{
    display:block;
    opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
/*END SMALL TOGGLE*/

/* --- Burger --- */
.hamb {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 18px;
  cursor: pointer;
  margin-right: 10px;
}

.hamb span {
  height: 3px;
  width: 100%;
  background: #c0af70;
  border-radius: 2px;
  transition: 0.3s;
}

.hamb.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamb.active span:nth-child(2) {
  opacity: 0;
}

.hamb.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  pointer-events: none;
  transition: 0.3s;
  z-index: 500; 
}

.overlay.active {
  opacity: 1;
  pointer-events: all;
}
main {
  background: #fff;
  padding-top: 28px;
  flex: 1;
}

.hero-container {
  width: 100%;
  height: auto;
  position: relative;

}
.imgHero {
  width: 100%;
  height: 100%;
  margin-top: 76px;
  position: absolute;
  inset: 0;
  


}
/* Полупрозрачный overlay (чтобы текст читался) */
.hero {
  position: relative;
  width: 100%;
  height: auto;
  inset: 0; /* top:0; right:0; bottom:0; left:0; */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
  color: #fff;
 z-index: 1;
    background: rgba(255, 245, 220, 0.3);
  backdrop-filter: brightness(1.05) saturate(0.85);

}

.mainContent{
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 70px;
      border: 1px solid #c0af70;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.hero h1 {
  font-size: 64px;
  margin-top: 50px;
  line-height: 1.05;
  font-weight: 700;
  font-family: "Inter", sans-serif;
  text-transform: uppercase;
  color: #c0af70;
}

.hero h2 {
  margin-top: 12px;
  font-size: 28px;
  font-weight: 400;
  color: #1E3E62;
  text-transform: uppercase;
}



/* ====== MAIN CONTENT ====== */
/* Отступ сверху для основного контента: важен, чтобы он начинался после hero */


section {
  width: 100%;
  margin: 0 auto;
  padding: 56px 20px;
}

.title {
  width: 80%;
  height: auto;
}
h3{
 
  color: #1E3E62;
    font-size: 24px;
    font-weight: 400;
  padding: 10px;
}
.btnUl{
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #c0af70;
   height: 40px;
   width: auto;
   background-color: transparent;
   margin-left: 100px;
   margin-right: 100px;
     color: #1E3E62;
    font-size: 22px;
    font-weight: 400;
  padding: 10px;
  margin-top: 10px;
  margin-bottom: 10px;
}
.btnUl:hover{
    background-color: #c0af70;
    color: #fff;
    cursor: pointer;
}

.btnText{
    display: none;
}
.btnTextOpen{
    display: block;
    
}
li{
    font-size: 18px;
    margin-bottom: 8px;
    line-height: 1.6;
    color: #1E3E62;
     text-align: left;
     margin-left: 100px;
}
.btnMore{
  color: #fff;
  background-color: #c0af70;
  font-size: 20px;
  text-decoration: none;
  padding: 10px;
  margin-top: 20px;
  margin-left: 100px;
   margin-right: 100px;
}
.btnMore:hover{
  background-color: #d1c7a0;
}
.white{
  color: #fff;
}


/* FOOTER */
footer { 
  background:#142238; 
  color:#fff; 
  text-align:center; 
  padding:22px 10px;
left: 0;
right: 0;
  bottom: 0;
  width: 100%;
  margin-top: auto;
 }
footer p {
  margin: 0;
  font-size: 16px;
}
.mainContent {
  max-width: 1100px;
  width: 100%;
  margin: 70px auto;
}

button,
.btnMore {
  margin-left: auto;
  margin-right: auto;
  max-width: 700px;
  width: 100%;
}

li {
  margin-left: 0;
  padding-left: 20px;
}

.hero h1,
.hero h2,
h3 {
  word-wrap: break-word;
}
/* ====== RESPONSIVE ====== */
@media (max-width: 1024px) {

  .hero h1 {
    font-size: 48px;
  }

  .hero h2 {
    font-size: 24px;
  }

  h3 {
    font-size: 20px;
  }

  .menu {
    gap: 15px;
  }

  .socialImg {
    width: 34px;
    height: 34px;
  }
  main{
    height: auto;
  }
}
@media all and (max-width: 820px) {
  .menu {
    position: absolute;
    top: 70px;
    right: 0;
    background: rgba(0,0,0,0.5);
    flex-direction: column;
    width: 200px;
    padding: 20px;
    transform: translateX(100%);
    transition: 0.3s;
    z-index: 11000;
  }
  .logo{
    font-size: 28px;
  }
  .menu.active {
    transform: translateX(0);
  }

  .hamb {
    display: flex;
  }

  .imgHero {
  height: auto;
  margin-top: 61px;
}
.hero-container {
  height: auto;

}
   .hero h1 {
  font-size: 50px;
  margin-top: 50px;
  margin-bottom: 20px;
  
}
#services{
 margin-top: 70px;
}
.blockText {
  width: 47%;
  margin: 2px;
  margin-top: 20px;
}
#about{
  height: 50vh;
}
.textAboutContent{
  padding: 10px;
}
 .borderGold{
   
    height: 3%;
   
  }
}
@media (max-width: 480px) {
  .hero h1 {
    font-size: 28px;
  }

  .hero h2 {
    font-size: 18px;
  }

  h3 {
    font-size: 16px;
  }

  button {
    font-size: 16px;
  }

  li {
    font-size: 15px;
  }

  footer p {
    font-size: 14px;
  }
}