/* 80s Minimalist / Retro-Futuristic Bureaucracy Design System */

:root {
  --bg-color: #000000;
  --text-color: #e0e0e0;
  --accent-color: #ffb000;
  /* Amber */
  --secondary-color: #00ff41;
  /* Phosphor Green */
  --grid-color: #333333;
  --border-color: #e0e0e0;
  --font-main: 'Courier New', Courier, monospace;
  --font-heading: 'Helvetica', 'Arial', sans-serif;
  --spacing-unit: 20px;
}

* {
  box-sizing: border-box;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: var(--font-main);
  line-height: 1.6;
  margin: 0;
  padding: 0;
  background-image:
    linear-gradient(var(--grid-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
  background-size: 40px 40px;
}

a {
  color: var(--text-color);
  text-decoration: none;
  border-bottom: 1px solid var(--accent-color);
  transition: all 0.3s ease;
}

a:hover {
  background-color: var(--accent-color);
  color: var(--bg-color);
}

/* Layout Containers */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--spacing-unit);
  border-left: 1px solid var(--grid-color);
  border-right: 1px solid var(--grid-color);
  background-color: rgba(0, 0, 0, 0.9);
}

.inner {
  padding: var(--spacing-unit);
}

/* Header */
#header {
  border-bottom: 2px solid var(--text-color);
  padding: var(--spacing-unit) 0;
  margin-bottom: var(--spacing-unit);
  background-color: var(--bg-color);
  position: sticky;
  top: 0;
  z-index: 100;
}

#header .inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 var(--spacing-unit);
}

#logo a {
  border: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

#logo svg {
  fill: none;
}

/* Navigation */
.nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: var(--spacing-unit);
}

.nav li {
  display: inline-block;
}

.nav a {
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 1px;
  padding: 5px 10px;
  border: 1px solid transparent;
}

.nav a:hover,
.nav .cur a {
  border: 1px solid var(--text-color);
  background-color: transparent;
  color: var(--text-color);
  box-shadow: 4px 4px 0 var(--accent-color);
}

/* Language Switcher */
.lang-switch {
  margin-left: 20px;
  border-left: 1px solid var(--grid-color);
  padding-left: 20px;
}

.lang-switch select {
  background-color: var(--bg-color);
  color: var(--text-color);
  border: 1px solid var(--text-color);
  padding: 5px 10px;
  font-family: var(--font-main);
  font-size: 0.9rem;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  outline: none;
}

.lang-switch select:hover {
  border-color: var(--accent-color);
  box-shadow: 0 0 5px var(--accent-color);
}

.lang-switch select:focus {
  border-color: var(--secondary-color);
  box-shadow: 0 0 8px var(--secondary-color);
}

.lang-switch option {
  background-color: var(--bg-color);
  color: var(--text-color);
  padding: 5px;
}


/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 0;
  border-bottom: 1px solid var(--grid-color);
  padding-bottom: 10px;
  margin-bottom: 20px;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
  color: var(--accent-color);
}

p {
  margin-bottom: 1.5em;
  text-align: justify;
}

#footer p {
  text-align: center;
}

/* Components */
.section-title {
  text-align: center;
  margin-bottom: 40px;
  border: 2px solid var(--text-color);
  padding: 20px;
  background-color: var(--bg-color);
}

.section-title h3 {
  border: none;
  margin: 0;
  font-size: 1.8rem;
}

.section-title h4 {
  border: none;
  margin: 0;
  font-size: 0.9rem;
  color: var(--secondary-color);
  font-family: var(--font-main);
}

/* Buttons */
.btn,
button {
  background: transparent;
  border: 2px solid var(--text-color);
  color: var(--text-color);
  padding: 10px 20px;
  font-family: var(--font-main);
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
}

button:hover {
  background-color: var(--text-color);
  color: var(--bg-color);
}

/* Footer */
#footer {
  border-top: 2px solid var(--text-color);
  padding: 40px 0;
  margin-top: 60px;
  text-align: center;
  font-size: 0.9rem;
}

#links ul {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}

/* Specific Page Styles */

/* Carousel */
.slides {
  border: 2px solid var(--text-color);
  margin-bottom: 40px;
  position: relative;
}

.owl-dots {
  text-align: center;
  margin-top: 10px;
}

