:root {
    --bg: #0e1320;
    --bg2: #171f33;
    --card: #1c2740;
    --line: rgba(255, 255, 255, 0.08);
    --text: #f4f7ff;
    --muted: #b9c5df;
    --accent: #ffd98a;
    --accent2: #9fd7ff;
    --shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
    --radius: 24px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Inter", system-ui, sans-serif;
    color: var(--text);
    background: #0e1320;
}

.badge {
    display: inline-block;
    padding: 10px 14px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.92rem;
    margin-bottom: 18px;
    background: rgb(255 203 118 / 16%);
    color: #ffcc77e8;
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.flipbook-base-caption {
    color: #ffcc77e8;
    font-weight: 600;
    margin-top: 42px;
}

a {
    text-decoration: none;
}

.navbar {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.navbar-brand {
    color: #fff !important;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.navbar-brand > span {
    font-weight: 300;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 110px 0 70px;
}

.hero-title {
    font-size: clamp(2.5rem, 4vw, 5rem);
    line-height: 0.96;
    letter-spacing: -0.05em;
    font-weight: 800;
    margin-bottom: 1.2rem;
}

.hero-title .gradient {
    background: linear-gradient(90deg, var(--accent) 0%, var(--accent2) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-copy {
    font-size: 1.08rem;
    line-height: 1.8;
    color: var(--muted);
    max-width: 620px;
    margin-bottom: 1.4rem;
}

.flex-btns-hero {
    display: flex;
    flex-direction: row;
    align-content: flex-start;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 14px;
    flex-wrap: wrap;
}

.price-badge {
    display: inline-block;
    padding: 10px 11px;
    color: #fff2cf;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.btn-main {
    background: linear-gradient(135deg, var(--accent), #ffc66f);
    color: #1d2433;
    border: none;
    font-weight: 800;
    padding: 11px 22px;
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.btn-main:hover {
    color: #1d2433;
    transform: translateY(-1px);
}
.btn-secondary:hover {
    transform: translateY(-1px);
}

.hero-card.perspective {
    /*
      transform: perspective(1200px) rotateY(-8deg) rotateX(4deg);
      box-shadow:0 20px 50px rgba(0, 0, 0, .99);
      backdrop-filter:blur(12px);
      */
}
.language-btn.dropdown-toggle::after {
	top: 2px;
    position: relative;
}

.book-preview {
    width: 100%;
    height: auto;
    display: block;
    /*
      border-radius:3px;
      background:#fff;
      box-shadow:
        1px 1px 0 #ccc,
        2px 2px 0 #bbb,
        3px 3px 0 #aaa,
        4px 4px 0 #999,
        5px 5px 0 #888,
        6px 6px 0 #777,
        7px 7px 0 #666,
        8px 8px 0 #555;
        */
}

.mini-section {
    padding: 90px 0 120px;
}

.section-title {
    font-size: clamp(1.7rem, 3vw, 2.7rem);
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.04em;
    margin-bottom: 14px;
}

.quote-section {
	margin-top: 1.6rem;
    margin-bottom: -1rem;
	position: relative;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}
.quote-section .section-title {
	font-size: clamp(1.2rem, 3vw, 1.75rem);
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.03em;
	margin: 0;
	background: #7d66ac;
	padding: 22px 14%;
	color: #ffffff;
	border-radius: 18px;
}

.section-copy {
    color: var(--muted);
    line-height: 1.8;
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3rem;
}

.section-price {
    color: #fff2cf;
    font-weight: 800;
    font-size: 1.05rem;
    margin-top: 10px;
    text-align: center;
}

#samples {
    background: #1c2349;
}

.form-shell {
    margin-top: 34px;
    padding: 34px 28px 41px;
    text-align: center;
}

.form-label {
    font-weight: 600;
    color: #e7eeff;
    font-size: 1.1rem;
    margin-top: 10px;
}

.form-control,
.form-select,
select[name="lang"] {
    min-height: 52px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    padding: 12px 14px;
    width: 100%;
    text-align: center;
}

.form-control::placeholder {
    color: #93a4c7;
}

.form-control:focus,
.form-select:focus,
select[name="lang"]:focus {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    border-color: rgba(255, 217, 138, 0.45);
    box-shadow: 0 0 0 0.2rem rgba(255, 217, 138, 0.12);
    outline: none;
}

select[name="lang"] option {
    color: #111;
}

.step-label {
    color: #333;
    background: #ffc973;
    padding: 4px 10px;
    text-align: center;
    border-radius: 6px;
    margin-right: 5px;
}

.avatar-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 10px;
}

.avatar-card {
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    border-radius: 18px;
    padding: 12px;
    cursor: pointer;
    transition: 0.2s ease;
    position: relative;
    text-align: center;
}

.avatar-card img {
    width: 100%;
    border-radius: 14px;
    display: block;
    margin-bottom: 8px;
}

.avatar-card.soon-available {
    opacity: 0.4;
    pointer-events: none;
}

.avatar-card.available:hover {
    background: rgba(255, 255, 255, 0.15);
}

.avatar-card.active {
    border-color: rgba(255, 217, 138, 0.6);
    box-shadow: 0 0 0 2px rgba(255, 217, 138, 0.14) inset;
    background: rgba(255, 217, 138, 0.08);
}

.avatar-card .label {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: #e7eeff;
}

.loader-wrap {
    display: none;
    text-align: center;
    padding: 24px 0 8px;
}

.loader-wrap.active {
    display: block;
}

.spinner-border {
    width: 3rem;
    height: 3rem;
}

.small-note {
    color: var(--muted);
    font-size: 0.93rem;
    margin-top: 10px;
}

.preview-results {
    display: none;
    margin-top: 28px;
}

.preview-results.active {
    display: block;
}

.preview-spread-list {
    display: none;
    flex-direction: column;
    gap: 18px;
    margin-top: 20px;
}

.preview-spread-item {
    padding: 14px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.preview-spread-item img,
.preview-spread-item canvas {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 5px;
    background: #fff;
}

.order-wrap {
    display: none;
    margin-top: 28px;
    text-align: center;
    padding: 24px;
    border-radius: 22px;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.05),
        rgba(255, 255, 255, 0.02)
    );
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.order-wrap.active {
    display: block;
}

.order-wrap h4 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.order-wrap p {
    color: var(--muted);
    line-height: 1.75;
    max-width: 680px;
    margin: 0 auto 18px;
}

footer {
    padding: 34px 0 50px;
    color: var(--muted);
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    margin-top: 0;
}

.flipbook-base {
    display: none;
    margin-top: 28px;
    text-align: center;
    position: relative;
    min-height: 180px;
    width: 100%;
}

.flipbook-outer {
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
}

#orderCoverPreview {
	max-width: 255px;
    border-radius: 4px;
}

.order-totaal-prijs {
	font-size: 20px;
}
.order-totaal-prijs,
.order-totaal-prijs > strong,
.order-totaal-prijs > span {
	color: #ffc973 !important;
}

.flipbook-viewport {
    overflow: hidden;
    width: 100%;
    padding: 40px 0;
}

.flipbook-shell {
    position: relative;
    width: 100%;
    display: block;
}

.flipbook .cover-page {
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.4);
}

.flipbook {
    position: relative;
    margin: 0;
    transition: margin-left 1.35s ease;
}

.flipbook .page,
.flipbook .hard {
    background-color: #fff;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center center;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.flipbook .page img,
.flipbook .hard img {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    margin: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.flipbook-viewport .shadow {
    transition: box-shadow 0.5s;
    box-shadow: 0 0 20px #ccc;
}

#previewFlipbook .page-wrapper {
    perspective: 2000px;
}

.disabled {
    pointer-events: none !important;
    opacity: 0.6 !important;
}

.collage-wrap {
    margin-top: 40px;
    position: relative;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.collage-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 24px;
    align-items: stretch;
}

.collage-col {
    display: grid;
    gap: 24px;
}

.collage-col.right {
    grid-template-rows: 1.4fr auto;
}

.collage-bottom-row {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 24px;
}

.collage-card {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);
    transition: 0.3s ease;
}

.collage-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ✨ SPEELSHEID */
.collage-card.spread-1 {
    z-index: 2;
}

.collage-card.spread-2 {
}

.collage-card.bookshot {
    z-index: 3;
}

.collage-card.spread-3 {
}

.collage-card.quote {
    background: #2f3a5a;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
}

.collage-card.quote p {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #fff;
    font-weight: 700;
}

/* captions */
.collage-caption {
    position: absolute;
    left: 14px;
    bottom: 14px;
    background: rgba(10, 14, 24, 0.75);
    color: #fff;
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 700;
    backdrop-filter: blur(6px);
}

.generate-preview-wrapper {
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.generate-preview-wrapper > p {
    margin: 15px 10px 10px;
}

.row.order-form-row {
    margin-top: 0;
    justify-content: center;
}

.section-dark {
    background: linear-gradient(180deg, #11192b 0%, #0e1320 100%);
    padding: 30px 0 10px;
}

.form-shell-wide {
    width: 100%;
    max-width: 1100px;
    margin: 40px auto 0;
}

.order-modal-content {
    background: #131b2d;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.order-summary-box {
    padding: 18px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    font-size: 1.05rem;
}

.mollie-method-note {
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--muted);
    text-align: left;
}

.form-check-input {
    margin-top: 0.25rem;
}

.form-check-label {
    color: #e7eeff;
}
#checkoutModal .modal-header {
	background: #101b35;
}
#checkoutModal .form-control,
#checkoutModal .form-select,
#checkoutModal select[name="lang"] {
	text-align: left;
}
.form-select {
	color: #fff;
}
.form-select:focus,
.form-select:focus-within,
select.form-select option:checked {
	color: #131b2d;
}
.select-lang-book.form-select option.disabled {
	opacity: 0.5;
}
.swal-input-centered {
  text-align: center !important;
}

section.logo-section {
	padding: 30px;
	text-align: center;
	padding-bottom: 5rem;
}
section.logo-section img {
	max-width: 225px;
}
img.header-logo {
	max-height: 26px;
    margin-right: 4px;
    position: relative;
    top: -2px;
}
h3.form-sub-header {
	font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: -17px;
    margin-top: 40px;
}

.faq-section {
  padding-top: 65px;
  padding-bottom: 90px;
}

.faq-accordion {
  max-width: 900px;
  margin: 40px auto 0;
}

.faq-accordion .accordion-item {
  background: #141c2f;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 16px;
}

.faq-accordion .accordion-button {
  background: #141c2f;
  color: #ffffff;
  font-weight: 600;
  box-shadow: none;
  padding: 20px 24px;
}

.faq-accordion .accordion-button:not(.collapsed) {
  background: #1a2440;
  color: #ffffff;
  box-shadow: none;
}

.faq-accordion .accordion-button:focus {
  box-shadow: none;
  border-color: transparent;
}

.faq-accordion .accordion-body {
  background: #141c2f;
  color: rgba(255,255,255,0.88);
  line-height: 1.7;
  padding: 24px 24px 24px 24px;
}

.faq-accordion .accordion-button::after {
  filter: brightness(0) invert(1);
  opacity: 0.95;
}
.social-media-logo {
	max-width: 60px;
	height: auto;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.language-dropdown {
  flex-shrink: 0;
}

.language-btn {
  color: #fff;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 999px;
  padding: 7px 12px;
  font-weight: 600;
  background: rgba(255,255,255,0.08);
}

.language-btn:hover,
.language-btn:focus {
  color: #fff;
  background: rgba(255,255,255,0.16);
}

.language-dropdown .dropdown-menu {
  min-width: 160px;
  border-radius: 14px;
  padding: 8px;
}

.language-dropdown .dropdown-item {
  border-radius: 10px;
  font-weight: 600;
}

.flag {
  margin-right: 6px;
}
.flag-img {
  width: 20px;
  height: auto;
  margin-right: 6px;
}



/* RESPONSIVENESS */

@media (max-width: 991px) {
    .hide-on-mobile {
        display: none;
    }
    body {
        text-align: center;
    }
    .g-5,
    .gx-5 {
        --bs-gutter-x: 0;
    }
    .mini-section {
        padding: 46px 14px 70px;
    }
    .navbar-brand {
        margin-right: 0;
    }
    .form-shell-wide {
        margin: 0px auto 0;
    }
    .form-shell {
        padding: 26px 8px 41px;
    }
    nav.navbar > .container {
        display: flex;
        flex-wrap: inherit;
        align-items: center;
        justify-content: center;
        flex-direction: row;
    }
    .hero {
        min-height: auto;
        padding-top: 70px;
		padding-bottom: 20px;
    }

    .avatar-grid {
        display: flex;
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }
    .avatar-card {
        width: 70%;
    }
    .collage-card {
        border-radius: 6px;
    }
    .collage-grid {
        grid-template-columns: 1fr;
    }

    .collage-col.right {
        grid-template-rows: auto;
    }

    .collage-bottom-row {
        grid-template-columns: 1fr;
    }
    .collage-caption {
        position: absolute;
        left: 5%;
        bottom: 14px;
        background: rgba(10, 14, 24, 0.75);
        color: #fff;
        padding: 8px 5%;
        border-radius: 10px;
        font-size: 0.85rem;
        font-weight: 700;
        backdrop-filter: blur(6px);
        width: 90%;
    }
    .btn-main {
        width: 100%;
    }
    .price-badge {
        width: 100%;
        text-align: center;
    }
	.flex-btns-hero {
		flex-direction: column;
		align-content: center;
		justify-content: flex-start;
		align-items: center;
	}
	.flex-btns-hero .btn-main {
		width: 90%;
	}
	.flex-btns-hero .btn-secondary {
		width: 90%;
		background: rgba(255, 255, 255, 0.15);
		color: #ffc973;
		border: 1px solid #ffc873;
		font-weight: 800;
		padding: 11px 22px;
		border-radius: 16px;
	}
	.hero-card-mobile .book-preview {
        width: 95%;
        display: inline-block;
		border-radius: 6px;
    }
	.hero-card-mobile {
		margin-bottom: 1.3rem;
	}
	.badge {
		padding: 10px 14px 9px;
		font-size: 0.87rem;
		white-space: normal;
	}
	.hero .nl-badge-hide-on-mobile {
		display: none;
	}
	.mini-section.section-dark {
		padding: 32px 14px 10px
	}
	form#bookForm {
		margin-top: -18px;
	}
	.form-control, .form-select, select[name="lang"] {
		border: 1px solid rgba(255, 255, 255, 0.5);
		background: rgba(255, 255, 255, 0.1);
	}
	.avatar-card.active {
		border-color: rgba(255, 217, 138, 1);
		box-shadow: 0 0 0 2px rgba(255, 217, 138, 0.14) inset;
		background: rgba(255, 201, 115, 0.4) !important;
	}
	.preview-spread-item {
		padding: 0;
		border-radius: 0;
		background: none;
		border: 0;
	}
	form#checkoutForm {
		text-align: left;
	}
	.preview-spread-item.example-book-spread.is-last {
		display: none;
	}
	#orderCoverPreview {
		max-width: 85%;
	}
	section.logo-section {
		padding-bottom: 2.5rem;
	}
	
	.navbar-right {
		gap: 8px;
	  }

	  .language-btn {
		padding: 7px 10px;
	  }
	  .language-dropdown {
		  margin-left: 14px;
	  }
	  .language-btn {
		  border: none;
	  }
	  .nl-badge-mobile {
		  padding: 8px 14% 8px;
		font-size: 0.87rem;
		white-space: normal;
		line-height: 1.5;
		margin: 0 11px 18px;
	  }
}

