@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

h1 {
  font-size: 2rem;
  margin-bottom: 0.5em;
  font-weight: 700;
  line-height: 1.2;
}

h2 {
  font-size: 1.75rem;
  margin-bottom: 0.5em;
  font-weight: 600;
  line-height: 1.3;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5em;
  font-weight: 600;
  line-height: 1.3;
}

h4 {
  font-size: 1.125rem;
  margin-bottom: 0.5em;
  font-weight: 500;
  line-height: 1.4;
}

h5 {
  font-size: 1rem;
  margin-bottom: 0.5em;
  font-weight: 500;
  line-height: 1.4;
}

h6 {
  font-size: 0.875rem;
  margin-bottom: 0.5em;
  font-weight: 500;
  line-height: 1.4;
}

/* Hide scrollbar for all elements */
/* For Chrome, Safari and Opera */
::-webkit-scrollbar {
  display: none;
}

/* For IE, Edge and Firefox */
html,
body {
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
  overflow-x: hidden;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background: #d50000;
  position: fixed;
  width: 100%;
  margin-bottom: 40px;
  top: 0;
  z-index: 1000;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.navbar > figure.logo {
  display: flex;
  align-items: center;
}

.logo-image {
  height: 55px;
  width: auto;
  object-fit: contain;
}

section.glass-background {
  background: rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 30px;
  padding: 15px 30px;
  display: flex;
  margin: 0 auto;
}

section.nav-center {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
  position: absolute;
  left: 0;
  right: 0;
  margin: 0 auto;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  font-size: 14px;
  font-weight: bold;
  color: white;
  padding: 8px 12px;
  transition: color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
  border-radius: 20px;
  white-space: nowrap;
}

.nav-links a:hover {
  background-color: white;
  color: #d50000;
}

.nav-links a.active {
  background-color: white;
  color: #d50000;
}

.nav-links .divider {
  height: 24px;
  width: 1px;
  background-color: rgba(255, 255, 255, 0.4);
  margin: 0 15px;
}

.hamburger {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  margin-right: 10px;
  position: relative;
  width: 35px;
  height: 35px;
  padding: 5px;
  justify-content: center;
  align-items: center;
  background: none;
  border: none;
}

.hamburger.open {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  border: 2px solid white;
}

.hamburger > span {
  width: 25px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s ease;
  position: absolute;
}

.hamburger span:nth-child(1) {
  transform: translateY(-8px);
}

.hamburger span:nth-child(2) {
  transform: translateY(0px);
}

.hamburger span:nth-child(3) {
  transform: translateY(8px);
}

/* X state */
.hamburger.open span:nth-child(1) {
  transform: rotate(45deg);
  width: 20px;
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
  width: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg);
  width: 20px;
}

.mobile-menu {
  position: fixed;
  top: 55px;
  left: -100%;
  width: 100%;
  height: 100vh;
  background: #d50000f2;
  backdrop-filter: blur(10px);
  padding: 20px;
  z-index: 999;
  transition: left 0.3s ease;
}

.mobile-menu.open {
  left: 0;
}

.mobile-menu > ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-menu > ul > li {
  margin: 15px 0;
}

