/* MBCC / MoeCommunityCloud Hub Styles - restored layout */

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

:root {
  --mbcc-red: #c1121f;
  --mbcc-black: #0b0b0b;
  --mbcc-gold: #d4af37;
  --mbcc-gold-dark: #a8831e;
  --mbcc-offwhite: #f7f3e9;
  --card-radius: 14px;
  --shadow-soft: 0 14px 30px rgba(0, 0, 0, 0.35);
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, rgba(193, 18, 31, 0.25), transparent),
              #050505;
  color: var(--mbcc-offwhite);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(135deg, rgba(193, 18, 31, 0.12) 25%, transparent 25%, transparent 50%, rgba(193, 18, 31, 0.12) 50%, rgba(193, 18, 31, 0.12) 75%, transparent 75%, transparent),
    linear-gradient(225deg, rgba(193, 18, 31, 0.08) 25%, transparent 25%, transparent 50%, rgba(193, 18, 31, 0.08) 50%, rgba(193, 18, 31, 0.08) 75%, transparent 75%, transparent);
  background-size: 40px 40px;
  opacity: 0.15;
  z-index: -1;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 5vw 1.75rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.18);
  backdrop-filter: blur(10px);
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.65));
  position: sticky;
  top: 0;
  z-index: 20;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.logo-circle {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 2px solid var(--mbcc-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  color: var(--mbcc-gold);
  background: radial-gradient(circle at 30% 0%, #c1121f, #0b0b0b);
  box-shadow: var(--shadow-soft);
}

.brand-text h1 {
  margin: 0;
  font-size: 1.3rem;
}

.brand-text .tagline {
  margin: 0.2rem 0 0;
  font-size: 0.78rem;
  color: rgba(247, 243, 233, 0.7);
}

.top-nav {
  display: flex;
  gap: 1rem;
  font-size: 0.9rem;
}

.top-nav a {
  color: rgba(247, 243, 233, 0.86);
  text-decoration: none;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: all 0.18s ease-out;
}

.top-nav a:hover {
  border-color: rgba(212, 175, 55, 0.6);
  background: rgba(193, 18, 31, 0.35);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.14s ease-out, box-shadow 0.14s ease-out, background 0.14s ease-out,
              border-color 0.14s ease-out;
}

.btn.primary {
  background: linear-gradient(135deg, var(--mbcc-red), #ff3b3b);
  border-color: var(--mbcc-gold);
  color: #fff;
  box-shadow: 0 14px 25px rgba(193, 18, 31, 0.55);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 35px rgba(193, 18, 31, 0.75);
}

.btn.ghost {
  border-color: rgba(247, 243, 233, 0.4);
  color: var(--mbcc-offwhite);
  background: rgba(0, 0, 0, 0.4);
}

.btn.ghost:hover {
  background: rgba(193, 18, 31, 0.3);
  border-color: var(--mbcc-gold);
}

.btn.full-width {
  width: 100%;
}

.owner-section {
  padding: 2.5rem 5vw 1.5rem;
}

.owner-card {
  display: grid;
  grid-template-columns: minmax(0, 280px) minmax(0, 1.4fr);
  gap: 1.8rem;
  align-items: stretch;
  background: radial-gradient(circle at top left, rgba(193, 18, 31, 0.45), rgba(11, 11, 11, 0.98));
  border-radius: 20px;
  border: 1px solid rgba(212, 175, 55, 0.6);
  box-shadow: var(--shadow-soft);
  padding: 1.4rem 1.4rem 1.6rem;
}

.owner-image-wrapper {
  border-radius: 18px;
  overflow: hidden;
  border: 2px solid rgba(212, 175, 55, 0.85);
  background: #151515;
}

.owner-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.owner-info h2 {
  margin-top: 0.25rem;
  margin-bottom: 0.3rem;
  font-size: 1.4rem;
}

.owner-title {
  margin: 0 0 0.6rem;
  font-size: 0.9rem;
  color: rgba(247, 243, 233, 0.8);
}

.owner-body {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

.section {
  padding: 2.5rem 5vw;
}

.section-alt {
  background: radial-gradient(circle at center, rgba(193, 18, 31, 0.2), rgba(0, 0, 0, 0.95));
}

.section-title {
  font-size: 1.4rem;
  margin: 0 0 0.4rem;
}

.section-subtitle {
  margin: 0 0 1.4rem;
  font-size: 0.95rem;
  color: rgba(247, 243, 233, 0.75);
}

.playbook-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.4rem;
}

.playbook-card {
  background: rgba(8, 8, 8, 0.96);
  border-radius: var(--card-radius);
  border: 1px solid rgba(212, 175, 55, 0.45);
  padding: 0.9rem 0.9rem 1.1rem;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.6);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.playbook-card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at top left, rgba(193, 18, 31, 0.45), transparent 70%);
  opacity: 0;
  transition: opacity 0.18s ease-out;
  z-index: -1;
}

.playbook-card:hover::before {
  opacity: 1;
}

.playbook-media {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.4);
  background: #111;
}

