/* ==========================================================================
   CORE.CSS - Complete Moderne CSS voor welkeonlinedatingsite.nl
   SCHONE VERSIE - Zonder oude header styling
   ========================================================================== */

/* CSS Variabelen */
:root {
  --primary-blue: #1249A1;
  --secondary-blue: #06335f;
  --primary-orange: #ffcc66;
  --dark-orange: #D85F00;
  --success-green: #2c9a56;
  --light-gray: #f3f3f3;
  --border-gray: #cecece;
  --text-dark: #000;
  --text-light: #9fa4af;
  --white: #fff;
  
  --font-primary: 'Raleway', sans-serif;
  --border-radius: 5px;
  --transition: all 0.3s ease;
  --shadow-light: 0 2px 5px rgba(0,0,0,0.1);
  --shadow-hover: 0 4px 15px rgba(0,0,0,0.15);
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-primary);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--white);
  padding-top: 200px;
  overflow-x: hidden;
}

@media (max-width: 1199px) {
  body {
    padding-top: 70px;
  }
}

img {
  max-width: 100%;
  height: auto;
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 700;
  line-height: 1.2;
  margin: 20px 0 10px;
}

h1 { font-size: 2.2rem; }
h2 { font-size: 1.8rem; }
h3 { font-size: 1.4rem; }

p { margin: 0 0 15px; }

a {
  color: var(--primary-blue);
  text-decoration: underline;
  transition: var(--transition);
}

a:hover {
  color: var(--secondary-blue);
}

/* ==========================================================================
   CONTAINER & LAYOUT SYSTEM
   ========================================================================== */

.container {
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 15px;
  width: 100%;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.row:after,
.row:before {
  content: " ";
  display: table;
}

.row:after {
  clear: both;
}

/* ==========================================================================
   GRID SYSTEM
   ========================================================================== */

.col-xs-1, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6,
.col-xs-7, .col-xs-8, .col-xs-9, .col-xs-10, .col-xs-11, .col-xs-12,
.col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6,
.col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12,
.col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6,
.col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12 {
  position: relative;
  min-height: 1px;
  padding-left: 15px;
  padding-right: 15px;
}

.col-xs-1 { width: 8.33333333%; }
.col-xs-2 { width: 16.66666667%; }
.col-xs-3 { width: 25%; }
.col-xs-4 { width: 33.33333333%; }
.col-xs-5 { width: 41.66666667%; }
.col-xs-6 { width: 50%; }
.col-xs-7 { width: 58.33333333%; }
.col-xs-8 { width: 66.66666667%; }
.col-xs-9 { width: 75%; }
.col-xs-10 { width: 83.33333333%; }
.col-xs-11 { width: 91.66666667%; }
.col-xs-12 { width: 100%; }

@media (min-width: 768px) {
  .col-sm-1 { width: 8.33333333%; }
  .col-sm-2 { width: 16.66666667%; }
  .col-sm-3 { width: 25%; }
  .col-sm-4 { width: 33.33333333%; }
  .col-sm-5 { width: 41.66666667%; }
  .col-sm-6 { width: 50%; }
  .col-sm-7 { width: 58.33333333%; }
  .col-sm-8 { width: 66.66666667%; }
  .col-sm-9 { width: 75%; }
  .col-sm-10 { width: 83.33333333%; }
  .col-sm-11 { width: 91.66666667%; }
  .col-sm-12 { width: 100%; }
}

@media (min-width: 992px) {
  .col-md-1 { width: 8.33333333%; }
  .col-md-2 { width: 16.66666667%; }
  .col-md-3 { width: 25%; }
  .col-md-4 { width: 33.33333333%; }
  .col-md-5 { width: 41.66666667%; }
  .col-md-6 { width: 50%; }
  .col-md-7 { width: 58.33333333%; }
  .col-md-8 { width: 66.66666667%; }
  .col-md-9 { width: 75%; }
  .col-md-10 { width: 83.33333333%; }
  .col-md-11 { width: 91.66666667%; }
  .col-md-12 { width: 100%; }
}

.col-md-offset-2 { margin-left: 16.66666667%; }

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.ctabtn {
  background: var(--primary-orange);
  color: var(--text-dark);
  padding: 10px 20px;
  border: none;
  border-radius: var(--border-radius);
  text-decoration: none;
  display: inline-block;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1rem;
}

.ctabtn:hover {
  background: var(--dark-orange);
  color: var(--white);
  transform: translateY(-1px);
}

.ctabtn.success {
  background: var(--success-green);
  color: var(--white);
}

.ctabtn.success:hover {
  background: #1e7040;
}

/* ==========================================================================
   FORMS
   ========================================================================== */

input, textarea, select {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--border-gray);
  border-radius: var(--border-radius);
  font-family: inherit;
  font-size: 14px;
  transition: var(--transition);
}

