/* Custom Premium Features for Shraddha Puja Website */

/* 1. Global Premium Glossy Button Styling overrides */
.elementor-button,
.wp-block-button__link,
.sticky-btn,
.service-card-btn,
button[type="submit"] {
  position: relative !important;
  overflow: hidden !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
  border-radius: 8px !important;
  font-weight: bold !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}

.elementor-button::after,
.wp-block-button__link::after,
.sticky-btn::after,
.service-card-btn::after,
button[type="submit"]::after {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.4) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  transition: 0.75s;
  animation: glossy-sheen 3.5s infinite;
}

@keyframes glossy-sheen {
  0% { left: -100%; }
  100% { left: 120%; }
}

.elementor-button:hover,
.wp-block-button__link:hover,
button[type="submit"]:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(255, 105, 0, 0.4) !important;
}

/* 2. Mobile Bottom Sticky Contact Bar */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(18, 11, 5, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.5);
  z-index: 999999;
  padding: 10px 15px;
  box-sizing: border-box;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 767px) {
  .mobile-sticky-bar {
    display: flex;
  }
  body {
    padding-bottom: 75px !important;
  }
}

.sticky-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 10px;
  font-size: 15px;
  text-decoration: none;
  color: #ffffff !important;
}

.sticky-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.sticky-btn.call-btn {
  background: linear-gradient(135deg, #ff3333, #b30000) !important;
  border: 1px solid #ff6666;
}

.sticky-btn.whatsapp-btn {
  background: linear-gradient(135deg, #25d366, #128c7e) !important;
  border: 1px solid #48f086;
}

/* 3. Fullscreen Native Mobile Menu */
.fullscreen-mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top right, #251205, #080401);
  z-index: 1000000;
  display: none;
  flex-direction: column;
  box-sizing: border-box;
  padding: 40px 25px 20px 25px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.fullscreen-mobile-menu.active {
  display: flex;
  opacity: 1;
}

.fsm-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: #ff8533;
  font-size: 32px;
  cursor: pointer;
  padding: 10px;
  line-height: 1;
}

.fsm-title {
  color: #ffffff;
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  margin: 10px 0 30px 0;
  background: linear-gradient(135deg, #ff9933, #ff3300);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.fsm-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  flex-grow: 1;
  overflow-y: auto;
  padding: 10px 0;
}

.fsm-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 133, 51, 0.15);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 10px;
  color: #ffffff !important;
  text-decoration: none !important;
  transition: all 0.25s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.fsm-item:active, .fsm-item:hover {
  background: rgba(255, 133, 51, 0.1);
  border-color: #ff8533;
  transform: scale(1.03);
  box-shadow: 0 0 15px rgba(255, 133, 51, 0.3);
}

.fsm-icon {
  font-size: 32px;
  margin-bottom: 10px;
  color: #ff9933;
}

.fsm-label {
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

/* 4. Footer Redesign override */
footer[data-elementor-type="footer"] {
  background: linear-gradient(to bottom, rgba(12, 6, 2, 0.95), rgba(4, 2, 1, 0.99)) !important;
  border-top: 3px solid #ff6600 !important;
  color: #ffffff !important;
}

footer[data-elementor-type="footer"] p,
footer[data-elementor-type="footer"] span,
footer[data-elementor-type="footer"] a,
footer[data-elementor-type="footer"] h2,
footer[data-elementor-type="footer"] h3 {
  color: #ffffff !important;
}

footer[data-elementor-type="footer"] a:hover {
  color: #ff8533 !important;
}

/* Hide standard Elementor mobile menu toggle to avoid duplication */
.elementor-menu-toggle {
  display: none !important;
}

.custom-mobile-hamburger {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  color: #ff6600;
  cursor: pointer;
}

@media (max-width: 1024px) {
  .custom-mobile-hamburger {
    display: block;
  }
}
