/**
 * WP Bootstrap Starter - Custom Styles
 * 
 * Plaats hier je custom CSS overrides.
 * Deze stylesheet wordt geladen NA Bootstrap en de thema styles.
 * 
 * Houd selectors specifiek en lichtgewicht.
 * Gebruik waar mogelijk Bootstrap utility classes.
 *
 * @package FectionWP_Pro
 */

/* ==========================================================================
   ACCESSIBILITY
   ========================================================================== */

/* Skip link - hidden until focused */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    z-index: 9999;
    padding: 0.5rem 1rem;
    background: var(--bs-primary);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 0;
    outline: 2px solid var(--bs-warning);
    outline-offset: 2px;
}

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

/* Minimale hoogte voor main content */
.site-main {
    min-height: 60vh;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.fwp-hero {
    position: relative;
    overflow: hidden;
}

.fwp-hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.fwp-hero__inner {
    position: relative;
    z-index: 2;
}

/* Hero Heights */
.fwp-hero--small {
    min-height: 300px;
}

.fwp-hero--medium {
    min-height: 500px;
}

.fwp-hero--large {
    min-height: 700px;
}

.fwp-hero--full {
    min-height: 100vh;
}

.fwp-hero--auto {
    min-height: auto;
}

/* Hero with background image */
.fwp-hero--has-bg-image {
    background-repeat: no-repeat;
}

/* Hero title styling */
.fwp-hero__title {
    line-height: 1.2;
}

.fwp-hero__subtitle {
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.fwp-hero__description {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Center layout description */
.fwp-hero--centered .fwp-hero__description {
    margin-left: auto;
    margin-right: auto;
}

/* Left layout description */
.fwp-hero--left .fwp-hero__description,
.fwp-hero--split-left .fwp-hero__description,
.fwp-hero--split-right .fwp-hero__description {
    margin-left: 0;
    margin-right: 0;
}

/* Hero buttons */
.fwp-hero__buttons {
    margin-top: 2rem;
}

/* Hero image */
.fwp-hero__image img {
    max-height: 500px;
    width: auto;
    object-fit: cover;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .fwp-hero--full {
        min-height: 70vh;
    }
    
    .fwp-hero--large {
        min-height: 500px;
    }
    
    .fwp-hero__title {
        font-size: 2.5rem !important;
    }
}

@media (max-width: 575.98px) {
    .fwp-hero--medium,
    .fwp-hero--large,
    .fwp-hero--full {
        min-height: auto;
        padding: 3rem 0;
    }
    
    .fwp-hero__title {
        font-size: 2rem !important;
    }
    
    .fwp-hero__buttons {
        flex-direction: column;
    }
    
    .fwp-hero__buttons .btn {
        width: 100%;
    }
}

/* ==========================================================================
   HEADER & NAVIGATIE
   ========================================================================== */

/* Optional topbar/news bar */

/* Site Title/Logo Styling */
.navbar-brand {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    text-decoration: none;
    transition: all 0.3s ease;
}

.navbar-brand a {
    text-decoration: none;
    transition: all 0.3s ease;
}

.site-title {
    line-height: 1.2;
}

.site-tagline {
    font-size: 0.75em;
    opacity: 0.8;
    font-weight: 400;
    line-height: 1.3;
    margin-top: 2px;
}

/* Make sure tagline doesn't break layout */
.navbar-brand:has(.site-tagline) {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}
.fwp-topbar {
    font-size: var(--fwp-topbar-font-size, 0.875rem);
    font-family: var(--fwp-topbar-font-family, inherit);
}

.fwp-topbar a {
    color: var(--fwp-topbar-link-color, inherit);
}

.fwp-topbar__inner {
    overflow: hidden;
    white-space: nowrap;
}

.fwp-topbar--scrolling .fwp-topbar__track {
    display: inline-flex;
    align-items: center;
    width: max-content;
    gap: 3rem;
    animation: fwp-topbar-marquee var(--fwp-topbar-duration, 18s) linear infinite;
}

.fwp-topbar--scrolling .fwp-topbar__item {
    display: inline-flex;
    align-items: center;
}

@keyframes fwp-topbar-marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .fwp-topbar__inner {
        white-space: normal;
    }

    .fwp-topbar--scrolling .fwp-topbar__track {
        animation: none;
        width: 100%;
        justify-content: center;
    }
}

/* Utility bar (top logo/icon menu) */
.fwp-utilitybar {
    font-size: 0.95rem;
}

.fwp-utilitybar a {
    color: var(--fwp-utilitybar-link-color, inherit);
    text-decoration: none;
}

.fwp-utilitybar a:hover {
    text-decoration: underline;
}

.fwp-utilitybar .navbar-brand {
    margin: 0;
    padding: 0;
}

.fwp-utilitybar .custom-logo {
    max-height: 32px;
    width: auto;
}

.fwp-utilitybar .nav {
    gap: var(--fwp-utilitybar-gap, 0.25rem);
}

.fwp-utilitybar__link {
    padding: 0.25rem 0.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.fwp-utilitybar__extras {
    display: inline-flex;
    align-items: center;
    gap: var(--fwp-utilitybar-gap, 0.25rem);
}

.fwp-utilitybar button.fwp-utilitybar__link {
    background: transparent;
    border: 0;
    color: inherit;
}

.fwp-love-button.is-loved .bi {
    color: var(--fwp-utilitybar-link-color, inherit);
}

.header-search-form {
    display: none;
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    min-width: 260px;
    padding: 0.5rem;
    background: var(--bs-body-bg);
    border: 1px solid var(--bs-border-color);
    border-radius: var(--bs-border-radius);
    z-index: 1000;
}

.header-search-form.show {
    display: block;
}

.fwp-utilitybar__link .bi {
    font-size: var(--fwp-utilitybar-icon-size, 1.1rem);
    line-height: 1;
    display: inline-block;
}

/* Custom logo sizing */
.custom-logo {
    max-height: 40px;
    width: auto;
}

/* Active menu item styling */
.navbar-nav .nav-link.active {
    font-weight: 600;
}

/* Dropdown menu styling */
.navbar-nav .dropdown-menu {
    border-radius: 0.375rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

/* Offcanvas navbar */
.offcanvas-header {
    border-bottom: 1px solid var(--bs-border-color);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero-section {
    background: linear-gradient(135deg, var(--bs-primary) 0%, var(--bs-secondary) 100%);
    color: #fff;
    padding: 3rem 0;
    margin-bottom: 2rem;
}

.hero-section .widget {
    margin-bottom: 0;
}

.hero-section .widget-title {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 700;
}

/* ==========================================================================
   CONTENT
   ========================================================================== */

/* Entry content typografie */
.entry-content {
    line-height: 1.8;
}

.entry-content p {
    margin-bottom: 1.25rem;
}

/* Entry thumbnail */
.entry-thumbnail img {
    border-radius: 0.375rem;
}

/* Post navigation links */
.post-navigation a {
    color: var(--bs-body-color);
    text-decoration: none;
}

.post-navigation a:hover {
    color: var(--bs-primary);
}

/* ==========================================================================
   SIDEBAR & WIDGETS
   ========================================================================== */

/* Widget card body padding */
.widget .card-body {
    padding: 1rem;
}

/* Widget title */
.widget-title,
.widgettitle {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--bs-primary);
}

/* Widget list items */
.widget ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.widget ul li {
    padding: 0.375rem 0;
    border-bottom: 1px solid var(--bs-border-color);
}

.widget ul li:last-child {
    border-bottom: none;
}

.widget ul li a {
    color: var(--bs-body-color);
    text-decoration: none;
}

.widget ul li a:hover {
    color: var(--bs-primary);
}

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

.site-footer {
    background-color: var(--bs-dark);
    color: rgba(255, 255, 255, 0.8);
}

.site-footer a {
    color: rgba(255, 255, 255, 0.8);
}

.site-footer a:hover {
    color: #fff;
}

/* Footer widgets */
.footer-widgets {
    padding: 2rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-widgets .widget-title,
.footer-widgets .widgettitle {
    color: #fff;
    border-bottom-color: var(--bs-primary);
}

.footer-widgets .widget ul li {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

/* Footer navigation */
.footer-navigation .menu {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
    gap: 1rem;
}

.footer-navigation .menu-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.footer-navigation .menu-item a:hover {
    color: #fff;
}

/* Site info / copyright */
.site-info {
    font-size: 0.875rem;
}

/* ==========================================================================
   COMMENTS
   ========================================================================== */

.comments-area {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--bs-border-color);
}

.comment-list {
    list-style: none;
    padding-left: 0;
}

.comment-list .comment {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--bs-border-color);
}

.comment-list .comment .children {
    list-style: none;
    padding-left: 2rem;
    margin-top: 1rem;
}

.comment-author .avatar {
    border-radius: 50%;
    margin-right: 0.75rem;
}

.comment-metadata {
    font-size: 0.875rem;
    color: var(--bs-secondary);
}

/* Comment form */
.comment-form label {
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--bs-border-color);
    border-radius: 0.375rem;
}

.comment-form input:focus,
.comment-form textarea:focus {
    border-color: var(--bs-primary);
    outline: none;
    box-shadow: 0 0 0 0.25rem rgba(var(--bs-primary-rgb), 0.25);
}

/* ==========================================================================
   PAGINATION
   ========================================================================== */

.pagination,
.posts-navigation .nav-links,
.page-links {
    display: flex;
    gap: 0.25rem;
    flex-wrap: wrap;
}

.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    padding: 0 0.75rem;
    background-color: var(--bs-light);
    border: 1px solid var(--bs-border-color);
    border-radius: 0.375rem;
    color: var(--bs-body-color);
    text-decoration: none;
    transition: all 0.2s ease;
}

.page-numbers:hover,
.page-numbers.current {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
    color: #fff;
}

/* ==========================================================================
   SEARCH FORM
   ========================================================================== */

.search-form {
    display: flex;
    gap: 0.5rem;
}

.search-form .search-field {
    flex: 1;
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--bs-border-color);
    border-radius: 0.375rem;
}

.search-form .search-field:focus {
    border-color: var(--bs-primary);
    outline: none;
    box-shadow: 0 0 0 0.25rem rgba(var(--bs-primary-rgb), 0.25);
}

.search-form .search-submit {
    padding: 0.5rem 1rem;
    background-color: var(--bs-primary);
    border: 1px solid var(--bs-primary);
    border-radius: 0.375rem;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.search-form .search-submit:hover {
    background-color: var(--bs-primary);
    filter: brightness(0.9);
}

/* ==========================================================================
   PAGE BLOCKS - Bootstrap 5.3 Example Sections
   ========================================================================== */

/* Hero Sections */
.fwp-hero,
.fwp-hero-centered,
.fwp-hero-split,
.fwp-hero-dark {
    position: relative;
    overflow: hidden;
}

.fwp-hero .display-4,
.fwp-hero-centered .display-4,
.fwp-hero-split .display-5 {
    letter-spacing: -0.025em;
}

/* Features Sections */
.fwp-features .feature-icon,
.fwp-features-hanging .icon-square {
    transition: transform 0.2s ease;
}

.fwp-features .col:hover .feature-icon,
.fwp-features-hanging .col:hover .icon-square {
    transform: scale(1.1);
}

.fwp-features-grid .bi {
    transition: color 0.2s ease;
}

.fwp-features-grid .col:hover .bi {
    color: var(--bs-primary) !important;
}

/* Pricing Cards */
.fwp-pricing .card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fwp-pricing .card:hover {
    transform: translateY(-0.5rem);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

.fwp-pricing .pricing-card-title {
    font-size: 3rem;
}

/* Testimonials */
.fwp-testimonials .card {
    transition: transform 0.2s ease;
}

.fwp-testimonials .card:hover {
    transform: translateY(-0.25rem);
}

/* Stats Section */
.fwp-stats .display-5 {
    font-weight: 700;
    letter-spacing: -0.025em;
}

.fwp-stats .bi {
    display: block;
}

/* CTA Sections */
.fwp-cta,
.fwp-cta-banner {
    position: relative;
}

.fwp-cta-banner .rounded-3 {
    transition: box-shadow 0.3s ease;
}

.fwp-cta-banner .rounded-3:hover {
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

/* FAQ Accordion */
.fwp-faq .accordion-button:not(.collapsed) {
    background-color: var(--bs-primary);
    color: white;
}

.fwp-faq .accordion-button:not(.collapsed)::after {
    filter: brightness(0) invert(1);
}

.fwp-faq .accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(var(--bs-primary-rgb), 0.25);
}

/* Team Section */
.fwp-team .card {
    transition: transform 0.2s ease;
}

.fwp-team .card:hover {
    transform: translateY(-0.25rem);
}

.fwp-team .card-img-top {
    aspect-ratio: 1;
    object-fit: cover;
}

/* Contact Section */
.fwp-contact .bi {
    flex-shrink: 0;
}

/* Dividers & Spacers */
.fwp-spacer {
    pointer-events: none;
}

/* Icon Links */
.icon-link {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.icon-link:hover {
    text-decoration: underline;
}

.icon-link .bi {
    transition: transform 0.2s ease;
}

.icon-link:hover .bi {
    transform: translateX(0.25rem);
}

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

/* Full-width sections support for page templates */
.fwp-section-full {
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    width: 100vw;
    max-width: 100vw;
}

/* Remove container constraints for landing pages */
body.page-template-page-landing .site-main,
body.page-template-page-demo .site-main,
body.page-template-page-fullwidth .site-main {
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
}

body.page-template-page-landing .site-main.container,
body.page-template-page-landing .site-main.container-fluid,
body.page-template-page-demo .site-main.container,
body.page-template-page-demo .site-main.container-fluid,
body.page-template-page-fullwidth .site-main.container,
body.page-template-page-fullwidth .site-main.container-fluid {
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
}

/* Hero sections that overlap navbar */
.page-template-page-landing .landing-content > .fwp-hero:first-child,
.page-template-page-landing .landing-content > .fwp-hero-centered:first-child,
.page-template-page-landing .landing-content > .fwp-hero-split:first-child,
.page-template-page-landing .landing-content > .fwp-hero-dark:first-child,
.page-template-page-demo .site-main > .fwp-hero:first-child,
.page-template-page-demo .site-main > .fwp-hero-centered:first-child,
.page-template-page-demo .site-main > .fwp-hero-split:first-child,
.page-template-page-demo .site-main > .fwp-hero-dark:first-child {
    padding-top: calc(76px + 4rem); /* Navbar height + original padding */
}

/* Page with Hero template - hero overlaps navbar */
body.page-template-page-hero .site-main {
    margin-top: -76px; /* Pull up to overlap navbar */
}

body.page-template-page-hero .hero-header {
    padding-top: 76px; /* Compensate for navbar */
}

/* Sections Layout template */
body.page-template-page-sections .site-main {
    margin-top: -76px;
    padding: 0;
    max-width: 100%;
}

body.page-template-page-sections .site-main.container,
body.page-template-page-sections .site-main.container-fluid {
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
}

body.page-template-page-sections .section-hero {
    padding-top: 76px; /* Compensate for navbar */
}

/* Blank canvas template */
body.blank-canvas {
    background: #fff;
}

body.blank-canvas .entry-content {
    min-height: 100vh;
}

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

/* ==========================================================================
   BOOTSTRAP EXAMPLE TEMPLATES
   ========================================================================== */

.example-cover {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background: radial-gradient(circle at 20% 20%, rgba(13, 110, 253, 0.25), transparent 40%),
                radial-gradient(circle at 80% 0%, rgba(102, 16, 242, 0.3), transparent 35%),
                #0b0f1a;
}

.example-cover__gradient {
.bootstrap-examples .example-index .card {
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.bootstrap-examples .example-index .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.12);
}

.example-wrapper {
    background: #fff;
    border: 1px solid var(--bs-border-color);
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.05);
}

.example-pricing .pricing-card {
    border-radius: 1rem;
    border: 1px solid var(--bs-border-color-translucent);
}

.example-pricing .pricing-card.featured {
    border-color: var(--bs-primary);
    box-shadow: 0 1rem 3rem rgba(13, 110, 253, 0.15);
}

.example-album .card-img-top {
    height: 200px;
    object-fit: cover;
}

.example-dashboard .list-group-item.active {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
}

.example-dashboard table thead th {
    white-space: nowrap;
}

.example-signin form {
    max-width: 460px;
    margin: 0 auto;
}

.example-carousel .carousel-item img {
    object-fit: cover;
    max-height: 520px;
}

.example-offcanvas .offcanvas {
    max-width: 320px;
}

.example-sticky-footer .nav-link,
.example-sticky-footer-navbar .nav-link {
    color: inherit;
}

.example-headers .bg-body-tertiary {
    border: 1px solid var(--bs-border-color-translucent);
}

.example-features .card {
    border: 1px solid var(--bs-border-color-translucent);
}

.example-grid .row > [class^="col"] > .p-4,
.example-grid .row-cols-1 .p-4 {
    background: var(--bs-body-bg);
}

.example-heroes .ratio {
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.12), rgba(102, 16, 242, 0.12));
}

    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.7) 0%, rgba(102, 16, 242, 0.8) 100%);
    mix-blend-mode: screen;
    opacity: 0.75;
}

