/* Custom Menu Header Styles */

.elementor-header-menu {
    width: 100%;
    position: relative;
    box-sizing: border-box;
}

.custom-header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #ffffff;
    padding: 15px 30px;
    box-sizing: border-box;
    position: relative;
    width: 100%;
    transition: all 0.3s ease;
}

/* --- Logo Area --- */
.custom-header-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.custom-header-logo a {
    display: inline-block;
    line-height: 1;
    text-decoration: none;
}

.custom-header-logo img {
    max-height: 50px;
    width: auto;
    display: block;
    transition: all 0.3s ease;
}

.custom-header-logo svg {
    max-height: 50px;
    width: auto;
    display: block;
    fill: currentColor;
    transition: all 0.3s ease;
}

/* --- Navigation & Elements Area (Desktop) --- */
.custom-header-nav {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-grow: 1;
    justify-content: flex-end;
}

/* Menu items */
.custom-menu-list {
    display: flex;
    align-items: center;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.custom-menu-list li {
    margin: 0;
    padding: 0;
}

.custom-menu-list a {
    font-size: 15px;
    font-weight: 700;
    color: #111111;
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
}

.custom-menu-list a:hover {
    color: #e5006d;
}

/* Phone Block */
.custom-header-phone {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #111111;
    transition: opacity 0.3s ease;
    padding-left: 10px;
}

.custom-header-phone:hover {
    opacity: 0.85;
}

.phone-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e5006d;
    flex-shrink: 0;
}

.phone-icon-wrap svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.phone-info-block {
    display: flex;
    flex-direction: column;
}

.phone-number {
    font-size: 20px;
    font-weight: 800;
    line-height: 1.1;
    color: #111111;
    white-space: nowrap;
}

.phone-subtext {
    font-size: 11px;
    font-weight: 700;
    color: #888888;
    line-height: 1.2;
}

/* CTA Buttons */
.custom-header-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    color: #ffffff;
    background-color: #ee6a85; /* default pink/salmon color from screenshot */
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    white-space: nowrap;
    border: none;
    cursor: pointer;
}

.header-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0px 6px 15px rgba(238, 106, 133, 0.3);
}

.header-btn.btn-secondary {
    background-color: #f17b94; /* slightly secondary lighter pink or customizable */
}

/* --- Hamburger Toggle Button --- */
.custom-header-toggle {
    display: none; /* hidden on desktop */
    align-items: center;
}

.menu-toggle-btn {
    background: none;
    border: none;
    padding: 10px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    outline: none;
}

.menu-toggle-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #111111;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Animated toggle to X state when active */
.menu-toggle-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle-btn.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Mobile Side Panel & Overlay --- */
.side-panel-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 99998;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.custom-header-side-panel {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 320px;
    max-width: 85%;
    background-color: #ffffff;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
    z-index: 99999;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    padding: 30px 24px;
    box-sizing: border-box;
    overflow-y: auto;
}

.custom-header-side-panel.open {
    transform: translateX(0);
}

.side-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    border-bottom: 1px solid #f1f1f1;
    padding-bottom: 15px;
}

.side-panel-logo img,
.side-panel-logo svg {
    max-height: 40px;
    width: auto;
    display: block;
}

.side-panel-close-btn {
    background: none;
    border: none;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    color: #111111;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
    outline: none;
}

.side-panel-close-btn:hover {
    color: #e5006d;
}

/* Inside panel content */
.side-panel-menu-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    list-style: none;
    margin: 0 0 30px 0;
    padding: 0;
}

.side-panel-menu-list li {
    margin: 0;
    padding: 0;
}

.side-panel-menu-list a {
    font-size: 16px;
    font-weight: 700;
    color: #111111;
    text-decoration: none;
    display: block;
    padding-bottom: 8px;
    border-bottom: 1px solid #f9f9f9;
    transition: color 0.3s ease;
}

.side-panel-menu-list a:hover {
    color: #e5006d;
}

.side-panel-phone-wrap {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 30px;
    padding-top: 10px;
    border-top: 1px solid #f9f9f9;
}

.side-panel-buttons-wrap {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.side-panel-buttons-wrap .header-btn {
    width: 100%;
    box-sizing: border-box;
}

/* --- Responsive Adjustments --- */
@media (max-width: 1024px) {
    .custom-header-container {
        padding: 15px 24px;
    }
    
    /* Hide desktop nav, show toggle */
    .custom-header-nav {
        display: none;
    }
    
    .custom-header-toggle {
        display: flex;
    }
}

@media (max-width: 767px) {
    .custom-header-container {
        padding: 12px 20px;
    }
    
    .custom-header-logo img,
    .custom-header-logo svg {
        max-height: 40px;
    }
}
