/* ===========================
   ROOT
=========================== */
a {
  color: #000000;
  text-decoration: none;
}

:root {
  --clr-primary: #3f6f70;
  --clr-primary-hover: #31595a;
  --clr-text: #222222;
  --clr-white: #ffffff;
  --border-radius: 12px;
  --transition: 0.3s ease;
  --shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--clr-text);
  padding-top: 85px;
}

.custom-navbar {
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1050;
  background: var(--clr-white);
  box-shadow: var(--shadow);
}
.custom-navbar .container {
  display: flex;
  align-items: center;
}
.custom-navbar {
  /* Logo */
}
.custom-navbar .navbar-brand img {
  height: 60px;
  width: auto;
}
.custom-navbar .navbar-nav {
  gap: 2.5rem;
}
.custom-navbar .navbar-nav .nav-link {
  color: var(--clr-text);
  font-size: 1.05rem;
  font-weight: 500;
  padding: 0.5rem 0;
  transition: var(--transition);
}
.custom-navbar .navbar-nav .nav-link:hover, .custom-navbar .navbar-nav .nav-link.active {
  color: var(--clr-primary);
}
.custom-navbar .btn-offerte {
  background-color: var(--clr-primary);
  color: var(--clr-white);
  border-radius: var(--border-radius);
  padding: 0.85rem 2rem;
  font-weight: 600;
  transition: var(--transition);
}
.custom-navbar .btn-offerte:hover {
  background-color: var(--clr-primary-hover);
  color: var(--clr-white);
}
.custom-navbar .navbar-toggler {
  border: none;
}
.custom-navbar .navbar-toggler i {
  font-size: 3rem;
  color: var(--clr-primary);
}
.custom-navbar .navbar-toggler:focus {
  box-shadow: none;
}

/* ===========================
   TABLET
=========================== */
@media (max-width: 991.98px) {
  .custom-navbar .navbar-nav {
    gap: 1rem;
    text-align: center;
  }
  .custom-navbar .btn-offerte {
    display: block;
    width: -moz-fit-content;
    width: fit-content;
    margin: 1.5rem auto 0;
  }
}
@media (max-width: 991px) {
  .c-nav {
    top: 0;
    left: 0;
    transform: none;
    width: 100%;
    border-radius: 0;
  }
}
/* ===========================
   MOBILE
=========================== */
@media (max-width: 576px) {
  .custom-navbar .navbar-brand img {
    height: 50px;
  }
  .custom-navbar .btn-offerte {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
  }
  .custom-navbar .nav-link {
    font-size: 1rem;
  }
}
/* ===========================
    HERO
=========================== */
.hero {
  padding: 5rem 0 7rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  right: -250px;
  top: -100px;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: var(--clr-primary);
  z-index: -1;
}
.hero h1 {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.05;
  color: var(--clr-text);
}
.hero h1 span {
  color: var(--clr-primary);
}
.hero .hero-line {
  width: 80px;
  height: 4px;
  background: var(--clr-primary);
  margin: 2rem 0;
  border-radius: 10px;
}
.hero p {
  font-size: 1.25rem;
  color: #555;
  line-height: 1.8;
  margin-bottom: 2.5rem;
}
.hero .hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.hero .hero-buttons .btn {
  padding: 1rem 2rem;
  border-radius: var(--border-radius);
  font-weight: 600;
}
.hero .hero-buttons .btn-primary-custom {
  background: var(--clr-primary);
  color: var(--clr-white);
}
.hero .hero-buttons .btn-primary-custom:hover {
  background: var(--clr-primary-hover);
  color: var(--clr-white);
}
.hero .hero-buttons .btn-outline-custom {
  border: 2px solid var(--clr-primary);
  color: var(--clr-primary);
  background: transparent;
}
.hero .hero-buttons .btn-outline-custom i {
  margin-right: 0.5rem;
}
.hero .hero-buttons .btn-outline-custom:hover {
  background: var(--clr-primary);
  color: var(--clr-white);
}
.hero .hero-image {
  max-width: 100%;
  animation: float 5s ease-in-out infinite;
}

