/*
Theme Name: Bison Moon Group
Theme URI: https://bisonmoon.ca
Author: Growth Catalysts
Author URI: https://www.growthcatalysts.ca
Description: Custom WordPress theme for Bison Moon Group Inc. – Stump Grinding, Tree Service, and Painting in Edmonton and surrounding Alberta.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bisonmoon
Tags: one-column, custom-menu, featured-images, full-width-template
*/

/* === CSS Reset & Variables === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --night: #0d0f0e;
  --deep: #141810;
  --earth: #2a2218;
  --amber: #c97c2a;
  --amber-light: #e8973c;
  --cream: #f5efe4;
  --bone: #d9c9a8;
  --moon: #f0e8c8;
}

html { scroll-behavior: smooth; }

body {
  background: var(--night);
  color: var(--cream);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  font-size: 18px;
  overflow-x: hidden;
}

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

/* === Navigation === */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 48px;
  background: linear-gradient(to bottom, rgba(13,15,14,0.97), transparent);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo-img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid rgba(201,124,42,0.4);
}

.nav-logo-text {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.4rem;
  letter-spacing: 0.08em;
  color: var(--amber);
  line-height: 1;
}

.nav-logo-text span { color: var(--moon); }

/* WordPress Menu Styling */
.main-navigation ul {
  display: flex;
  gap: 32px;
  list-style: none;
  align-items: center;
}

.main-navigation ul li a {
  color: var(--bone);
  text-decoration: none;
  font-size: 0.88rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.75;
  transition: opacity 0.2s, color 0.2s;
}

.main-navigation ul li a:hover { opacity: 1; color: var(--amber-light); }

.main-navigation ul li.menu-cta a {
  background: var(--amber) !important;
  color: var(--night) !important;
  padding: 9px 22px !important;
  border-radius: 2px;
  font-weight: 500 !important;
  opacity: 1 !important;
  letter-spacing: 0.08em !important;
  transition: background 0.2s !important;
}

.main-navigation ul li.menu-cta a:hover { background: var(--amber-light) !important; }

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--amber);
  font-size: 1.5rem;
  cursor: pointer;
}

/* === Hero Section === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 40%;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(13,15,14,0.88) 0%, rgba(13,15,14,0.5) 55%, rgba(13,15,14,0.25) 100%),
    linear-gradient(to top, rgba(13,15,14,1) 0%, rgba(13,15,14,0.3) 40%, transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 3;
  padding: 0 56px 96px;
  max-width: 720px;
}

.hero-medallion {
  margin-bottom: 32px;
  animation: fadeUp 0.6s ease both;
}

.hero-medallion img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid rgba(201,124,42,0.5);
  box-shadow: 0 0 0 8px rgba(201,124,42,0.08), 0 0 50px 15px rgba(201,124,42,0.18);
  display: block;
}

.hero-eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  animation: fadeUp 0.7s 0.05s ease both;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 36px;
  height: 1px;
  background: var(--amber);
}

.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(5rem, 10vw, 9.5rem);
  line-height: 0.92;
  letter-spacing: 0.02em;
  color: var(--cream);
  animation: fadeUp 0.7s 0.1s ease both;
}

.hero-title em {
  font-style: normal;
  color: var(--amber);
  display: block;
}

.hero-sub {
  margin-top: 24px;
  font-size: 1.2rem;
  line-height: 1.75;
  color: var(--bone);
  opacity: 0.85;
  max-width: 520px;
  animation: fadeUp 0.7s 0.15s ease both;
}

.hero-phone {
  margin-top: 28px;
  animation: fadeUp 0.7s 0.2s ease both;
}

.hero-phone a {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  color: var(--amber-light);
  text-decoration: none;
  letter-spacing: 0.08em;
  transition: color 0.2s;
}

.hero-phone a:hover { color: var(--moon); }

.hero-phone-label {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bone);
  opacity: 0.5;
  display: block;
  margin-bottom: 4px;
}

.hero-actions {
  margin-top: 28px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  animation: fadeUp 0.7s 0.25s ease both;
}

.btn-primary {
  background: var(--amber);
  color: var(--night);
  padding: 13px 30px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  transition: background 0.2s, transform 0.15s;
  display: inline-block;
}
.btn-primary:hover { background: var(--amber-light); transform: translateY(-2px); }

.btn-ghost {
  border: 1px solid rgba(217,201,168,0.35);
  color: var(--bone);
  padding: 13px 30px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  transition: border-color 0.2s, color 0.2s, transform 0.15s;
  display: inline-block;
}
.btn-ghost:hover { border-color: var(--amber); color: var(--amber); transform: translateY(-2px); }

/* === Trust Bar === */
.trust-bar {
  background: var(--earth);
  border-top: 1px solid rgba(201,124,42,0.2);
  border-bottom: 1px solid rgba(201,124,42,0.2);
  padding: 16px 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bone);
  opacity: 0.65;
}

