#pc-guide {
  background-color: #f8f9fa; /* Background color for the entire page, even margins */
}

/* Mobile */
@media (max-width: 767px) {
  body {
    background-color: #f8f9fa; /* Overwrite full ALTERNATE background on mobile */
  }
}

#pc-guide .row > * {
  background-color: transparent; /* Makes image visible behind the services cards */
}

/* BACK LINK ---------------------------------- */

#pc-guide .back-link-wrap {
  padding: 15px 30px 0;
}

#pc-guide .back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #333;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s ease;
}

#pc-guide .back-link:hover {
  color: #e3000c;
}

#pc-guide .back-link-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Mobile */
@media (max-width: 767px) {
  #pc-guide .back-link-wrap {
    padding: 15px 0 0;
  }
}

/* HERO ---------------------------------- */

.hero-banner {
  height: 300px;
  background: linear-gradient(to right, #f00028, #c5001d);
  position: relative;
  margin: 15px 30px 0;
  border-radius: 5px;
  overflow: hidden;
}

.hero-overlay {
  display: none; /* Disabled: image has transparent parts, overlay would show through */
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 30px;
}

.hero-left {
  color: white;
  width: 100%;
  position: relative;
  z-index: 3;
}

.hero-left h1 {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 10px;
}

.hero-left .subtitle {
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 30px;
}

.feature {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.feature img {
  margin-right: 10px;
}

.feature span {
  font-size: 24px;
  font-weight: 500;
}

.hero-right {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 40%;
  max-width: 100%;
  padding-right: 30px;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.hero-right img {
  max-height: 200px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.deco {
  position: absolute;
  width: 56px;
  height: 56px;
  background: rgba(255, 151, 175, 0.3);
  z-index: 1;
}

.deco-1 {
  right: 130px;
  top: 67px;
}

.deco-2 {
  right: 375px;
  bottom: 36px;
}

.deco-3 {
  right: 300px;
  top: 43px;
}

.deco-4 {
  right: 115px;
  top: 27px;
}

@media (max-width: 768px) {
  .hero-banner {
    height: auto;
    min-height: 200px;
    margin: 15px 0 0;
  }

  .hero-content {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
  }

  .hero-left h1 {
    font-size: 24px;
  }

  .hero-left .subtitle,
  .feature span {
    font-size: 16px;
  }

  .hero-right,
  .deco {
    display: none;
  }
}

/* On mobile screens (below 768px), show mobile banner and hide desktop */
@media (max-width: 767px) {
  #pc-guide .hero {
    padding: 15px 0 0;
  }

  #pc-guide .hero .hero-desktop {
    display: none;
  }

  #pc-guide .hero .hero-mobile {
    display: block;
  }
}

/* HERO SERVICES ----------------------------------*/

#pc-guide .hero-services {
  position: relative;
  z-index: 10;
  margin-top: -90px;
  padding: 30px 60px 0;

  background-image: url("../download/b2c_be_nl/pic/pcguide/page-main/services-banner.png");
  background-repeat: no-repeat;
}

#pc-guide .hero-services .row {
  background-color: transparent; /* Makes image visible behind the services cards */
}

#pc-guide .hero-services-card {
  background-color: white;

  border-color: #e2e2e2;
  border-width: 1px;
  border-style: solid;
  border-radius: 5px;

  padding: 30px;

  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  height: 100%;
}

#pc-guide .hero-services-card img {
  flex-shrink: 0;
  margin-bottom: 10px;
}

#pc-guide .hero-services-card .service-title {
  margin: 0 0 10px 0;
  text-align: center;
}

#pc-guide .hero-services-card p {
  background-color: transparent;
  text-align: center;
  margin: 0;
}

/* Mobile */
@media (max-width: 767px) {
  #pc-guide .hero-services {
    margin-top: -90px;
    padding: 15px 15px 0;
  }

  #pc-guide .hero-services-card {
    padding: 24px 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  }

  #pc-guide .hero-services-card .service-title {
    font-size: 1.1rem;
  }

  #pc-guide .hero-services-card p {
    text-align: center;
    font-size: 14px;
    line-height: 1.45;
  }
}

/* INFO BANNER ----------------------------------*/

