/* Глобальный CSS */

html, body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow-x: hidden;
  background-color:  #f0f0f0;
  box-sizing: border-box;
  scroll-behavior: smooth;

  font-family: 'Inter';
  font-style: normal;
  color: black;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.wrapper {
  display: flex;
  flex-direction: row;
  min-height: 100vh;
  width: 100%;
}

.content {
  flex: 1;
  padding: 40px;
  overflow-y: auto;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 10px;
}

.nav {
  display: flex;
  flex-direction: column; 
  align-items: center;    
  padding: 20px;
  border-bottom: 1px solid #ccc;
}

.nav_title {
  display: flex;
}

.nav_menu a {
  color: rgb(0, 0, 0);
  text-decoration: none; 
}

.nav_menu a:hover {
  color: rgb(19, 151, 30);
  text-decoration: underline;
}

.nav_menu {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  list-style: none;
  font-size: 20px;
  padding: 0;
  margin: 0;
}

/* Hero */

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  background-image: url('../assets/img/hero_image.jpg'); 
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.overlay {
  background-color: rgba(255, 255, 255, 0.6); 
  padding: 40px;
  border-radius: 12px;
  max-width: 900px;
  width: 90%;
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #000;
}

h1 span {
  font-weight: 900;
}

p {
  margin: 20px 0;
  font-size: 1.1rem;
  color: #333;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
}

.btn.primary {
  background-color: #000;
  color: white;
}

.btn.secondary {
  border: 1px solid #000;
  color: #000;
}

/* Contacts */

.contact {
  padding: 50px 20px;
  text-align: center;
}

.contact h2 {
  color: #88a400;
  font-size: 24px;
  margin-bottom: 30px;
}

.contact-form {
  max-width: 900px;
  margin: 0 auto;
}

.contact-form .row {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  flex: 1;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.contact-form textarea {
  width: 100%; /* растягиваем на всю ширину */
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  resize: vertical;
  box-sizing: border-box;
  margin-top: 10px;
}

.contact-form button {
  width: 100%; /* на всю ширину */
  background-color: #000;
  color: #fff;
  padding: 12px 0;
  border: none;
  margin-top: 20px;
  font-size: 16px;
  border-radius: 4px;
  cursor: pointer;
  transition: 0.3s;
}

.contact-form button:hover {
  background-color: #333;
}

/* Footer */

footer {
  background: #111;
  color: #fff;
  padding: 50px 20px;
  font-size: 14px;
}

.footer-columns {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 30px;
  margin-bottom: 30px;
}

.column {
  flex: 1 1 200px;
}

.column h4 {
  color: #88a400;
  margin-bottom: 10px;
}

.column ul {
  list-style: none;
  padding: 0;
}

.column ul li {
  margin: 6px 0;
}

.social-icons a {
  color: white;
  font-size: 18px;
  margin-right: 10px;
}

footer .copyright {
  text-align: center;
  color: #aaa;
  border-top: 1px solid #333;
  padding-top: 20px;
}
