/* ============================================================
   MONCHEVIC – Design System CSS
   Colors derived from the logo: orange → yellow gradient,
   red accent, neutral grays on dark canvas.
   ============================================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Brand palette */
  --c-orange:  #FF5722;
  --c-amber:   #FF6F00;
  --c-yellow:  #FFC107;
  --c-red:     #E63946;
  --c-green:   #25D366;       /* WhatsApp */

  /* Surfaces */
  --c-black:   #0A0B0F;
  --c-dark:    #111318;
  --c-panel:   #181B22;
  --c-card:    rgba(24,27,34,0.55);
  --c-border:  rgba(255,87,34,0.12);

  /* Text */
  --c-text:    #E2E8F0;
  --c-muted:   #94A3B8;

  /* Gradients */
  --g-brand:   linear-gradient(135deg, var(--c-orange), var(--c-yellow));
  --g-brand-r: linear-gradient(135deg, var(--c-yellow), var(--c-orange));
  --g-overlay: linear-gradient(to bottom, transparent, var(--c-black));

  /* Shadows */
  --shadow-sm:  0 2px 8px rgba(0,0,0,.35);
  --shadow-md:  0 4px 20px rgba(0,0,0,.45);
  --shadow-lg:  0 8px 40px rgba(0,0,0,.55);
  --shadow-glow: 0 0 30px rgba(255,87,34,.25);

  /* Radii */
  --r-sm:  0.5rem;
  --r-md:  1rem;
  --r-lg:  1.5rem;
  --r-xl:  2rem;
  --r-full: 9999px;

  /* Transition */
  --ease: cubic-bezier(.4,0,.2,1);
}

/* ---------- Base reset / body ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--c-black);
  color: var(--c-text);
  font-family: 'DM Sans', sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1,h2,h3,h4,h5,h6 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  line-height: 1.15;
  margin: 0;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }

/* ---------- Background grid subtle pattern ---------- */
.bg-grid {
  background-image:
    linear-gradient(rgba(255,87,34,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,87,34,.04) 1px, transparent 1px);
  background-size: 48px 48px;
}

/* ---------- Ambient glow blobs ---------- */
.glow-blob {
  position: fixed;
  border-radius: 50%;
  mix-blend-mode: screen;
  filter: blur(140px);
  pointer-events: none;
  z-index: -1;
}
.glow-blob--tl { top: -15%; left: -8%; width: 480px; height: 480px; background: var(--c-orange); opacity: .15; }
.glow-blob--br { bottom: -15%; right: -8%; width: 560px; height: 560px; background: var(--c-red); opacity: .10; }

/* ---------- Glass card ---------- */
.glass {
  background: var(--c-card);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow-md);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease);
}
.glass:hover {
  border-color: rgba(255,193,7,.5);
  box-shadow: var(--shadow-glow);
  transform: translateY(-6px);
}
.glass--static:hover { transform: none; box-shadow: var(--shadow-md); border-color: var(--c-border); }

/* ---------- Gradient text ---------- */
.text-gradient {
  background: var(--g-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- Text glow ---------- */
.text-glow { text-shadow: 0 0 24px rgba(255,87,34,.4); }

/* ---------- CTA Button (ghost → filled on hover) ---------- */
.btn-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 2rem;
  border-radius: var(--r-full);
  font-weight: 700;
  font-size: .95rem;
  color: #fff;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1;
  transition: color .35s var(--ease), box-shadow .35s var(--ease);
}
.btn-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--r-full);
  background: var(--g-brand);
  z-index: -1;
}
.btn-cta::after {
  content: '';
  position: absolute;
  inset: 2px;
  border-radius: var(--r-full);
  background: var(--c-black);
  z-index: -1;
  transition: background .35s var(--ease);
}
.btn-cta:hover::after { background: transparent; }
.btn-cta:hover { color: var(--c-black); box-shadow: 0 0 28px rgba(255,87,34,.55); }

/* Solid variant */
.btn-solid {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 2rem;
  border-radius: var(--r-full);
  font-weight: 700;
  font-size: .95rem;
  color: var(--c-black);
  background: var(--g-brand);
  border: none;
  cursor: pointer;
  transition: box-shadow .35s var(--ease), transform .35s var(--ease);
}
.btn-solid:hover { box-shadow: 0 0 28px rgba(255,87,34,.55); transform: translateY(-2px); }

