/*
Theme Name: ProSeal Property Services
Theme URI: https://prosealpropertyservices.com/
Author: Converted by ChatGPT
Author URI: https://openai.com/
Description: Custom WordPress theme converted from the supplied ProSeal React/Vite website. Includes service pages, responsive navigation, quote form, testimonials, and local image assets.
Version: 1.0.1
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: proseal
*/

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

:root {
  --background: #fbfaf8;
  --foreground: #171b22;
  --card: #ffffff;
  --primary: #252a33;
  --primary-foreground: #fbfaf8;
  --muted: #efede8;
  --muted-foreground: #686f7a;
  --secondary: #f5f0e8;
  --accent: #d19a2e;
  --accent-dark: #a97a21;
  --gold-light: #e2bb66;
  --border: #e6e0d5;
  --danger: #dc2626;
  --shadow-soft: 0 4px 20px -4px rgba(37, 42, 51, .10);
  --shadow-medium: 0 12px 36px -12px rgba(37, 42, 51, .20);
  --radius: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .site-header { top: 46px; } }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, h5, h6 { font-family: 'Playfair Display', Georgia, serif; line-height: 1.12; margin: 0 0 1rem; }
p { margin: 0 0 1rem; }
ul { margin: 0; padding-left: 1.1rem; }
.container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.container-narrow { width: min(900px, calc(100% - 40px)); margin: 0 auto; }
.max-2xl { max-width: 720px; }
.max-3xl { max-width: 840px; }
.text-center { text-align: center; }
.text-gold { color: var(--accent); }
.lede { color: var(--muted-foreground); font-size: clamp(1rem, 2vw, 1.14rem); }
.eyebrow { color: var(--accent); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; font-size: .78rem; margin-bottom: .9rem; }
.section-title { font-size: clamp(2rem, 4vw, 3.35rem); }
.page-title { font-size: clamp(2.35rem, 5vw, 4.6rem); }
.subtle { color: var(--muted-foreground); }
.rounded { border-radius: var(--radius); }
.shadow-soft { box-shadow: var(--shadow-soft); }
.shadow-medium { box-shadow: var(--shadow-medium); }
.section { padding: clamp(4rem, 8vw, 6rem) 0; }
.section-sm { padding: clamp(3rem, 6vw, 4rem) 0; }
.bg-primary { background: var(--primary); color: var(--primary-foreground); }
.bg-muted { background: var(--muted); }
.bg-secondary { background: var(--secondary); }
.bg-card { background: var(--card); }
.grid { display: grid; gap: 2rem; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.flex { display: flex; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.gap-sm { gap: .75rem; }
.gap-md { gap: 1.25rem; }
.gap-lg { gap: 2rem; }
.mt-lg { margin-top: 2rem; }
.mt-xl { margin-top: 3rem; }
.mb-lg { margin-bottom: 2rem; }
.mb-xl { margin-bottom: 3rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 46px;
  padding: .78rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 700;
  font-size: .95rem;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-1px); color: inherit; }
.btn-gold { background: linear-gradient(135deg, var(--accent), var(--accent-dark)); color: #1f232b; box-shadow: 0 6px 24px -8px rgba(209,154,46,.55); }
.btn-gold:hover { box-shadow: 0 10px 30px -8px rgba(209,154,46,.65); }
.btn-outline { border-color: rgba(255,255,255,.4); color: #fff; background: rgba(255,255,255,.08); }
.btn-outline:hover { background: rgba(255,255,255,.15); color: #fff; }
.btn-wide { width: 100%; }
.icon-box {
  width: 56px; height: 56px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 14px; background: linear-gradient(135deg, var(--accent), var(--accent-dark)); color: var(--primary); font-size: 1.5rem; flex: 0 0 auto;
}
.card { background: var(--card); border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2rem); box-shadow: var(--shadow-soft); }
.card:hover { box-shadow: var(--shadow-medium); }
.check-list, .plain-list { list-style: none; padding: 0; display: grid; gap: .75rem; }
.check-list li { position: relative; padding-left: 1.8rem; }
.check-list li::before { content: '✔'; color: var(--accent); position: absolute; left: 0; font-weight: 800; }
.x-list li::before { content: '✕'; color: var(--danger); }

.site-header { position: fixed; inset: 0 0 auto 0; z-index: 1000; background: rgba(251,250,248,.96); border-bottom: 1px solid var(--border); backdrop-filter: blur(10px); }
.topbar { background: var(--primary); color: var(--primary-foreground); font-size: .76rem; padding: .28rem 0; }
.topbar .container, .mainnav .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.topbar a, .topbar span { opacity: .92; }
.topbar-left { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: .65rem; padding: .55rem 0; }
.brand img { width: 42px; height: 42px; border-radius: 999px; object-fit: cover; }
.brand-title { display: block; font-family: 'Playfair Display', Georgia, serif; font-weight: 800; font-size: 1.2rem; line-height: 1; }
.brand-subtitle { display: block; color: var(--muted-foreground); font-size: .63rem; letter-spacing: .14em; text-transform: uppercase; margin-top: .15rem; }
.nav-links { display: flex; align-items: center; gap: 1.45rem; }
.nav-links a, .dropdown-toggle { font-weight: 700; font-size: .91rem; color: var(--foreground); background: transparent; border: 0; cursor: pointer; padding: .5rem 0; }
.nav-links a:hover, .dropdown-toggle:hover, .nav-links .active { color: var(--accent); }
.dropdown { position: relative; }
.dropdown::after { content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 12px; }
.dropdown-menu { position: absolute; top: 100%; left: 0; min-width: 230px; background: var(--card); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow-medium); padding: .55rem; display: none; z-index: 1001; }
.dropdown:hover .dropdown-menu, .dropdown.open .dropdown-menu { display: grid; }
.dropdown-menu a { padding: .7rem .8rem; border-radius: 10px; display: block; }
.dropdown-menu a:hover { background: var(--muted); }
.nav-cta { display: flex; align-items: center; gap: .75rem; }
.menu-toggle { display: none; width: 42px; height: 42px; border: 0; background: transparent; font-size: 1.7rem; color: var(--foreground); cursor: pointer; }
.mobile-menu { display: none; border-top: 1px solid var(--border); padding: .75rem 0 1rem; }
.mobile-menu a, .mobile-services-toggle { display: block; padding: .65rem 0; font-weight: 700; background: none; border: 0; width: 100%; text-align: left; color: var(--foreground); cursor: pointer; }
.mobile-service-links { display: none; padding-left: 1rem; }
.mobile-service-links.open { display: block; }

.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding: 9rem 0 5rem; overflow: hidden; color: var(--primary-foreground); }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(37,42,51,.92), rgba(30,35,44,.76)), linear-gradient(to top, rgba(37,42,51,.95), transparent 60%); }
.hero-content { position: relative; z-index: 2; max-width: 840px; animation: fadeUp .65s ease-out both; }
.hero h1 { font-size: clamp(2.65rem, 7.6vw, 5.6rem); color: #fff; }
.text-gradient-gold { background: linear-gradient(135deg, var(--gold-light), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lede { color: rgba(255,255,255,.80); max-width: 760px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.6rem; }
.social-proof { margin-top: 1.4rem; color: rgba(255,255,255,.75); }
.trust-stats { display: flex; gap: 2.5rem; flex-wrap: wrap; margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.18); }
.trust-stats strong { display: block; color: var(--accent); font-family: 'Playfair Display', Georgia, serif; font-size: 2rem; line-height: 1; }
.trust-stats span { color: rgba(255,255,255,.70); font-size: .85rem; }
.service-hero { padding: 10rem 0 3rem; background: linear-gradient(135deg, #252a33, #1c2028); color: var(--primary-foreground); }
.service-hero h1 { font-size: clamp(2rem, 4.5vw, 3.8rem); }
.service-hero p { color: rgba(255,255,255,.78); font-size: 1.05rem; }
.service-hero-inner { max-width: 860px; }
.hero-split { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; }
.hero-split img { border-radius: var(--radius); max-height: 420px; width: 100%; object-fit: cover; }

.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.6rem; }
.service-card { display: block; background: var(--card); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow-soft); transition: transform .22s ease, box-shadow .22s ease; }
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-medium); color: inherit; }
.service-card h3 { font-size: 1.42rem; }
.learn-more { color: var(--accent); font-weight: 800; font-size: .9rem; }
.stats-grid { margin-top: 4rem; padding-top: 3rem; border-top: 1px solid rgba(255,255,255,.18); display: grid; grid-template-columns: repeat(4,1fr); gap: 2rem; }
.stats-grid strong { display: block; color: var(--accent); font-family: 'Playfair Display', Georgia, serif; font-size: 2.6rem; }
.stats-grid span { color: rgba(255,255,255,.68); font-size: .9rem; }
.testimonial-marquee { overflow: hidden; position: relative; padding: .5rem 0 1rem; }
.testimonial-track { display: flex; gap: 1.5rem; width: max-content; animation: marquee 35s linear infinite; }
.testimonial-marquee:hover .testimonial-track { animation-play-state: paused; }
.testimonial-card { width: 340px; flex: 0 0 auto; overflow: hidden; display: flex; flex-direction: column; }
.testimonial-card img { width: 100%; height: 180px; object-fit: cover; }
.testimonial-card-body { padding: 1.2rem; display: flex; flex-direction: column; flex: 1; }
.stars { color: var(--accent); letter-spacing: .08em; }
.quote { color: var(--muted-foreground); font-size: .92rem; flex: 1; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.form-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: .4rem; }
input, textarea, select { width: 100%; border: 1px solid var(--border); border-radius: 10px; min-height: 46px; padding: .75rem .9rem; font: inherit; background: var(--background); color: var(--foreground); }
textarea { min-height: 130px; resize: vertical; }
.form-note { color: var(--muted-foreground); font-size: .9rem; text-align: center; font-weight: 700; }
.proseal-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.toast { display: none; margin-bottom: 1rem; border-radius: 12px; padding: .85rem 1rem; font-weight: 700; }
.toast.success { display: block; background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.toast.error { display: block; background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.image-stack { display: grid; gap: 1rem; }
.alt-row:nth-child(even) .alt-image { order: 2; }
.process-step { display: flex; gap: 1.2rem; }
.step-num { width: 52px; height: 52px; border-radius: 999px; background: linear-gradient(135deg, var(--accent), var(--accent-dark)); color: var(--primary); display:flex; align-items:center; justify-content:center; font-weight: 900; flex: 0 0 auto; }
.footer { background: var(--primary); color: var(--primary-foreground); }
.footer a:hover { color: var(--accent); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; }
.footer-logo { display: flex; align-items: center; gap: .8rem; margin-bottom: 1rem; }
.footer-logo img { width: 52px; height: 52px; border-radius: 999px; object-fit: cover; }
.footer h3, .footer h4 { color: #fff; }
.footer p, .footer li { color: rgba(255,255,255,.76); font-size: .92rem; }
.footer ul { list-style: none; padding: 0; display: grid; gap: .65rem; }
.footer-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.16); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.not-found { min-height: 65vh; display: grid; place-items: center; }

@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 980px) {
  .nav-links { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .mainnav .container { flex-wrap: wrap; }
  .mobile-menu.open { display: block; flex: 1 0 100%; }
  .grid-2, .grid-3, .grid-4, .service-grid, .hero-split, .footer-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .alt-row:nth-child(even) .alt-image { order: 0; }
}
@media (max-width: 680px) {
  .container, .container-narrow { width: min(100% - 28px, 1160px); }
  .topbar-right { display: none; }
  .nav-cta .btn { display: none; }
  .hero { padding-top: 8rem; min-height: auto; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; }
  .trust-stats { gap: 1.5rem; }
  .form-grid, .form-grid-3 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .testimonial-card { width: 300px; }
}