.trust-icon { color: var(--amber); }

/* === Section Commons === */
.section-label {
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-label::after {
  content: '';
  display: block;
  width: 48px;
  height: 1px;
  background: var(--amber);
  opacity: 0.4;
}

.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3.2rem, 5.5vw, 5.5rem);
  line-height: 0.95;
  color: var(--cream);
  letter-spacing: 0.02em;
  margin-bottom: 56px;
}

.section-title span { color: var(--amber); }

/* === Services === */
.services {
  padding: 110px 48px;
  max-width: 1300px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.service-card {
  background: var(--deep);
  padding: 48px 38px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.03);
  transition: background 0.3s;
}

.service-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%;
  height: 3px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.service-card:hover { background: var(--earth); }
.service-card:hover::before { transform: scaleX(1); }

.service-number {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 4.5rem;
  color: var(--amber);
  opacity: 0.07;
  line-height: 1;
  position: absolute;
  top: 16px;
  right: 20px;
  transition: opacity 0.3s;
}

.service-card:hover .service-number { opacity: 0.14; }

.service-icon { font-size: 2rem; margin-bottom: 22px; display: block; }

.service-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.1rem;
  letter-spacing: 0.04em;
  color: var(--cream);
  margin-bottom: 6px;
  line-height: 1;
}

.service-sub {
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  opacity: 0.8;
  margin-bottom: 16px;
}

.service-desc {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--bone);
  opacity: 0.7;
  margin-bottom: 24px;
}

.service-phone {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.2rem;
  color: var(--amber-light);
  text-decoration: none;
  letter-spacing: 0.06em;
  display: block;
  margin-bottom: 10px;
  transition: color 0.2s;
}
.service-phone:hover { color: var(--moon); }

.service-link {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--amber);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.2s;
}
.service-link:hover { gap: 14px; }

.service-areas {
  margin-top: 14px;
  font-size: 0.82rem;
  color: var(--bone);
  opacity: 0.45;
  line-height: 1.6;
}

/* === Testimonials === */
.testimonials {
  padding: 110px 48px;
  background: linear-gradient(to bottom, var(--night), var(--deep));
}

.testimonials-inner {
  max-width: 1300px;
  margin: 0 auto;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.testimonial-card {
  background: var(--deep);
  border: 1px solid rgba(255,255,255,0.05);
  padding: 38px 34px;
  position: relative;
  transition: border-color 0.3s, transform 0.3s;
}

.testimonial-card:hover {
  border-color: rgba(201,124,42,0.25);
  transform: translateY(-4px);
}

.testimonial-card::before {
  content: '\201C';
  font-family: 'Playfair Display', serif;
  font-size: 5.5rem;
  color: var(--amber);
  opacity: 0.12;
  position: absolute;
  top: 8px; left: 24px;
  line-height: 1;
}

.testimonial-stars { display: flex; gap: 3px; margin-bottom: 18px; }
.star { color: var(--amber); font-size: 0.82rem; }

.testimonial-text {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--bone);
  opacity: 0.78;
  margin-bottom: 22px;
  font-style: italic;
}

.testimonial-author {
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber-light);
  font-weight: 500;
}

/* === CTA Section === */
.cta-section {
  margin: 0 48px 110px;
  background: var(--amber);
  padding: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: 'CALL';
  font-family: 'Bebas Neue', sans-serif;
  font-size: 16rem;
  color: rgba(0,0,0,0.06);
  position: absolute;
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
  line-height: 1;
  pointer-events: none;
}

.cta-left { position: relative; z-index: 1; }

