/*
Theme Name: Pinnacle Plumbing Demo
Theme URI: https://peakwebcompany.com/
Author: Peak Web Co.
Author URI: https://peakwebcompany.com/
Description: A demo website for a fictional plumber, built by Peak Web Co. to show the Starter package: a one-page website.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pinnacle-plumbing-demo
*/

* { box-sizing: border-box; }

body {
	margin: 0;
	padding: 0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: 18px;
	line-height: 1.6;
	color: #1a1a1a;
	background: #fff;
}

a { color: #14532d; }
a:hover { color: #1d6b3c; }

.wrap {
	max-width: 880px;
	margin: 0 auto;
	padding: 0 20px;
}

/* Demo banner */
.demo-banner {
	background: #f5c542;
	color: #1a1a1a;
	text-align: center;
	font-size: 0.9em;
	padding: 10px 16px;
}
.demo-banner a { color: #1a1a1a; font-weight: 700; }

/* Header */
.site-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	max-width: 880px;
	margin: 0 auto;
	padding: 20px;
}
.site-header .site-name {
	font-size: 1.5em;
	font-weight: 800;
	margin: 0;
}
.site-header .site-name a { text-decoration: none; color: #1a1a1a; }
.call-button {
	display: inline-block;
	background: #14532d;
	color: #fff;
	font-weight: 700;
	text-decoration: none;
	padding: 10px 18px;
	border-radius: 6px;
	white-space: nowrap;
}
.call-button:hover { background: #1d6b3c; color: #fff; }

/* Hero */
.hero { position: relative; }
.hero img {
	display: block;
	width: 100%;
	height: 420px;
	object-fit: cover;
}
.hero-text {
	max-width: 880px;
	margin: 0 auto;
	padding: 32px 20px 8px;
	text-align: center;
}
.hero-text h1 { font-size: 2em; line-height: 1.2; margin: 0 0 12px; }
.hero-text p { color: #444; margin: 0 0 16px; }

/* Sections */
.section { padding: 28px 0; }
.section h2 { font-size: 1.4em; margin: 0 0 12px; }
.section p { margin: 0 0 12px; }

/* Services */
.services {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px;
}
.services li {
	border: 1px solid #ddd;
	border-radius: 8px;
	padding: 16px 18px;
}
.services h3 { margin: 0 0 6px; font-size: 1.05em; }
.services p { margin: 0; color: #444; font-size: 0.95em; }

/* Contact */
.contact-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
}
.contact-form label { display: block; font-weight: 600; margin: 0 0 4px; }
.contact-form input,
.contact-form textarea {
	width: 100%;
	font: inherit;
	padding: 10px;
	margin: 0 0 12px;
	border: 1px solid #bbb;
	border-radius: 6px;
}
.contact-form button {
	background: #14532d;
	color: #fff;
	font: inherit;
	font-weight: 700;
	border: 0;
	padding: 12px 22px;
	border-radius: 6px;
	cursor: pointer;
}
.contact-form button:hover { background: #1d6b3c; }
.form-note { color: #444; font-size: 0.95em; }
.map-wrap iframe { width: 100%; height: 300px; border: 0; border-radius: 8px; }

/* Footer */
.site-footer {
	border-top: 1px solid #ddd;
	margin-top: 32px;
	padding: 24px 20px 32px;
	text-align: center;
	color: #666;
	font-size: 0.9em;
}

@media (max-width: 640px) {
	.services { grid-template-columns: 1fr; }
	.contact-grid { grid-template-columns: 1fr; }
	.hero img { height: 260px; }
	.hero-text h1 { font-size: 1.6em; }
	.site-header { flex-wrap: wrap; }
}
