/*
Theme Name: Kleewein
Author: Ordination Dr. Kleewein
Description: Modernes WordPress-Theme für Ordination Dr. Kleewein – Ihre Arztpraxis online. Dieses benutzerfreundliche Theme bietet einen klaren, professionellen Auftritt für kleine Arztpraxen. Mit responsivem Design, Online-Terminformular und übersichtlicher Leistungsdarstellung ist es ideal für Patient:innen, die schnellen Zugang zu wichtigen Informationen suchen. Perfekt für einen vertrauensvollen und zeitgemäßen Webauftritt.
Version: 1.0
License: Proprietary License
*/

/* Imports */
@import url("./styles/variables.css");
@import url("./styles/header.css");
@import url("./styles/footer.css");
@import url("./styles/banner.css");
@import url("./styles/forms.css");

/* Fonts */
@font-face {
    font-family: 'outfit';
    src: url('./assets/fonts/outfit.ttf');
}

/* Global Styles */
* {
    font-family: 'outfit';
    box-sizing: border-box;
}

html, body {
    padding: 0;
    margin: 0;
    background-color: white;
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

.logo img {
    height: 60px;
    width: auto;
}

/* Page Segments */
.page-segment {
    background-color: white;
    color: black;
    padding: 30px;
}

.primary-page-segment {
    padding-top: 100px;
    padding-bottom: 120px;
    display: flex;
    gap: 20px;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
}

.primary-page-segment img {
    width: 400px;
    height: 500px;
    border-radius: 1rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 2rem auto;
}

.primary-page-segment .primary-segment {
    text-align: center;
}

.primary-page-segment .primary-segment h1 {
    color: var(--primary);
    font-size: 100px;
}

.primary-page-segment .primary-segment h2 {
    font-size: 60px;
    color: var(--secondary);
}

.primary-page-segment .primary-segment h3 {
    font-size: 40px;
    color: var(--secondary);
}

/* Contact Section */
.contact-data {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-data iframe {
    width: 240px;
    height: 320px;
    border: none;
}

/* Ensures iframe is centered */
.contact-data.centered {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Team Page */
.team-page-segment {
    background-color: var(--primary);
    color: white;
    display: flex;
    flex-direction: column;
}

.team-page-segment .row {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 60px;
    margin-bottom: 50px;
}

.team-page-segment .card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10px;
    gap: 2px;
}

.team-page-segment .card img {
    display: block;
    margin: 2rem auto;
    width: 160px;
    height: 200px;
    border-radius: 1rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-page-segment .card .name {
    font-size: 25px;
    margin: 0;
    text-align: center;
}

.team-page-segment .card .role {
    font-size: 20px;
    margin: 0;
    text-align: center;
}

/* Banner */
.banner-wrapper {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.banner {
    text-align: center;
    padding: 20px 60px;
    margin: 10px 0 50px 0;
    background-color: var(--primary);
    width: 60%;
    border-radius: 30px;
    color: white;
}

/* Layouts */
.info-wrapper {
    display: flex;
    justify-content: center;
    gap: 200px;
    margin-bottom: 60px;
    flex-direction: row;
}

.two-cols {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 30px;
    flex-wrap: wrap;
}

.centered-text {
    flex: 2 1 60%;
    max-width: 700px;
    font-size: 20px;
    text-align: justify;
    display: flex;
    align-items: center;
}

.iframe-wrapper {
    width: 30%;
}

.preview-banner {
    padding: 10px;
    width: 100%;
    background-color: var(--secondary);
}

.preview-banner p {
    font-size: 25px;
    text-decoration: none;
    text-align: center;
}

.preview-banner p a {
    color: white;
}

.contact-texts {
    font-size: 22px;
}

/* Media Queries */
@media only screen and (max-width: 1500px) {
    .primary-page-segment {
        flex-direction: column;
        padding-top: 0;
    }

    .primary-page-segment img {
        width: 330px;
        height: 400px;
    }

    .primary-page-segment .primary-segment h1 {
        font-size: 8vw;
    }

    .primary-page-segment .primary-segment h2 {
        font-size: 6vw;
    }

    .primary-page-segment .primary-segment h3 {
        font-size: 4vw;
    }
}

@media only screen and (max-width: 900px) {
    .team-page-segment .row {
        flex-direction: column;
        gap: 10px;
    }

    .iframe-wrapper {
        width: 100%;
    }

    .frame {
        width: 100% !important;
        height: 300px !important;
    }

    .banner {
        width: 90%;
    }

    .two-cols {
        flex-direction: column;
        gap: 20px;
    }

    .centered-text {
        width: 100%;
        max-width: 100%;
    }

    .contact-data iframe {
        width: 90%;
        height: 320px;
    }

    .contact-data.centered {
        align-items: center;
    }
}