@media (max-width: 991.98px) {
  .hero::before {
    content: none;
  }
}
/* ===========================
    ANIMATIE
=========================== */
@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
  100% {
    transform: translateY(0);
  }
}
/* ===========================
    RESPONSIVE
=========================== */
@media (max-width: 991px) {
  .hero {
    text-align: center;
    padding: 3rem 0 5rem;
  }
  .hero h1 {
    font-size: 3rem;
  }
  .hero .hero-line {
    margin: 1.5rem auto;
  }
  .hero .hero-buttons {
    justify-content: center;
  }
  .hero .hero-image {
    margin-top: 2rem;
  }
}
@media (max-width: 576px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  .hero p {
    font-size: 1rem;
  }
  .hero .hero-buttons .btn {
    width: 100%;
  }
}
/*==========================
    FEATURES
==========================*/
.features {
  position: relative;
  margin-top: -70px;
  margin-bottom: 50px;
  z-index: 10;
}
.features .row {
  background: var(--clr-white);
  border-radius: 24px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}
.features .feature-item {
  padding: 3rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 270px;
  transition: var(--transition);
}
.features .feature-item:not(:last-child) {
  border-right: 1px solid #e8e8e8;
}
.features .feature-item:hover {
  background: #fafafa;
}
.features .feature-item:hover i {
  transform: scale(1.1);
}
.features .feature-item i {
  font-size: 3rem;
  color: var(--clr-primary);
  margin-bottom: 1.5rem;
  transition: 0.3s;
}
.features .feature-item h4 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--clr-text);
  margin-bottom: 1rem;
}
.features .feature-item p {
  margin: 0;
  max-width: 230px;
  color: #6d6d6d;
  line-height: 1.7;
}

@media (max-width: 991.98px) {
  .features {
    margin-top: 3rem;
  }
  .features .feature-item {
    min-height: auto;
    padding: 2.5rem;
    border-right: none !important;
    border-bottom: 1px solid #ececec;
  }
  .features .feature-item:last-child {
    border-bottom: none;
  }
}
/*==========================
    SERVICES
==========================*/
.services {
  padding: 7rem 0;
  background: #081521;
}
.services .section-title {
  max-width: 700px;
  margin: 0 auto 4rem;
}
.services .section-title span {
  display: inline-block;
  color: var(--clr-primary);
  font-weight: 600;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.services .section-title h2 {
  color: var(--clr-white);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 1rem;
}
.services .section-title p {
  color: #b9c1ca;
  line-height: 1.8;
}
.services .service-card {
  background: #122131;
  border-radius: 20px;
  padding: 2.5rem;
  height: 100%;
  transition: 0.35s ease;
  border: 1px solid transparent;
}
.services .service-card:hover {
  transform: translateY(-10px);
  border-color: var(--clr-primary);
}
.services .service-card .service-icon {
  width: 75px;
  height: 75px;
  border-radius: 18px;
  background: rgba(63, 111, 112, 0.15);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 2rem;
}
.services .service-card .service-icon i {
  font-size: 2rem;
  color: var(--clr-primary);
}
.services .service-card h3 {
  color: var(--clr-white);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}
.services .service-card p {
  color: #c8d0d8;
  line-height: 1.8;
  margin-bottom: 2rem;
}
.services .service-card a {
  color: var(--clr-primary);
  text-decoration: none;
  font-weight: 600;
}
.services .service-card a i {
  margin-left: 0.5rem;
  transition: 0.3s;
}
.services .service-card a:hover i {
  margin-left: 1rem;
}

@media (max-width: 991.98px) {
  .services {
    padding: 5rem 0;
  }
  .services .section-title {
    margin-bottom: 3rem;
  }
}
/*==========================
    ABOUT
==========================*/
.about {
  padding: 7rem 0;
}
.about .about-image {
  position: relative;
  background: white;
  border-radius: 35px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08);
  padding: 3rem 2rem 0;
}
.about .about-image img {
  width: 100%;
  position: relative;
  z-index: 3;
}
.about .about-image .circle {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: #e8f5f5;
  bottom: -120px;
  left: 50%;
  transform: translateX(-50%);
}
.about .about-image .dots {
  position: absolute;
  width: 140px;
  height: 140px;
  left: 45px;
  top: 120px;
  background-image: radial-gradient(var(--clr-primary) 1.5px, transparent 1.5px);
  background-size: 20px 20px;
  opacity: 0.25;
}
.about .subtitle {
  color: var(--clr-primary);
  font-weight: 700;
  letter-spacing: 2px;
  font-size: 0.95rem;
}
.about h2 {
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 700;
  margin: 1rem 0;
  line-height: 1.1;
}
.about h2 span {
  color: var(--clr-primary);
}
.about .line {
  width: 80px;
  height: 4px;
  background: var(--clr-primary);
  border-radius: 10px;
  margin: 2rem 0;
}
.about p {
  color: #666;
  line-height: 1.9;
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}
.about .stats {
  margin: 3rem 0;
}
.about .stats .stat {
  text-align: center;
  position: relative;
}
.about .stats .stat:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 15%;
  width: 1px;
  height: 70%;
  background: #e9e9e9;
}
.about .stats .stat .icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #eef8f8;
  margin: auto auto 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}
