:root {
  --font-base: 1rem;
  --font-heading: 2rem;
  --color-accent: #AA0000;
  --color-bg: #000;
  --color-text: #fff;
  --font-serif: 'EB Garamond', serif;
  --font-script: 'Allura', cursive;
}

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

html, body {
  width: 100%;
  height: 100%;
  font-family: sans-serif;
  font-size: var(--font-base);
  color: var(--color-text);
  scroll-behavior: smooth;
  background-color: var(--color-bg);
  position: relative;
  overflow-x: hidden;
}

section, 
#Home, #Comp, #Service, #Cont, #Imp {
  position: relative;
  width: 100%;
  min-height: 100vh;
  padding: 3rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1;
  text-align: center;
  overflow: hidden;
}

.backgroundVideo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

#Home .logo,
.logo {
  max-width: 240px;
  margin: 2rem auto;
  position: relative;
  z-index: 2;
}

#Home .logo img,
.logo img {
  width: 100%;
  height: auto;
  display: block;
}

.section-title1,
.section-title2,
.Imphead {
  font-size: var(--font-heading);
  font-weight: 700;
  font-family: var(--font-serif);
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
  color: var(--color-text);
  text-shadow: 0 0 6px rgba(0,0,0,0.75);
}

.section-title1:first-letter,
.section-title2:first-letter,
.Imphead:first-letter {
  font-family: var(--font-script);
  font-size: 150%;
  color: var(--color-accent);
}

.w,
.pr,
.contakt {
  max-width: 800px;
  margin: 1rem auto;
  padding: 1rem;
  line-height: 1.8;
  text-align: justify;
  position: relative;
  z-index: 2;
  color: var(--color-text);
  text-shadow: 0 0 4px rgba(0,0,0,0.7);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 500px;
  margin: 2rem auto;
  position: relative;
  z-index: 2;
font-weight: bold;
color: white;
}

.contact-form input,
.contact-form textarea {
  padding: 1rem;
  border: 2px solid #000;
  border-radius: 10px;
  background-color: #fff;
  color: #000;
}

.submit-button {
  padding: 1rem;
  background-color: #000;
  color: var(--color-accent);
  font-weight: bold;
  border-radius: 30px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.submit-button:hover {
  background-color: #fff;
  color: #000;
  transform: scale(1.05);
}

.Ediv {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.Impbox {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 2rem auto;
  max-width: 960px;
  position: relative;
  z-index: 2;
}

footer {
  background-color: #fff;
  color: #000;
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
  position: relative;
  z-index: 2;
}

#consentBox {
  background: #fff;
  padding: 1rem;
  border-radius: 15px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  bottom: 10px;
  left: 10px;
  right: 10px;
  z-index: 999;
  width: auto;
  max-width: calc(100% - 20px);
}

#consentBox.hide {
  display: none !important;
}

#consentHeader {
  font-size: 1.3rem;
  font-weight: 600;
  color: #000;
}

#consentContent p {
  color: #666;
  margin: 1rem 0;
}

#consentContent .buttons {
  display: flex;
  justify-content: flex-end;
  margin-top: 1rem;
  gap: 1rem;
}

.consentButton,
.rejectButton {
  padding: 0.8rem 2rem;
  font-size: 1rem;
  border-radius: 5px;
  cursor: pointer;
}

.consentButton {
  background: #000080;
  color: #fff;
  border: none;
}

.rejectButton {
  background: transparent;
  color: #000080;
  border: 2px solid #000080;
}

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  backdrop-filter: blur(10px);
  background-color: rgba(255, 255, 255, 0.15);
  z-index: 1000;
  transition: background-color 0.3s ease;
}

.navbar.scrolled {
  background-color: rgba(255, 255, 255, 0.8);
}

.navbar-brand img {
  height: 28px;
  width: auto;
}

.navbar-nav .nav-link {
  color: var(--color-accent);
  font-weight: 500;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: #000;
}

.language-switch {
  margin-left: 1rem;
  font-weight: 500;
  color: var(--color-accent);
  position: relative;
  z-index: 2;
}

