/* 
======================================================
   MUGO | Global Stylesheet
====================================================== 
*/

:root {
  /* Color Palette */
  --color-bg: #091a14;
  /* Very dark, rich green */
  --color-bg-light: #123025;
  /* Lighter dark green for cards */
  --color-bg-glass: rgba(18, 48, 37, 0.6);
  /* Glassmorphism bg */

  --color-text: #fdfaf6;
  /* Off-white/cream for good readability */
  --color-text-muted: #b8ccbf;
  /* Muted text for descriptions */

  --color-accent: #d4af37;
  /* Premium Gold */
  --color-accent-hover: #f1cd57;
  --color-accent-light: #fef0c2;

  /* Typography */
  --font-main: 'Outfit', system-ui, -apple-system, sans-serif;

  /* Spacing & Layout */
  --section-padding: 120px 20px;
  --container-width: 1200px;
  --border-radius-sm: 8px;
  --border-radius: 16px;
  --border-radius-lg: 24px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* ==========================================================================
   RESET & BASICS
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

ul {
  list-style: none;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

/* ==========================================================================
   UTILITIES & TYPOGRAPHY 
   ========================================================================== */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: var(--section-padding);
}

.section-tag {
  display: inline-block;
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 1rem;
  font-weight: 600;
}

.section-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.section-desc {
  font-size: 1.25rem;
  color: var(--color-text-muted);
  max-width: 600px;
  margin-bottom: 3rem;
}

.lead-text {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.text-gradient {
  background: linear-gradient(135deg, var(--color-accent-light) 0%, var(--color-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-center {
  text-align: center;
}

.mt-md {
  margin-top: 2rem;
}

.mt-xl {
  margin-top: 4rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.max-w-md {
  max-width: 48rem;
}

.opacity-70 {
  opacity: 0.7;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  border-radius: var(--border-radius-sm);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: 1px solid transparent;
}

.btn-large {
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
}

.btn-block {
  display: flex;
  width: 100%;
}

.btn-primary {
  background-color: var(--color-accent);
  color: #000;
}

.btn-primary:hover {
  background-color: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-text);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-accent);
  border-color: var(--color-accent);
}

.btn-outline:hover {
  background-color: rgba(212, 175, 55, 0.1);
}

/* Background Effects */
.bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.4;
  z-index: -1;
  pointer-events: none;
}

.glow-1 {
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--color-bg-light) 0%, transparent 70%);
}

.glow-2 {
  bottom: 20%;
  left: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(18, 48, 37, 0.8) 0%, transparent 70%);
}

.bg-darker {
  background-color: #07140f;
}

.bg-accent {
  background-color: var(--color-accent);
}

.text-dark {
  color: #000;
}

.text-dark h2 {
  color: #000;
}

.text-dark .lead-text {
  color: #222;
}


/* ==========================================================================
   COMPONENTS & SECTIONS
   ========================================================================== */

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 0;
  z-index: 100;
  transition: all var(--transition-normal);
  background: transparent;
}

