/*
Theme Name: Romine Outdoors
Theme URI: https://romineoutdoors.com
Author: Built for Romine Outdoors Lawn & Landscaping
Author URI: https://romineoutdoors.com
Description: Custom one-page business theme for Romine Outdoors Lawn & Landscaping. Navy-and-gold brand with a bee/honeycomb signature motif drawn from the company logo. Phone, email, social links, address, and service area are editable from Appearance > Customize.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.7
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: romine-outdoors
*/

/* ============================================================
   DESIGN TOKENS  — pulled from the Romine Outdoors logo
   ============================================================ */
:root {
  --navy-900: #15314D;  /* deepest - footer */
  --navy-800: #1E4067;
  --navy-700: #2A5688;  /* primary brand / wordmark / center hex */
  --blue-500: #498BBF;  /* medium blue - right hex */
  --blue-300: #8FBEE0;
  --blue-200: #B5D4F3;  /* light blue - left hex */
  --gold:     #C49A3C;  /* antique gold - hex outlines / ampersand */
  --gold-dk:  #A8842F;
  --gold-lt:  #E6CF8E;

  --paper:    #FFFFFF;
  --mist:     #EEF4FA;  /* light blue-gray section bg */
  --mist-dk:  #DCE8F2;
  --ink:      #1B2A38;
  --muted:    #586977;
  --line:     #DCE6EF;

  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --maxw: 1180px;
  --radius: 14px;
  --shadow: 0 18px 40px -22px rgba(21, 49, 77, 0.5);

  /* honeycomb signature pattern (gold hex outlines on transparent) */
  --honeycomb: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='56' height='96' viewBox='0 0 56 96'><g fill='none' stroke='%23C49A3C' stroke-width='1.4' stroke-opacity='0.5'><path d='M28 1 L52 15 L52 41 L28 55 L4 41 L4 15 Z'/><path d='M0 49 L24 63 L24 89 L0 103'/><path d='M56 49 L32 63 L32 89 L56 103'/></g></svg>");
}

/* ============================================================
   RESET / BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
body {
  margin: 0;
  font-family: var(--body);
  font-size: 18px; line-height: 1.65;
  color: var(--ink); background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-700); text-decoration: none; }
a:hover { color: var(--gold-dk); }

h1, h2, h3 {
  font-family: var(--display); font-weight: 600;
  line-height: 1.05; letter-spacing: -0.01em; margin: 0 0 0.4em;
  font-optical-sizing: auto;
}
p { margin: 0 0 1em; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  font-family: var(--body); font-weight: 700; font-size: 0.78rem;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-dk);
  margin: 0 0 0.9rem; display: inline-flex; align-items: center; gap: 0.55rem;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--gold); display: inline-block; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--body); font-weight: 700; font-size: 1rem;
  padding: 0.85rem 1.5rem; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}
.btn-primary { background: var(--gold); color: var(--navy-900); }
.btn-primary:hover { background: var(--gold-dk); color: #fff; transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--paper); border-color: rgba(255,255,255,0.45); }
.btn-ghost:hover { background: rgba(255,255,255,0.12); color: var(--paper); transform: translateY(-2px); }
.btn-dark { background: var(--navy-700); color: var(--paper); }
.btn-dark:hover { background: var(--navy-800); color: var(--paper); transform: translateY(-2px); }

/* ============================================================
   TOP BAR
   ============================================================ */
