/*
Theme Name: Briar Bakery
Theme URI: https://example.com/briar-bakery
Author: OpenAI
Author URI: https://openai.com
Description: A classic WordPress bakery theme with Customizer dropdowns for 3 color palettes and 3 font pairings. Includes bakery-themed demo imagery and responsive sections for a homepage.
Version: 1.0.0
Requires at least: 6.9
Tested up to: 6.9.4
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: briar-bakery
Tags: custom-logo, custom-menu, featured-images, e-commerce, blog, one-column, two-columns, custom-colors
*/


html { box-sizing: border-box; scroll-behavior: smooth; }
*, *:before, *:after { box-sizing: inherit; }
body {
    margin: 0;
    background: var(--bb-bg);
    color: var(--bb-text);
    font-family: var(--bb-font-body);
    line-height: 1.65;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--bb-primary); text-decoration: none; }
a:hover { color: var(--bb-secondary); }
.container { width: min(1160px, calc(100% - 2rem)); margin: 0 auto; }
.site-header {
    position: sticky; top: 0; z-index: 20;
    background: color-mix(in srgb, var(--bb-bg) 92%, white 8%);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--bb-border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 1rem 0; gap: 1rem; }
.branding-title, .site-title {
    font-family: var(--bb-font-heading);
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 700;
    letter-spacing: .02em;
    color: var(--bb-text);
}
.site-description { color: var(--bb-muted); font-size: .95rem; margin-top: .25rem; }
.main-navigation ul { list-style: none; display: flex; gap: 1rem; padding: 0; margin: 0; flex-wrap: wrap; }
.main-navigation a { color: var(--bb-text); font-weight: 600; }
.main-navigation a:hover { color: var(--bb-primary); }
.hero {
    padding: 4.5rem 0 2.5rem;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 2rem;
    align-items: center;
}
.eyebrow {
    display: inline-block;
    font-size: .8rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--bb-primary);
    font-weight: 700;
    margin-bottom: .85rem;
}
.hero h1, h1, h2, h3, h4 {
    font-family: var(--bb-font-heading);
    line-height: 1.05;
    margin: 0 0 1rem;
}
.hero h1 { font-size: clamp(2.7rem, 6vw, 4.8rem); }
.hero p { font-size: 1.05rem; color: var(--bb-muted); max-width: 52ch; }
.actions { display: flex; gap: .9rem; flex-wrap: wrap; margin-top: 1.4rem; }
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 46px; padding: .85rem 1.15rem;
    border-radius: 999px; border: 1px solid transparent;
    font-weight: 700; transition: .2s ease;
}
.btn-primary { background: var(--bb-primary); color: white; }
.btn-primary:hover { background: var(--bb-secondary); color: white; transform: translateY(-1px); }
.btn-secondary { background: transparent; border-color: var(--bb-border); color: var(--bb-text); }
.btn-secondary:hover { border-color: var(--bb-primary); color: var(--bb-primary); }
.hero-card {
    overflow: hidden; border-radius: 28px; background: var(--bb-surface);
    border: 1px solid var(--bb-border); box-shadow: 0 18px 50px rgba(0,0,0,.08);
}
.hero-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.section { padding: 2.8rem 0; }
.section-title { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: .5rem; }
.section-copy { color: var(--bb-muted); max-width: 62ch; margin-bottom: 1.4rem; }
.card-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem;
}
.card {
    background: var(--bb-surface); border: 1px solid var(--bb-border); border-radius: 24px;
    overflow: hidden; box-shadow: 0 8px 30px rgba(0,0,0,.05);
}
.card-body { padding: 1.2rem; }
.card h3 { font-size: 1.4rem; margin-bottom: .4rem; }
.card p { margin: 0; color: var(--bb-muted); }
.promo {
    display: grid; grid-template-columns: .9fr 1.1fr; gap: 0;
    border-radius: 28px; overflow: hidden; background: var(--bb-surface); border: 1px solid var(--bb-border);
}
.promo img { height: 100%; width: 100%; object-fit: cover; min-height: 360px; }
.promo-copy { padding: 2rem; }
.chips { display:flex; flex-wrap:wrap; gap:.7rem; margin-top: 1rem; }
.chip {
    padding: .55rem .85rem; border-radius: 999px; background: color-mix(in srgb, var(--bb-primary) 12%, transparent);
    color: var(--bb-primary); font-weight: 700; font-size: .92rem;
}
.site-footer {
    margin-top: 3rem; border-top: 1px solid var(--bb-border); padding: 2rem 0 3rem;
    background: color-mix(in srgb, var(--bb-bg) 94%, black 6%);
}
.footer-grid {
    display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 1.2rem;
}
.footer-title { font-family: var(--bb-font-heading); font-size: 1.25rem; margin-bottom: .6rem; }
.muted { color: var(--bb-muted); }
.page-content { padding: 3rem 0; }
.content-card {
    background: var(--bb-surface); border: 1px solid var(--bb-border); border-radius: 24px; padding: 1.6rem;
}
.wp-block-image img, .entry-content img { border-radius: 18px; }
@media (max-width: 900px) {
    .hero-grid, .promo, .footer-grid, .card-grid { grid-template-columns: 1fr; }
    .hero { padding-top: 2rem; }
}