.owl-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: var(--grid-color) !important;
  margin: 0 5px;
  border-radius: 0;
}

.owl-dot.active {
  background: var(--accent-color) !important;
}

/* Grid Layouts for Content */
.news ul {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.news li {
  border: 1px solid var(--grid-color);
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.05);
}

.news .thumbnail img {
  width: 100%;
  height: auto;
  filter: grayscale(100%) contrast(1.2);
  transition: filter 0.3s;
  border: 1px solid var(--grid-color);
}

.news .thumbnail:hover img {
  filter: grayscale(0%) contrast(1);
}

.news .title a {
  border: none;
  font-size: 1.2rem;
  font-weight: bold;
}

/* Contact */
.contact .info {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  border: 1px solid var(--text-color);
  padding: 40px;
}

.contact p {
  margin: 10px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact i {
  color: var(--accent-color);
}

/* Responsive */
@media (max-width: 768px) {
  #header .inner {
    flex-direction: column;
    gap: 20px;
  }

  .nav ul {
    flex-direction: column;
    text-align: center;
  }

  .news ul {
    grid-template-columns: 1fr;
  }
}

/* Utility */
.clear {
  clear: both;
}

/* Owl Carousel Core Styles */
.owl-carousel {
  display: none;
  width: 100%;
  -webkit-tap-highlight-color: transparent;
  position: relative;
  z-index: 1;
}

.owl-carousel .owl-stage {
  position: relative;
  -ms-touch-action: pan-Y;
  touch-action: pan-y;
  -moz-backface-visibility: hidden;
  backface-visibility: hidden;
}

.owl-carousel .owl-stage:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}

.owl-carousel .owl-stage-outer {
  position: relative;
  overflow: hidden;
  -webkit-transform: translate3d(0px, 0px, 0px);
  transform: translate3d(0px, 0px, 0px);
}

.owl-carousel .owl-wrapper,
.owl-carousel .owl-item {
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  -ms-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform: translate3d(0, 0, 0);
  -moz-transform: translate3d(0, 0, 0);
  -ms-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

.owl-carousel .owl-item {
  position: relative;
  min-height: 1px;
  float: left;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
}

.owl-carousel .owl-item img {
  display: block;
  width: 100%;
}

.owl-carousel .owl-nav.disabled,
.owl-carousel .owl-dots.disabled {
  display: none;
}

.owl-carousel .owl-nav .owl-prev,
.owl-carousel .owl-nav .owl-next,
.owl-carousel .owl-dot {
  cursor: pointer;
  cursor: hand;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.owl-carousel.owl-loaded {
  display: block;
}

.owl-carousel.owl-loading {
  opacity: 0;
  display: block;
}

.owl-carousel.owl-hidden {
  opacity: 0;
}

.owl-carousel.owl-refresh .owl-item {
  visibility: hidden;
}

.owl-carousel.owl-drag .owl-item {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.owl-carousel.owl-grab {
  cursor: move;
  cursor: grab;
}

.owl-carousel.owl-rtl {
  direction: rtl;
}

.owl-carousel.owl-rtl .owl-item {
  float: right;
}

.no-js .owl-carousel {
  display: block;
}

.owl-carousel .animated {
  animation-duration: 1000ms;
  animation-fill-mode: both;
}

.owl-carousel .owl-animated-in {
  z-index: 0;
}

.owl-carousel .owl-animated-out {
  z-index: 1;
}

.owl-carousel .fadeOut {
  animation-name: fadeOut;
}

@keyframes fadeOut {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

/* Owl Carousel Navigation Theme */
.owl-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  transform: translateY(-50%);
  pointer-events: none;
}

.owl-prev,
.owl-next {
  position: absolute;
  background: rgba(0, 0, 0, 0.8) !important;
  color: var(--accent-color) !important;
  font-family: var(--font-main);
  font-size: 2rem !important;
  padding: 10px 20px !important;
  border: 2px solid var(--accent-color) !important;
  pointer-events: auto;
  transition: all 0.3s ease;
}

.owl-prev:hover,
.owl-next:hover {
  background: var(--accent-color) !important;
  color: #000 !important;
}

.owl-prev {
  left: 20px;
}

.owl-next {
  right: 20px;
}