body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #000;
  color: #fff;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem;
  background-color: #111;
}

.logo {
  font-size: 2rem;
  font-weight: bold;
  color: white;
}
.logo span {
  color: orange;
}

nav a {
  color: #fff;
  margin-left: 1.5rem;
  text-decoration: none;
  font-size: 1rem;
}

.main-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3rem 1rem;
  background-color: #111;
 
}

.main-section h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-align: center;
}

.main-section h2 {
  font-size: 1.2rem;
  color: #ccc;
  margin-bottom: 2rem;
  text-align: center;
}

.languages {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  max-width: 1000px;
  width: 100%;
}

#language-overlay {
  position: fixed;
  z-index: 9999;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #000;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.overlay-content {
  text-align: center;
  max-width: 800px;
  padding: 2rem;
}

#language-overlay h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.languages {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  padding: 1rem;
}

.lang {
  background: #1a1a1a;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-size: 1.1rem;
  transition: background 0.3s ease;
}
.lang:hover {
  background: #333;
}

.main-section .block img {
  width: 100%;
 
  height: auto;
  display: block;
  margin: 20px auto; 
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.block {
  max-width: 500px;
}
.block h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}
.block p {
  font-size: 1.1rem;
  line-height: 1.5;
}

.cta {
  margin-top: 2rem;
  display: inline-block;
  padding: 1rem 2rem;
  background-color: orange;
  color: black;
  font-weight: bold;
  border-radius: 5px;
  text-decoration: none;
}

.image-block img {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(255, 165, 0, 0.3);
}

form {
  background-color: #1a1a1a;
  padding: 2rem;
  border-radius: 10px;
  max-width: 500px;
}
form input,
form textarea {
  width: 100%;
  margin-bottom: 1rem;
  padding: 1rem;
  background: #000;
  color: #fff;
  border: 1px solid #444;
  border-radius: 5px;
}
form button {
  background-color: orange;
  color: black;
  padding: 1rem 2rem;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
}

footer {
  padding: 2rem;
  text-align: center;
  font-size: 0.9rem;
  background-color: #111;
  color: #888;
}
a {
  color: #ffa733;      
  text-decoration: none;   
  font-weight: 500;      
  transition: color 0.3s ease, border-bottom 0.3s ease;
  border-bottom: 2px solid transparent;
}

a:hover {
  color: #ffa733;          

}