/*
Theme Name: Outback Automation
Theme URI: https://outbackautomation.com.au
Author: Lance Perry
Description: Simple single-page brand theme for Outback Automation — custom apps, AI agents and workflow automation.
Version: 1.0.1
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: outback-automation
*/

:root {
  --navy: #171B2E;
  --navy-soft: #232842;
  --rust: #A8461F;
  --gold: #D9A441;
  --sand: #F7F3EC;
  --ink: #2A2E3F;
  --muted: #6B7080;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--sand);
  line-height: 1.65;
}

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

.wrap { max-width: 1060px; margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 3px solid var(--gold);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 16px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img {
  height: 44px;
  width: auto;
  background: #fff;
  padding: 5px 12px;
  border-radius: 8px;
  box-sizing: content-box;
}
.brand-name { color: #fff; font-weight: 700; letter-spacing: 0.06em; font-size: 1.05rem; }
.brand-name span { color: var(--gold); font-weight: 600; }

.site-nav a {
  color: #E8E4DB;
  text-decoration: none;
  margin-left: 22px;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
}
.site-nav a:hover { color: var(--gold); }

/* Hero */
.hero {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-soft) 100%);
  color: #fff;
  padding: 88px 0 96px;
  text-align: center;
}
.hero img.mark { height: 120px; margin-bottom: 28px; }
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.1rem);
  letter-spacing: 0.04em;
  line-height: 1.15;
  margin-bottom: 18px;
}
.hero h1 em { font-style: normal; color: var(--gold); }
.hero p.lede {
  max-width: 640px;
  margin: 0 auto 34px;
  font-size: 1.15rem;
  color: #C9CCD8;
}
.btn {
  display: inline-block;
  background: var(--rust);
  color: #fff;
  text-decoration: none;
  padding: 14px 34px;
  border-radius: 6px;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: background 0.2s ease;
}
.btn:hover { background: #8F3B1A; }

/* Sections */
section { padding: 76px 0; }
.section-title {
  text-align: center;
  font-size: 1.9rem;
  color: var(--navy);
  margin-bottom: 10px;
  letter-spacing: 0.03em;
}
.section-title::after {
  content: "";
  display: block;
  width: 64px;
  height: 3px;
  background: var(--gold);
  margin: 14px auto 0;
}
.section-sub {
  text-align: center;
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto 48px;
}

/* Services */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 26px;
}
.card {
  background: #fff;
  border-radius: 10px;
  padding: 34px 28px;
  border-top: 4px solid var(--gold);
  box-shadow: 0 2px 10px rgba(23, 27, 46, 0.07);
}
.card h3 { color: var(--navy); margin-bottom: 12px; font-size: 1.2rem; }
.card p { color: var(--muted); font-size: 0.98rem; }
.card .icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
}

/* About */
.about { background: #fff; }
.about .wrap { max-width: 760px; }
.about p { margin-bottom: 18px; color: var(--ink); font-size: 1.05rem; }

/* Contact */
.contact {
  background: var(--navy);
  color: #fff;
  text-align: center;
}
.contact .section-title { color: #fff; }
.contact p { color: #C9CCD8; max-width: 560px; margin: 0 auto 30px; }

/* Footer */
.site-footer {
  background: #10131F;
  color: #8B8FA3;
  text-align: center;
  padding: 26px 0;
  font-size: 0.85rem;
}
.site-footer .gold { color: var(--gold); }

@media (max-width: 640px) {
  .site-nav { display: none; }
  .hero { padding: 60px 0 68px; }
  section { padding: 56px 0; }
}

/* Generic WordPress content fallback */
.content-area { padding: 60px 0; }
.content-area .wrap { max-width: 760px; }
.content-area h1, .content-area h2 { color: var(--navy); margin-bottom: 16px; }
.content-area p { margin-bottom: 16px; }
