:root {
    --primary-color: #AF72DB;
    --facebook-color: #1877F2;
    --linkedin-color: #0A66C2;
    --instagram-color: #E4405F;
}

/* Bootstrap Primary Color Override */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: #9a5fc7;
    border-color: #9a5fc7;
}

/* Custom Contact Button */
.btn-contact {
    background-color: #0dcaf0;
    border-color: #0dcaf0;
    color: white;
}

.btn-contact:hover,
.btn-contact:focus,
.btn-contact:active {
    background-color: #0aa2c0;
    border-color: #0aa2c0;
    color: white;
}

/* Signal Button */
.btn-signal {
    background-color: #3A76F0;
    border-color: #3A76F0;
    color: white;
}

.btn-signal:hover,
.btn-signal:focus,
.btn-signal:active {
    background-color: #2563d8;
    border-color: #2563d8;
    color: white;
}

/* Card Text Color */
.card .card-title,
.card .card-text,
.card-body {
    color: #000 !important;
}

.card .text-primary {
    color: var(--primary-color) !important;
}

/* Review Card Styling */
.review-card {
    border: 2px solid var(--primary-color) !important;
    transition: none !important;
}

.review-card:hover,
.review-card:focus,
.review-card:active {
    transform: none !important;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
}

/* Sticky Headers Z-index */
header.sticky-top {
    z-index: 1030;
    top: 0;
}

nav.sticky-top {
    z-index: 1020;
    top: 0;
}

/* Header Styling */
header .row {
    justify-content: center;
    text-align: center;
}

.logo {
    max-height: 160px;
    width: auto;
}

.site-title {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.8rem;
}

@media (max-width: 768px) {
    .site-title {
        font-size: 1.2rem;
    }
}

/* Navigation */
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-nav {
    margin: 0 auto;
}

.navbar-nav .nav-link {
    color: #333;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color);
}