input:focus, textarea:focus, select:focus {
  border-color: var(--primary-blue);
  outline: none;
  box-shadow: 0 0 5px rgba(18, 73, 161, 0.3);
}

/* ==========================================================================
   LAYOUT SELECTOR
   ========================================================================== */

.layout-selector {
  background: var(--primary-blue);
  color: var(--white);
  text-align: center;
  padding: 60px 20px 40px 20px;
  font-size: 1.3em;
}

.layout-selector h1 {
  margin-bottom: 30px;
  color: var(--white);
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.3;
}

.layout-selector .selector-intro {
  font-size: 1.4rem;
  max-width: 600px;
  margin: 0 auto 1.5em;
  color: var(--white);
}

.layout-selector ul {
  margin-top: 40px;
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.layout-selector ul li {
  display: inline-block;
  margin: 0 25px;
  position: relative;
}

.layout-selector ul li a {
  display: block;
  background: var(--secondary-blue);
  color: var(--white);
  padding: 15px 30px;
  font-size: 1.5em;
  margin-bottom: 20px;
  text-decoration: none;
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.layout-selector ul li a:hover {
  background: var(--white);
  color: var(--secondary-blue);
}

@media (max-width: 992px) {
  .layout-selector ul li a {
    margin-bottom: 0;
  }
}

/* ==========================================================================
   QUICKNAV
   ========================================================================== */

.layout-quicknav {
  padding: 30px 0;
}

.layout-quicknav .header {
  background: var(--light-gray);
  padding: 10px 20px;
  color: var(--primary-blue);
  font-size: 1.3em;
  cursor: pointer;
  border-radius: var(--border-radius);
}

.layout-quicknav ul.row {
  list-style: decimal;
  background: var(--light-gray);
  border-bottom: 1px solid var(--primary-blue);
  padding: 10px 40px 25px 40px;
  margin: 0;
}

.layout-quicknav ul.row li {
  width: 100%;
  margin-bottom: 10px;
}

@media (min-width: 992px) {
  .layout-quicknav ul.row li {
    width: 50%;
  }
}

.layout-quicknav .folded ul.row {
  display: none;
}

/* ==========================================================================
   CATEGORIES
   ========================================================================== */

.layout-categories {
  padding: 60px 0 0 0;
}

.layout-categories .header {
  font-size: 2em;
  color: var(--secondary-blue);
  margin-bottom: 40px;
  text-align: center;
}

.layout-categories .cats ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}

.layout-categories .cats ul li {
  display: block;
  padding: 0;
}

.layout-categories .cats ul li a {
  background: var(--primary-blue);
  padding: 10px;
  color: var(--white);
  display: block;
  height: 180px;
  margin: 5px;
  font-size: 1.2em;
  text-align: center;
  background-size: contain;
  background-position: 50% 50%;
  padding-top: 70%;
  background-repeat: no-repeat;
  border-radius: var(--border-radius);
  text-decoration: none;
  transition: var(--transition);
}

.layout-categories .cats ul li a:hover {
  background-color: var(--secondary-blue);
  text-decoration: none;
}

.layout-categories .more {
  text-align: center;
  padding: 30px 0;
  font-size: 2em;
}

.layout-categories .more a {
  color: var(--primary-blue);
  text-decoration: none;
}

.layout-categories .more a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   TEXT LAYOUT
   ========================================================================== */

.layout-text {
  padding: 60px 0;
  background: var(--light-gray);
}

.layout-text h2.title {
  color: var(--primary-blue);
  text-align: center;
  margin-bottom: 30px;
  color: var(--secondary-blue);
  font-weight: 600;
}

.layout-text .textwrapper h2,
.layout-text .textwrapper h3,
.layout-text .textwrapper h4 {
  font-weight: 700;
  font-size: 16px;
  margin: 20px 0 5px 0;
  color: var(--secondary-blue);
}

.layout-text .special {
  border-left: 15px solid var(--primary-blue);
  background: var(--white);
  padding: 20px;
  border-radius: var(--border-radius);
}

.layout-text .special h2,
.layout-text .special h3 {
  color: var(--primary-blue);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.layout-footer {
  background: var(--primary-blue);
  color: var(--white);
  padding: 40px 0;
  margin-top: 40px;
}

.layout-footer a {
  color: var(--white);
}

.layout-footer h4 {
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.layout-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.layout-footer ul li {
  margin-bottom: 8px;
}

.layout-footer ul li::before {
  content: '▶';
  margin-right: 8px;
  color: var(--primary-orange);
}

.layout-footer .payoff-and-usps {
  padding: 20px 0;
  font-weight: 700;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 20px;
}

.layout-footer .usps {
  list-style: none;
  padding: 0;
  text-align: right;
}

.layout-footer .usps > li {
  display: inline-block;
  padding: 0 15px;
}

.layout-footer .usps li::before {
  content: '\2713';
  color: var(--white);
  margin-right: 5px;
  font-weight: bold;
}

.layout-footer .footer-utility {
  list-style: none;
  padding: 0;
  text-align: right;
}

.layout-footer .footer-utility > li {
  display: inline-block;
  padding: 0 15px;
}

/* ==========================================================================
   UTILITIES
   ========================================================================== */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-10 { margin-bottom: 10px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }

.hidden { display: none; }

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */

@media (max-width: 768px) {
  /* General responsive */
  .row {
    flex-direction: column;
  }
  
  .container {
    padding: 0 10px;
  }
  
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.2rem; }
  
  .layout-footer {
    padding: 20px 0;
    text-align: center;
  }
  
  .layout-footer .usps,
  .layout-footer .footer-utility {
    text-align: center;
  }
  
  .layout-selector h1 {
    font-size: 2rem;
  }
  
  .layout-selector .selector-intro {
    font-size: 1.2rem;
  }
}

/* Performance optimizations */
html {
  scroll-behavior: smooth;
}

/* Focus states for accessibility */
#header-small a:focus,
.desktop-header a:focus {
  outline: 2px solid var(--primary-orange);
  outline-offset: 2px;
}

/* ==========================================================================
   NIEUWE DESKTOP HEADER - Bijgewerkt volgens specificaties
   ========================================================================== */

body .desktop-header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 200px !important;
  background: #1249A1 !important;
  z-index: 99999 !important;
  display: none !important;
}

@media (min-width: 1200px) {
  body .desktop-header {
    display: block !important;
  }
  body {
    padding-top: 200px !important;
  }
}

/* Header container - uitgelijnd met content (1170px) */
.desktop-header-container {
  position: relative;
  height: 100%;
  /* Geen max-width hier - per sectie toepassen */
}

/* Specifieke container styling per sectie */
.desktop-header-top .desktop-header-container,
.desktop-header-middle .desktop-header-container,
.desktop-header-bottom .desktop-header-container {
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Top navigation bar - darker blue */
body .desktop-header-top {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 50px !important;
  background: rgba(0, 0, 0, 0.15) !important;
}

.desktop-header-top .desktop-header-container {
  display: flex;
  justify-content: center; !important;
  align-items: center;
  height: 100%;
}

.desktop-header-nav {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0;
}

.desktop-header-nav li {
  margin: 0;
  padding: 0 15px;
}

.desktop-header-nav a {
  color: #f3f3f3;
  text-decoration: none;
  font-size: 14px;
  height: 50px;
  line-height: 50px;
  display: block;
  padding: 0 20px;
  transition: all 0.3s ease;
}

.desktop-header-nav a:hover {
  background: #f3f3f3;
  color: #1249A1;
}

/* Middle section - light gray background */
body .desktop-header-middle {
  position: absolute !important;
  top: 50px !important;
  left: 0 !important;
  width: 100% !important;
  height: 110px !important;
  background: #f3f3f3 !important;
}

.desktop-header-middle .desktop-header-container {
  display: flex;
  align-items: center;
  justify-content: flex-start; /* Logo naar links */
  height: 100%;
}

/* Logo styling - gecentreerd in hoogte van grijze achtergrond */
.desktop-header-logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

.desktop-header-logo img {
  height: 83px;
  width: auto;
  display: block;
  margin: 0; /* Geen extra margin */
}

.desktop-header-banner {
  flex: 1;
  text-align: center;
  margin: 0 20px;
}

.desktop-header-banner img {
  max-width: 100%;
  height: auto;
  max-height: 80px;
  border-radius: 5px;
}

.desktop-header-visit {
  flex: 0 0 auto;
  text-align: right;
}

.desktop-header-visit .name {
  color: #000;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.desktop-header-visit .ctabtn {
  background: #e74c3c;
  color: white;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  transition: all 0.3s ease;
}

.desktop-header-visit .ctabtn:hover {
  background: #c0392b;
  transform: translateY(-1px);
}

/* Bottom navigation - darker blue - GEEN herhalende links */
body .desktop-header-bottom {
  position: absolute !important;
  top: 160px !important;
  left: 0 !important;
  width: 100% !important;
  height: 40px !important;
  background: rgba(0, 0, 0, 0.15) !important;
}

.desktop-header-bottom .desktop-header-container {
  display: flex;
  justify-content: flex-end; /* USPs rechts uitlijnen */
  align-items: center;
  height: 100%;
}

/* VERBERG herhalende navigatie links */
.desktop-header-bottom-nav {
  display: none !important;
}

/* USPs - rechts uitgelijnd in de blauwe balk */
.desktop-header-usps {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 30px;
  color: #f3f3f3;
  font-size: 14px;
  line-height: 40px;
  justify-content: center; /* Gecentreerd maar rechts gepositioneerd */
}

.desktop-header-usps li {
  position: relative;
  padding-left: 20px;
}

.desktop-header-usps li::before {
  content: '✓';
  color: #ffcc66;
  position: absolute;
  left: 0;
  font-weight: bold;
}

@media (min-width: 1200px) {
  #header-small {
    display: none !important;
  }
  
  .desktop-header {
    display: block !important;
  }
}

@media (max-width: 1199px) {
  .desktop-header {
    display: none !important;
  }
  
  #header-small {
    display: flex !important;
  }
	
	/* ==========================================================================
   MOBILE HEADER - Volledige styling
   ========================================================================== */

@media (max-width: 1199px) {
  .desktop-header {
    display: none !important;
  }
  
  #header-small {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background: #f3f3f3;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    box-sizing: border-box;
  }

  #header-small .home {
    display: inline-block;
    width: 137px;
    margin-left: 5px;
    margin-top: 9px;
    flex: 0 0 auto;
    max-width: 60%;
  }

  #header-small .home img {
    max-height: 40px;
    width: auto;
    max-width: 100%;
  }

  /* Mobile Menu Toggle - Hamburger */
  #small-menu-toggle {
    position: relative;
    width: 35px;
    height: 35px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    z-index: 9999;
    background: none;
    border: none;
    padding: 8px;
    border-radius: 4px;
    transition: var(--transition);
  }

  #small-menu-toggle:hover {
    background: rgba(0, 0, 0, 0.1);
  }

  #small-menu-toggle span {
    display: block;
    height: 3px;
    width: 25px;
    background: var(--primary-blue);
    border-radius: 2px;
    transition: var(--transition);
    transform-origin: center;
  }

  /* Animated hamburger */
  #small-menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }

  #small-menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  #small-menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }

  /* Mobile Menu - VERBORGEN door default */
  #small-menu {
    background-color: rgba(255, 255, 255, 0.975);
    position: fixed;
    top: 70px;
    bottom: 0;
    right: -80%;
    width: 80%;
    z-index: 99;
    overflow: auto;
    transition: all 0.5s ease;
    opacity: 0;
    visibility: hidden;
    display: none;
  }

  /* Mobile Menu - ZICHTBAAR wanneer .show class actief is */
  #small-menu.show {
    right: 0;
    opacity: 1;
    visibility: visible;
    display: block;
  }

  #small-menu > ul {
    font-size: 1.2em;
    list-style: none;
    margin: 15px 25px 100px 25px;
    padding: 0;
  }

  #small-menu > ul > li {
    margin-bottom: 15px;
    position: relative;
    text-align: right;
  }

  #small-menu > ul > li > a {
    color: var(--primary-blue);
    text-decoration: none;
    display: block;
    padding: 12px 16px;
    border-radius: 6px;
    font-weight: 500;
    transition: var(--transition);
  }

  #small-menu > ul > li > a:hover,
  #small-menu > ul > li > a:focus {
    background: rgba(0, 0, 0, 0.05);
    transform: translateX(-4px);
  }

  /* Mobile search form */
  #small-menu .searchbar {
    margin: 20px 25px;
    padding-top: 20px;
    border-top: 1px solid var(--border-gray);
    display: flex;
    gap: 10px;
  }

  #small-menu .searchbar input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid var(--border-gray);
    border-radius: 6px;
    background: var(--white);
    color: var(--text-dark);
    font-size: 16px;
  }

  #small-menu .searchbar input:focus {
    outline: none;
    border-color: var(--primary-blue);
  }

  #small-menu .searchbar .ctabtn {
    background: var(--primary-orange);
    color: var(--text-dark);
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
  }

  #small-menu .searchbar .ctabtn:hover {
    background: var(--dark-orange);
    color: var(--white);
  }
}

/* Accessibility */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
}