.about .stats .stat .icon i {
  color: var(--clr-primary);
  font-size: 2rem;
}
.about .stats .stat h3 {
  color: var(--clr-primary);
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.about .stats .stat h5 {
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.about .stats .stat small {
  color: #777;
}
.about .about-btn {
  background: var(--clr-primary);
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 12px;
  font-weight: 600;
  transition: 0.3s;
}
.about .about-btn:hover {
  background: var(--clr-primary-hover);
  color: white;
  transform: translateY(-3px);
}

@media (max-width: 991px) {
  .about {
    text-align: center;
  }
  .about .line {
    margin-inline: auto;
  }
  .about .stats .stat {
    margin-bottom: 2rem;
  }
  .about .stats .stat::after {
    display: none;
  }
  .about .about-image {
    margin-bottom: 3rem;
  }
  .about .about-image .circle {
    width: 320px;
    height: 320px;
  }
}
.projects {
  padding: 7rem 0;
  background: #f8f9fb;
}
.projects .section-title {
  margin-bottom: 4rem;
}
.projects .section-title span {
  color: var(--clr-primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.projects .section-title h2 {
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 700;
  margin: 1rem 0;
}
.projects .section-title p {
  color: #666;
  max-width: 650px;
  margin: auto;
  line-height: 1.8;
}
.projects .project-card {
  position: relative;
  overflow: hidden;
  border-radius: 25px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}
.projects .project-card img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  -o-object-fit: contain;
     object-fit: contain;
  transition: 0.6s;
}
.projects .project-card:hover img {
  transform: scale(1.08);
}
.projects .project-card:hover .overlay {
  opacity: 1;
}
.projects .project-card .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 18, 28, 0.95), rgba(7, 18, 28, 0.25));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  opacity: 0;
  transition: 0.35s;
}
.projects .project-card .overlay span {
  color: white;
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.projects .project-card .overlay h4 {
  color: white;
  font-size: 2rem;
  margin-bottom: 1rem;
}
.projects .project-card .project-btn {
  width: -moz-fit-content;
  width: fit-content;
  background: var(--clr-primary);
  color: white;
  padding: 0.9rem 1.5rem;
  border-radius: 10px;
  text-decoration: none;
  transition: 0.3s;
}
.projects .project-card .project-btn:hover {
  background: var(--clr-primary-hover);
  color: white;
}

/*==========================
    CONTACT
==========================*/
.contact {
  padding: 7rem 0;
  background: #f8f9fb;
}
.contact .section-title {
  margin-bottom: 5rem;
}
.contact .section-title span {
  color: var(--clr-primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.contact .section-title h2 {
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 700;
  margin: 1rem 0;
}
.contact .section-title p {
  color: #666;
  max-width: 650px;
  margin: auto;
}
.contact .contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.contact .info-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: white;
  padding: 1.5rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: 0.3s;
}
.contact .info-item:hover {
  transform: translateY(-5px);
}
.contact .info-item .icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #eef8f8;
  display: flex;
  justify-content: center;
  align-items: center;
}
.contact .info-item .icon i {
  font-size: 1.8rem;
  color: var(--clr-primary);
}
.contact .info-item h5 {
  margin-bottom: 0.3rem;
  font-weight: 600;
}
.contact .info-item p {
  margin: 0;
  color: #666;
}
.contact .contact-form {
  background: white;
  padding: 3rem;
  border-radius: 25px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}
.contact .contact-form .form-control {
  border: none;
  background: #f4f6f8;
  border-radius: 12px;
  padding: 1rem 1.2rem;
}
.contact .contact-form .form-control:focus {
  box-shadow: none;
  border: 2px solid var(--clr-primary);
  background: white;
}
.contact .contact-btn {
  background: var(--clr-primary);
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 12px;
  font-weight: 600;
  transition: 0.3s;
}
.contact .contact-btn:hover {
  background: var(--clr-primary-hover);
  color: white;
  transform: translateY(-3px);
}

@media (max-width: 991px) {
  .contact {
    text-align: center;
  }
  .contact .info-item {
    justify-content: center;
    text-align: left;
  }
  .contact .contact-form {
    padding: 2rem;
  }
}
/*==========================
    FOOTER
==========================*/
.footer {
  background: #081521;
  color: white;
  padding-top: 5rem;
}
.footer .footer-logo {
  width: 190px;
  margin-bottom: 1.5rem;
}
.footer .footer-text {
  color: #b8c2cb;
  line-height: 1.8;
  margin-bottom: 2rem;
}
.footer h4 {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}
.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer ul li {
  margin-bottom: 1rem;
  color: #b8c2cb;
}
.footer ul li i {
  margin-right: 0.7rem;
  color: var(--clr-primary);
}
.footer ul a {
  color: #b8c2cb;
  text-decoration: none;
  transition: 0.3s;
}
.footer ul a:hover {
  color: var(--clr-primary);
}
.footer .socials {
  display: flex;
  gap: 1rem;
}
.footer .socials a {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: #102334;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  transition: 0.3s;
  text-decoration: none;
}
.footer .socials a:hover {
  background: var(--clr-primary);
  transform: translateY(-5px);
}
.footer hr {
  border-color: rgba(255, 255, 255, 0.08);
  margin: 4rem 0 2rem;
}
.footer .footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 2rem;
}
.footer .footer-bottom p {
  margin: 0;
  color: #b8c2cb;
}
.footer .footer-bottom div {
  display: flex;
  gap: 2rem;
}
.footer .footer-bottom a {
  color: #b8c2cb;
  text-decoration: none;
  transition: 0.3s;
}
.footer .footer-bottom a:hover {
  color: var(--clr-primary);
}

