/* Corp shell styles required when theme.css is suppressed on Heads Up blog routes.
 *
 * Carries ONLY rules that drive the corp navbar / off-canvas menu / form panels
 * (i.e. the chrome that wraps the blog content). Element-level resets from the
 * full theme.css (`h1-h6{display:inline}`, `a{color:initial}`, body font) are
 * intentionally NOT copied here — they would re-introduce the same conflicts
 * we suppressed theme.css to avoid.
 */

/* ---- Navbar shell ---- */
.navbar-light {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* ---- Burger / menu toggle ---- */
.menu-option {
    cursor: pointer;
}
.menu-option .bar1,
.menu-option .bar2,
.menu-option .bar3 {
    width: 25px;
    height: 3px;
    background-color: #564319;
    margin: 5px 0;
    transition: 0.4s;
}
.navbar-light .menu-option .bar1,
.navbar-light .menu-option .bar2,
.navbar-light .menu-option .bar3,
.navbar-about .menu-option .bar1,
.navbar-about .menu-option .bar2,
.navbar-about .menu-option .bar3 {
    background-color: #564319;
}
.menu-option.change .bar1 {
    -webkit-transform: rotate(-45deg) translate(-4px, 3px);
    transform: rotate(-45deg) translate(-4px, 3px);
}
.menu-option.change .bar2 {
    opacity: 0;
}
.menu-option.change .bar3 {
    -webkit-transform: rotate(45deg) translate(-8px, -8px);
    transform: rotate(45deg) translate(-8px, -8px);
}

/* ---- Off-canvas mega menu (.menu-items) — hidden by default ---- */
.menu-items {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    bottom: 100%; /* offscreen below */
    background: rgba(255, 255, 255, 1);
    color: #fff;
    overflow: hidden;
    text-align: center;
    width: 100%;
    -moz-transition: top 0.5s, right 0.5s, bottom 0.5s, left 0.5s;
    -webkit-transition: top 0.5s, right 0.5s, bottom 0.5s, left 0.5s;
    transition: top 0.5s, right 0.5s, bottom 0.5s, left 0.5s;
    z-index: 999;
}
.menu-items.show {
    bottom: 0;
}
.menu-items.hide {
    bottom: 100%;
}
.menu-items .menu-item {
    padding: 0;
}
.menu-item > h1 {
    font-size: 1.2rem !important;
    line-height: 1.5 !important;
}
.menu-items .menu-item h1 {
    transition: all 0.2s ease-in-out;
    position: relative;
    display: block;
}
.menu-items .menu-item h1 a {
    text-decoration: none;
    color: #212529;
}
.menu-items .menu-item h1::before,
.menu-items .menu-item h1::after {
    content: "";
    position: absolute;
    bottom: -10px;
    width: 0;
    height: 5px;
    margin: 5px 0 0;
    transition: all 0.2s ease-in-out;
    transition-duration: 0.75s;
    opacity: 0;
}
.menu-items .menu-item h1::before {
    left: 0;
    background-color: #febc2c;
}
.menu-items .menu-item h1::after {
    right: 0;
    background-color: #febc2c;
}
.menu-items .menu-item:hover {
    cursor: pointer;
}
.menu-items .menu-item:hover h1::before,
.menu-items .menu-item:hover h1::after {
    width: 100%;
    opacity: 1;
}
.menu-items .menu-item.menu-section-header {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}
.menu-items .menu-item.menu-section-header:first-child {
    margin-top: 0;
}
.menu-items .menu-item.menu-section-header h1 {
    font-size: 0.9rem !important;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #c45127;
    opacity: 0.8;
}
.menu-items .menu-item.menu-section-header h1::before,
.menu-items .menu-item.menu-section-header h1::after {
    display: none;
}
.menu-items .menu-item.menu-sub-item {
    margin-left: 0;
}
.menu-items .menu-item.menu-sub-item h1 {
    font-size: 1.1rem !important;
    font-weight: 500;
}

/* ---- Accordion menu (mobile) ---- */
.menu-accordion-header {
    cursor: pointer;
}
.menu-accordion-header h1 {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.menu-accordion-icon {
    font-size: 1.2rem !important;
    font-weight: 400 !important;
    transition: transform 0.3s ease;
    display: inline-block;
}
.menu-accordion-header.active .menu-accordion-icon {
    transform: rotate(45deg);
}
.menu-accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}
.menu-accordion-body.open {
    max-height: 500px;
}

/* ---- Form / contact slide-in panels (used by floating contact button) ---- */
.form-section {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    bottom: 100%;
    background: rgba(255, 255, 255, 1);
    color: #fff;
    overflow: hidden;
    width: 100%;
    -moz-transition: top 0.5s, right 0.5s, bottom 0.5s, left 0.5s;
    -webkit-transition: top 0.5s, right 0.5s, bottom 0.5s, left 0.5s;
    transition: top 0.5s, right 0.5s, bottom 0.5s, left 0.5s;
    z-index: 1050;
}
.form-section.hide {
    bottom: 100%;
}
.form-section.show {
    bottom: 0;
    overflow: scroll;
}
.form-close .bar1,
.form-close .bar2,
.form-close .bar3 {
    width: 25px;
    height: 3px;
    background-color: #564319;
    margin: 5px 0 5px auto;
    transition: 0.4s;
}
.form-close .bar1 {
    -webkit-transform: rotate(-45deg) translate(-4px, 3px);
    transform: rotate(-45deg) translate(-4px, 3px);
}
.form-close .bar2 {
    opacity: 0;
}
.form-close .bar3 {
    -webkit-transform: rotate(45deg) translate(-8px, -8px);
    transform: rotate(45deg) translate(-8px, -8px);
}

/* ---- Modal close button (used by signup modals) ---- */
.modal-dialog {
    max-width: 800px;
    margin: 30px auto;
}
.modal-body {
    position: relative;
    padding: 0;
}
.close {
    position: absolute;
    right: -30px;
    top: 0;
    z-index: 999;
    font-size: 2rem;
    font-weight: normal;
    color: #fff;
    opacity: 1;
}

/* ---- Social icons in nav/footer ---- */
.social-icons a {
    text-decoration: none;
}
.social-icons a i {
    color: #212529;
}
.social-icons a i.fa-facebook:hover,
.social-icons a i.text-facebook {
    color: #3b5998;
}
.social-icons a i.fa-instagram:hover,
.social-icons a i.text-instagram {
    color: #e1306c;
}
.social-icons a i.fa-linkedin:hover,
.social-icons a i.text-linkedIn {
    color: #0077b5;
}

/* ---- Body scroll lock when off-canvas open ---- */
.overflow-hidden {
    overflow: hidden;
}