.topbar { background: var(--navy-900); color: var(--blue-200); font-size: 0.88rem; padding: 8px 0; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.topbar a { color: var(--blue-200); font-weight: 600; }
.topbar a:hover { color: var(--gold-lt); }
.topbar .tb-right { display: flex; gap: 1.3rem; align-items: center; flex-wrap: wrap; }
.topbar .tb-social { display: flex; gap: 0.7rem; align-items: center; }
.topbar .tb-social a { display: inline-grid; place-items: center; }
.topbar .tb-social svg { width: 17px; height: 17px; fill: var(--blue-200); transition: fill 0.18s; }
.topbar .tb-social a:hover svg { fill: var(--gold-lt); }

/* ============================================================
   SITE HEADER / NAV
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.95); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo img, .brand-logo { height: 56px; width: auto; }
.custom-logo { height: 56px; width: auto; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.8rem; align-items: center; }
.main-nav a { color: var(--ink); font-weight: 600; font-size: 0.97rem; }
.main-nav a:hover { color: var(--gold-dk); }
.header-cta { display: flex; align-items: center; gap: 1rem; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--navy-700); margin: 5px 0; transition: 0.2s; }

/* ============================================================
   HERO  — honeycomb signature motif
   ============================================================ */
.hero { position: relative; background: var(--navy-700); color: var(--paper); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: var(--honeycomb); background-size: 56px 96px;
  opacity: 0.6; pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; right: -10%; top: -20%;
  width: 640px; height: 640px;
  background: radial-gradient(circle at center, rgba(73,139,191,0.45), transparent 62%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 2; padding-top: 92px; padding-bottom: 100px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 5.5vw, 4.4rem); color: var(--paper); }
.hero h1 em { font-style: italic; color: var(--gold-lt); }
.hero .lede { font-size: 1.2rem; color: rgba(255,255,255,0.86); max-width: 34ch; margin-bottom: 2rem; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-eyebrow { color: var(--gold-lt); }
.hero-eyebrow::before { background: var(--gold-lt); }
.hero-card {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius); padding: 28px; backdrop-filter: blur(4px);
}
.hero-card h3 { color: var(--paper); font-size: 1.3rem; }
.hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 14px; margin-top: 18px; }
.hero-stats .stat .n { font-family: var(--display); font-size: 2rem; color: var(--gold-lt); line-height: 1; }
.hero-stats .stat .l { font-size: 0.82rem; color: rgba(255,255,255,0.8); margin-top: 4px; }

/* ============================================================
   SECTION SHELL
   ============================================================ */
.section { padding: 86px 0; }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); color: var(--navy-700); }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.section--mist { background: var(--mist); }

/* ============================================================
   SERVICES  — hexagon icon tiles (honeycomb tie-in)
   ============================================================ */
.services-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; }
.svc {
  flex: 0 1 calc((100% - 44px) / 3); max-width: calc((100% - 44px) / 3);
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold); }
.svc-icon {
  width: 56px; height: 62px; margin-bottom: 18px;
  background: var(--navy-700);
  -webkit-clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
          clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  display: grid; place-items: center;
}
.svc-icon svg { width: 26px; height: 26px; stroke: var(--gold-lt); }
.svc h3 { font-size: 1.3rem; color: var(--navy-700); }
.svc p { color: var(--muted); font-size: 0.98rem; margin: 0; }

