:root {
  --background: #f5f7fa;
  --text: #1a1a1a;
  --accent-orange: #e04141;
  --accent-blue: #fff;
  --card: #ffffff;
  --card-hover: #e8f0fe;
  --shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  --section: rgba(255, 255, 255, 0.1);
  --footer-bg: #000;
  --gradient-start: #e0e0e0;
  --gradient-end: #444444;
  --cta-bg: #c93030; 
  --cta-hover: #a82323;
  --cta-text: #fff;
}

body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: url('images/road.webp') center/cover no-repeat fixed;
  color: var(--text);
  line-height: 1.6;
}

a {
  color: var(--accent-blue);
  text-decoration: none;
}
a:hover {
  color: var(--accent-orange);
}

address a {
  color: var(--text);
  text-decoration: underline;
}

.support-content a {
  color: var(--text);
  text-decoration: underline;
}

h1 {
  font-size: 2.5rem;
  margin: 0;
}

.accent {
  color: var(--accent-orange);
}

header {
  background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 999;
}

.logo {
  height: 80px;
  border-radius: 8px;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1rem;
}

nav ul.open {
  flex-direction: column;
  background: #000;
  position: absolute;
  top: 60px;
  right: 0;
  padding: 1rem;
  display: flex;
}

.hamburger {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: var(--background);
  cursor: pointer;
}

main {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

#cookie-banner {
  position: fixed;
  bottom: 0;
  width: 100%;
  background: #333;
  color: #fff;
  padding: 1rem;
  text-align: center;
  display: none;
  z-index: 10000;
}

#accept-cookies, #decline-cookies {
  margin-left: 1rem;
  padding: 0.5rem 1rem;
  cursor: pointer;
}

#cookie-settings-link {
font-size: smaller;
}

section {
  background-color: var(--section); 
  backdrop-filter: blur(4px); 
  padding: 2rem;
  margin: 1rem;
  border-radius: 10px;
}

.inner-section {
  background-color: var(--card);
  color: var(--text);
}

.card-background {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: left;
  color: #111;
  padding: 2rem;
  overflow: hidden;
}

.card-background::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.card-background > * {
  position: relative;
  z-index: 2;
}

.card-box {
  background: rgba(255, 255, 255, 0.8);
  padding: 1rem;
  border-radius: 12px;
  max-width: 750px;
  width: 95%;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.feature {
  margin-bottom: 1.5rem;
}

.cta-button {
  display: inline-block;
  background-color: var(--cta-bg);
  color: var(--cta-text);
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  transition: background-color 0.3s ease;
  cursor: pointer;
}
.cta-button:hover {
  background-color: var(--cta-hover);
  text-decoration: none;
}

footer {
  background: var(--footer-bg);
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
  color: var(--background);
}

.footer-note {
  font-size: 0.9rem;
  margin-top: 0.5rem;
}
.footer-note a:hover {
  color: var(--accent-orange);
  text-decoration: underline;
}

.linkedin-icon {
  width: 20px;
  height: 20px;
  vertical-align: middle;
  margin-left: 0.25rem;
}

.support-logo {
  width: 32px;
  height: 32px;
  vertical-align: middle;
  margin-left: 0.25rem;
  padding-right: 5px;
}

#korall,
#funktioner,
#support,
#kontakt {
  scroll-margin-top: 200px;
}


@media (max-width: 768px) {
  nav ul {
    display: none;
  }
  nav ul.open {
    display: flex;
  }
  .hamburger {
    display: block;
  }

  body {
    font-size: 0.9rem;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.3rem;
  }

  h3 {
    font-size: 1.1rem;
  }

  main {
    padding: 0.5rem;
    gap: 0.5rem;
  }

  section {
    padding: 1rem;
    margin: 0.5rem 0.25rem;
  }

  .card-box {
    width: 100%;
    padding: 1rem;
  }

  .cta-button {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }

  .logo {
    height: 60px;
  }

  .logo-wrapper {
    gap: 0.5rem;
  }

  footer {
    font-size: 0.8rem;
    padding: 0.75rem;
  }

  .footer-note {
    font-size: 0.8rem;
  }
}

