/* Version: 1.4.0 | Created: 2026-05-11 | Updated: 2026-05-12 */
/* Above & Beyond Dog Training — abovebeyonddogtraining.com.au */

/* === BRAND PALETTE ===
   Primary green : #3b872d
   Gold / amber  : #eabf51
   Dark footer   : #2d291f
   Body bg       : #f5f5f0
   Text dark     : #282828
*/

@import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@400;500;700&family=Open+Sans:wght@400;600;700&display=swap');

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

:root {
  --green:   #3b872d;
  --green-d: #2d6622;
  --gold:    #eabf51;
  --dark:    #2d291f;
  --body-bg: #f5f5f0;
  --text:    #282828;
  --text-m:  #555;
  --white:   #fff;
  --radius:  6px;
  --shadow:  0 2px 12px rgba(0,0,0,.10);
}

body {
  font-family: 'Open Sans', Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--body-bg);
}

a { color: var(--green); text-decoration: none; }
a:hover { color: var(--green-d); text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, h5 { font-family: 'Ubuntu', Helvetica, Arial, sans-serif; line-height: 1.25; color: var(--dark); }

/* === LAYOUT === */
.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.section { padding: 64px 0; }
.section-alt { background: var(--white); }

/* === TOP BAR === */
.top-bar {
  background: var(--dark);
  color: var(--gold);
  font-size: 13px;
  padding: 7px 0;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.top-bar a { color: var(--gold); }
.top-bar a:hover { color: var(--white); text-decoration: none; }
.top-bar-left { display: flex; gap: 20px; align-items: center; }
.top-bar-right { display: flex; gap: 14px; align-items: center; }

/* === HEADER === */
header {
  background: var(--green);
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  max-width: 1140px;
  margin: 0 auto;
}
.logo img { height: 60px; width: auto; }
.logo-text { display: flex; flex-direction: column; margin-left: 12px; }
.logo-text .name { font-family: 'Ubuntu', sans-serif; font-size: 18px; font-weight: 700; color: var(--white); line-height: 1.2; }
.logo-text .tagline { font-size: 12px; color: rgba(255,255,255,.75); }
.logo-wrap { display: flex; align-items: center; }

nav ul { list-style: none; display: flex; gap: 4px; }
nav ul li a {
  font-family: 'Ubuntu', sans-serif;
  font-weight: 500;
  font-size: 15px;
  color: rgba(255,255,255,.9);
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: background .2s, color .2s;
}
nav ul li a:hover,
nav ul li a.active {
  background: rgba(0,0,0,.2);
  color: var(--white);
  text-decoration: none;
}
.nav-book {
  background: var(--gold) !important;
  color: var(--dark) !important;
  font-weight: 700 !important;
}
.nav-book:hover { background: #d4a83e !important; }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; background: none; border: none; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: .3s; }

/* === HERO === */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--dark);
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('../images/group-training-1.jpg');
  background-size: cover;
  background-position: center 30%;
  opacity: .45;
}
.hero-content {
  position: relative;
  max-width: 1140px;
  margin: 0 auto;
  padding: 80px 20px;
  color: var(--white);
}
.hero-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--dark);
  font-family: 'Ubuntu', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--white);
  margin-bottom: 18px;
  max-width: 680px;
}
.hero p {
  font-size: 1.15rem;
  max-width: 560px;
  margin-bottom: 32px;
  color: rgba(255,255,255,.9);
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* === BUTTONS === */
.btn {
  display: inline-block;
  font-family: 'Ubuntu', sans-serif;
  font-weight: 700;
  font-size: 15px;
  padding: 13px 28px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .2s;
  text-align: center;
}
.btn-primary { background: var(--green); color: var(--white); border-color: var(--green); }
.btn-primary:hover { background: var(--green-d); border-color: var(--green-d); color: var(--white); text-decoration: none; }
.btn-gold { background: var(--gold); color: var(--dark); border-color: var(--gold); }
.btn-gold:hover { background: #d4a83e; border-color: #d4a83e; color: var(--dark); text-decoration: none; }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,.7); }
.btn-outline:hover { background: rgba(255,255,255,.12); color: var(--white); text-decoration: none; }
.btn-lg { padding: 16px 36px; font-size: 17px; }
.btn-sm { padding: 8px 18px; font-size: 13px; }

/* === TRUST STRIP === */
.trust-strip {
  background: var(--green);
  color: var(--white);
  padding: 16px 0;
}
.trust-items {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Ubuntu', sans-serif;
  font-weight: 500;
  font-size: 14px;
}
.trust-icon { font-size: 20px; }

/* === SERVICES CARDS === */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 40px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,.14); }
.service-card img { width: 100%; height: 220px; object-fit: cover; }
.service-card-body { padding: 24px; }
.service-card-body h3 { font-size: 1.2rem; margin-bottom: 10px; color: var(--green); }
.service-card-body p { color: var(--text-m); font-size: .95rem; margin-bottom: 18px; }

