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

:root {
  --primary-color: #800000;
  --secondary-color: #999999;
  --text-light: white;
  --text-dark: black;
  --accent-color: #555;
}

@font-face {
  font-family: "Literaturnaya";
  src:
    url("/fonts/Literaturnaya-Book.woff2") format("woff2"),
    url("/fonts/Literaturnaya-Book.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

body {
  font-family: "Literaturnaya", serif;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: #f5f5f5;
}

/* HEADER & NAVIGATION */
.header {
  background-color: var(--primary-color);
  padding: 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-shrink: 0;
}

.logo {
  width: 50px;
  height: 50px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.logo:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.site-title h1 {
  font-size: 28px;
  color: var(--text-light);
  font-weight: bold;
  letter-spacing: 2px;
  margin: 0;
}

.nav-menu {
  display: flex;
  gap: 5px;
  align-items: center;
  flex-wrap: wrap;
}

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
}

.dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  background-color: rgba(0, 0, 0, 0.95);
  flex-direction: column;
  min-width: 200px;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  z-index: 1001;
}

.nav-item:hover .dropdown,
.dropdown:hover {
  display: flex;
}

.nav-link {
  display: inline-block;
  padding: 10px 18px;
  text-decoration: none;
  font-size: 14px;
  font-weight: bold;
  color: var(--text-light);
  background-color: transparent;
  border-radius: 6px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.nav-link:hover {
  background-color: var(--accent-color);
  transform: translateY(-2px);
}

.nav-link.active {
  background-color: var(--secondary-color);
  color: var(--text-light);
}

.dropdown-link {
  padding: 12px 18px !important;
  font-size: 13px !important;
  border-radius: 0 !important;
  margin: 0 !important;
  display: block !important;
  background-color: transparent !important;
  color: var(--text-light) !important;
  transition: background-color 0.3s ease;
}

.dropdown-link:first-child {
  border-radius: 6px 6px 0 0;
}

.dropdown-link:last-child {
  border-radius: 0 0 6px 6px;
}

.dropdown-link:hover {
  background-color: var(--accent-color) !important;
  padding-left: 22px !important;
}

/* HAMBURGER MENU */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  margin-left: auto;
}

.hamburger-icon {
  display: block;
  font-size: 28px;
  color: var(--text-light);
  font-weight: bold;
  line-height: 1;
}

.nav-menu.active {
  display: flex !important;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: var(--primary-color);
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* HERO SECTION */
.hero {
  width: 100%;
  height: 850px;
  background-image: url("../images/vsoldier.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: left;
  margin-bottom: 40px;
  filter: grayscale(100%);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.3);
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: left;
  color: whitesmoke;
}

.hero-title {
  font-size: 72px;
  font-weight: bold;
  margin-bottom: 15px;
  margin-left: 150px;
  font-family: "Literaturnaya", serif;
  letter-spacing: 3px;
  text-shadow: 2px -33px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
  font-size: 32px;
  color: whitesmoke;
  font-family: "Literaturnaya", serif;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  letter-spacing: 3px;
  margin-left: 150px;
}

/* MAIN CONTENT */
main {
  flex: 1;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 40px 20px;
}

/* SECTIONS */
.section {
  background-color: white;
  border-radius: 15px;
  padding: 50px 40px;
  margin-bottom: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.section-alt {
  background-color: var(--secondary-color);
  opacity: 0.9;
}

.section-content {
  max-width: 1000px;
  margin: 0 auto;
}

.section-narrow {
  max-width: 700px;
}

h2 {
  font-size: 32px;
  font-weight: bold;
  color: #333;
  margin-bottom: 30px;
  font-family: "Literaturnaya", serif;
  text-align: center;
}

.section-alt h2 {
  color: var(--text-light);
}

p {
  font-size: 14px;
  color: #333;
  font-family: "Literaturnaya", serif;
  line-height: 1.6;
  margin-bottom: 15px;
}

.section-alt p {
  color: var(--text-light);
}

a {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

a.normal {
  color: var(--text-light);
  font-weight: normal;
  display: inline;
}

a.normal:hover {
  color: #ffb3b3;
}

/* FEATURE CARDS */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.feature-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.feature-card:hover {
  background-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-5px);
}

.feature-card h3 {
  font-size: 18px;
  font-weight: bold;
  color: var(--text-light);
  margin-bottom: 15px;
  font-family: "Literaturnaya", serif;
}

.feature-card p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

/* ABOUT SECTION */
.about-wrapper {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
  align-items: start;
  margin-top: 30px;
}

.about-text {
  color: #555;
}

.about-text p {
  color: #555;
  font-size: 15px;
  line-height: 1.8;
}

.about-stats {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.stat-box {
  background: linear-gradient(135deg, var(--primary-color), #a00000);
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  color: white;
  box-shadow: 0 4px 15px rgba(128, 0, 0, 0.2);
}

.stat-number {
  display: block;
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 8px;
}

.stat-label {
  display: block;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* NEWSLETTER FORM */
.newsletter-form {
  margin-top: 30px;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
}

.form-group {
  flex: 1;
  min-width: 250px;
}

.form-group input {
  width: 100%;
  padding: 12px 18px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-family: "Literaturnaya", serif;
  background-color: rgba(255, 255, 255, 0.95);
}

.form-group input:focus {
  outline: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-submit {
  padding: 12px 35px;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: "Literaturnaya", serif;
  letter-spacing: 1px;
}

.btn-submit:hover {
  background-color: #a00000;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(128, 0, 0, 0.3);
}

/* NEWS GRID */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.news-card {
  background-color: #f9f9f9;
  padding: 25px;
  border-radius: 10px;
  border-left: 4px solid var(--primary-color);
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.news-card:hover {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  transform: translateY(-5px);
}

.news-date {
  display: inline-block;
  background-color: var(--primary-color);
  color: white;
  padding: 5px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: bold;
  margin-bottom: 15px;
  letter-spacing: 0.5px;
}

.news-card h3 {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  margin-bottom: 12px;
  margin-top: 0;
  font-family: "Literaturnaya", serif;
}

.news-card p {
  color: #666;
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 15px;
}

.read-more {
  color: var(--primary-color);
  font-weight: bold;
  font-size: 13px;
  transition: all 0.3s ease;
  display: inline-block;
}

.read-more:hover {
  color: #a00000;
  margin-left: 5px;
}

/* CTA SECTION */
.section-cta {
  text-align: center;
}

.cta-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 30px;
}

.btn-primary {
  display: inline-block;
  padding: 15px 35px;
  background-color: white;
  color: var(--primary-color);
  border: 2px solid white;
  border-radius: 8px;
  font-size: 14px;
  font-weight: bold;
  font-family: "Literaturnaya", serif;
  text-decoration: none;
  transition: all 0.3s ease;
  letter-spacing: 1px;
  cursor: pointer;
}

.btn-primary:hover {
  background-color: transparent;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
}

/* TABELLEN */
table {
  width: 100%;
  border-collapse: collapse;
}

td {
  padding: 12px 8px;
  text-align: left;
  color: var(--text-light);
  font-weight: normal;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

td:first-child {
  width: 30%;
}

/* FOOTER */
.footer {
  background-color: var(--primary-color);
  padding: 20px;
  margin-top: 40px;
  text-align: center;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
}

.footer-text {
  font-size: 16px;
  color: var(--text-light);
  font-weight: bold;
  margin-bottom: 5px;
}

.footer-copyright {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

iframe {
  border: 0;
}

/* RESPONSIVE DESIGN */
@media only screen and (max-width: 768px) {
  .hero {
    height: 300px;
    margin-bottom: 30px;
  }

  .hero-title {
    font-size: 36px;
    letter-spacing: 2px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .section {
    padding: 30px 20px;
    margin-bottom: 20px;
  }

  h2 {
    font-size: 24px;
  }

  main {
    padding: 20px 10px;
  }

  .header-container {
    flex-direction: row;
    gap: 0;
    padding: 15px 20px;
    position: relative;
  }

  .site-title h1 {
    font-size: 24px;
  }

  .hamburger {
    display: block;
  }

  .nav-menu {
    display: none;
    justify-content: flex-start;
    gap: 0;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--primary-color);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 999;
  }

  .nav-menu.active {
    display: flex !important;
  }

  .nav-menu {
    flex-direction: column !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    background-color: var(--primary-color) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    width: 100% !important;
    gap: 0 !important;
    border-radius: 0 !important;
  }

  .nav-item {
    width: 100%;
    display: block;
  }

  .nav-link {
    padding: 15px 20px !important;
    font-size: 14px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    display: block !important;
    transform: none !important;
  }

  .nav-link:hover {
    background-color: var(--accent-color) !important;
  }

  .dropdown {
    position: static !important;
    display: none !important;
    background-color: rgba(0, 0, 0, 0.5) !important;
    border-radius: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    z-index: auto !important;
    flex-direction: column !important;
    min-width: auto !important;
  }

  .nav-item.active .dropdown {
    display: flex !important;
  }

  .dropdown-link {
    padding: 12px 20px 12px 40px !important;
    font-size: 12px !important;
    border-radius: 0 !important;
    display: block !important;
  }

  .dropdown-link:first-child {
    border-radius: 0 !important;
  }

  .dropdown-link:last-child {
    border-radius: 0 !important;
  }

  .about-wrapper {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .btn-primary {
    width: 100%;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .form-group {
    min-width: 100%;
  }
}

@media only screen and (max-width: 480px) {
  .logo-section {
    gap: 10px;
  }

  .logo {
    width: 40px;
    height: 40px;
  }

  .site-title h1 {
    font-size: 20px;
  }

  h2,
  h3 {
    font-size: 18px;
  }

  p {
    font-size: 13px;
  }
}