/* ============================================================
   ABOUT / WHY
   ============================================================ */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-visual {
  aspect-ratio: 4 / 3; border-radius: var(--radius); position: relative; overflow: hidden;
  background:
    var(--honeycomb),
    linear-gradient(160deg, var(--blue-500), var(--navy-800));
  background-size: 56px 96px, cover;
  box-shadow: var(--shadow); display: grid; place-items: center;
}
.about-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.about-visual .ph { text-align: center; color: rgba(255,255,255,0.9); padding: 24px; font-size: 0.9rem; position: relative; z-index: 1; }
.about-visual .ph svg { width: 44px; height: 44px; stroke: var(--gold-lt); margin: 0 auto 10px; }
.checklist { list-style: none; padding: 0; margin: 1.4rem 0 2rem; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist li::before {
  content: ""; flex: none; width: 24px; height: 26px; margin-top: 1px; background: var(--gold);
  -webkit-clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
          clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center / 13px no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center / 13px no-repeat;
}
.checklist li b { color: var(--ink); }

/* ============================================================
   GALLERY (placeholder tiles)
   ============================================================ */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gtile {
  aspect-ratio: 1 / 1; border-radius: var(--radius); position: relative; overflow: hidden;
  background: var(--honeycomb), linear-gradient(160deg, var(--blue-500), var(--navy-800));
  background-size: 48px 82px, cover;
  display: grid; place-items: center; color: rgba(255,255,255,0.7);
  font-size: 0.82rem; text-align: center; padding: 14px;
}
.gtile span { position: relative; z-index: 1; }
.gtile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gtile:hover img { transform: scale(1.05); }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.quotes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quote { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.quote .stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 10px; }
.quote p { font-size: 1.02rem; color: var(--ink); }
.quote .who { font-weight: 700; color: var(--navy-700); font-size: 0.95rem; margin-top: 14px; }

/* ============================================================
   CONTACT / CTA
   ============================================================ */
.contact { position: relative; background: var(--navy-800); color: var(--paper); overflow: hidden; }
.contact::before {
  content: ""; position: absolute; inset: 0; background-image: var(--honeycomb);
  background-size: 56px 96px; opacity: 0.35; pointer-events: none;
}
.contact .wrap { position: relative; z-index: 1; }
.contact h2 { color: var(--paper); }
.contact .section-head p { color: rgba(255,255,255,0.84); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-card { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.18); border-radius: var(--radius); padding: 30px; }
.contact-row { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.14); }
.contact-row:last-child { border-bottom: 0; }
.contact-row svg { width: 22px; height: 22px; stroke: var(--gold-lt); flex: none; margin-top: 3px; }
.contact-row .label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; color: rgba(255,255,255,0.7); }
.contact-row .val { font-weight: 600; font-size: 1.05rem; color: var(--paper); }
.contact-row a.val:hover { color: var(--gold-lt); }
.qform { display: grid; gap: 14px; }
.qform label { font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.8); margin-bottom: 4px; display: block; }
.qform input, .qform textarea {
  width: 100%; font-family: var(--body); font-size: 1rem; padding: 12px 14px; border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.28); background: rgba(255,255,255,0.07); color: var(--paper);
}
.qform input::placeholder, .qform textarea::placeholder { color: rgba(255,255,255,0.5); }
.qform input:focus, .qform textarea:focus { outline: 2px solid var(--gold); border-color: transparent; }
.qrow { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.qhp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-notice { padding: 12px 14px; border-radius: 10px; margin-bottom: 16px; font-size: 0.95rem; line-height: 1.4; }
.form-notice--ok { background: rgba(230,207,142,0.14); color: var(--gold-lt); border: 1px solid rgba(230,207,142,0.45); }
.form-notice--err { background: rgba(255,255,255,0.08); color: #ffd9d9; border: 1px solid rgba(255,160,160,0.45); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,0.78); padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }
.site-footer h4 { font-family: var(--body); font-weight: 700; color: var(--paper); font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; margin: 0 0 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.site-footer a { color: rgba(255,255,255,0.78); }
.site-footer a:hover { color: var(--gold-lt); }
.footer-logo { height: 78px; width: auto; margin-bottom: 14px; }
.footer-social { display: flex; gap: 12px; margin-top: 16px; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.08); display: grid; place-items: center; transition: background 0.18s; }
.footer-social a:hover { background: var(--gold); }
.footer-social svg { width: 18px; height: 18px; fill: var(--blue-200); transition: fill 0.18s; }
.footer-social a:hover svg { fill: var(--navy-900); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.15); padding-top: 22px; font-size: 0.85rem; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ============================================================
   BLOG / GENERIC PAGE
   ============================================================ */
.page-shell { max-width: 760px; margin: 0 auto; padding: 70px 24px; }
.page-shell h1 { color: var(--navy-700); font-size: 2.6rem; }
.page-shell img { border-radius: var(--radius); margin: 1.4rem 0; }
.post-meta { color: var(--muted); font-size: 0.9rem; margin-bottom: 1.5rem; }
.post-card { border-bottom: 1px solid var(--line); padding: 28px 0; }
.post-card h2 a { color: var(--navy-700); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .quotes-grid, .gallery-grid { grid-template-columns: 1fr 1fr; }
  .svc { flex-basis: calc((100% - 22px) / 2); max-width: calc((100% - 22px) / 2); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-card { order: -1; }
  .main-nav { display: none; }
  .nav-toggle { display: block; }
  .main-nav.open { display: block; position: absolute; top: 100%; left: 0; right: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 16px 24px; }
  .main-nav.open ul { flex-direction: column; gap: 0; align-items: stretch; }
  .main-nav.open li { padding: 10px 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .quotes-grid, .gallery-grid, .footer-grid, .qrow, .hero-stats { grid-template-columns: 1fr; }
  .svc { flex-basis: 100%; max-width: 100%; }
  .section { padding: 60px 0; }
  .topbar { display: none; }
  .header-cta .btn { padding: 0.7rem 1.1rem; font-size: 0.9rem; }
  .brand-logo img, .custom-logo { height: 46px; }
}
