/*
Theme Name: TeHyBug
Theme URI: https://tehybug.com
Description: TeHyBug-branded child theme of Marianne — applies the TeHyBug colour palette (green/blue) and the Inter typeface to match tehybug.com.
Author: TeHyBug
Template: marianne
Version: 1.0
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;900&display=swap');

:root {
    /* TeHyBug brand palette (mirrors v2.tehybug.com) */
    --tehy-green: #1fa67a;
    --tehy-green-dark: #158f63;
    --tehy-blue: #005BBB;
    --tehy-navy: #1d469d;

    /* Retint Marianne's selectable accent so links/accents become TeHyBug green */
    --color-light-blue: #1fa67a;
    --color-dark-blue: #34d399;
    --color-link-hover: #1fa67a;
}

@media (prefers-color-scheme: dark) {
    :root {
        --color-light-blue: #34d399;
        --color-dark-blue: #34d399;
        --color-link-hover: #34d399;
    }
}

/* ---- Typography ---------------------------------------------------------- */
body,
button,
input,
textarea,
select {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

h1, h2, h3, h4, h5, h6,
.site-title {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 700;
    letter-spacing: -0.01em;
}

h1, h2, h3 {
    color: var(--tehy-navy);
}
@media (prefers-color-scheme: dark) {
    h1, h2, h3 { color: rgba(255, 255, 255, 0.92); }
}

/* ---- TeHyBug top navigation bar (mirrors the main site) ------------------ */
.tehy-topnav {
    background: #005BBB;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px 16px;
    padding: 8px 20px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}
.tehy-topnav__brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff !important;
    font-weight: 700;
    font-size: 1.3rem;
    text-decoration: none !important;
}
.tehy-topnav__brand img { display: block; }
.tehy-topnav__links {
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
}
.tehy-topnav__links a {
    color: rgba(255, 255, 255, 0.85) !important;
    text-decoration: none !important;
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.95rem;
    line-height: 1.4;
}
.tehy-topnav__links a:hover,
.tehy-topnav__links a:focus {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.14);
}
@media (max-width: 600px) {
    .tehy-topnav { justify-content: center; }
}

/* Site title in TeHyBug blue */
.site-title,
.site-title a {
    color: var(--tehy-blue) !important;
}
@media (prefers-color-scheme: dark) {
    .site-title,
    .site-title a { color: #5b9be8 !important; }
}

/* Links: hover/focus to TeHyBug green */
a:hover,
a:focus {
    color: var(--tehy-green);
    text-decoration-color: var(--tehy-green);
}

/* Buttons & submit inputs in TeHyBug green */
button,
input[type="submit"],
input[type="button"],
.wp-block-button__link,
.wp-block-search__button {
    background-color: var(--tehy-green);
    border-color: var(--tehy-green);
    color: #fff;
}
button:hover,
input[type="submit"]:hover,
.wp-block-button__link:hover,
.wp-block-search__button:hover {
    background-color: var(--tehy-green-dark);
    border-color: var(--tehy-green-dark);
}

/* Blockquotes / accent borders in brand green */
blockquote {
    border-left: 4px solid var(--tehy-green);
}

/* Custom logo (TeHyBug mark) sizing in the header */
.custom-logo,
.site-logo img,
img.custom-logo {
    height: 56px;
    width: auto;
    border-radius: 10px;
    vertical-align: middle;
}

