/*
Theme Name: Vyon Media Theme
Theme URI: https://vyonmediagroupllc.com
Author: Vyon Media Group LLC
Author URI: https://vyonmediagroupllc.com
Description: Custom Elementor-ready theme for Vyon Media Group LLC. Fully editable with Elementor and Header Footer Elementor.
Version: 1.2.1
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
Text Domain: vyon-media
Tags: elementor, custom-logo, custom-menu, one-column, wide-blocks
*/

/* WordPress / Elementor compatibility — keep original layout intact */
html {
  overflow-x: hidden;
}

body.mx-site {
  margin: 0;
  overflow-x: hidden;
}

.page-wrapper {
  overflow-x: hidden;
}

/* Default: mobile drawer closed (style.css also handles this) */
.mobile-menu {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

body.mobile-menu-visible .mobile-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* WP custom logo inside theme logo box */
.main-header .logo .custom-logo-link img,
.main-header .logo img,
.sticky-header .logo img {
  max-width: 280px !important;
  max-height: 72px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain;
}

/* Kill WP content area default spacing that fights the theme */
.site-main,
.entry-content,
.elementor-page .site-main {
  margin: 0;
  padding: 0;
}

/* Elementor container shouldn't force gaps against header */
.elementor-location-header,
.elementor-location-footer {
  margin: 0;
  padding: 0;
}

/* Admin bar offset for sticky header */
.admin-bar .sticky-header.fixed-header {
  top: 32px;
}

@media (max-width: 782px) {
  .admin-bar .sticky-header.fixed-header {
    top: 46px;
  }
}

/* Prevent underlined WP menu links looking broken */
.main-header .navigation a,
.sticky-header .navigation a {
  text-decoration: none;
}

.main-header .navigation > li > a:hover,
.main-header .navigation > li.current-menu-item > a,
.main-header .navigation > li.current_page_item > a {
  text-decoration: none;
}

/* Kill Elementor / WP gap under sticky header */
.site-main,
.site-main > .elementor,
.elementor-14,
.elementor > .elementor-section:first-child,
.elementor > .e-con:first-child {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.elementor-section.elementor-top-section:first-child > .elementor-container,
.elementor-section.elementor-top-section:first-child .elementor-column-wrap,
.elementor-section.elementor-top-section:first-child .elementor-widget-wrap {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* Exact template pages: first section flush under header */
.site-main > .mx-hero,
.site-main > .inner-banner-sec,
.site-main > .banner-section,
.site-main > section:first-child,
.site-main > div:first-child.mx-hero {
  margin-top: 0 !important;
}

/* Inner heroes: no huge empty gap under header (form column was vertically centering content) */
.mx-site .inner-banner-sec {
  padding: 28px 0 36px !important;
}

.mx-site .inner-banner-sec > .auto-container > .row.align-items-center {
  align-items: flex-start !important;
}

.mx-site .inner-banner-sec .inner-hero-content {
  padding-top: 8px;
}

.mx-site .inner-banner-sec .head-form {
  margin-top: 0;
}

.mx-site .mx-hero {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Kill Elementor default white canvas — inherit atmospheric page tint */
.mx-site .elementor-section,
.mx-site .elementor-top-section,
.mx-site .e-con,
.mx-site .elementor-column,
.mx-site .elementor-widget-wrap {
  background-color: transparent !important;
}

.mx-site .site-main,
.mx-site .entry-content,
.mx-site .elementor {
  background: transparent !important;
}

/* Kill Elementor + section white-space between blocks */
.mx-site .elementor-section,
.mx-site .elementor-top-section,
.mx-site .e-con,
.mx-site .elementor-column-wrap,
.mx-site .elementor-widget-wrap {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.mx-site .elementor-section.elementor-top-section,
.mx-site .elementor > .elementor-element {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.mx-site .elementor-widget:not(:last-child) {
  margin-bottom: 0 !important;
}

.mx-site section.mx-services,
.mx-site section.mx-work,
.mx-site section.mx-about,
.mx-site section.mx-process,
.mx-site section.mx-features,
.mx-site section.mx-testimonials,
.mx-site section.mx-faq {
  padding-top: 36px !important;
  padding-bottom: 36px !important;
}

.mx-site section.mx-stats {
  padding-top: 16px !important;
  padding-bottom: 16px !important;
}

.mx-site section.mx-marquee {
  padding-top: 12px !important;
  padding-bottom: 12px !important;
}

.mx-site section.mx-hero,
.mx-site section.mx-band {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.mx-site .inner-banner-sec {
  padding: 24px 0 28px !important;
}

/* Lead forms — force visible fields (WP/theme conflicts) */
.mx-site .inner-pages-form .form-group,
.mx-site .head-form .form-group,
.mx-site .footer-contact-form .form-group {
  margin-bottom: 12px !important;
  position: relative !important;
  width: 100%;
}

.mx-site .inner-pages-form input.form-control,
.mx-site .inner-pages-form textarea.form-control,
.mx-site .head-form input.form-control,
.mx-site .head-form textarea.form-control,
.mx-site .footer-contact-form input.form-control,
.mx-site .footer-contact-form textarea.form-control,
.mx-site .form-get-quote input.form-control,
.mx-site .form-get-quote textarea.form-control {
  background: #f4f7fb !important;
  border: 1px solid rgba(7, 17, 31, 0.1) !important;
  border-radius: 14px !important;
  box-shadow: none !important;
  color: #07111f !important;
  display: block !important;
  font-size: 15px !important;
  height: 52px !important;
  line-height: 1.4 !important;
  opacity: 1 !important;
  padding: 12px 44px 12px 16px !important;
  visibility: visible !important;
  width: 100% !important;
}

.mx-site .inner-pages-form textarea.form-control,
.mx-site .head-form textarea.form-control,
.mx-site .footer-contact-form textarea.form-control,
.mx-site .form-get-quote textarea.form-control {
  height: auto !important;
  min-height: 110px !important;
  padding-top: 14px !important;
  resize: vertical;
}

.mx-site .inner-pages-form .form-group > i,
.mx-site .head-form .form-group > i,
.mx-site .footer-contact-form .form-group > i,
.mx-site .form-get-quote .form-group > i {
  color: #FF6A00 !important;
  font-size: 16px !important;
  pointer-events: none;
  position: absolute !important;
  right: 28px !important;
  top: 18px !important;
  z-index: 2;
}

.mx-site .inner-pages-form .form-group:has(textarea) > i,
.mx-site .head-form .form-group:has(textarea) > i {
  top: 18px !important;
}

.mx-site .head-form .theme-btn,
.mx-site .inner-pages-form .theme-btn,
.mx-site .form-get-quote .theme-btn {
  margin-top: 4px;
  width: 100%;
}

.main-header.header-style-one {
  margin-bottom: 0 !important;
  border-bottom: 0 !important;
}

.main-header + .site-main,
.page-wrapper > .site-main {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Sticky header must not leave white strip */
.mx-site .main-header.header-style-one,
.mx-site .main-header .header-lower {
  background: #07111f !important;
}

.sticky-header {
  display: none;
}

.sticky-header.fixed-header {
  display: block;
  background: #07111f !important;
}

/* Mobile hamburger visible when nav collapses */
@media (max-width: 1023px) {
  .main-header .header-lower .main-box {
    position: relative;
  }

  .main-header .main-box > .bo-mobile-nav.mobile-nav-toggler,
  .main-header .outer-box .mobile-nav-toggler {
    align-items: center;
    background: #FF6A00;
    border: 0;
    border-radius: 8px;
    color: #fff !important;
    cursor: pointer;
    display: inline-flex !important;
    font-size: 22px;
    height: 42px;
    justify-content: center;
    line-height: 1;
    width: 42px;
    z-index: 20;
  }

  .main-header .nav-outer {
    display: flex !important;
    width: auto;
  }

  .main-header .main-menu {
    display: none !important;
  }

  .main-header .outer-box {
    display: flex !important;
    align-items: center;
    margin-left: auto;
  }

  .main-header .outer-box > .theme-btn {
    display: none !important;
  }
}