.mobile-menu > ul > li > a {
  color: white;
  text-decoration: none;
  font-size: 18px;
  display: block;
  padding: 10px;
  text-align: center;
  border-radius: 20px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.mobile-menu ul li a:hover {
  background-color: white;
  color: #d50000;
}

.mobile-menu ul li a.active {
  background-color: white;
  color: #d50000;
}

@media (max-width: 1000px) {
  .nav-center {
    display: none;
  }

  .navbar {
    padding: 10px 15px;
  }

  .logo-image {
    height: 45px;
  }

  .glass-background {
    display: none !important;
  }

  .hamburger {
    display: flex;
  }

  .mobile-menu {
    display: block;
  }
}

@media (min-width: 1001px) {
  .hamburger {
    display: none;
  }

  .mobile-menu {
    display: none;
  }

  .nav-center {
    display: flex;
  }
}

main {
  max-width: 1400px;
  margin: 120px auto 0;
  padding: 0 20px;
  text-align: center;
}

main > h1 {
  margin-bottom: 40px;
  font-size: 2.5rem;
  color: #000;
}

.kontaktkort {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 0 auto;
  max-width: 800px;
}

.kort {
  background: #000;
  color: white;
  padding: 35px 50px;
  border-radius: 15px;
  min-width: 350px;
}

.kort h2 {
  margin-bottom: 15px;
  font-size: 1.4rem;
}

.kort p {
  font-size: 1.3rem;
}

@media (max-width: 768px) {
  .kontaktkort {
    flex-direction: column;
    align-items: center;
  }

  .kort {
    width: 100%;
    max-width: 350px;
    padding: 30px;
  }
}

@media (max-width: 480px) {
  main {
    margin-top: 100px;
  }

  main > h1 {
    font-size: 2rem;
  }

  .kort {
    padding: 15px;
  }
}

.kontakt {
  max-width: 800px;
  margin: 60px auto 0;
  padding: 0 20px;
}

.bakgrund {
  background: #000000;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

fieldset {
  border: none;
  padding: 0;
  margin: 0;
}

legend {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 30px;
  padding-bottom: 10px;
  width: 100%;
  border-bottom: 2px solid rgba(213, 0, 0, 0.5);
  color: white;
}

.formular {
  margin-bottom: 25px;
}

.formular label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: white;
  text-align: left;
}

.formular input,
.formular textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  color: white;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.formular textarea {
  resize: none;
}

.formular input::placeholder,
.formular textarea::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.formular input:focus,
.formular textarea:focus {
  outline: none;
  border-color: #d50000;
  box-shadow: 0 0 0 2px rgba(213, 0, 0, 0.2);
  background: rgba(255, 255, 255, 0.15);
}

.skicka {
  background: #d50000;
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.skicka:hover {
  background: #b50000;
}

.skicka:active {
  transform: translateY(0);
}

@media (max-width: 768px) {
  .kontakt {
    margin-top: 40px;
  }

  .bakgrund {
    padding: 20px;
  }

  legend {
    font-size: 1.5rem;
    margin-bottom: 20px;
  }

  .formular {
    margin-bottom: 20px;
  }
}

@media (max-width: 480px) {
  .kontakt {
    margin-top: 30px;
    padding: 0 15px;
  }

  .bakgrund {
    padding: 15px;
  }

  legend {
    font-size: 1.3rem;
    margin-bottom: 15px;
  }

  .skicka {
    width: 100%;
    padding: 10px 20px;
  }
}

.form-hint {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  margin-top: 5px;
  text-align: left;
}

.formular input:invalid {
  border-color: #d50000;
}

.formular input:invalid:focus {
  box-shadow: 0 0 0 2px rgba(213, 0, 0, 0.2);
}

.footer {
  background-color: #000000;
  color: white;
  padding: 50px 0 30px;
  margin-top: 60px;
  border-top: 5px solid #ffffff;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-section {
  padding: 0 10px;
}

.footer-section h3,
.footer-section h4 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  font-weight: 600;
  color: #ffffff;
  border-bottom: 2px solid #d50000;
  padding-bottom: 8px;
  display: inline-block;
}

.footer-section p {
  margin-bottom: 12px;
  line-height: 1.6;
}

span {
  color: #d50000;
}

.lankar {
  list-style: none;
  padding: 0;
}

.lankar li {
  margin-bottom: 12px;
}

.lankar a {
  color: white;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.lankar a:hover {
  opacity: 1;
  text-decoration: underline;
  color: #d50000;
}

.contact-info {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  line-height: 1.6;
  padding-left: 5px;
}

.contact-info i {
  margin-right: 12px;
  width: 16px;
  text-align: center;
}

.oppet {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  width: 100%;
  padding-left: 5px;
}

.dag {
  font-weight: 500;
  padding-right: 15px;
  margin-bottom: 5px;
}

.tid {
  text-align: right;
  margin-bottom: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 25px;
  margin-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 0.9rem;
  color: #ffffff;
}

.footer-bottom .copyright {
  display: inline-block;
}

@media (max-width: 1024px) {
  .footer-container {
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .footer-section:last-child {
    grid-column: span 2;
  }
}

@media (max-width: 480px) {
  .footer {
    padding: 40px 0 20px;
    margin-top: 40px;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-section:last-child {
    grid-column: span 1;
  }

  .footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
  }

  .oppet {
    gap: 2px 5px;
  }

  .footer-bottom {
    padding-top: 20px;
    margin-top: 20px;
    font-size: 0.8rem;
  }
}

.oppettider {
  padding: 40px 20px;
  max-width: 600px;
  margin: 20px auto;
  background-color: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.oppettider h2 {
  margin-bottom: 20px;
  color: #000;
}

.oppettider-table table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
}

.oppettider-table th,
.oppettider-table td {
  padding: 12px 15px;
  border: 1px solid #ddd;
  text-align: left;
}

.oppettider-table th {
  background-color: #D50000;
  color: white;
  font-weight: bold;
}

.oppettider-table tbody tr:nth-child(even) {
  background-color: #f2f2f2;
}

.oppettider-table td:first-child {
  font-weight: 500;
}

@media (max-width: 480px) {
  .oppettider {
    padding: 30px 15px;
  }

  .oppettider-table th,
  .oppettider-table td {
    padding: 10px;
    font-size: 0.9rem;
  }
}