.cta-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.2rem, 3.8vw, 4.2rem);
  color: var(--night);
  line-height: 0.95;
  letter-spacing: 0.02em;
}

.cta-subtitle {
  font-size: 1.1rem;
  color: rgba(13,15,14,0.65);
  margin-top: 10px;
  max-width: 420px;
  line-height: 1.6;
}

.cta-right {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  z-index: 1;
}

.cta-phone-label {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(13,15,14,0.55);
}

.cta-phone {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.6rem;
  color: var(--night);
  text-decoration: none;
  letter-spacing: 0.05em;
  line-height: 1;
  transition: opacity 0.2s;
}
.cta-phone:hover { opacity: 0.65; }

.cta-phone-2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.6rem;
  color: rgba(13,15,14,0.6);
  text-decoration: none;
  letter-spacing: 0.05em;
  line-height: 1;
  transition: opacity 0.2s;
}
.cta-phone-2:hover { opacity: 0.4; }

.btn-dark {
  background: var(--night);
  color: var(--amber);
  padding: 13px 28px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  transition: background 0.2s;
  display: inline-block;
  margin-top: 6px;
  align-self: flex-start;
}
.btn-dark:hover { background: #1a1a10; }

/* === Info Strip === */
.info-strip {
  background: var(--deep);
  border-top: 1px solid rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  padding: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  max-width: 1300px;
  margin: 0 auto 110px;
}

.info-block-label {
  font-size: 0.78rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 14px;
}

.info-block-content {
  font-size: 1rem;
  line-height: 1.9;
  color: var(--bone);
  opacity: 0.65;
}

.info-block-content a {
  color: var(--bone);
  opacity: 0.65;
  text-decoration: none;
  transition: color 0.2s, opacity 0.2s;
}
.info-block-content a:hover { color: var(--amber); opacity: 1; }

/* === Footer === */
.site-footer {
  background: #080a09;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 52px 48px 36px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
  flex-wrap: wrap;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  margin-bottom: 28px;
}

.footer-logo-text {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.6rem;
  color: var(--amber);
  letter-spacing: 0.08em;
  line-height: 1;
}

.footer-logo-text span { color: var(--moon); }

.footer-tagline {
  font-size: 0.75rem;
  color: var(--bone);
  opacity: 0.35;
  margin-top: 6px;
  letter-spacing: 0.04em;
}

.footer-links {
  display: flex;
  gap: 56px;
  flex-wrap: wrap;
}

.footer-col-title {
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-col ul a {
  color: var(--bone);
  opacity: 0.45;
  text-decoration: none;
  font-size: 0.95rem;
  transition: opacity 0.2s, color 0.2s;
}
.footer-col ul a:hover { opacity: 1; color: var(--amber-light); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-copy, .footer-location {
  font-size: 0.85rem;
  color: var(--bone);
  opacity: 0.28;
  letter-spacing: 0.04em;
}

.footer-location { font-size: 0.72rem; }

/* === Animations === */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === Scrollbar === */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--night); }
::-webkit-scrollbar-thumb { background: var(--amber); border-radius: 3px; }

/* === WordPress Specific === */
.wp-block-image img { max-width: 100%; height: auto; }
.aligncenter { text-align: center; }
.alignleft { float: left; margin-right: 1.5em; }
.alignright { float: right; margin-left: 1.5em; }
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

/* === Responsive === */
@media (max-width: 960px) {
  .site-header { padding: 16px 24px; }
  .main-navigation ul { display: none; }
  .menu-toggle { display: block; }
  .main-navigation.toggled ul {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--night);
    padding: 20px;
    gap: 16px;
  }
  .hero-content { padding: 0 24px 80px; }
  .services { padding: 72px 24px; }
  .services-grid { grid-template-columns: 1fr; }
  .testimonials { padding: 72px 24px; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .cta-section { margin: 0 24px 72px; padding: 44px 28px; flex-direction: column; }
  .info-strip { padding: 36px 24px; grid-template-columns: 1fr; gap: 32px; margin-bottom: 72px; }
  .site-footer { padding: 44px 24px 28px; }
  .footer-top { flex-direction: column; }
  .trust-bar { padding: 16px 24px; gap: 20px; }
}
