/*
Theme Name: WebCentre Editable Classic
Theme URI: https://webcentre.com.au/
Author: WebCentre
Author URI: https://webcentre.com.au/
Description: A classic WordPress theme for WebCentre with a homepage editable through Pages.
Version: 1.0.4
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: webcentre-editable
Tags: custom-page-template, business, portfolio, responsive-layout
*/

:root {
  --ink: #171717;
  --muted: #626262;
  --paper: #ffffff;
  --soft: #f5f7f6;
  --soft-strong: #e9efed;
  --line: #d8dedb;
  --teal: #00736f;
  --teal-dark: #084846;
  --gold: #b97918;
  --coral: #b64b36;
  --charcoal: #202322;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

.home-page > * {
  margin-block-start: 0;
}

.home-page .wp-block-group,
.home-page .wp-block-columns,
.home-page .wp-block-image,
.home-page .wp-block-buttons,
.home-page .wp-block-list {
  margin-block-start: 0;
  margin-block-end: 0;
}

.home-page .hero-section,
.home-page .hero-metrics,
.home-page .service-strip,
.home-page .service-grid,
.home-page .pricing-grid,
.home-page .package-detail,
.home-page .process-list,
.home-page .process-item,
.home-page .portfolio-grid,
.home-page .preview,
.home-page .contact-section {
  max-width: none;
}

.home-page .hero-section > *,
.home-page .hero-metrics > *,
.home-page .service-strip > *,
.home-page .service-grid > *,
.home-page .pricing-grid > *,
.home-page .package-detail > *,
.home-page .process-list > *,
.home-page .process-item > *,
.home-page .portfolio-grid > *,
.home-page .preview > *,
.home-page .contact-section > * {
  margin-left: 0 !important;
  margin-right: 0 !important;
  max-width: none !important;
}

.home-page .section > .section-heading,
.home-page .section-inner > .section-heading {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.home-page .alt-section > .section-inner {
  max-width: 1164px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 18px 28px;
  border-bottom: 1px solid rgba(216, 222, 219, 0.82);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 8px;
  min-width: min(300px, 100%);
  max-width: 320px;
  text-align: left;
}

.brand-logo-wrap {
  display: block;
  width: 100%;
  line-height: 0;
  text-align: left;
}

.brand-logo {
  display: block;
  line-height: 0;
}

.brand-logo .custom-logo-link {
  display: inline-flex;
  justify-content: flex-start;
  max-width: 300px;
  line-height: 0;
}

.brand-logo img,
.brand-logo .custom-logo {
  display: block;
  width: auto;
  max-width: 300px;
  max-height: 80px;
  object-fit: contain;
}

.brand-tagline {
  display: block;
  text-align: left;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.brand-fallback-logo {
  display: block;
  color: var(--teal-dark);
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
}

.brand strong {
  display: block;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.15;
}

.brand small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.nav-links,
.nav-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex-wrap: wrap;
}

.nav-menu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a,
.nav-menu a {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  border-radius: 8px;
  padding: 8px 12px;
  color: #3d4240;
  font-size: 14px;
}

.nav-links a:hover,
.nav-menu a:hover {
  background: var(--soft);
  color: var(--teal-dark);
}

.hero-section {
  display: grid !important;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: 42px;
  align-items: center;
  max-width: 1220px;
  margin: 0 auto;
  padding: 76px 28px 34px;
}

.hero-copy {
  max-width: 570px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 620px;
  margin-bottom: 22px;
  color: var(--charcoal);
  font-size: 42px;
  font-weight: 700;
  line-height: 1.08;
}

h2 {
  margin-bottom: 16px;
  color: var(--charcoal);
  font-size: 34px;
  font-weight: 700;
  line-height: 1.14;
}

h3 {
  margin-bottom: 10px;
  color: var(--charcoal);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
}

p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-lede {
  max-width: 560px;
  margin-bottom: 28px;
  color: #4e5552;
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 34px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 12px 18px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--coral);
  color: #ffffff;
}

.button.primary:hover {
  background: #963d2c;
}

.button.secondary {
  border-color: rgba(8, 72, 70, 0.22);
  background: #ffffff;
  color: var(--teal-dark);
}

.button.secondary:hover {
  border-color: rgba(8, 72, 70, 0.38);
  background: var(--soft);
}

.wp-block-buttons.hero-actions {
  gap: 12px;
}

.wp-block-button__link {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 12px 18px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.wp-block-button__link:hover {
  transform: translateY(-1px);
}

.hero-actions .wp-block-button:not(.is-style-outline) .wp-block-button__link,
.contact-section .wp-block-button:not(.is-style-outline) .wp-block-button__link {
  background: var(--coral);
  color: #ffffff;
}

.hero-actions .is-style-outline .wp-block-button__link {
  border: 1px solid rgba(8, 72, 70, 0.22);
  background: #ffffff;
  color: var(--teal-dark);
}

.hero-metrics {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.hero-metrics div,
.hero-metrics .metric-card {
  min-height: 82px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #ffffff;
}

.hero-metrics dt,
.metric-number {
  margin-bottom: 4px;
  color: var(--teal-dark);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.1;
}

.hero-metrics dd,
.metric-label {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.hero-media {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  box-shadow: 0 24px 70px rgba(32, 35, 34, 0.14);
}

.hero-media figure {
  width: 100%;
  height: 100%;
  margin: 0;
}

.hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
  object-position: center;
}

.service-strip {
  display: flex !important;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 28px 48px;
}

.service-strip span,
.service-pill {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  margin: 0;
  border: 1px solid rgba(0, 115, 111, 0.22);
  border-radius: 8px;
  padding: 8px 12px;
  background: #ffffff;
  color: var(--teal-dark);
  font-size: 14px;
  font-weight: 700;
}

.section {
  max-width: 1220px;
  margin: 0 auto;
  padding: 76px 28px;
}

.alt-section {
  max-width: none;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--soft);
}

.alt-section > * {
  max-width: 1164px;
  margin-right: auto;
  margin-left: auto;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

.section-heading.compact {
  max-width: 680px;
}

.service-grid,
.pricing-grid,
.portfolio-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card,
.price-card,
.portfolio-card,
.post-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.service-card,
.price-card,
.post-card {
  padding: 24px;
}

.service-card h3,
.price-card h3 {
  min-height: 50px;
}

.service-card p,
.price-card p,
.portfolio-card p,
.process-item p {
  margin-bottom: 0;
}

.price-card {
  position: relative;
}

.price-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  border-radius: 8px 8px 0 0;
  background: var(--teal);
}

.plan-name {
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--charcoal);
  font-size: 38px;
  font-weight: 700;
  line-height: 1;
}

.price span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 400;
}

