/* ==========================================================================
   Premium Glossy Mobile Navigation & Call-to-Action Bar Stylesheet
   ========================================================================== */

/* Hide old elements globally to avoid overlaps */
#callnowbutton, 
.ht-ctc-chat, 
.ht_ctc_chat_style,
.ht_ctc_chat_group,
.ht_ctc_chat_mobile,
.elementor-element-f05c8b9 {
    display: none !important;
}

/* Base Header Layout */
.sh-mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 99999;
}

.sh-mobile-logo {
    width: 70%;
    max-width: 220px;
}

.sh-mobile-logo img {
    max-height: 45px;
    width: auto;
    display: block;
}

.sh-mobile-menu-btn {
    width: 30%;
    display: flex;
    justify-content: flex-end;
}

/* Hamburger Toggle styling */
#sh-mobile-menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px 5px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    height: 36px;
    width: 36px;
    z-index: 100001;
    box-sizing: border-box;
}

#sh-mobile-menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #ff5722;
    border-radius: 3px;
    transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}

#sh-mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

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

/* Overlay Navigation Screen styling */
.sh-mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    z-index: 100000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    overflow-y: auto;
    padding: 80px 20px 100px 20px;
    box-sizing: border-box;
}

.sh-mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Layout within Overlay */
.sh-overlay-nav-wrapper {
    max-width: 500px;
    margin: 0 auto;
}

.sh-nav-heading {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 15px;
    letter-spacing: 1px;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
}

/* Nav Cards Grid */
.sh-nav-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 25px;
}

.sh-nav-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #fdfdfd;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    padding: 12px 8px;
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 12px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sh-nav-card:active {
    transform: scale(0.95);
    background-color: #f7f7f7;
}

.sh-nav-card-icon {
    font-size: 24px;
    margin-bottom: 5px;
}

/* Puja List Items styling */
.sh-puja-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sh-puja-item {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    padding: 10px 15px;
    text-decoration: none;
    color: #333;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.sh-puja-item:active {
    transform: scale(0.98);
    background-color: #fafafa;
}

.sh-puja-item-icon {
    font-size: 24px;
    margin-right: 15px;
}

.sh-puja-item-content {
    flex-grow: 1;
}

.sh-puja-item-title {
    display: block;
    font-weight: 700;
    font-size: 14px;
    color: #222;
}

.sh-puja-item-desc {
    display: block;
    font-size: 11px;
    color: #666;
}

.sh-puja-item-arrow {
    color: #ccc;
    font-size: 18px;
}

/* Sticky Bottom Action Bar styling */
.sh-sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    padding: 10px 15px;
    gap: 10px;
    z-index: 99998;
    box-sizing: border-box;
}

/* Premium Glossy Buttons styling */
.sh-sticky-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 10px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sh-sticky-btn:active {
    transform: translateY(2px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.sh-sticky-btn .sh-btn-icon {
    font-size: 18px;
    margin-right: 8px;
}

/* Gloss Overlay Layer */
.sh-sticky-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
}

.sh-sticky-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.15) 30%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0) 70%);
    transform: rotate(45deg);
    transition: all 0.5s;
    animation: sh-shine-anim 3s infinite ease-in-out;
}

@keyframes sh-shine-anim {
    0% { left: -100%; top: -100%; }
    100% { left: 100%; top: 100%; }
}

/* Call Button (Orange Theme) */
.sh-call-btn {
    background: linear-gradient(135deg, #ff7043 0%, #f4511e 50%, #d84315 100%);
    color: #ffffff !important;
}

/* WhatsApp Button (Green Theme) */
.sh-whatsapp-btn {
    background: linear-gradient(135deg, #48c6ef 0%, #6f86d6 0%, #43a047 50%, #2e7d32 100%);
    color: #ffffff !important;
}

/* Hide desktop columns on mobile */
@media (max-width: 1024px) {
    .elementor-hidden-phone {
        display: none !important;
    }
}

@media (min-width: 1025px) {
    .sh-mobile-header,
    .sh-mobile-menu-overlay,
    .sh-sticky-bar {
        display: none !important;
    }
}

/* Gallery hover effects */
.sh-gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15) !important;
}

.sh-gallery-card:hover img {
    transform: scale(1.05);
}
