/*
Theme Name: Hello Elementor Child
Author: Soltekkers
Description: Developed by Soltekkers LLC
Version: 1.0
Template: hello-elementor

This is the child theme for Hello Elementor theme, generated with Generate Child Theme plugin by catchthemes.

(optional values you can add: Theme URI, Author URI, License, License URI, Tags, Text Domain)
*/

/* ===== PREVENT HORIZONTAL SCROLL ===== */
html, body {
    overflow-x: hidden;
    max-width: 100%;
}

/* ===== OVERRIDE HELLO ELEMENTOR BOXED WRAPPERS ===== */
/* These wrappers often cap width — remove any constraint so header/footer can go full width */
#page,
.site,
.page-wrapper,
.site-wrap,
#wrapper {
    max-width: 100% !important;
    width: 100% !important;
    overflow-x: visible !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* ===== TRANSPARENT STICKY HEADER ===== */
.site-header {
    position: sticky;
    top: 0;
    left: 0 !important;
    width: 100% !important;
    max-width: none !important;
    z-index: 9999;
    background: transparent;
    transition: background 0.3s ease, box-shadow 0.3s ease;
    padding: 15px 0;
}

.site-header.scrolled,
.site-header.internal-page-header {
    background: #fff !important;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header-left {
    flex: 0 0 auto;
}

.header-logo {
    height: 50px;
    width: auto;
    display: block;
}

.header-center {
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
}

.header-menu {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
}

.header-menu li {
    margin: 0;
    padding: 10px 0;
    position: relative;
}

/* Dropdown Menu Support */
.header-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    list-style: none;
    padding: 5px 0;
    margin: 0;
    min-width: 180px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.2s ease;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    z-index: 10000;
}

.header-menu li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.header-menu .sub-menu li {
    width: 100%;
}

.header-menu .sub-menu a {
    color: #444 !important;
    padding: 7px 15px;
    display: block;
    text-shadow: none;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
    white-space: nowrap;
}

.header-menu .sub-menu a:hover {
    background: #fdf5f6;
    color: #C85B6D !important;
}

.header-menu a {
    text-decoration: none;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
    font-family: inherit !important;
}

.scrolled .header-menu a,
.internal-page-header .header-menu a {
    color: #333 !important;
    text-shadow: none;
    font-family: inherit !important;
}

.header-menu a:hover {
    color: #C85B6D;
}

.header-right {
    flex: 0 0 auto;
}

.header-phone {
    display: inline-block;
    background: #C85B6D;
    color: #fff;
    text-decoration: none;
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 600;
    transition: background 0.3s ease, color 0.3s ease;
    white-space: nowrap;
}

.header-phone:hover {
    background: #fff;
    color: #000;
}



/* ===== FOOTER ===== */
/* Force the footer out of any Elementor boxed container */
#site-footer.site-footer,
.site-footer {
    background: #C85B6D !important;
    color: #fff !important;
    padding: 60px 0 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

#site-footer.site-footer .footer-inner {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 30px !important;
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
    padding: 0 40px !important;
    align-items: flex-start !important;
}

/* Equal columns, about & contact slightly wider */
#site-footer.site-footer .footer-col {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    word-break: break-word !important;
}
#site-footer.site-footer .footer-col-about,
#site-footer.site-footer .footer-col-contact {
    flex: 1.5 1 0 !important;
}

.footer-logo {
    height: 50px;
    width: auto;
    display: block;
    margin-bottom: 15px;
}

.footer-about-text {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255,255,255,0.9);
    margin: 0;
}