@media (max-width: 991px) {
  .footer {
    text-align: center;
  }
  .footer .socials {
    justify-content: center;
  }
  .footer .footer-bottom {
    flex-direction: column;
    gap: 1rem;
  }
  .footer .footer-bottom div {
    justify-content: center;
    flex-wrap: wrap;
  }
}
.form-message {
  margin-top: 20px;
  padding: 15px 20px;
  border-radius: 10px;
  display: none;
  font-weight: 500;
}

.form-message.success {
  display: block;
  background: #eafaf0;
  color: #198754;
  border: 1px solid #198754;
}

.form-message.error {
  display: block;
  background: #fdeaea;
  color: #dc3545;
  border: 1px solid #dc3545;
}

@media (max-width: 576px) {
  html,
  body {
    overflow-x: hidden;
  }
}
/*==========================
    FORMULIER – extra
==========================*/
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact .form-privacy {
  font-size: 0.875rem;
  color: #666;
  margin-bottom: 1.5rem;
}
.contact .form-privacy a {
  color: var(--clr-primary);
  text-decoration: underline;
}

/*==========================
    JURIDISCHE PAGINA'S
==========================*/
.legal {
  padding: 5rem 0 6rem;
}
.legal h1 {
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.legal h2 {
  font-size: 1.35rem;
  font-weight: 600;
  margin: 2.5rem 0 1rem;
}
.legal p,
.legal li {
  color: #444;
  line-height: 1.8;
}
.legal a {
  color: var(--clr-primary);
  text-decoration: underline;
}
.legal .legal-meta {
  color: #888;
  font-size: 0.9rem;
}

/*==========================
    DIENSTEN IN DETAIL
==========================*/
.about .about-image img {
  height: auto;
}

.service-details {
  padding: 7rem 0;
  background: #f8f9fb;
}
.service-details .section-title {
  max-width: 700px;
  margin: 0 auto 4rem;
}
.service-details .section-title span {
  display: inline-block;
  color: var(--clr-primary);
  font-weight: 600;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.service-details .section-title h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 1rem;
}
.service-details .section-title p {
  color: #666;
  line-height: 1.8;
}
.service-details .detail-row {
  background: white;
  border-radius: 25px;
  padding: 3rem;
  margin-bottom: 2rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
  scroll-margin-top: 110px;
}
.service-details .detail-head {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}
.service-details .service-icon {
  width: 65px;
  height: 65px;
  flex-shrink: 0;
  border-radius: 18px;
  background: #eef8f8;
  display: flex;
  justify-content: center;
  align-items: center;
}
.service-details .service-icon i {
  font-size: 1.75rem;
  color: var(--clr-primary);
}
.service-details h3 {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0;
}
.service-details p {
  color: #555;
  line-height: 1.8;
}
.service-details h4 {
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--clr-primary);
  margin-bottom: 1.25rem;
}
.service-details .detail-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.service-details .detail-list li {
  display: flex;
  gap: 0.85rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid #eef0f2;
  color: #555;
  line-height: 1.6;
}
.service-details .detail-list li:last-child {
  border-bottom: none;
}
.service-details .detail-list i {
  color: var(--clr-primary);
  font-size: 1.2rem;
  flex-shrink: 0;
}
.service-details .detail-list strong {
  color: var(--clr-text);
}
.service-details .btn-primary-custom {
  background: var(--clr-primary);
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 12px;
  font-weight: 600;
  transition: 0.3s;
}
.service-details .btn-primary-custom:hover {
  background: var(--clr-primary-hover);
  color: white;
  transform: translateY(-3px);
}

