:root {
  --bg-main: #101213;
  --bg-header: #000000;
  --bg-footer: #000000;
  --text-primary: #ffffff;
  --text-secondary: #d3d3d3;
  --accent-yellow: #ffba00;
  --btn-green: #a0cf2f;
  --btn-green-hover: #a8e319;
  --btn-red: #d64e4e;
  --btn-red-hover: #f56767;
  --btn-yellow: #f5ba23;
  --btn-yellow-hover: #f4bb29;
  --border-color: #3f3f3f;

  --font-main: 'Roboto', sans-serif;
  --content-width: 1000px;
}

/* Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body,
h1,
h2,
h3,
p,
ul,
figure {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-main);
  color: var(--text-secondary);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 4px;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  color: var(--bg-header);
}

.btn-login {
  background-color: var(--btn-green);
}

.btn-login:hover {
  background-color: var(--btn-green-hover);
}

.btn-reg {
  background-color: var(--btn-red);
  color: white;
}

.btn-reg:hover {
  background-color: var(--btn-red-hover);
}

.btn-hero {
  background-color: var(--btn-yellow);
  font-size: 18px;
  padding: 15px 40px;
  border-radius: 4px;
}

.btn-hero:hover {
  background-color: var(--btn-yellow-hover);
}

/* Header */
.site-header {
  background-color: var(--bg-header);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
}

.container {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 20px;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.site-logo img {
  height: 40px;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

.main-nav a {
  color: var(--text-primary);
  font-weight: 500;
  transition: color 0.2s;
}

.main-nav a:hover {
  color: var(--accent-yellow);
}

.header-aside {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-switcher {
  display: flex;
  gap: 5px;
}

.lang-switcher img {
  height: 14px;
  width: 22px;
  cursor: pointer;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  padding: 5px;
}

.mobile-menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 1px;
}

/* Hero */
.hero {
  position: relative;
  text-align: center;
  padding: 80px 20px;
  background: url('../wp-content/plugins/revslider/public/assets/assets/dummy.png') no-repeat center center/cover;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  /* Dim background image */
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin: 0 auto;
}

.hero h1,
.hero .hero-title {
  font-size: 40px;
  color: var(--text-primary);
  margin-bottom: 30px;
  line-height: 1.2;
  font-weight: 700;
}

/* Page Header */
.page-header {
  margin: 40px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 20px 0;
}

.page-header h1 {
  font-size: 24px;
  color: var(--text-secondary);
}

/* Main Content Typography */
.content-area {
  padding-bottom: 60px;
}

.content-area h2 {
  font-size: 30px;
  color: var(--accent-yellow);
  margin: 40px 0 20px;
}

.content-area h3 {
  font-size: 24px;
  color: var(--text-primary);
  margin: 30px 0 15px;
}

.content-area p {
  margin-bottom: 20px;
}

.content-area ul {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
}

.content-area ul li {
  margin-bottom: 8px;
}

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
  background-color: transparent;
  color: var(--text-primary);
}

table td {
  padding: 10px;
  border: 1px solid var(--border-color);
}

table tr:nth-child(even) {
  background-color: rgba(255, 255, 255, 0.05);
}

/* Images and Galleries */
figure {
  margin-bottom: 30px;
}

figure.wp-block-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 15px;
}

figure.wp-block-gallery img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}

/* FAQ */
.schema-faq-section {
  background: var(--bg-header);
  border: 1px solid var(--border-color);
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 4px;
}

.schema-faq-question {
  display: block;
  font-size: 18px;
  font-weight: bold;
  color: var(--accent-yellow);
  margin-bottom: 10px;
}

/* Footer */
.site-footer {
  background-color: var(--bg-footer);
  padding: 40px 0 20px;
  border-top: 1px solid var(--border-color);
  text-align: center;
}

.footer-links {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-secondary);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--text-primary);
}

.copyright {
  font-size: 14px;
}

/* Responsive */
@media (max-width: 959px) {
  body {
    padding-top: 60px;
  }

  .site-header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
  }

  .header-inner {
    height: 60px;
    padding: 0 10px;
  }

  .site-logo img {
    height: 28px;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background-color: var(--bg-header);
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
    z-index: 999;
  }

  .main-nav.active {
    display: block !important;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .header-aside {
    gap: 8px;
  }

  .lang-switcher {
    flex-direction: column;
    gap: 2px;
  }

  .lang-switcher img {
    height: 10px;
    width: 16px;
  }


  .hero h1,
  .hero .hero-title {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .content-area h2 {
    font-size: 24px;
  }

  .content-area h3 {
    font-size: 20px;
  }

  .btn-login,
  .btn-reg {
    padding: 6px 8px !important;
    font-size: 12px !important;
    font-weight: bold !important;
    border-radius: 4px;
    white-space: nowrap;
    color: #ffffff !important;
    border: none !important;
  }

  .btn-login {
    background-color: var(--btn-green) !important;
  }

  .btn-reg {
    background-color: var(--btn-red) !important;
  }
}

/* Contacts and Forms */
.contact-form-wrap {
  max-width: 600px;
  margin: 40px 0;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  color: var(--text-primary);
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 12px;
  background-color: var(--bg-header);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  color: var(--text-primary);
  font-family: var(--font-main);
  transition: border-color 0.2s;
}

.form-control:focus {
  outline: none;
  border-color: var(--btn-green);
}

textarea.form-control {
  resize: vertical;
}

.btn-submit {
  width: 100%;
  padding: 12px;
  background-color: var(--btn-green);
  color: var(--bg-header);
  font-weight: bold;
  border: none;
  cursor: pointer;
  border-radius: 4px;
  transition: background-color 0.2s;
}

.btn-submit:hover {
  background-color: var(--btn-green-hover);
}

.form-notice {
  margin-top: 20px;
  padding: 15px;
  border-radius: 4px;
  display: none;
}

.form-notice-success {
  background-color: rgba(160, 207, 47, 0.1);
  border: 1px solid var(--btn-green);
  color: var(--btn-green-hover);
  display: block;
}