/*
Theme Name: AirZen Aircon - Premium White
Theme URI: https://airzensg.com/
Author: AirZen Development Team
Author URI: https://airzensg.com/
Description: Ultra-premium, high-converting Singapore aircon servicing & repair theme in a modern crisp white aesthetic designed for modern Singapore homes. Features interactive price calculators, transparent standard market rate comparisons ($10 less), 1-tap WhatsApp booking, and mobile app dock.
Version: 2.7.1
Tested up to: 6.7
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: airzen-aircon
*/

:root {
  --primary: #0284c7;
  --primary-dark: #0369a1;
  --primary-light: #e0f2fe;
  --emerald: #25D366;
  --emerald-dark: #128C7E;
  --emerald-light: #DCF8C6;
  --whatsapp-green: #25D366;
  --whatsapp-dark: #128C7E;
  --whatsapp-deep: #075E54;
  --whatsapp-bubble: #DCF8C6;
  --whatsapp-bubble-border: #A7E8A9;
  --bg-main: #ffffff;
  --bg-subtle: #f8fafc;
  --bg-card: #ffffff;
  --border-light: #e2e8f0;
  --border-subtle: #f1f5f9;
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-subtle: #64748b;
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 15px -1px rgba(0, 0, 0, 0.06), 0 2px 6px -1px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 20px 35px -5px rgba(15, 23, 42, 0.08), 0 8px 16px -6px rgba(15, 23, 42, 0.04);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  padding-bottom: 76px;
}

@media (min-width: 768px) {
  body {
    padding-bottom: 0;
  }
}

a {
  color: inherit;
  text-decoration: none;
}

.shell-container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

@media (min-width: 768px) {
  .shell-container {
    padding: 0 2rem;
  }
}

/* Premium Card Styles */
.card-premium {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 1.5rem;
  padding: 1.75rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-sm);
}

.card-premium:hover {
  border-color: #cbd5e1;
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* Badges */
.badge-pill-light {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 9999px;
  background: var(--primary-light);
  color: var(--primary-dark);
  border: 1px solid #bae6fd;
}

.badge-discount-light {
  background: var(--emerald-light);
  color: var(--emerald-dark);
  border: 1px solid #a7f3d0;
}

/* Buttons */
.btn-primary-blue {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #0284c7, #0369a1);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 1.85rem;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.28);
}

.btn-primary-blue:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(2, 132, 199, 0.4);
}

.btn-whatsapp-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: #25D366 !important;
  color: #ffffff !important;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 0.85rem 1.85rem;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.38);
}

.btn-whatsapp-white:hover {
  background-color: #128C7E !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(18, 140, 126, 0.45);
}

.badge-discount-light,
.whatsapp-bubble-pill {
  background: #DCF8C6 !important;
  color: #075E54 !important;
  border: 1px solid #A7E8A9 !important;
  font-weight: 800;
}

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #ffffff;
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 1.85rem;
  border-radius: 9999px;
  border: 1px solid var(--border-light);
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-sm);
}

.btn-outline-white:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  transform: translateY(-2px);
}

/* Pulsing Online Dot */
@keyframes pulse-ring {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.9); opacity: 0; }
  100% { transform: scale(0.9); opacity: 0; }
}

.pulse-dot-green {
  position: relative;
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: #25d366;
  border-radius: 50%;
}

.pulse-dot-green::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background-color: #25d366;
  animation: pulse-ring 2s infinite ease-out;
}


/* ==========================================================================
   AirZen Ultra-Premium Motion, Visuals & Interaction Utilities
   ========================================================================== */

/* Scroll Reveal Animations */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.delay-100 { transition-delay: 0.1s; }
.delay-150 { transition-delay: 0.15s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }

/* Interactive Hover Lifts */
.card-hover-lift {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease;
}

.card-hover-lift:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 35px -8px rgba(15, 23, 42, 0.08), 0 8px 16px -4px rgba(15, 23, 42, 0.04);
  border-color: #cbd5e1;
}

/* Button Shimmer Shine */
.btn-shimmer {
  position: relative;
  overflow: hidden;
}

.btn-shimmer::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transform: translateX(-100%);
  animation: btn-shine 3.5s infinite;
}

@keyframes btn-shine {
  0% { transform: translateX(-100%); }
  25% { transform: translateX(120%); }
  100% { transform: translateX(120%); }
}

/* Floating Badges */
@keyframes float-subtle {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

.float-subtle {
  animation: float-subtle 4s ease-in-out infinite;
}

.float-subtle-delayed {
  animation: float-subtle 4.5s ease-in-out 1.5s infinite;
}

/* Before & After Interactive Slider */
.before-after-wrapper {
  position: relative;
  overflow: hidden;
  user-select: none;
  cursor: ew-resize;
  border-radius: 1.25rem;
  box-shadow: 0 15px 35px -5px rgba(15, 23, 42, 0.1);
  background-color: #0f172a;
}

.before-after-overlay {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 50%;
  overflow: hidden;
  border-right: 3px solid #ffffff;
  box-shadow: 2px 0 15px rgba(0, 0, 0, 0.3);
}

.before-after-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  background: #ffffff;
  border: 3px solid #0284c7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
  pointer-events: none;
  z-index: 20;
}