@media (max-width: 991px) {
  .service-details {
    padding: 5rem 0;
  }
  .service-details .detail-row {
    padding: 2rem 1.5rem;
  }
}

/*==========================
    PORTFOLIO
==========================*/
/* Knoppen ook buiten de hero bruikbaar */
.projects .btn-primary-custom,
.portfolio-detail .btn-primary-custom,
.pf-cta .btn-primary-custom {
  background: var(--clr-primary);
  color: white;
  padding: 1rem 2.25rem;
  border-radius: 12px;
  font-weight: 600;
  transition: 0.3s;
}
.projects .btn-primary-custom:hover,
.portfolio-detail .btn-primary-custom:hover,
.pf-cta .btn-primary-custom:hover {
  background: var(--clr-primary-hover);
  color: white;
  transform: translateY(-3px);
}
.portfolio-detail .btn-outline-custom {
  border: 2px solid var(--clr-primary);
  color: var(--clr-primary);
  padding: calc(1rem - 2px) 2rem;
  border-radius: 12px;
  font-weight: 600;
  transition: 0.3s;
}
.portfolio-detail .btn-outline-custom:hover {
  background: var(--clr-primary);
  color: white;
}

/* Op toestellen zonder muis (gsm/tablet) de titel op de projectkaart altijd tonen */
@media (hover: none) {
  .projects .project-card .overlay {
    opacity: 1;
    background: linear-gradient(to top, rgba(7, 18, 28, 0.85), rgba(7, 18, 28, 0) 60%);
  }
}

