@font-face {
  font-family: 'Eurostile Regular';
  src: url('/fonts/EuroStyle Normal.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

:root {
  --primary-color: #161a25;      /* Lichtere variant van donkerblauw */
  --secondary-color: #0d3b66;    /* Lichtere variant van secundair blauw */
  --accent-color: #ffffff;       /* Accent blijft wit */
  --bg-color: #1e2536;           /* Lichtere donkerblauwe achtergrond */
  --card-bg: #3a3f4b;            /* Lichtere card achtergrond */
  --text-color: #e6e6e6;         /* Lichtere tekst */
  --border-color: #888;          /* Lichtere borders */
  --hover-bg: #4a4e5a;           /* Lichtere hover kleur */
  --transition: 0.3s ease;
  --font: 'Eurostile Regular', sans-serif;
}


/* Ensure the body and html elements do not overflow */
html, body {
  overflow-x: hidden;
  font-family: var(--font);
  background-color: var(--bg-color);
  color: var(--text-color);
  letter-spacing: 0.05em;
}

/* Header Styling */
header {
  background-color: var(--primary-color);
  color: white;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.get-listed-button,
.auth-btn {
  background-color: var(--secondary-color);
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.get-listed-button:hover,
.auth-btn:hover {
  background-color: #042c3f;
  transform: translateY(-2px);
}

.auth-btn {
  border: none;
  outline: none;
  appearance: none;
  font-family: inherit;
}

.auth-container {
  display: flex;
  align-items: center;
  gap: 1rem;
}

header .logo-container {
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
}

header .logo-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.2rem;
  border-radius: 8px;
  text-decoration: none;
  color: white;
}

.silex-brand-mark {
  display: block;
  flex: 0 0 auto;
  object-fit: contain;
}

header .header-silex-logo {
  width: 48px;
  height: 48px;
}

.silex-brand-name {
  color: currentColor;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1;
}

header .logo-link:hover .silex-brand-name {
  color: #8ed8f8;
}

header .logo-link:focus-visible {
  outline: 3px solid rgba(142, 216, 248, 0.65);
  outline-offset: 3px;
}

header nav {
  display: flex;
  align-items: center;
}

header .nav-list {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

header .nav-list li a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: white;
  font-weight: bold;
  font-size: 1.1rem;
  padding: 0.6rem 1.2rem;
  border-radius: 5px;
  transition: background-color 0.3s ease;
  height: 100%;
}

header .nav-list li a:hover {
  background-color: var(--secondary-color);
  color: #e1f4e8;
}

.nav-beta-badge {
  margin-left: 0.35rem;
  color: #8ed8f8;
  font-size: 0.64em;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

header .nav-list li a:hover .nav-beta-badge,
header .nav-list li a[aria-current="page"] .nav-beta-badge {
  color: #c9efff;
}

/* Dropdown-menu styling */
header .dropdown {
  position: relative;
}

header .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--primary-color);
  padding: 0.5rem 0;
  display: none;
  list-style: none;
  min-width: 180px;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

header .dropdown:hover .dropdown-menu {
  display: block;
}

header .dropdown.open .dropdown-menu {
  display: block;
}

header .dropdown-menu li a {
  display: flex;
  align-items: center;
  padding: 0.5rem 1rem;
}

header .dropdown-icon {
  width: 20px;
  height: 20px;
  margin-right: 0.5rem;
}

/* Hamburger menu (mobile) */
.menu-toggle {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  background: none;
  border: none;
  color: white;
}

/* Collapsed navigation before the shared header becomes crowded. */
@media (max-width: 1100px) {
  header {
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: block;
  }

  header nav {
    display: none;
    flex-direction: column;
    width: 100%;
    max-height: calc(100dvh - 86px);
    overflow-y: auto;
    background: var(--primary-color);
    position: absolute;
    top: 100%;
    left: 0;
    padding: 1rem;
    z-index: 1000;
  }

  header nav.active {
    display: flex;
  }

  .nav-list {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .nav-list li {
    width: 100%;
    text-align: center;
  }

  .nav-list li a {
    display: block;
    width: 100%;
    padding: 1rem;
  }

  header .dropdown-menu {
    position: static;
    width: 100%;
    min-width: 0;
    margin-top: 0.35rem;
    box-shadow: none;
  }
}

/* Info Header Styling */
.info-header {
  background-color: #1c2533;
  border-bottom: 2px solid #444;
  display: flex;
  justify-content: space-around;
  padding: 0.8rem 1.5rem;
  font-size: 0.95rem;
}

.info-header .info-item {
  text-align: center;
}

.info-header .info-item span {
  color: #7a7a7a;
  font-size: 0.85rem;
}

.info-header .info-item strong {
  color: #fff;
  font-size: 1.1rem;
  font-weight: bold;
}

@media (max-width: 768px) {
  .info-header {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
}

/* Footer Styling */
footer {
  background: linear-gradient(135deg, #1e2328, #272c33);
  color: #dcdcdc;
  padding: 3rem 1rem;
  margin-top: 2rem;
  font-size: 0.9rem;
  box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.3);
  width: 100%;
  box-sizing: border-box;
}

.footer-container {
  width: 100%;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  padding: 0 1rem;
  box-sizing: border-box;
}

.footer-section {
  flex: 1;
  min-width: 220px;
  word-wrap: break-word;
  overflow: hidden;
}

.footer-section h2,
.footer-section h3 {
  color: #ffffff;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--secondary-color);
  padding-bottom: 0.5rem;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section ul li {
  margin-bottom: 0.8rem;
}

.footer-section ul li a {
  color: #ffffff;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

.footer-logo-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.footer-brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.25rem;
  border-radius: 8px;
  color: #fff;
  text-decoration: none;
}

.footer-brand-link:hover .footer-silex-name {
  color: #8ed8f8;
}

.footer-brand-link:focus-visible {
  outline: 3px solid rgba(142, 216, 248, 0.65);
  outline-offset: 3px;
}

.footer-silex-logo {
  width: 64px;
  height: 64px;
}

.footer-silex-name {
  font-size: 1.55rem;
}

.footer-section p {
  line-height: 1.6;
  font-size: 0.95rem;
  margin: 0;
  color: #dcdcdc;
}

.footer-disclaimer {
  width: 100%;
  max-width: 100%;
  margin: 2rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid #333;
  font-size: 0.85rem;
  color: #a9a9a9;
  line-height: 1.5;
  text-align: center;
  word-wrap: break-word;
  overflow: hidden;
}

.footer-disclaimer strong {
  color: var(--accent-color);
}

.footer-bottom {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.85rem;
  color: #a9a9a9;
  word-wrap: break-word;
  overflow: hidden;
}

/* Cronos Logo Styling */
.cronos-logo {
  height: 20px;
  width: auto;
  margin-right: 0.5rem;
  vertical-align: middle;
}
/* Responsive Footer */
@media (max-width: 768px) {
  header .header-silex-logo {
    width: 42px;
    height: 42px;
  }

  header .silex-brand-name {
    font-size: 1.3rem;
  }

  .footer-container {
    flex-direction: column;
    text-align: center;
  }
  .footer-logo-text {
    justify-content: center;
    align-items: center;
  }
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #ffffff;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 1rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
  z-index: 10000;
  max-width: 90%;
  color: #333;
}

.cookie-banner span {
  flex: 1 1 300px;
  line-height: 1.4;
}

.cookie-banner a {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: bold;
}

.cookie-banner a:hover {
  text-decoration: underline;
}

.cookie-banner button {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background-color 0.3s ease;
}

.cookie-banner button#acceptCookies {
  background-color: var(--secondary-color);
  color: #fff;
}

.cookie-banner button#acceptCookies:hover {
  background-color: #0056b3;
}

.cookie-banner button#declineCookies {
  background-color: #e0e0e0;
  color: #333;
}

.cookie-banner button#declineCookies:hover {
  background-color: #bdbdbd;
}