#pc-guide .info-banner {
  background-color: white;
  padding: 60px 30px;
  margin: 30px 30px 0;
  border-radius: 5px;

  border-color: #e2e2e2;
  border-width: 1px;
  border-style: solid;

  position: relative;
  overflow: hidden;
}

#pc-guide .info-banner-red-layer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #e3000c;
  clip-path: polygon(55% 100%, 100% 5%, 100% 100%);
  z-index: 1;
}

#pc-guide .info-banner-gray-layer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(224, 224, 224, 0.5);
  clip-path: polygon(50% 100%, 100% 0, 100% 100%);
  z-index: 0;
}

#pc-guide .info-banner-content {
  text-align: center;
  max-width: 550px;
  margin: 0 auto;
  position: relative;
  z-index: 3;
}

#pc-guide .info-banner-content h2,
#pc-guide .info-banner-content p {
  text-shadow:
    0 1px 2px rgba(255, 255, 255, 0.9),
    0 0 1px #fff;
}

#pc-guide .info-banner-content h2 {
  margin-bottom: 20px;
}

#pc-guide .info-banner-content p {
  margin-bottom: 30px;
}

#pc-guide .info-banner-image {
  position: absolute;
  bottom: 0;
  max-width: 300px;
  max-height: 250px;
  object-fit: contain;
  z-index: 2;
}

#pc-guide .info-banner-image-left {
  left: 0;
}

#pc-guide .info-banner-image-right {
  right: 0;
}

/* Mobile – reuse red layer + left image only, white/red button */
@media (max-width: 767px) {
  #pc-guide .info-banner {
    padding: 60px 24px 200px;
    margin: 15px 0 0;
  }

  #pc-guide .info-banner .basic-button {
    background-color: white;
    color: #e3000c;
    border: 2px solid #e3000c;
  }

  #pc-guide .info-banner .basic-button:hover {
    background-color: #f5f5f5;
    color: #b90009;
    border-color: #b90009;
  }

  /* Red layer:zelfde rode driehoek als desktop */
  #pc-guide .info-banner-red-layer {
    clip-path: polygon(55% 100%, 100% 40%, 100% 100%);
  }

  /* Grijze laag:zelfde vorm als desktop, naast rode driehoek */
  #pc-guide .info-banner-gray-layer {
    clip-path: polygon(50% 100%, 100% 35%, 100% 100%);
  }

  /* Only left image, bigger, centered at bottom */
  #pc-guide .info-banner-image-left {
    display: block;
    left: 50%;
    right: auto;
    max-width: 280px;
    max-height: 260px;
    transform: translateX(-50%);
  }

  #pc-guide .info-banner-image-right {
    display: none;
  }
}

/* STAPPENPLAN ----------------------------------*/

#pc-guide .step-plan {
  padding: 30px 30px 0;
}

#pc-guide .step-plan .row {
  position: relative;
}

#pc-guide .step-plan .col-12.col-md-3 {
  position: relative;
}

/* Add dotted line after each step except the last one */
#pc-guide .step-plan .col-12.col-md-3:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 30px;
  left: 50%;
  right: -50%;
  height: 2px;
  border-top: 2px dotted black;
  z-index: 0;
}

#pc-guide .step-plan-card {
  position: relative;
  z-index: 2;
}

#pc-guide .step-plan-card img {
  max-width: 60px;
  margin: 0 auto;
}

/* Hide dotted lines on mobile */
@media (max-width: 767px) {
  #pc-guide .step-plan {
    display: none;
  }
}

#pc-guide .step-plan-title {
  margin-bottom: 0px;
}

/* IMAGE CAROUSEL ---------------------------------- */
/* Same slider pattern as lineup-gamer .lineup .row */

#pc-guide .image-carousel {
  padding: 30px 30px 0;
}

#pc-guide .image-carousel-wrap {
  position: relative;
}

#pc-guide .carousel-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid #e2e2e2;
  background: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  color: #333;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

#pc-guide .carousel-nav-prev {
  left: 10px;
}

#pc-guide .carousel-nav-next {
  right: 10px;
}

#pc-guide .carousel-nav-btn svg {
  width: 24px;
  height: 24px;
  display: block;
}

#pc-guide .carousel-nav-btn:hover:not(:disabled) {
  background: #e3000c;
  border-color: #e3000c;
  color: white;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