/* === SECTION HEADING === */
.section-heading { text-align: center; margin-bottom: 12px; }
.section-heading h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.section-sub { text-align: center; color: var(--text-m); font-size: 1.05rem; max-width: 640px; margin: 0 auto 40px; }
.section-heading .accent { color: var(--green); }

/* === ABOUT SPLIT === */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-split-reverse .about-img { order: 2; }
.about-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.about-img img { width: 100%; height: 420px; object-fit: cover; object-position: top; }
.credential-list { list-style: none; margin: 20px 0; }
.credential-list li { padding: 6px 0; padding-left: 26px; position: relative; color: var(--text-m); }
.credential-list li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 700; }

/* === TESTIMONIALS === */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.testimonial-card {
  background: var(--white);
  border-left: 4px solid var(--gold);
  padding: 24px;
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow);
}
.testimonial-text { font-style: italic; color: var(--text-m); margin-bottom: 14px; }
.testimonial-author { font-weight: 700; font-family: 'Ubuntu', sans-serif; color: var(--dark); }
.testimonial-dog { font-size: 13px; color: var(--text-m); }
.stars { color: var(--gold); font-size: 18px; margin-bottom: 10px; }

/* === FACEBOOK FEED === */
.fb-section { text-align: center; }
.fb-page-wrapper {
  display: block;
  margin-top: 24px;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  max-width: 100%;
}
.fb-page-wrapper iframe {
  display: block;
  width: 100% !important;
  min-height: 600px;
  border: none;
}

/* === BOOKING FORM === */
.booking-wrap {
  max-width: 720px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 40px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 14px; color: var(--dark); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid #ddd;
  border-radius: var(--radius);
  font-size: 15px;
  font-family: 'Open Sans', sans-serif;
  color: var(--text);
  background: var(--white);
  transition: border-color .2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(59,135,45,.12); }
.form-group textarea { min-height: 110px; resize: vertical; }
.form-note { font-size: 13px; color: var(--text-m); margin-top: 8px; }
.form-success { background: #d4edda; border: 1px solid #c3e6cb; color: #155724; padding: 16px; border-radius: var(--radius); margin-bottom: 20px; display: none; }
.form-error { background: #f8d7da; border: 1px solid #f5c6cb; color: #721c24; padding: 16px; border-radius: var(--radius); margin-bottom: 20px; display: none; }
.required { color: #e74c3c; }

/* === CHARITY PAGE === */
.charity-hero {
  background: linear-gradient(135deg, var(--dark) 0%, #1a3a0a 100%);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
}
.charity-hero h1 { color: var(--white); margin-bottom: 16px; }
.charity-hero p { color: rgba(255,255,255,.85); max-width: 600px; margin: 0 auto; }

/* === FOOTER === */
footer {
  background: var(--dark);
  color: rgba(255,255,255,.75);
  padding: 56px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}
.footer-brand .logo-text .name { color: var(--gold); font-size: 20px; }
.footer-brand .logo-text .tagline { color: rgba(255,255,255,.5); }
.footer-brand p { margin-top: 14px; font-size: 14px; line-height: 1.7; }
footer h4 { font-family: 'Ubuntu', sans-serif; color: var(--gold); font-size: 15px; margin-bottom: 16px; }
footer ul { list-style: none; }
footer ul li { margin-bottom: 8px; }
footer ul li a { color: rgba(255,255,255,.7); font-size: 14px; transition: color .2s; }
footer ul li a:hover { color: var(--white); text-decoration: none; }
.footer-contact p { font-size: 14px; margin-bottom: 6px; }
.footer-contact a { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
}
.ndtf-badge {
  display: inline-block;
  background: var(--green);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 3px;
  margin-top: 10px;
}

/* === PAGE HERO (inner pages) === */
.page-hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--green-d) 100%);
  color: var(--white);
  padding: 56px 0;
}
.page-hero h1 { color: var(--white); font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 10px; }
.page-hero .breadcrumb { color: rgba(255,255,255,.65); font-size: 14px; }
.page-hero .breadcrumb a { color: var(--gold); }

/* === UTILITY === */
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-0 { margin-bottom: 0; }
.text-center { text-align: center; }
.text-green { color: var(--green); }
.text-gold { color: var(--gold); }
.bg-dark { background: var(--dark); }
.highlight-box {
  background: #f0f8ee;
  border-left: 4px solid var(--green);
  padding: 20px 24px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 24px 0;
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .about-split { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); box-shadow: 0 8px 20px rgba(0,0,0,.12); padding: 16px; z-index: 99; }
  nav.open { display: block; }
  nav ul { flex-direction: column; gap: 4px; }
  nav ul li a { display: block; }
  .hamburger { display: flex; }
  .hero { min-height: 380px; }
  .hero h1 { font-size: 1.8rem; }
  .trust-items { gap: 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .top-bar .container { justify-content: center; }
}
