/*
Theme Name: Barrow Creek Software
Theme URI: https://barrowcreeksoftware.com/
Author: Barrow Creek Software
Description: A clean, responsive company theme featuring Mako Reservations and Watchman Platform.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: barrow-creek
*/

:root {
  --navy: #102c51;
  --blue: #176592;
  --teal: #27aeb5;
  --ink: #10213b;
  --muted: #5d6c7d;
  --paper: #f5f8fa;
  --white: #fff;
  --border: #dce5eb;
  --shadow: 0 20px 48px rgba(16, 44, 81, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Segoe UI", Inter, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}
a { color: var(--blue); }
a:hover { color: var(--teal); }
img { display: block; max-width: 100%; height: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.screen-reader-text:focus { z-index: 100000; top: 8px; left: 8px; width: auto; height: auto; padding: 12px 18px; clip: auto; background: var(--white); }
.site-shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }

.site-header { background: var(--white); }
.brand-link { display: flex; justify-content: center; padding: 22px 0 18px; }
.brand-logo { width: min(860px, 88vw); max-height: 230px; object-fit: cover; object-position: center; }
.brand-name { margin: 0; padding: 32px 20px; color: var(--navy); font-size: clamp(1.6rem, 4vw, 3rem); letter-spacing: .08em; text-align: center; text-transform: uppercase; }

.site-navigation { position: relative; z-index: 10; background: var(--navy); box-shadow: 0 5px 15px rgba(6, 23, 43, .18); }
.menu-toggle { display: none; width: 100%; padding: 15px 20px; border: 0; color: var(--white); background: transparent; font: inherit; font-weight: 700; text-align: left; cursor: pointer; }
.nav-list, .site-navigation .menu { display: flex; justify-content: center; gap: 0; margin: 0; padding: 0; list-style: none; }
.nav-list a, .site-navigation .menu a { display: block; padding: 17px clamp(14px, 2.4vw, 30px); color: var(--white); font-size: .88rem; font-weight: 700; letter-spacing: .06em; text-decoration: none; text-transform: uppercase; transition: background .2s ease, color .2s ease; }
.nav-list a:hover, .nav-list a:focus-visible, .site-navigation .menu a:hover, .site-navigation .menu a:focus-visible, .current-menu-item > a { color: var(--white); background: var(--blue); }

.hero { position: relative; overflow: hidden; padding: clamp(58px, 8vw, 104px) 0 52px; text-align: center; }
.hero::before { position: absolute; inset: 0; content: ""; background: radial-gradient(circle at 15% 25%, rgba(39,174,181,.13), transparent 30%), radial-gradient(circle at 88% 80%, rgba(23,101,146,.1), transparent 32%); pointer-events: none; }
.eyebrow { margin: 0 0 10px; color: var(--teal); font-size: .78rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.hero h1 { position: relative; max-width: 850px; margin: 0 auto 20px; color: var(--navy); font-size: clamp(2.2rem, 5.2vw, 4.6rem); line-height: 1.04; letter-spacing: -.035em; }
.hero-copy { position: relative; max-width: 710px; margin: 0 auto; color: var(--muted); font-size: clamp(1rem, 2vw, 1.25rem); }

.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; padding: 0 0 clamp(72px, 9vw, 120px); }
.product-card { position: relative; display: flex; min-height: 330px; overflow: hidden; border: 1px solid var(--border); border-radius: 20px; color: var(--ink); background: var(--white); box-shadow: var(--shadow); text-decoration: none; transition: transform .25s ease, box-shadow .25s ease; }
.product-card::after { position: absolute; right: -70px; bottom: -85px; width: 220px; height: 220px; border-radius: 50%; content: ""; background: var(--card-accent); opacity: .09; }
.product-card:hover, .product-card:focus-visible { color: var(--ink); transform: translateY(-7px); box-shadow: 0 25px 58px rgba(16, 44, 81, .18); }
.product-card__inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; padding: clamp(30px, 5vw, 52px); }
.product-icon { display: grid; width: 58px; height: 58px; margin-bottom: 28px; place-items: center; border-radius: 16px; color: var(--white); background: var(--card-accent); font-size: 1.6rem; font-weight: 800; }
.product-card h2 { margin: 0 0 12px; color: var(--navy); font-size: clamp(1.65rem, 3vw, 2.3rem); line-height: 1.15; }
.product-card p { margin: 0 0 28px; color: var(--muted); }
.card-cta { margin-top: auto; color: var(--card-accent); font-size: .86rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.card-cta::after { content: " \2192"; }
.product-card--mako { --card-accent: var(--teal); }
.product-card--watchman { --card-accent: var(--blue); }

.content-area { min-height: 50vh; padding: clamp(54px, 7vw, 90px) 0; }
.entry-card { padding: clamp(28px, 5vw, 58px); border: 1px solid var(--border); border-radius: 18px; background: var(--white); box-shadow: var(--shadow); }
.entry-title { margin-top: 0; color: var(--navy); line-height: 1.15; }
.site-footer { padding: 30px 0; color: rgba(255,255,255,.78); background: #091f3b; font-size: .9rem; text-align: center; }
.site-footer p { margin: 0; }

@media (max-width: 720px) {
  .site-shell { width: min(100% - 28px, 1180px); }
  .brand-link { padding: 12px 0; }
  .brand-logo { width: 96vw; max-height: 150px; }
  .menu-toggle { display: block; }
  .nav-list, .site-navigation .menu { display: none; flex-direction: column; align-items: stretch; }
  .site-navigation.is-open .nav-list, .site-navigation.is-open .menu { display: flex; }
  .nav-list a, .site-navigation .menu a { padding: 13px 20px; border-top: 1px solid rgba(255,255,255,.1); }
  .product-grid { grid-template-columns: 1fr; }
  .product-card { min-height: 290px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
