/*
Theme Name: TechAMZ
Theme URI: https://www.techamz.com
Author: TechAMZ
Description: Minimal custom theme for Technically Amazing IT.
Version: 0.1.0
Requires at least: 6.5
Tested up to: 7.0
Requires PHP: 8.3
Text Domain: techamz
*/

:root {
    --color-ink: #18212f;
    --color-muted: #5a6675;
    --color-line: #d8dee7;
    --color-accent: #0f766e;
    --color-accent-dark: #0a5953;
    --color-bg: #f7f8fa;
    --font-body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--color-ink);
    background: var(--color-bg);
    font-family: var(--font-body);
    line-height: 1.6;
}

a {
    color: var(--color-accent);
}

.site-header,
.site-footer {
    background: #fff;
    border-bottom: 1px solid var(--color-line);
}

.site-footer {
    border-top: 1px solid var(--color-line);
    border-bottom: 0;
}

.wrap {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

.site-header .wrap,
.site-footer .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px 0;
}

.brand {
    color: var(--color-ink);
    font-size: 20px;
    font-weight: 750;
    text-decoration: none;
}

.nav {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 15px;
}

.nav a {
    color: var(--color-ink);
    text-decoration: none;
}

.nav a:hover {
    color: var(--color-accent);
}

.hero {
    padding: 72px 0;
    background: #fff;
    border-bottom: 1px solid var(--color-line);
}

.hero h1 {
    max-width: 760px;
    margin: 0 0 16px;
    font-size: clamp(36px, 7vw, 68px);
    line-height: 1;
}

.hero p {
    max-width: 680px;
    margin: 0 0 28px;
    color: var(--color-muted);
    font-size: 20px;
}

.button {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 6px;
    background: var(--color-accent);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

.button:hover {
    background: var(--color-accent-dark);
    color: #fff;
}

.content {
    padding: 48px 0;
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.card {
    min-height: 170px;
    padding: 24px;
    border: 1px solid var(--color-line);
    border-radius: 8px;
    background: #fff;
}

.card h2 {
    margin-top: 0;
    font-size: 22px;
    line-height: 1.2;
}

.card p {
    margin-bottom: 0;
    color: var(--color-muted);
}

.entry {
    max-width: 780px;
    padding: 36px;
    border: 1px solid var(--color-line);
    border-radius: 8px;
    background: #fff;
}

.entry h1 {
    margin-top: 0;
}

img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 760px) {
    .site-header .wrap,
    .site-footer .wrap {
        align-items: flex-start;
        flex-direction: column;
    }

    .hero {
        padding: 48px 0;
    }

    .grid {
        grid-template-columns: 1fr;
    }

    .entry {
        padding: 24px;
    }
}