.package-detail {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.78fr);
  gap: 20px;
  margin-top: 20px;
}

.package-detail > div {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px;
  background: #ffffff;
}

.inclusion-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.inclusion-list li {
  min-height: 42px;
  border-bottom: 1px solid var(--line);
  padding: 0 0 10px;
  color: #343837;
  font-size: 15px;
  line-height: 1.45;
}

.commerce-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mini-prices {
  display: grid !important;
  gap: 10px;
  margin-top: 24px;
}

.mini-prices span {
  display: block;
  border-left: 3px solid var(--gold);
  padding: 8px 0 8px 12px;
  color: #343837;
  font-size: 14px;
  line-height: 1.45;
}

.mini-price {
  display: block;
  border-left: 3px solid var(--gold);
  padding: 8px 0 8px 12px;
  color: #343837;
  font-size: 14px;
  line-height: 1.45;
}

.process-list {
  display: grid !important;
  gap: 14px;
}

.process-item {
  display: grid !important;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: #ffffff;
}

.process-item span,
.process-number {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  margin: 0;
  border-radius: 8px;
  background: var(--teal-dark);
  color: #ffffff;
  font-weight: 700;
}

.portfolio-card {
  overflow: hidden;
}

.preview {
  display: grid !important;
  grid-template-columns: 1.1fr 0.9fr;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
  height: 168px;
  padding: 16px;
  background: var(--soft-strong);
}

.preview span {
  display: block;
  border-radius: 8px;
  background: #ffffff;
}