@media (min-width: 992px) {
    .avatar-grid {
        grid-template-columns: repeat(6, 1fr);
    }
    /* ✨ HOVER effect */
    .collage-card:hover {
        transform: translateY(-6px) scale(1.03) !important;
        box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
    }
	.hide-on-desktop {
		display: none;
	}
	.flex-btns-hero .btn-secondary-span {
		padding-top: 10px;
	}
	.flex-btns-hero .btn-secondary {
		background: rgba(255, 255, 255, 0.10);
		border: 1px solid rgba(255, 255, 255, 0.45);
		font-weight: 500;
		padding: 11px 22px;
		border-radius: 16px;
	}
	.order-wrap {
		padding: 45px 25px;
	}
	.book-preview {
		width: 85%;
		/*
		transform: perspective(1200px) rotateY(-8deg) rotateX(4deg);
		box-shadow: 0 20px 50px rgba(0, 0, 0, .99);
		*/
	}
	.hero-card.perspective {
		display: flex;
		flex-direction: row;
		flex-wrap: nowrap;
		justify-content: center;
		align-items: center;
	}
	.book-3d {
	  --book-thickness: 16px;
	  --cover-color: #4D9077;

		perspective: 1300px;
	  max-width: 470px;
	  margin: 0 0 0 60px;

	}

	.book-3d__inner {
		position: relative;
		transform-style: preserve-3d;
		transform: rotateY(-15deg) rotateX(4deg);
	}

	/* Book Pages */
	.book-3d__inner::before {
	  position: absolute;
	  content: ' ';
	  left: 100%;
	  top: 1%;
	  width: calc( var(--book-thickness) * 2 );
	  height: 98%;
	  transform: translate(-55%,0) rotateY( 90deg );
	  background: linear-gradient( 90deg , #fff 0%, hsl(0, 0%, 94%) 5%, #fff 10%, hsl(0, 0%, 94%) 15%, #fff 20%, hsl(0, 0%, 94%) 25%, #fff 30%, hsl(0, 0%, 94%) 35%, #fff 40%, hsl(0, 0%, 94%) 45%, #fff 50%, hsl(0, 0%, 94%) 55%, #fff 60%, hsl(0, 0%, 94%) 65%, #fff 70%, hsl(0, 0%, 94%) 75%, #fff 80%, hsl(0, 0%, 94%) 85%, #fff 90%, hsl(0, 0%, 94%) 95%, #fff 100% );
	}

	/* Rear Cover */
	.book-3d__inner::after {
	  content: '';
	  position: absolute;
	  top: 0;
	  left: 1%;
	  width: 100%;
	  height: 100%;
	  transform: translateZ( calc( var(--book-thickness) * -1 ) );
	  background-color: var(--cover-color);
	  border-radius: 0 2px 2px 0;
	  box-shadow: -10px 0 50px 10px rgba(0,0,0, 0.3);
	}

	.book-3d__cover {
	  display:block;
	  width:100%;
	  height: auto;
	  border-radius: 0px 2px 2px 0px;
	  transform: translateZ( var(--book-thickness) );
	  box-shadow: 5px 5px 20px rgba(0,0,0, 0.1);
	}
	#mainNav .btn {
		padding: 9px 22px;
		margin: 4px 0;
	}
	.avatar-card.active {
		border-color: rgba(255, 217, 138, 0.8);
		box-shadow: 0 0 0 2px rgba(255, 217, 138, 0.14) inset;
		background: rgba(255, 217, 138, 0.25);
	}
	.order-form-row .form-label {
		margin-top: 20px;
		margin-bottom: 18px;
	}
	.section-copy.order-row-intro {
		margin-bottom: 1.2rem;
	}
	.modal-dialog.modal-l {
		max-width: 660px;
	}
	form#checkoutForm {
		padding: 1rem;
	}

}

@media (max-width: 1199px) {
    .preview-spread-list {
        display: flex;
    }

    .flipbook-base {
        display: none !important;
    }
}

@media (min-width: 1200px) {
    .flipbook-base {
        display: block;
    }

    .preview-spread-list {
        display: none;
    }

    .form-shell {
        max-width: 1044px;
    }

    .form-shell .section-title {
        max-width: 100%;
        text-align: center;
        padding: 0 14%;
    }
}


@media (min-width: 1550px) {
	.book-3d {
        max-width: 510px;
	}
}

@media (min-width: 1600px) {
	.hero-title {
		padding-right: 11%;
	}
}
