html{
    box-sizing: border-box;
    height: 100%;
    width: 100%;
    scroll-behavior:smooth;
}
*,
*::after,
*::before{
    box-sizing: inherit;
}
body, h1, h2, p, ul {
  margin: 0;
  padding: 0;
}
body {
  font-family: "Inter", sans-serif;
font-weight: 400;
  font-style: normal;
  line-height: 1.6;
  background: #f9f9f9;
  color: #333;
  text-transform: uppercase;
}
.navbar{
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
   
}
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
  background:#d1c7a0;
  color: #142238;
  position: relative;
}
.logo{
    width: 120px;
    height: auto;
    margin-left: 10px;
}
header .slogan {
  font-size: 14px;
  margin: 5px 0;
}
header .contacts a {
  color: white;
  text-decoration: none;
  margin: 0 5px;
}
.icons{
    width: 35px;
    height: 35px;
    border: 1px solid #142238;
    border-radius: 8px;
}
.btnNav{
    background: #142238;
    color: white;
    padding: 15px;
    border-radius: 5px;
    text-decoration: none;
    margin:10px;
}
.hamburger {
  display: none;
  font-size: 26px;
  cursor: pointer;
}
.bar {
    display: block;
    height: 4px;
    width: 30px;
    background: #142238;
    transition: all 0.3s ease;
    margin: 5px;
}
#nav-menu {
  background:#142238;
    text-align: center;
}
#nav-menu ul {
  display: flex;
  justify-content: center;
  list-style: none;
  flex-wrap: wrap;
}
#nav-menu li {
  margin: 10px 15px;
}
#nav-menu a {
  color:#c0af70;
  text-decoration: none;
  position: relative;
  padding-bottom: 4px;
}
#nav-menu a::after {
  content: "";
  position: absolute;
  left: 50%;              
  bottom: -6px;           
  width: 0;               
  height: 2px;            
  background-color: currentColor;
  transition:
    width 0.3s ease,
    left 0.3s ease,
    opacity 0.3s ease;    
  opacity: 0;
}
#nav-menu a:hover::after {
  width: 100%;
  left: 0;
  opacity: 1;
}
#nav-menu.active {
  display: block;
}
.hero-container{
    margin-top: 100px;
    width: 100%;
    height: 100vh;
    background: url('banderasMer.png') no-repeat center/cover;
    position: relative;
}
.hero {
  
  color: #f4f4f4;;
  text-align: center;
    height: 100%;
  width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
   position: absolute;
   inset: 0;
   background: linear-gradient( rgba(0,0,0,0.7), rgba(0,0,0,0.7) );   
}
.hero h1 {
  font-size: 70px;
  font-family: "Roboto", sans-serif;
  text-shadow: #333 2px 2px 4px;
}
.hero-subtitle {
  margin-top: 10px;
  font-size: 28px;
  border: none;
}
.hero .btn {
  display: inline-block;
  margin-top: 50px;
  padding: 10px 20px;
  background: #c0af70;
  color: #142238;
  text-decoration: none;
  border-radius: 5px;
}
.hero .btn:hover {
  background: #d1c7a0;
}

/* ABOUT / TEAM / CONTACT */
#about, .team, .contact, .services {
  padding: 40px 20px;
  text-align: center;
}
#about h2, .services h2, .team h2, .contact h2 {
  margin-bottom: 20px;
  color: #142238;
  text-align: center;

}
.about-content{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}
.blockText{
   border: 1px solid #dce0e5;
    border-radius: 8px;
    box-shadow: 0 0 5px rgba(0,0,0,0.1);
    padding: 20px;
    margin: 10px;
    width: 80%;
    margin: 20px;
}
.blockText:hover{
    box-shadow: 0 0 15px rgba(0,0,0,0.3);
    transform: translateY(-5px);
    transition: 0.3s;
    border: 2px solid #c0af70;
}
.about-text{
    font-size: 16px;
    line-height: 1.5;
    margin: 10px 0;
    text-transform: none;
    color: #6f7b8a;
}
    h3{
        color: #142238;
        margin-bottom: 10px;
        text-transform: none;
    }
.contact form {
  margin-top: 20px;
}
.contact input, .contact textarea {
  width: 90%;
  max-width: 70%;
  margin: 10px auto;
  display: block;
  padding: 10px;
  border: 1px solid #aaa;
  border-radius: 4px;
}
  .contact {
    max-width: 80%;
    margin: 80px auto;
    padding: 40px;
    background: #fff;
    color:#142238;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
    font-family: "Helvetica Neue", Arial, sans-serif;
  }
  .contact h2 {
    text-align: center;
    color: #142238;
    margin-bottom: 20px;
  }
  .contact p {
    text-align: center;
    margin-bottom: 20px;
    color: #6f7b8a;
  }
  .contact form {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .contact input,
  .contact textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #444;
    border-radius: 6px;
    background: #fff; 
    color: #023e8a;
    font-size: 15px;
    font-family: "Helvetica Neue", Arial, sans-serif;
    text-transform: uppercase;
  }

  .contact input::placeholder,
  .contact textarea::placeholder {
    color: #6f7b8a;
  }
  .contact button {
    background:#142238;
    color: #fff;
    padding: 12px;
    font-size: 23px;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
    font-family: "Helvetica Neue", Arial, sans-serif;
    text-transform: none;
    width: 70%;
   
  }

  .contact button:hover {
    background:#c0af70;
  }
  #response {
    text-align: center;
    margin-top: 15px;
    font-weight: bold;
  }
footer {
  background: #142238;
  color: white;
  text-align: center;
  padding: 15px;
  font-size: 14px;
}
@media (max-width: 768px) {
  /* Гамбургер показываем */
  .hamburger {
    display: block;
  }
  #nav-menu {
    display: none;
    text-align: center;
  }
  #nav-menu li:hover{
    color: #0077b6;
  }
  #nav-menu.active {
    display: block;
  }
  #nav-menu ul {
    flex-direction: column;
    padding: 10px 0;
  }
  #nav-menu li {
    margin: 10px 0;
  }
.hamburger.active .bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active .bar:nth-child(2) {
  opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
  transform: rotate(-45deg) translate(7.5px, -7.5px);
}
 header {
    justify-content: space-around;
  }
  .hero-container{
    margin-top: 150px;
    width: 100%;
    height: 50vh;
}
  .hero {
    padding: 60px 20px;
  }
  .hero h1 {
    font-size: 26px;
  }
  .hero p {
    font-size: 14px;
  }
  .services .grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  header {
    padding: 15px;
  }
  header .logo {
    font-size: 18px;
  }
  .hero {
    padding: 40px 15px;
  }
  .hero h1 {
    font-size: 22px;
  }
  .hero p {
    font-size: 13px;
  }
  .hero .btn {
    padding: 8px 15px;
    font-size: 14px;
  }
}