/*
Theme Name: nePanikuok
Theme URI: https://ntpanikuok.eu
Author: nePanikuok
Description: Minimalist split-screen theme for a UX/UI/QA company
Version: 1.1
Text Domain: nepanikuok
*/

/* === style.css === */
body, html {
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
  color: #333;
}

.wrapper {
  display: flex;
  flex-direction: row;
/*  height: 100vh;*/
  overflow: hidden;
}

.left, .right {
  width: 50%;
  height: 100vh;
}

.left {
  background: url('hero.jpg') top center/cover no-repeat;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
  min-height: 100vh;
}

.left h1 {
  font-size: 3rem;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
  text-transform: uppercase;
}

.left p {
  font-size: 1.25rem;
  margin-top: 1rem;
}

.right {
  overflow-y: auto;
  background-color: #fff;
  padding: 3rem 2rem;
  box-sizing: border-box;
  color: #555;
  line-height: 1.6;
}

h2 {
  margin-top: 0;
}

form {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

input, textarea {
  padding: 0.75rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

button {
  padding: 0.75rem;
  background-color: #333;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.left {
  background: url('hero.jpg') top center/cover no-repeat;
  color: white;
  position: relative; /* важно */
  padding: 0;
  height: 100vh;
}

.left .branding {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  text-align: left;
  z-index: 10;
}

.left .branding h1 {
  font-size: 3rem;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0,0,0,0.7);
  text-transform: uppercase;
}

.left .branding p {
  font-size: 1.25rem;
  margin: 0;
  text-shadow: 0 1px 3px rgba(0,0,0,0.7);
}

/* Мобильная версия — если надо, уменьшим размер */
@media (max-width: 768px) {
  .wrapper {
    flex-direction: column;
  }

  .left {
    background: none;
    color: #333;
    width: 100%;
    padding: 1.5rem;
    height: auto;       /* <== добавлено */
    min-height: auto;
  }

  .left .branding {
    position: static;
    text-align: left;
  }

  .left .branding h1 {
    font-size: 2rem;
    text-shadow: none;
    color: #000;
  }

  .left .branding p {
    font-size: 1rem;
    color: #666;
    text-shadow: none;
  }

  .right {
    width: 100%;
    height: auto;
    padding: 2rem 1.5rem;
  }
}

.language-switcher {
  position: fixed;
  top: 1rem;
  right: 1rem;
  display: flex;
  gap: 0.5rem;
  z-index: 9999; /* Чтобы перекрывал всё */
  background: rgba(255, 255, 255, 0.8);
  padding: 0.3rem 0.5rem;
  border-radius: 4px;
}

.language-switcher a {
  color: #333;
  font-weight: bold;
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.language-switcher a:hover {
  opacity: 1;
}

.wide-field {
  width: 95% !important;
  box-sizing: border-box;
}

.wide-textarea {
  height: auto;
  width: 95% !important;
  min-height: 6em;
  resize: vertical; /* можно убрать, если не хочешь чтобы пользователь менял размер */
}