@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@400;500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;500&display=swap');

.d-flex {
    display: flex !important;
}

.row {
    flex-direction: row !important;
}

.items-center {
    align-items: center;
}

.gap-12 {
    gap: 12px;
}

body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Quicksand', sans-serif;
    scroll-behavior: smooth;
}

.therapist-detail-section {
    scroll-margin-top: 80px;
}

.therapist-detail-section p {
    margin-bottom: 0;
    margin-top: 8px
}

.therapists-area {
    text-align: center;
    font-size: 2em;
    background-color: #f9f9f9;
    padding-top: 25px;
    margin: 0;
}

.therapists-area h1 {
    margin-bottom: 0;
}

.therapists-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    padding: 50px 20px;
    background-color: #f9f9f9;
}

.therapist-link {
    min-width: 400px;
    margin: 20px 0;
    text-align: center;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.therapist-link:hover {
    transform: scale(1.02);
}

.therapist-photo {
    position: relative;
    width: 400px;
    height: 600px;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.therapist-photo, .therapist-photo-large {
    width: 400px;
    height: 600px;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.julia-barta {
    background-position: 10% !important;
}

.therapist {
    display: flex;
    justify-content: center;
    align-items: center;
}

.therapist:hover .therapist-photo {
    opacity: 0.8;
}

.therapist-info {
    position: absolute;
    bottom: -100px;
    left: 0;
    width: 365px;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0));
    color: #fff;
    text-align: center;
    transition: bottom 0.3s ease;
}

.therapist:hover .therapist-info {
    bottom: 0;
}

.therapist-info h2 {
    font-size: 22px !important;
    margin: 0 !important;
    color: white !important;
}

.therapist-info p {
    font-size: 16px;
    font-family: 'Quicksand', sans-serif;
    margin: 5px 0 0;
}

#therapist1 .therapist-photo {
    background-image: url('./img/JuliaBarta-049.jpg');
}

#therapist2 .therapist-photo {
    background-image: url('./img/IMG_6048 2.JPG');
}

#therapist3 .therapist-photo {
    background-image: url('./img/caren-nowak.jpeg');
}

#therapist4 .therapist-photo {
    background-image: url('./img/susanne-klingseis.jpg');
}

@media (min-width: 1024px) {
    .therapist-link {
        min-width: 380px;
    }
}



@media (min-width: 1024px) {
    .therapist-link {
        width: calc(33% - 40px);
    }
}

@media (max-width: 1024px) {
    .therapist-link {
        width: calc(45% - 40px);
    }
}

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

.praxis-section {
    padding: 50px 40px;
    background-color: rgba(168, 213, 186, 0.6);
    color: #333;
    border-radius: 8px;
    margin-bottom: 50px;
    margin: 0 auto;
    margin-top: 0;
    scroll-margin-top: 80px;
}

.praxis-container h1 {
    font-size: 2em;
    margin-top: 0px;
}

.praxis-section h2, .praxis-section h3 {
    color: #333;
}

.praxis-section p {
    font-size: 16px;
    line-height: 1.6;
}

.consent-button {
    background-color: rgba(168, 213, 186, 1);
    color: #fff;
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    text-shadow: 0.5px 0.5px 1px rgba(0, 0, 0, 0.2);
}

.consent-button:hover {
    background-color: rgba(79, 112, 87, 1);
    transform: scale(1.05);
}

.consent-popup {
    text-align: center;
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    margin-top: 30px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.map-container {
    margin-top: 30px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .praxis-section {
        padding: 30px 15px;
    }
    
    .map-container iframe {
        height: 300px;
    }
}

.therapist-detail-section {
    padding: 50px 20px;
    max-width: 1200px;
    margin: 0 auto;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.therapist-detail-header {
    text-align: center;
    margin-bottom: 40px;
}

.therapist-detail-header h1 {
    font-size: 36px;
    color: #333;
    margin: 0;
}

.therapist-detail-header p {
    font-size: 20px;
    color: #666;
}

.therapist-detail-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

.therapist-photo-large {
    width: 400px;
    height: 600px;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
}

.therapist-bio, .therapist-methods, .therapist-focus, .therapist-costs, .therapist-other, .therapist-contact, .therapist-experience, .therapist-training {
    width: 400px;
    margin-bottom: 20px;
}

.therapist-bio h2, .therapist-methods h2, .therapist-focus h2, .therapist-costs h2, .therapist-other h2, .therapist-contact h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 20px;
}

h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 20px;
}

.therapist-bio p, .therapist-methods p, .therapist-focus p, .therapist-costs p, .therapist-other p, .therapist-contact p {
    font-size: 18px;
    color: #666;
    line-height: 1.6;
}

.therapist-detail-section p {
    font-size: 18px;
    color: #666;
    line-height: 1.6;
}

@media (min-width: 1024px) {
    .therapist-detail-content {
        justify-content: center;
        gap: 40px;
    }

    .therapist-bio, .therapist-methods, .therapist-focus, .therapist-costs, .therapist-other, .therapist-contact, .therapist-photo-large, .therapist-experience, .therapist-training {
        width: 400px;
    }
}

@media (max-width: 900px) {
    .therapist-detail-content {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .therapist-photo-large {
        width: 100%;
        max-width: 400px;
    }

    .therapist-bio, .therapist-methods, .therapist-focus, .therapist-costs, .therapist-other, .therapist-contact, .therapist-experience, .therapist-training {
        width: 100%;
        max-width: 400px;
    }
}

.therapists-section > * {
    flex-basis: calc(50% - 20px);
    max-width: calc(50% - 20px);
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .therapists-section > * {
        flex-basis: 100%;
        max-width: 100%;
    }
}

@media (max-width: 400px) {
    .hero-welcome-text {
        font-size: 1.5rem;
    }

    .therapists-section {
        padding: 0;
    }

    .therapist-photo, .therapist-photo-large {
        width: 300px !important;
        height: 500px !important;
    }

    .therapists-area h1 {
        font-size: 1.5rem;
    }
}