#pc-guide .carousel-nav-btn:disabled {
  display: none;
}

#pc-guide .image-carousel-item {
  position: relative;
}

#pc-guide .image-carousel .row .image-carousel-notice {
  position: absolute;
  bottom: 12px;
  left: 12px;
  height: 32px;
  background-color: rgba(0, 0, 0, 0.35);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  z-index: 1;
  pointer-events: auto;
  cursor: pointer;
  transition: all 0.3s ease;
  overflow: hidden;
  white-space: nowrap;
  width: 32px;
}

#pc-guide .image-carousel .row .image-carousel-notice:hover {
  background-color: rgba(0, 0, 0, 0.65);
  width: auto;
  padding-right: 12px;
}

#pc-guide .image-carousel .row .image-carousel-notice .icon-wrapper {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

#pc-guide .image-carousel .row .image-carousel-notice img {
  width: 14px;
  height: 14px;
  display: block;
  flex-shrink: 0;
}

#pc-guide .image-carousel .row .image-carousel-notice .notice-text {
  color: white;
  font-size: 13px;
  font-weight: 500;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
  padding-left: 0px;
  padding-right: 0px;
  white-space: nowrap;
  max-width: 0;
  overflow: hidden;
}

#pc-guide .image-carousel .row .image-carousel-notice:hover .notice-text {
  opacity: 1;
  transform: translateX(0);
  max-width: 200px;
}

#pc-guide .image-carousel .row {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  user-select: none;
  margin: 0 -15px;
}

#pc-guide .image-carousel .row::-webkit-scrollbar {
  display: none;
}

#pc-guide .image-carousel .row.dragging {
  cursor: grabbing;
  scroll-behavior: auto;
}

#pc-guide .image-carousel .row .image-carousel-item > img.img-fluid {
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 5px;
}

#pc-guide .image-carousel .row * {
  user-select: none;
}

#pc-guide .image-carousel .row > div {
  flex: 0 0 25%;
  padding: 0 15px;
}

@media (max-width: 1199.98px) {
  #pc-guide .image-carousel .row > div {
    flex: 0 0 30.77%;
  }
}

@media (max-width: 991.98px) {
  #pc-guide .image-carousel .row > div {
    flex: 0 0 44.44%;
  }
}

@media (max-width: 575.98px) {
  #pc-guide .image-carousel .row > div {
    flex: 0 0 80%;
  }
}

@media (max-width: 767px) {
  #pc-guide .image-carousel {
    padding: 15px 0 0;
  }
}

/* MAIN SERVICES ----------------------------------*/

#pc-guide .main-services {
  padding: 30px 30px 0;

  background-image: url("../download/b2c_be_nl/pic/pcguide/page-main/services-banner.png");
  background-repeat: no-repeat;
}

#pc-guide .main-services .row {
  background-color: transparent; /* Makes image visible behind the services cards */
}

#pc-guide .main-services-card {
  width: 100%;
  height: 100%;
  background-color: white;
  border: 1px solid #e2e2e2;
  border-radius: 5px;
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#pc-guide .main-services-card > img {
  align-self: center;
}

#pc-guide .main-services-card .service-title {
  margin-top: 10px;
}

#pc-guide .main-services-card p {
  background-color: transparent;
  margin-bottom: 0;
}

/* Mobile */
@media (max-width: 767px) {
  #pc-guide .main-services {
    padding: 15px 0 0;
  }

  #pc-guide .main-services-card {
    padding: 24px 20px;
  }

  #pc-guide .main-services-card .service-title {
    font-size: 1.1rem;
    margin-top: 14px;
    margin-bottom: 10px;
  }

  #pc-guide .main-services-card p {
    font-size: 14px;
    line-height: 1.45;
  }
}

/* PC LINEUP ----------------------------------*/

#pc-guide .pc-lineup {
  padding: 30px 30px 0;
}

#pc-guide .pc-lineup-card {
  background-color: white;

  border-color: #e2e2e2;
  border-width: 1px;
  border-style: solid;
  border-radius: 5px;

  padding: 30px; /* Card padding */
  text-align: center;

  /* To ensure all cards have the same height */
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}