.site-header.scrolled {
  background: rgba(9, 26, 20, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 1rem 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.logo-mark {
  color: var(--color-accent);
  display: flex;
  align-items: center;
}

.main-nav .nav-links {
  display: flex;
  gap: 2.5rem;
}

.main-nav a {
  font-size: 1rem;
  font-weight: 500;
  opacity: 0.8;
}

.main-nav a:hover {
  opacity: 1;
  color: var(--color-accent);
}

.nav-actions {
  display: flex;
  align-items: center;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 24px;
  position: relative;
  z-index: 1000;
}

.mobile-menu-btn span {
  display: block;
  position: absolute;
  height: 2px;
  width: 100%;
  background: var(--color-text);
  border-radius: 2px;
  transition: all 0.25s ease;
}

.mobile-menu-btn span:nth-child(1) {
  top: 0;
}

.mobile-menu-btn span:nth-child(2) {
  top: 11px;
}

.mobile-menu-btn span:nth-child(3) {
  top: 22px;
}

/* Hero Section */
.hero {
  padding-top: 180px;
  padding-bottom: 100px;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-container {
  max-width: 900px;
}

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  font-size: 0.875rem;
  margin-bottom: 2rem;
  color: var(--color-text-muted);
}

.hero-title {
  font-size: clamp(3rem, 7vw, 5.5rem);
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--color-text-muted);
  max-width: 600px;
  margin-bottom: 3rem;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.hero-bullets {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-bullets li {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.125rem;
  color: var(--color-text-muted);
}

.check-icon {
  width: 20px;
  height: 20px;
  color: var(--color-accent);
}

/* Hero Calendly (Fix 3) */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.calendly-wrapper {
  background: var(--color-bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 2px solid var(--color-accent);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.calendly-heading {
  font-size: 1.75rem;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
  text-align: center;
}

.calendly-subtext {
  color: var(--color-text-muted);
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.trust-banner {
  margin-top: 5rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
  color: var(--color-text-muted);
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-text p {
  color: var(--color-text-muted);
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

.stat-item h4 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--color-text);
}

.stat-item p {
  font-size: 1rem;
  margin-bottom: 0;
}

.stat-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
}

/* Glass Card Global Style */
.glass-card {
  background: var(--color-bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius-lg);
  padding: 3rem;
  position: relative;
  overflow: hidden;
}

.image-placeholder {
  min-height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(to bottom, rgba(18, 48, 37, 0.2) 0%, rgba(18, 48, 37, 0.8) 100%), url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0MDAiIGhlaWdodD0iNDAwIj48cmVjdCB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiBmaWxsPSIjMGUyNTE5Ii8+PC9zdmc+');
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(212, 175, 55, 0.1);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.image-placeholder::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -20%;
  width: 140%;
  height: 140%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, transparent 60%);
  pointer-events: none;
}

.glass-text {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.glass-subtext {
  color: var(--color-text-muted);
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
  padding: 3rem 2rem;
  transition: all var(--transition-normal);
  position: relative;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-5px);
  border-color: rgba(212, 175, 55, 0.2);
}

.service-card.featured {
  background: var(--color-bg-light);
  border-color: rgba(212, 175, 55, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.featured-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(212, 175, 55, 0.1);
  color: var(--color-accent);
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.card-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.1);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
}

.card-icon svg {
  width: 28px;
  height: 28px;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.service-target {
  font-size: 0.875rem;
  color: var(--color-accent);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.service-card p {
  color: var(--color-text-muted);
  font-size: 1rem;
  flex-grow: 1;
}

.service-deliverables {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.service-deliverables li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}

.service-deliverables li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--color-accent);
}

/* Process Timeline */
.process-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
  margin-top: 4rem;
}

/* Connecting line */
.process-timeline::before {
  content: '';
  position: absolute;
  top: 30px;
  left: 0;
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  z-index: 0;
}

.process-step {
  position: relative;
  z-index: 1;
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--color-bg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 2rem;
  transition: all var(--transition-normal);
}

.process-step:hover .step-number {
  background: var(--color-accent);
  color: #000;
  border-color: var(--color-accent);
  transform: scale(1.1);
}

.step-content h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.step-content p {
  font-size: 1rem;
  color: var(--color-text-muted);
}

/* Contact Form */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: center;
}

.contact-features {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.125rem;
}

.feature-icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  border-radius: var(--border-radius-sm);
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--color-text);
  font-family: inherit;
  font-size: 1rem;
  transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  background: rgba(0, 0, 0, 0.4);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.error-msg {
  color: #e74c3c;
  font-size: 0.875rem;
  margin-top: 0.25rem;
  display: none;
}

.invalid {
  border-color: #e74c3c !important;
}

.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--color-accent);
  color: #000;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
  z-index: 1000;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.form-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 1rem 0;
}

.form-divider::before,
.form-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.form-divider span {
  padding: 0 1rem;
  color: var(--color-text-muted);
  font-size: 0.875rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 5rem 0 2rem;
  background: #050d0a;
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-brand p {
  color: var(--color-text-muted);
  margin-top: 1.5rem;
  max-width: 300px;
}

.footer-links h4 {
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
  color: #fff;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--color-text-muted);
}

.footer-links a:hover {
  color: var(--color-accent);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--color-text-muted);
  font-size: 0.875rem;
}

/* ==========================================================================
   ANIMATIONS & REVEALS
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.2s;
}

.delay-3 {
  transition-delay: 0.3s;
}

/* ==========================================================================
   RESPONSIVE DESIGN 
   ========================================================================== */
@media (max-width: 1024px) {

  .about-grid,
  .contact-container {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-timeline {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }

  .process-timeline::before {
    display: none;
  }

  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hero-actions {
    flex-direction: column;
  }

  .services-grid,
  .process-timeline,
  .footer-container {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .desktop-only {
    display: none;
  }

  .nav-actions {
    display: flex;
    align-items: center;
  }

  .mobile-menu-btn {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background: var(--color-bg);
    padding: 100px 2rem 2rem;
    transition: all 0.4s ease;
    border-left: 1px solid rgba(255, 255, 255, 0.05);
  }

  .main-nav.active {
    right: 0;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
  }

  .main-nav .nav-links {
    flex-direction: column;
    gap: 2rem;
  }

  .main-nav a {
    font-size: 1.5rem;
  }

  .nav-btn {
    display: none;
    /* Hide from standard nav, move to mobile menu if needed */
  }

  .mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
  }

  .mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -8px);
  }
}