/*
Theme Name: Louima Bookkeeping
Theme URI: https://louimabookkeeping.com
Author: Louima Bookkeeping Solutions
Author URI: https://louimabookkeeping.com
Description: A fast, modern, block-based (Full Site Editing) WordPress theme for Louima Bookkeeping Solutions. No page builder required — everything is editable in the Site Editor. Royal-blue / gold brand, service grid, blog, and a built-in contact form.
Requires at least: 6.5
Tested up to: 6.7
Requires PHP: 7.4
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: louima-bookkeeping
Tags: full-site-editing, block-patterns, blog, business, custom-colors, custom-logo, featured-images, threaded-comments
*/

/* ---------------------------------------------------------------------------
   Supplemental styles. Core design tokens live in theme.json.
   Only the things the Site Editor can't express comfortably are here.
--------------------------------------------------------------------------- */

/* Header / top bar */
.top-bar a { color: #fff; text-decoration: none; }
.top-bar a:hover { text-decoration: underline; }
.top-bar .topbar-item { margin: 0; }
.site-header { box-shadow: 0 1px 0 rgba(15, 27, 51, 0.06); position: relative; z-index: 10; }
/* Primary menu (header) — plain links that always render from the theme file */
.main-menu .menu-item { margin: 0; }
.main-menu .menu-item a {
	color: var(--wp--preset--color--contrast);
	text-decoration: none;
	font-weight: 600;
}
.main-menu .menu-item a:hover { color: var(--wp--preset--color--primary); }

/* Footer menu */
.footer-menu .menu-item { margin: 0; }
.footer-menu .menu-item a { color: #fff; text-decoration: none; opacity: .9; font-weight: 500; }
.footer-menu .menu-item a:hover { opacity: 1; text-decoration: underline; }

/* Outline button (used on dark hero) */
.wp-block-button.is-style-outline .wp-block-button__link {
	background: transparent;
	border: 2px solid rgba(255, 255, 255, 0.7);
	color: #fff;
}
.wp-block-button.is-style-outline .wp-block-button__link:hover {
	background: #fff;
	color: var(--wp--preset--color--primary-dark);
	border-color: #fff;
}

/* Subtle button shadow + lift */
.wp-block-button__link { transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.wp-block-button__link:hover { transform: translateY(-1px); }

/* Eyebrow label */
.eyebrow { letter-spacing: .12em; font-weight: 700; margin-bottom: .5rem; }

/* Hero portrait */
.hero-portrait img { box-shadow: 0 24px 60px rgba(14, 46, 126, 0.35); }

/* Cards: gentle hover lift */
.value-card, .service-card, .post-card {
	transition: transform .18s ease, box-shadow .18s ease;
	height: 100%;
}
.service-card:hover, .post-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 18px 40px rgba(15, 27, 51, 0.10);
}
.service-card h3 { color: var(--wp--preset--color--primary-dark); }

/* Blog cards: keep media flush to rounded top corners */
.post-card .wp-block-post-featured-image img {
	border-top-left-radius: 14px;
	border-top-right-radius: 14px;
	object-fit: cover;
	width: 100%;
}
.post-card .wp-block-post-title a { text-decoration: none; color: var(--wp--preset--color--contrast); }
.post-card .wp-block-post-title a:hover { color: var(--wp--preset--color--primary); }

/* Footer links */
.site-footer a { color: #fff; text-decoration: none; opacity: .9; }
.site-footer a:hover { opacity: 1; text-decoration: underline; }
.site-footer .wp-block-navigation a { font-weight: 500; }

/* ---------------------------------------------------------------------------
   Built-in contact form
--------------------------------------------------------------------------- */
.lbs-contact-form { display: flex; flex-direction: column; gap: 1.1rem; }
.lbs-contact-form .lbs-field { display: flex; flex-direction: column; gap: .4rem; }
.lbs-contact-form .lbs-field-row { display: flex; gap: 1.1rem; flex-wrap: wrap; }
.lbs-contact-form .lbs-field-row .lbs-field { flex: 1 1 200px; }
.lbs-contact-form label { font-weight: 600; font-size: .95rem; color: var(--wp--preset--color--contrast); }
.lbs-contact-form input,
.lbs-contact-form textarea {
	width: 100%;
	padding: .8rem 1rem;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 10px;
	font: inherit;
	background: #fff;
	color: var(--wp--preset--color--contrast);
}
.lbs-contact-form input:focus,
.lbs-contact-form textarea:focus {
	outline: none;
	border-color: var(--wp--preset--color--primary);
	box-shadow: 0 0 0 3px rgba(26, 69, 176, 0.15);
}
.lbs-contact-form .lbs-hp { display: none !important; }
.lbs-submit {
	align-self: flex-start;
	background: var(--wp--preset--color--accent);
	color: var(--wp--preset--color--contrast);
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 700;
	border: none;
	border-radius: 10px;
	padding: .85rem 2rem;
	cursor: pointer;
	transition: background .15s ease, transform .15s ease, color .15s ease;
}
.lbs-submit:hover {
	background: var(--wp--preset--color--primary-dark);
	color: #fff;
	transform: translateY(-1px);
}
.lbs-form-success {
	background: #e8f6ec; color: #1b5e2a;
	border: 1px solid #b6e0c2; border-radius: 10px; padding: .9rem 1rem;
}
.lbs-form-error {
	background: #fdecec; color: #8a1f1f;
	border: 1px solid #f3bcbc; border-radius: 10px; padding: .9rem 1rem;
}

/* Responsive niceties */
@media (max-width: 781px) {
	.hero-portrait { margin-top: 1.5rem; }
	.badge-row { gap: 1.5rem; }
}