.playbook-image {
  display: block;
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.playbook-body h3 {
  margin: 0 0 0.25rem;
  font-size: 1.02rem;
}

.pill,
.playbook-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.5);
  font-size: 0.73rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(247, 243, 233, 0.8);
  margin-bottom: 0.4rem;
}

.playbook-body p {
  font-size: 0.9rem;
  margin: 0 0 0.3rem;
}

.card-bullets {
  margin: 0.35rem 0 0.5rem 1.1rem;
  padding: 0;
  font-size: 0.86rem;
  color: rgba(247, 243, 233, 0.8);
}

.card-bullets li {
  margin-bottom: 0.25rem;
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.4rem;
}

.pricing-card {
  background: rgba(8, 8, 8, 0.98);
  border-radius: var(--card-radius);
  border: 1px solid rgba(212, 175, 55, 0.55);
  padding: 1.1rem 1rem 1.25rem;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.7);
  position: relative;
  overflow: hidden;
}

.pricing-card-featured {
  border-color: var(--mbcc-gold);
  box-shadow: 0 18px 40px rgba(212, 175, 55, 0.35);
}

.pricing-badge,
.badge {
  position: absolute;
  top: 0.7rem;
  right: 0.8rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--mbcc-gold), var(--mbcc-gold-dark));
  color: #050505;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.pricing-header h3 {
  margin: 0 0 0.15rem;
  font-size: 1.05rem;
}

.pricing-tagline {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(247, 243, 233, 0.75);
}

.pricing-price-row {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  margin: 0.6rem 0 0.5rem;
}

.pricing-price {
  font-size: 1.6rem;
  font-weight: 700;
}

.pricing-period {
  font-size: 0.9rem;
  color: rgba(247, 243, 233, 0.75);
}

.pricing-list {
  margin: 0.4rem 0 0.8rem 1.1rem;
  padding: 0;
  font-size: 0.86rem;
  color: rgba(247, 243, 233, 0.82);
}

.pricing-list li {
  margin-bottom: 0.25rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem;
}

.service-card {
  background: rgba(5, 5, 5, 0.96);
  border-radius: var(--card-radius);
  border: 1px solid rgba(212, 175, 55, 0.45);
  padding: 1rem 1rem 1.1rem;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.6);
}

.service-card h3 {
  margin-top: 0;
  margin-bottom: 0.4rem;
  font-size: 1.02rem;
}

.contact-section {
  padding-bottom: 3rem;
}

.contact-form {
  max-width: 640px;
  margin-top: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.4rem;
}

input,
textarea {
  width: 100%;
  margin-top: 0.3rem;
  padding: 0.5rem 0.6rem;
  border-radius: 8px;
  border: 1px solid rgba(212, 175, 55, 0.4);
  background: rgba(0, 0, 0, 0.85);
  color: var(--mbcc-offwhite);
  font-family: inherit;
  font-size: 0.9rem;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--mbcc-gold);
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.7);
}

.contact-note {
  margin-top: 0.6rem;
  font-size: 0.8rem;
  color: rgba(247, 243, 233, 0.65);
}

.site-footer {
  padding: 1rem 5vw 1.5rem;
  border-top: 1px solid rgba(212, 175, 55, 0.25);
  font-size: 0.8rem;
  color: rgba(247, 243, 233, 0.7);
  text-align: center;
}

@media (max-width: 768px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .top-nav {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .owner-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .playbook-image {
    height: 180px;
  }
}


/* === MBCC readability + banner size tweaks (no structure/text changes) === */

/* Slightly larger base text for readability */
html { font-size: 17px; }
body { line-height: 1.6; }

h1 { font-size: 2.2rem; }
h2 { font-size: 1.8rem; }
h3 { font-size: 1.45rem; }

/* Reduce large hero/banner heights safely */
.hero img,
.banner img,
.hero-image,
.banner-image {
  max-height: 420px;
  object-fit: cover;
}

/* Prevent banners from dominating viewport */
.hero,
.banner {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}


/* === MBCC readability + banner size tweaks (v2 stronger) === */
/* No text or structure changes — CSS only */

html { font-size: 19px !important; }
body { line-height: 1.7 !important; }

/* Improve common text sizes */
p, li { font-size: 1.02rem !important; }
small, .small { font-size: 0.95rem !important; }

/* Headings a bit larger */
h1 { font-size: 2.45rem !important; line-height: 1.15 !important; }
h2 { font-size: 2.00rem !important; line-height: 1.2 !important; }
h3 { font-size: 1.55rem !important; line-height: 1.25 !important; }

/* Reduce large hero/banner dominance */
.hero img,
.banner img,
.hero-image,
.banner-image,
img.hero,
img.banner {
  max-height: 320px !important;
  width: 100% !important;
  object-fit: cover !important;
}

/* Tighten vertical space around hero/banner blocks */
.hero,
.banner {
  padding-top: 1.6rem !important;
  padding-bottom: 1.6rem !important;
}