/* Ghost outline variant */
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .8rem 1.8rem;
  border-radius: var(--r-full);
  font-weight: 600;
  color: var(--c-text);
  background: transparent;
  border: 1px solid rgba(255,255,255,.15);
  cursor: pointer;
  transition: background .3s var(--ease), border-color .3s var(--ease);
}
.btn-ghost:hover { background: rgba(255,255,255,.06); border-color: var(--c-orange); }

/* ---------- Image placeholder ---------- */
.img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: .5rem;
  background: var(--c-panel);
  border: 2px dashed rgba(255,87,34,.2);
  border-radius: var(--r-md);
  color: var(--c-muted);
  font-size: .85rem;
  min-height: 220px;
  transition: border-color .3s var(--ease);
  overflow: hidden;
  position: relative;
}
.img-placeholder:hover { border-color: rgba(255,87,34,.5); }
.img-placeholder svg { width: 40px; height: 40px; opacity: .4; }

/* ---------- Video wrapper ---------- */
.video-wrap {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid rgba(255,87,34,.25);
  aspect-ratio: 16 / 9;
  background: var(--c-panel);
}
.video-wrap video { width: 100%; height: 100%; object-fit: cover; }

.video-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: .75rem;
  width: 100%;
  height: 100%;
  background: var(--c-panel);
  color: var(--c-muted);
  font-size: .85rem;
}
.video-placeholder .play-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255,87,34,.7);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0%   { box-shadow: 0 0 0 0 rgba(255,87,34,.6); }
  70%  { box-shadow: 0 0 0 18px rgba(255,87,34,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,87,34,0); }
}

/* ---------- Scroll-reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.active { opacity: 1; transform: translateY(0); }

/* stagger children */
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ---------- Section badge / pill ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .35rem 1rem;
  border-radius: var(--r-full);
  border: 1px solid rgba(255,87,34,.25);
  background: rgba(255,87,34,.08);
  color: var(--c-yellow);
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  transition: background .35s var(--ease), box-shadow .35s var(--ease);
}
.nav.scrolled {
  background: rgba(10,11,15,.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 2px 16px rgba(0,0,0,.4);
}
.nav__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo img { height: 42px; width: auto; }
.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__links a {
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .02em;
  transition: color .25s;
  position: relative;
}
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--g-brand);
  transition: width .3s var(--ease);
}
.nav__links a:hover { color: var(--c-orange); }
.nav__links a:hover::after,
.nav__links a.active::after { width: 100%; }

/* Services dropdown */
.nav__dropdown {
  position: relative;
}
.nav__dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) scaleY(0);
  transform-origin: top center;
  min-width: 260px;
  background: rgba(17,19,24,.95);
  backdrop-filter: blur(16px);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: .5rem 0;
  list-style: none;
  box-shadow: var(--shadow-lg);
  transition: transform .25s var(--ease), opacity .25s;
  opacity: 0;
  pointer-events: none;
  z-index: 110;
}
.nav__dropdown:hover .nav__dropdown-menu,
.nav__dropdown.open .nav__dropdown-menu {
  transform: translateX(-50%) scaleY(1);
  opacity: 1;
  pointer-events: auto;
}
.nav__dropdown-menu a {
  display: block;
  padding: .65rem 1.25rem;
  font-size: .85rem;
  white-space: nowrap;
  transition: background .2s, color .2s;
}
.nav__dropdown-menu a:hover {
  background: rgba(255,87,34,.1);
  color: var(--c-orange);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  z-index: 120;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--c-text);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .3s;
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10,11,15,.97);
  z-index: 105;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 1.4rem;
  font-weight: 700;
  font-family: 'Syne', sans-serif;
  transition: color .25s;
}
.mobile-menu a:hover { color: var(--c-orange); }
.mobile-menu__services {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
}
.mobile-menu__services a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--c-muted);
}
.mobile-menu__services a:hover { color: var(--c-yellow); }