.dropdown-menu {
    border: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.dropdown-item {
    padding: 0.5rem 1.5rem;
    transition: background-color 0.3s ease;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
    color: var(--primary-color);
}

/* Main Content */
.container {
    max-width: 1200px;
}

/* About photo styling - clean circular portrait */
.about-photo-wrapper {
    display: inline-block;
    position: relative;
}

.about-photo {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #fff;
    box-shadow: 0 6px 18px rgba(0,0,0,0.18);
    display: block;
    transition: transform 0.35s ease, box-shadow 0.25s ease;
}

.about-photo-wrapper::after {
    content: "";
    position: absolute;
    inset: -12px;
    border-radius: 50%;
    background: conic-gradient(from 180deg, rgba(175,114,219,0.28), rgba(96,165,250,0.12), rgba(175,114,219,0.18));
    filter: blur(12px);
    opacity: 0.9;
    z-index: -1;
    pointer-events: none;
}

.about-photo-wrapper:hover .about-photo {
    transform: scale(1.05);
    box-shadow: 0 10px 26px rgba(0,0,0,0.22);
}

.about-photo-wrapper:hover::after {
    filter: blur(16px);
    opacity: 1;
}

@media (max-width: 768px) {
    .about-photo {
        width: 160px;
        height: 160px;
    }
}

@media (max-width: 576px) {
    .about-photo {
        width: 140px;
        height: 140px;
    }
}

/* Remove old float/overlap rules that caused issues */
.about-photo-float-wrapper {
    display: none !important;
}

.about-photo-frame {
    display: none !important;
}

.about-text-col {
    margin-left: 0 !important;
}

/* Centered photo variant (no overlap) */
.about-photo-frame.centered {
    transform: translate(0,0) !important;
    z-index: 5;
}

.about-photo-col.center {
    text-align: center;
    margin-bottom: 1rem;
}

.content-wrapper {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    min-height: 400px;
}

@media (max-width: 768px) {
    .content-wrapper {
        padding: 1rem;
    }
}

.page-content {
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.page-title {
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--primary-color);
}

/* Cards */
.card {
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
}

.card-body {
    text-align: center;
}

.text-purple {
    color: var(--primary-color) !important;
}

.btn-outline-purple {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-purple:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* Footer */
footer {
    margin-top: auto;
    border-top: 1px solid #dee2e6;
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    align-items: center;
}

@media (max-width: 768px) {
    .social-links {
        justify-content: flex-start;
        margin-top: 1rem;
    }
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-size: 1.2rem;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.social-link.facebook {
    background-color: var(--facebook-color);
}

.social-link.linkedin {
    background-color: var(--linkedin-color);
}

.social-link.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-link.whatsapp {
    background-color: #25D366;
}

.social-link.signal {
    background-color: #3A76F0;
}

/* Utility Classes */
.shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

/* Huisregels Styling */
.huisregels-image {
    max-width: 800px;
    width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    .huisregels-image {
        max-width: 100%;
    }
}

.huisregels-content {
    margin-top: 2rem;
}

.huisregels-list {
    list-style: none;
    counter-reset: huisregel-counter;
    padding-left: 0;
}

.huisregels-list li {
    counter-increment: huisregel-counter;
    margin-bottom: 1.5rem;
    padding-left: 3rem;
    position: relative;
}

.huisregels-list li::before {
    content: counter(huisregel-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 2rem;
    height: 2rem;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1rem;
}

.huisregels-list li p {
    margin: 0;
    line-height: 1.6;
}

/* Kennislijst met inspringing voor hormonen pagina */
.kennis-list {
    list-style: none;
    counter-reset: kennis-counter;
    padding-left: 0;
    margin-left: 2rem;
}

.kennis-list li {
    counter-increment: kennis-counter;
    margin-bottom: 1.5rem;
    padding-left: 3rem;
    position: relative;
}

.kennis-list li::before {
    content: counter(kennis-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 2rem;
    height: 2rem;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1rem;
}

.kennis-list li p {
    margin: 0;
    line-height: 1.6;
}

/* Floating photo with text wrapping underneath and around it */
.about-photo-wrapper-float {
    float: left;
    margin: 0 1.5rem 1rem 0;
    position: relative;
}

.about-photo-wrapper-float .about-photo {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #fff;
    box-shadow: 0 6px 18px rgba(0,0,0,0.18);
    display: block;
    transition: transform 0.35s ease, box-shadow 0.25s ease;
}

.about-photo-wrapper-float::after {
    content: "";
    position: absolute;
    inset: -12px;
    border-radius: 50%;
    background: conic-gradient(from 180deg, rgba(175,114,219,0.28), rgba(96,165,250,0.12), rgba(175,114,219,0.18));
    filter: blur(12px);
    opacity: 0.9;
    z-index: -1;
    pointer-events: none;
}

.about-photo-wrapper-float:hover .about-photo {
    transform: scale(1.05);
    box-shadow: 0 10px 26px rgba(0,0,0,0.22);
}

.about-photo-wrapper-float:hover::after {
    filter: blur(16px);
    opacity: 1;
}

/* On mobile, show photo centered above text */
@media (max-width: 767.98px) {
    .about-photo-wrapper-float {
        float: none;
        margin: 0 auto 1.5rem auto;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    /* Stack buttons vertically on mobile with spacing - but not inside button groups */
    .row > .col-md-6 > .btn-lg:not(.btn-group .btn-lg) {
        display: block;
        width: 100%;
        margin: 0 0 1rem 0 !important;
    }
    
    .row > .col-md-6 > .btn-lg:last-child:not(.btn-group .btn-lg) {
        margin-bottom: 0 !important;
    }
    
    /* Ensure buttons in button groups have no margin */
    .btn-group .btn-lg {
        margin: 0 !important;
    }
}

/* Hormonen afbeeldingen gelijke hoogte */
.hormonen-images img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: center;
}

/* Blog Timeline Styling */
.blog-timeline {
    position: relative;
    padding: 0;
    margin: 0;
}

.blog-timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, #AF72DB, #e0e0e0);
}

.blog-timeline-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 40px;
}

.blog-timeline-item:last-child {
    margin-bottom: 0;
}

.blog-timeline-marker {
    position: absolute;
    left: 10px;
    top: 20px;
    width: 22px;
    height: 22px;
    background: #AF72DB;
    border: 4px solid white;
    border-radius: 50%;
    box-shadow: 0 0 0 2px #AF72DB;
    z-index: 2;
}

.blog-timeline-content {
    animation: fadeInRight 0.5s ease-out;
}

.blog-card-clickable {
    transition: box-shadow 0.3s ease !important;
}

.blog-card-clickable:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.2) !important;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (max-width: 768px) {
    .blog-timeline::before {
        left: 15px;
    }
    
    .blog-timeline-item {
        padding-left: 50px;
    }
    
    .blog-timeline-marker {
        left: 5px;
    }
}