.preview-tall,
.preview-small {
  display: block;
  min-height: 100%;
  margin: 0;
  border-radius: 8px;
  background: #ffffff;
}

.preview span:first-child {
  grid-row: span 2;
}

.preview-tall {
  grid-row: span 2;
}

.preview-1 {
  background: #edf5f4;
}

.preview-1 span:first-child,
.preview-1 .preview-tall {
  background: var(--teal);
}

.preview-2 {
  background: #f5f0e8;
}

.preview-2 span:first-child,
.preview-2 .preview-tall {
  background: var(--gold);
}

.preview-3 {
  background: #f3ecea;
}

.preview-3 span:first-child,
.preview-3 .preview-tall {
  background: var(--coral);
}

.preview-4 {
  background: #eff1ef;
}

.preview-4 span:first-child,
.preview-4 .preview-tall {
  background: var(--charcoal);
}

.portfolio-card > div:last-child {
  padding: 22px;
}

.portfolio-content {
  padding: 22px;
}

.portfolio-card p {
  color: var(--muted);
  font-size: 14px;
}

.portfolio-category {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 14px;
}

.portfolio-card a,
.portfolio-link a,
.text-link {
  display: inline-flex;
  margin-top: 8px;
  color: var(--teal);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.contact-section {
  display: grid !important;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1fr);
  gap: 38px;
  max-width: 1220px;
  margin: 0 auto;
  padding: 82px 28px;
}

.contact-copy {
  max-width: 560px;
}

.contact-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: var(--soft);
}

.contact-checklist {
  margin: 0;
  padding-left: 20px;
  color: #343837;
  line-height: 1.7;
}

.contact-form {
  display: grid;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: var(--soft);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: #343837;
  font-size: 14px;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #cdd4d1;
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  padding: 12px 13px;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0, 115, 111, 0.12);
}

.contact-form textarea {
  min-height: 132px;
  resize: vertical;
}

.contact-form .button {
  width: 100%;
  margin-top: 4px;
}

.content-shell {
  max-width: 980px;
  margin: 0 auto;
  padding: 72px 28px;
}

.content-article {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 32px;
  background: #ffffff;
}

.entry-content {
  color: #3d4240;
  line-height: 1.75;
}

.entry-content a,
.post-card a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.post-list {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.post-card h2 {
  margin-bottom: 8px;
  font-size: 24px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--line);
  padding: 24px 28px;
  background: var(--charcoal);
  color: #ffffff;
}

.site-footer p {
  margin: 0;
  color: #ffffff;
}

.site-footer div {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
}

.site-footer a {
  color: #ffffff;
  font-size: 14px;
}

@media (max-width: 980px) {
  .hero-section,
  .contact-section,
  .package-detail {
    grid-template-columns: 1fr;
  }

  .site-header {
    align-items: flex-start;
  }

  .hero-copy {
    max-width: 720px;
  }

  .hero-section {
    padding-top: 54px;
  }

  .hero-media,
  .hero-media img {
    min-height: 360px;
  }

  .service-grid,
  .pricing-grid,
  .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .site-header,
  .hero-section,
  .section,
  .contact-section,
  .site-footer,
  .content-shell {
    padding-right: 20px;
    padding-left: 20px;
  }

  .site-header,
  .site-footer,
  .nav-links,
  .nav-menu {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links,
  .nav-menu {
    width: 100%;
  }

  .nav-links a,
  .nav-menu a {
    min-height: 34px;
    padding-right: 10px;
    padding-left: 10px;
  }

  h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 28px;
  }

  .hero-section {
    gap: 28px;
    padding-top: 42px;
  }

  .hero-metrics,
  .service-grid,
  .pricing-grid,
  .portfolio-grid,
  .inclusion-list {
    grid-template-columns: 1fr;
  }

  .hero-media,
  .hero-media img {
    min-height: 280px;
  }

  .service-strip {
    padding-right: 20px;
    padding-left: 20px;
  }

  .process-item {
    grid-template-columns: 1fr;
  }

  .content-article {
    padding: 24px;
  }

  .site-footer div {
    justify-content: flex-start;
  }
}