/* Overzichtspagina */
.portfolio-page .section-title .h2-like {
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 700;
  margin: 1rem 0;
}
.pf-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin: -1.5rem 0 3rem;
}
.pf-filters button {
  border: 1px solid #dde3e6;
  background: white;
  color: #444;
  padding: 0.55rem 1.25rem;
  border-radius: 50px;
  font-weight: 500;
  font-family: inherit;
  transition: 0.25s;
}
.pf-filters button:hover {
  border-color: var(--clr-primary);
  color: var(--clr-primary);
}
.pf-filters button.active {
  background: var(--clr-primary);
  border-color: var(--clr-primary);
  color: white;
}

.pf-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: white;
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}
.pf-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}
.pf-card-img {
  aspect-ratio: 16 / 10;
  background: #eef2f3;
  overflow: hidden;
}
.pf-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.6s;
}
.pf-card:hover .pf-card-img img {
  transform: scale(1.05);
}
.pf-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.5rem 1.75rem 1.75rem;
}
.pf-card-body h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0.35rem 0 0.5rem;
  color: var(--clr-text);
}
.pf-card-body p {
  color: #666;
  line-height: 1.7;
  margin-bottom: 1rem;
}
.pf-cat {
  display: inline-block;
  color: var(--clr-primary);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}
.pf-more {
  margin-top: auto;
  color: var(--clr-primary);
  font-weight: 600;
}
.pf-more i {
  display: inline-block;
  margin-left: 0.35rem;
  transition: transform 0.3s;
}
.pf-card:hover .pf-more i {
  transform: translateX(5px);
}

.pf-cta {
  margin-top: 6rem;
  background: white;
  border-radius: 25px;
  padding: 3.5rem 1.5rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}
.pf-cta h2 {
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.pf-cta p {
  color: #666;
  margin-bottom: 1.75rem;
}

/* Detailpagina */
.portfolio-detail {
  padding: 4rem 0 7rem;
  background: #f8f9fb;
}
.pf-back {
  display: inline-block;
  color: var(--clr-primary);
  font-weight: 600;
  margin-bottom: 2.5rem;
}
.pf-detail-info {
  position: sticky;
  top: 110px;
}
.pf-detail-info h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin: 0.5rem 0 0;
}
.pf-line {
  width: 70px;
  height: 4px;
  background: var(--clr-primary);
  border-radius: 10px;
  margin: 1.5rem 0;
}
.pf-text p {
  color: #555;
  line-height: 1.8;
}
.pf-facts {
  list-style: none;
  margin: 2rem 0 0;
  background: white;
  border-radius: 18px;
  padding: 0.5rem 1.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
}
.pf-facts li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid #eef0f2;
}
.pf-facts li:last-child {
  border-bottom: none;
}
.pf-facts span {
  color: #888;
}
.pf-facts strong {
  text-align: right;
  font-weight: 600;
}
.pf-facts a {
  color: var(--clr-primary);
}
.pf-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.pf-shot {
  display: block;
  border-radius: 18px;
  overflow: hidden;
  background: #eef2f3;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
  cursor: zoom-in;
}
.pf-shot img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.5s;
}
.pf-shot:hover img {
  transform: scale(1.03);
}
.pf-shot.pf-shot-main {
  grid-column: 1 / -1;
}
.pf-shot.pf-shot-main img {
  aspect-ratio: auto;
  height: auto;
  object-fit: contain;
}
.pf-pager {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 5rem;
  padding-top: 2.5rem;
  border-top: 1px solid #e3e7eb;
}
.pf-pager a {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  max-width: 48%;
}
.pf-pager a.next {
  text-align: right;
  margin-left: auto;
}
.pf-pager small {
  color: var(--clr-primary);
  font-weight: 600;
}
.pf-pager span {
  font-size: 1.15rem;
  font-weight: 600;
}
.pf-lightbox .modal-content {
  background: transparent;
  border: none;
}
.pf-lightbox img {
  width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 12px;
}
.pf-lightbox .btn-close {
  position: absolute;
  top: -2.5rem;
  right: 0;
}

@media (max-width: 991px) {
  .pf-detail-info {
    position: static;
  }
  .portfolio-detail {
    padding: 3rem 0 5rem;
  }
}
@media (max-width: 576px) {
  .pf-gallery {
    grid-template-columns: 1fr;
  }
  .pf-filters {
    margin-top: -2rem;
  }
}
