/*
Theme Name: Fukasawa Child - Klara Landwehr
Template: fukasawa
Version: 1.0
*/

@font-face {
    font-family: 'Bernard MT Condensed';
    src: url('fonts/BernardMtCondensed.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Acumin Variable Concept';
    src: url('fonts/Acumin-Variable-Concept.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Seitenhintergrund: weiss */
html,
body {
    background-color: #ffffff !important;
    background-image: none !important;
    color: #2f54ad !important;
    font-family: 'Acumin Variable Concept', Arial, sans-serif !important;
}

/* Alle normalen Textbereiche */
p,
li,
label,
span,
a,
.wpcf7 form label,
.wpcf7-form-control {
    color: #2f54ad !important;
    font-family: 'Acumin Variable Concept', Arial, sans-serif !important;
}

/* Alle Links im Textbereich unterstrichen */
.entry-content a {
    text-decoration: underline !important;
}

/* Alle Ueberschriften und das Menue: Bernard MT Condensed, mehr Buchstabenabstand */
h1, h2, h3, h4, h5, h6,
.post-title,
.main-menu,
.main-menu a,
.mobile-menu,
.mobile-menu a {
    font-family: 'Bernard MT Condensed', Georgia, serif !important;
    color: #2f54ad !important;
    letter-spacing: 2px !important;
}

.post-title {
    text-align: center;
    text-transform: uppercase;
}

/* Menue-Beschriftung etwas groesser */
.main-menu a,
.mobile-menu a {
    font-size: 1.2em !important;
}

/* Navigation: rosa Hintergrund, eckige Ecken */
.sidebar {
    background-color: #fabacb !important;
    background-image: none !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    border-radius: 0 !important;
}

.sidebar::before {
    background: #fabacb !important;
    border-radius: 0 !important;
}

/* Inhalts-Block: gleiches Rosa, ebenfalls eckig */
.post.single {
    background-color: #fabacb !important;
    border-radius: 0 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

/* Innere Wrapper bleiben transparent, damit nur EIN Block sichtbar ist */
.wrapper,
.content,
article.entry,
.post-inner,
.post-header,
.post-content,
.entry-content {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

/* WordPress- und Theme-Credits ausblenden, Copyright-Zeile bleibt */
.credits p:nth-child(2),
.credits p:nth-child(3) {
    display: none !important;
}

/* Einzeln eingefuegte Bilder (ohne Galerie): gleiches Design wie Galerie-Bilder */
.entry-content img {
    border: none !important;
    border-radius: 2px;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.entry-content a:hover img,
.entry-content img:hover {
    opacity: 0.85;
}

/* Ueberbleibsel des klassischen Galerie-Shortcodes: WordPress fuegt nach
   jeder Zeile automatisch ein unsichtbares <br style="clear:both"> ein.
   Unser Masonry-Skript ignoriert das, wodurch an den alten Zeilengrenzen
   zusaetzlicher Leerraum entsteht - deshalb komplett ausblenden. */
.gallery br {
    display: none !important;
}

/* Mobile Navigation: Header fest oben angepinnt, Menue-Button links,
   Logo zentriert, Logo-Box auf tatsaechliche Bildgroesse verkleinert */
@media (max-width: 1000px) {
    .sidebar {
        justify-content: center !important;
        position: fixed !important;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        z-index: 250 !important;
    }

    body {
        padding-top: 100px;
    }

    .nav-toggle {
        position: absolute;
        top: 50%;
        left: 5%;
        right: auto;
        transform: translateY(-50%);
        margin-left: 0;
        z-index: 20;
        background: none !important;
        border-radius: 0 !important;
        padding: 0 !important;
        box-shadow: none !important;
    }

    .nav-toggle .bars {
        float: none;
        margin-top: 0;
    }

    .nav-toggle .bar {
        background-color: #2f54ad !important;
    }

    .nav-toggle p {
        display: none !important;
    }

    .blog-logo img {
        max-height: 64px;
    }

    .blog-logo {
        width: auto !important;
        display: inline-block !important;
    }

    .blog-logo a {
        display: inline-block !important;
        width: auto !important;
        height: auto !important;
        line-height: 0 !important;
    }

    .mobile-navigation {
        position: fixed !important;
        top: 0;
        left: 0;
        right: 0;
        bottom: auto;
        z-index: 150;
        background: #fabacb !important;
        display: none;
        padding-top: 100px;
        padding-bottom: 24px;
    }

    .mobile-menu {
        background: transparent;
        max-width: none;
        width: 100%;
        height: auto;
        margin: 0;
        overflow-y: visible;
        box-shadow: none;
    }
}

/* Kontaktformular (Contact Form 7) */
.wpcf7 form {
    max-width: 500px !important;
    margin: 0 auto !important;
}

.wpcf7 form p {
    margin-bottom: 20px !important;
}

.wpcf7 form label {
    display: block !important;
    font-weight: 700 !important;
}

.wpcf7-form-control-wrap {
    display: block !important;
    margin-top: 10px !important;
}

.wpcf7-form-control:not(.wpcf7-submit):not(.wpcf7-acceptance) {
    width: 100% !important;
    padding: 14px 16px !important;
    border: none !important;
    border-radius: 0 !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    background: rgba(255, 255, 255, 0.6) !important;
    font-size: 0.95em !important;
}

.wpcf7-form-control:not(.wpcf7-submit):not(.wpcf7-acceptance):focus {
    outline: 2px solid rgba(47, 84, 173, 0.6) !important;
    outline-offset: 2px !important;
}

textarea.wpcf7-form-control {
    min-height: 160px !important;
    resize: vertical !important;
}

.wpcf7-submit {
    padding: 14px 32px !important;
    border: none !important;
    border-radius: 0 !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    background: #b06f86 !important;
    color: #2f54ad !important;
    font-family: 'Acumin Variable Concept', Arial, sans-serif !important;
    font-weight: 700 !important;
    font-size: 0.95em !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    transition: background-color 0.2s ease, transform 0.2s ease !important;
}

.wpcf7-submit:hover {
    background: #9c5e73 !important;
    transform: scale(1.02);
}

.wpcf7-submit:disabled {
    opacity: 0.6 !important;
    cursor: default !important;
    transform: none !important;
}

.wpcf7 form .wpcf7-response-output {
    margin-top: 20px !important;
    padding: 14px 18px !important;
    border-radius: 0 !important;
    font-size: 0.9em !important;
}

.wpcf7-mail-sent-ok {
    background: rgba(200, 230, 200, 0.5) !important;
    border: 1px solid rgba(120, 180, 120, 0.5) !important;
}

.wpcf7-validation-errors,
.wpcf7-mail-sent-ng {
    background: rgba(240, 200, 200, 0.5) !important;
    border: 1px solid rgba(200, 120, 120, 0.5) !important;
}

.wpcf7-not-valid-tip {
    color: #b5484a !important;
    font-size: 0.85em !important;
    margin-top: 4px !important;
}

/* Kontakt-Info-Block (falls spaeter wieder genutzt) */
.kontakt-info {
    max-width: 500px;
    margin: 0 auto 30px;
}

.insta-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}

.insta-link .genericon-instagram {
    color: #2f54ad;
    font-size: 20px;
}

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