@media (max-width: 1023px) {
  .nav__links { display: none; }
  .hamburger { display: flex; }
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid rgba(255,255,255,.06);
  background: var(--c-dark);
  padding: 4rem 1.5rem 2rem;
}
.footer__grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.footer__col h4 {
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--c-orange);
  margin-bottom: 1rem;
}
.footer__col a, .footer__col p {
  display: block;
  font-size: .88rem;
  color: var(--c-muted);
  margin-bottom: .5rem;
  transition: color .25s;
}
.footer__col a:hover { color: #fff; }
.footer__bottom {
  max-width: 1280px;
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.06);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: .82rem;
  color: var(--c-muted);
}
.footer__socials {
  display: flex;
  gap: 1rem;
}
.footer__socials a {
  color: var(--c-muted);
  transition: color .25s, transform .25s;
}
.footer__socials a:hover { color: #fff; transform: translateY(-2px); }

@media (max-width: 767px) {
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .footer__grid { grid-template-columns: 1fr; }
}

/* ---------- Floating buttons ---------- */
.float-btn {
  position: fixed;
  z-index: 90;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.float-btn:hover { transform: scale(1.12); }

/* WhatsApp – bottom left */
.float-wa {
  bottom: 1.5rem;
  left: 1.5rem;
  background: var(--c-green);
  color: #fff;
}
.float-wa:hover { box-shadow: 0 0 20px rgba(37,211,102,.5); }

/* Scroll-to-top – bottom right */
.float-top {
  bottom: 1.5rem;
  right: 1.5rem;
  background: var(--c-panel);
  border: 1px solid var(--c-border);
  color: var(--c-orange);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.float-top.visible { opacity: 1; pointer-events: auto; }
.float-top:hover { background: var(--c-orange); color: var(--c-black); box-shadow: var(--shadow-glow); }

/* ---------- Modal ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.modal-overlay.open {
  display: flex;
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.8);
  backdrop-filter: blur(6px);
}
.modal-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 720px;
  max-height: 80vh;
  overflow-y: auto;
  background: var(--c-dark);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}
.modal-content h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.modal-content p {
  color: var(--c-muted);
  font-size: .9rem;
  margin-bottom: .75rem;
  line-height: 1.7;
}
.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--c-muted);
  cursor: pointer;
  transition: color .2s;
}
.modal-close:hover { color: #fff; }

/* ---------- Review card ---------- */
.review-card {
  background: rgba(10,11,15,.6);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--r-lg);
  padding: 1.5rem;
  position: relative;
}
.review-stars { color: var(--c-yellow); display: flex; gap: 2px; margin-bottom: .75rem; }
.review-text { font-style: italic; color: var(--c-text); font-size: .92rem; margin-bottom: 1rem; line-height: 1.6; }
.review-author { display: flex; align-items: center; gap: .75rem; }
.review-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: .85rem;
  color: var(--c-black);
}
.review-name { font-weight: 700; font-size: .88rem; color: #fff; }
.review-role { font-size: .75rem; color: var(--c-muted); }

/* ---------- Section spacing ---------- */
.section { padding: 6rem 1.5rem; }

/* ---------- Contact form ---------- */
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  color: var(--c-muted);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: .4rem;
}
.form-control {
  width: 100%;
  padding: .75rem 1rem;
  background: var(--c-panel);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-sm);
  color: var(--c-text);
  font-size: .95rem;
  font-family: inherit;
  transition: border-color .3s var(--ease);
  outline: none;
}
.form-control:focus { border-color: var(--c-orange); }
textarea.form-control { resize: vertical; min-height: 120px; }

/* ---------- Stat counter ---------- */
.stat { text-align: center; }
.stat__number {
  font-family: 'Syne', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff;
}
.stat__label {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--c-muted);
  margin-top: .25rem;
}

/* ---------- Service detail feature list ---------- */
.feature-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.feature-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-icon--orange { background: rgba(255,87,34,.12); border: 1px solid rgba(255,87,34,.25); color: var(--c-orange); }
.feature-icon--yellow { background: rgba(255,193,7,.12); border: 1px solid rgba(255,193,7,.25); color: var(--c-yellow); }
.feature-icon--red    { background: rgba(230,57,70,.12); border: 1px solid rgba(230,57,70,.25); color: var(--c-red); }

/* ---------- Responsive utilities ---------- */
@media (max-width: 767px) {
  .section { padding: 3.5rem 1rem; }
  h1 { font-size: 2.2rem !important; }
  h2 { font-size: 1.8rem !important; }
}