.example-cover .container {
    max-width: 760px;
    z-index: 1;
}

.example-cover__content p:last-child {
    margin-bottom: 0;
}

.example-pricing .pricing-card {
    border-radius: 1rem;
    border: 1px solid var(--bs-border-color-translucent);
}

.example-pricing .pricing-card.featured {
    border-color: var(--bs-primary);
    box-shadow: 0 1rem 3rem rgba(13, 110, 253, 0.15);
}

.example-pricing__content p:last-child,
.example-album__content p:last-child {
    margin-bottom: 0;
}

.example-album .card-img-top {
    height: 200px;
    object-fit: cover;
}

.screen-reader-text:focus {
    position: static;
    width: auto;
    height: auto;
    padding: 0.5rem 1rem;
    margin: 0;
    overflow: visible;
    clip: auto;
    white-space: normal;
    background: #fff;
}

/* Back to Top button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
    width: 3rem;
    height: 3rem;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.2);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-0.25rem);
}

/* ==========================================================================
   RESPONSIVE AANPASSINGEN
   ========================================================================== */

@media (max-width: 767.98px) {
    .site-main {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    
    /* Stack footer widgets on mobile */
    .footer-widgets .row > [class*="col-"] {
        margin-bottom: 1.5rem;
    }
    
    /* Full width search on mobile */
    .search-form {
        flex-direction: column;
    }
    
    .search-form .search-submit {
        width: 100%;
    }
    
    /* Hero section mobile */
    .hero-section {
        padding: 2rem 0;
    }
    
    .hero-section .widget-title {
        font-size: 1.75rem;
    }
}

@media (max-width: 575.98px) {
    /* Footer navigation stacked on small screens */
    .footer-navigation .menu {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
}