#pc-guide .pc-lineup-card img {
  display: block; /* This is so btn doesnt overlap with image */
  margin: 0 auto; /* Center the image */
  background-color: white;
  margin-top: auto; /* This is so the image is at the bottom of the card */
}

#pc-guide .pc-lineup-card h2,
#pc-guide .pc-lineup-card p {
  background-color: transparent;
  margin-top: auto; /* This is so the image is at the bottom of the card */
}

/* INFO PANEL ----------------------------------*/

#pc-guide .info-panel {
  padding: 30px 30px 0;
  padding-top: 0;
  padding-bottom: 30px;
}

#pc-guide .info-panel-container {
  display: none;
}

#pc-guide .info-panel-container.active {
  display: block;
}

#pc-guide .info-panel-image {
  height: 100%;
  border-radius: 5px;
  overflow: hidden;
}

#pc-guide .info-panel-image img {
  width: 100%;
  max-height: 400px;
  min-height: 100%;
  object-fit: cover;
}

#pc-guide .info-panel-content {
  background: white;
  border: 1px solid #e2e2e2;
  border-radius: 5px;
  padding: 30px;
  height: 100%;
}

#pc-guide .info-panel-item {
  position: relative;
}

#pc-guide .info-panel-item:not(:last-child) {
  margin-bottom: 15px;
}

#pc-guide .info-panel-question {
  background: transparent;
  border: 1px solid #e2e2e2;
  border-left: 3px solid #e3000c;
  border-radius: 0 5px 5px 0;
  padding: 15px;
  width: 100%;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

#pc-guide .info-panel-question:hover {
  color: #e3000c;
  transform: translateY(-2px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

#pc-guide .info-panel-item.active .info-panel-question {
  color: #e3000c;
}

#pc-guide .info-panel-question::after {
  content: "";
  width: 16px;
  height: 16px;
  background: url("../download/b2c_be_nl/pic/pcguide/shared/arrow.svg") center /
    contain no-repeat;
  transition: transform 0.3s ease;
  padding-right: 10px;
}

#pc-guide .info-panel-item.active .info-panel-question::after {
  transform: rotate(180deg);
}

#pc-guide .info-panel-answer {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 10;
  margin-top: 8px;
  background: white;
  border-radius: 0 5px 5px 0;
  padding: 20px;
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.12),
    0 0 0 1px rgba(0, 0, 0, 0.05);
}

#pc-guide .info-panel-item.active .info-panel-answer {
  display: block;
  animation: fadeInAnswer 0.3s ease;
}

@keyframes fadeInAnswer {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#pc-guide .info-panel p {
  margin: 0;
}

/* Mobile */
@media (max-width: 767px) {
  #pc-guide .info-panel {
    padding: 15px 0 0;
  }

  #pc-guide .info-panel-image {
    display: none;
  }

  #pc-guide .info-panel-content {
    padding: 20px;
    color: #000 !important;
  }

  #pc-guide .info-panel-question {
    padding: 12px;
    font-size: 15px;
    color: #000 !important;
  }

  #pc-guide .info-panel-answer {
    padding: 12px;
    font-size: 14px;
    color: #000 !important;
  }

  #pc-guide .info-panel p {
    color: #000 !important;
  }
}

/*PCB BANNER ----------------------------------*/

#pc-guide .pcb-banner {
  padding: 15px 30px 15px; /* TEMP bottom: remove when adding MEEST POPULAIRE SYSTEMEN */
}

/* Show desktop banner by default, hide mobile */
#pc-guide .pcb-banner .pcb-desktop {
  display: block;
}

#pc-guide .pcb-banner .pcb-mobile {
  display: none;
}

/* On mobile screens (below 768px), show mobile banner and hide desktop */
@media (max-width: 767px) {
  #pc-guide .pcb-banner {
    padding: 15px 0 15px;
  }

  #pc-guide .pcb-banner .pcb-desktop {
    display: none;
  }

  #pc-guide .pcb-banner .pcb-mobile {
    display: block;
  }
}

/* GENERAL ----------------------------------*/

/* Buttons */
#pc-guide .basic-button {
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;

  padding: 5px 30px;

  background-color: #e3000c;
  color: white;
}

#pc-guide .basic-button:hover {
  transition: 0.25s ease;
  transform: translateY(-2px);

  background-color: #b90009;
}