.footer-heading {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 20px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-menu li {
    margin-bottom: 10px;
}

.footer-menu a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-menu a:hover {
    color: #fff;
}

.footer-contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-contact-list li {
    color: rgba(255,255,255,0.85);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 10px;
}

.footer-contact-list a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact-list a:hover {
    color: #fff;
}

.footer-bottom {
    margin-top: 40px;
    padding: 20px;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.footer-bottom p {
    margin: 0;
    font-size: 13px;
    color: rgba(255,255,255,0.8);
}

.footer-bottom a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

@media (max-width: 900px) {
    /* Hide desktop nav and CTA — show hamburger instead */
    .header-center {
        display: none;
    }
    .header-right .header-phone {
        display: none;
    }
    .hamburger {
        display: flex;
    }
    .header-logo {
        height: 42px;
    }
}

/* ===== MOBILE DRAWER ===== */
.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100vh;
    background: #fff;
    z-index: 10001;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -4px 0 30px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}
.mobile-drawer.open {
    right: 0;
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #f0f0f0;
    flex-shrink: 0;
}
.drawer-logo {
    height: 38px;
    width: auto;
}
.drawer-close {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 26px;
    color: #888;
    line-height: 1;
    padding: 2px 6px;
    transition: color 0.2s;
}
.drawer-close:hover {
    color: #C85B6D;
}

.drawer-nav {
    padding: 8px 0;
    flex: 1;
}
.drawer-nav ul,
.drawer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}
.drawer-nav ul li,
.drawer-menu li {
    border-bottom: 1px solid #f5f5f5;
}
.drawer-nav ul li a,
.drawer-menu li a {
    display: block;
    padding: 13px 22px;
    font-size: 15px;
    font-weight: 500;
    color: #333;
    text-decoration: none;
    transition: color 0.2s ease, background 0.2s ease;
}
.drawer-nav ul li a:hover,
.drawer-menu li a:hover {
    color: #C85B6D;
    background: #fdf5f6;
}

/* Accordion sub-menus */
.drawer-menu .sub-menu {
    display: none;
    background: #fdf8f9;
    padding: 0;
    list-style: none;
    margin: 0;
}
.drawer-menu li.menu-open > .sub-menu {
    display: block;
}
.drawer-menu .sub-menu li {
    border-bottom: 1px solid #f0eaeb;
}
.drawer-menu .sub-menu li a {
    padding: 10px 22px 10px 36px;
    font-size: 13px;
    font-weight: 400;
    color: #555;
}
.drawer-menu .sub-menu li a:hover {
    color: #C85B6D;
    background: #fdf0f2;
}
.drawer-menu .has-children > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.drawer-menu .has-children > a::after {
    content: '›';
    font-size: 20px;
    line-height: 1;
    transition: transform 0.2s ease;
}
.drawer-menu .has-children.menu-open > a::after {
    transform: rotate(90deg);
}

.drawer-phone {
    display: block;
    margin: 16px 20px 24px;
    text-align: center;
    background: #C85B6D;
    color: #fff !important;
    text-decoration: none;
    padding: 12px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    flex-shrink: 0;
    transition: background 0.2s ease;
}
.drawer-phone:hover {
    background: #b04d5f;
}

/* Footer responsive */
@media (max-width: 900px) {
    #site-footer.site-footer .footer-inner {
        flex-wrap: wrap !important;
        gap: 30px 20px !important;
        padding: 0 30px !important;
    }
    #site-footer.site-footer .footer-col {
        flex: 1 1 45% !important;
    }
    #site-footer.site-footer .footer-col-about,
    #site-footer.site-footer .footer-col-contact {
        flex: 1 1 45% !important;
    }
}
@media (max-width: 600px) {
    #site-footer.site-footer .footer-inner {
        flex-direction: column !important;
        flex-wrap: nowrap !important;
        gap: 25px !important;
        padding: 0 20px !important;
    }
    #site-footer.site-footer .footer-col,
    #site-footer.site-footer .footer-col-about,
    #site-footer.site-footer .footer-col-contact {
        flex: 1 1 auto !important;
        width: 100% !important;
    }
}
@media (max-width: 400px) {
    #site-footer.site-footer .footer-logo {
        height: 40px !important;
    }
}