/* ============================================
   EMPRESS CLEANING — GLOBAL STYLES
   ============================================ */

:root {
  /* === PRIMARY BLUES (from logo) === */
  --cerulean:       #29b4f5;   /* Bright sky blue — logo's dominant accent */
  --cerulean-light: #4dceff;   /* Lighter cerulean for hovers/glows */
  --cerulean-pale:  #a8e4ff;   /* Ice blue for subtle text/borders */
  --navy:           #1a2d6b;   /* Deep navy from logo crown */
  --navy-deep:      #0d1a42;   /* Darker navy for depth */
  --crown-blue:     #2255cc;   /* Mid royal blue from logo details */

  /* === BACKGROUNDS (dark navy theme) === */
  --bg-base:        #050d1e;   /* Deepest background */
  --bg-surface:     #080f26;   /* Card/section backgrounds */
  --bg-raised:      #0c1530;   /* Elevated cards */
  --bg-card:        #0f1a3a;   /* Individual cards */
  --bg-card-hover:  #132040;   /* Card hover state */

  /* === COMPLEMENTARY ACCENT COLOURS === */
  /* Warm gold — royal, elegant, pairs beautifully with blue */
  --gold:           #c9a84c;
  --gold-light:     #dfc06f;
  --gold-pale:      #f0dfa0;

  /* Soft teal — bridges cerulean and navy */
  --teal:           #0d9488;
  --teal-light:     #14b8a6;

  /* === TEXT === */
  --text-primary:   #ffffff;
  --text-secondary: #d4ecff;   /* Light blue-white */
  --text-muted:     #7aa8c8;   /* Muted blue-grey */
  --text-faint:     #3d6280;   /* Very subtle labels */

  /* === GLOWS (match logo blues) === */
  --glow-cerulean:  rgba(41, 180, 245, 0.45);
  --glow-cerulean-s: rgba(41, 180, 245, 0.18);
  --glow-gold:      rgba(201, 168, 76, 0.35);
  --glow-gold-s:    rgba(201, 168, 76, 0.15);

  /* === BORDERS === */
  --border:         rgba(41, 180, 245, 0.18);
  --border-bright:  rgba(41, 180, 245, 0.55);
  --border-gold:    rgba(201, 168, 76, 0.3);

  /* === SEMANTIC === */
  --success:        #34d399;
  --warning:        #fbbf24;
  --error:          #f87171;
  --info:           var(--cerulean);

  /* === TYPOGRAPHY === */
  --font-display:   'Playfair Display', Georgia, serif;
  --font-body:      'DM Sans', 'Helvetica Neue', sans-serif;
  --font-mono:      'JetBrains Mono', monospace;

  /* === SIZING === */
  --radius-sm:      6px;
  --radius-md:      10px;
  --radius-lg:      16px;
  --radius-xl:      24px;
  --radius-full:    9999px;

  /* === TRANSITIONS === */
  --ease:           cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce:    cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration:       0.28s;
}

/* ============================================
   RESET & BASE
   ============================================ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 4px;
}

::-webkit-scrollbar-track {
  background: var(--bg-surface);
}

::-webkit-scrollbar-thumb {
  background: var(--cerulean);
  border-radius: 2px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--cerulean-light);
}

/* Image Reset */
img {
  max-width: 100%;
  display: block;
  height: auto;
}

/* Link Reset */
a {
  text-decoration: none;
  color: inherit;
}

/* List Reset */
ul, ol {
  list-style: none;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.8rem, 5vw, 4.2rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

p {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1rem;
}

/* ============================================
   LAYOUT UTILITIES
   ============================================ */

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 48px;
}

@media (max-width: 768px) {
  .container {
    padding: 0 24px;
  }
}

.section {
  padding: 100px 0;
}

.section-alt {
  background: var(--bg-surface);
}

/* ============================================
   BUTTONS
   ============================================ */

.btn-fill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--cerulean);
  color: var(--bg-base);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--duration) var(--ease);
}

.btn-fill:hover {
  background: var(--cerulean-light);
  box-shadow: 0 0 24px var(--glow-cerulean);
  transform: translateY(-1px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: transparent;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--duration) var(--ease);
}

.btn-ghost:hover {
  border-color: var(--cerulean);
  color: var(--cerulean);
  background: rgba(41, 180, 245, 0.06);
}

/* ============================================
   ALERTS
   ============================================ */

.alert {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-family: var(--font-body);
  margin-bottom: 20px;
}

.alert-success {
  background: rgba(52, 211, 153, 0.15);
  border: 1px solid var(--success);
  color: var(--success);
}

.alert-error {
  background: rgba(248, 113, 113, 0.15);
  border: 1px solid var(--error);
  color: var(--error);
}

.alert-info {
  background: rgba(41, 180, 245, 0.15);
  border: 1px solid var(--cerulean);
  color: var(--cerulean);
}

/* ============================================
   SCROLL REVEAL
   ============================================ */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

.reveal.vis {
  opacity: 1;
  transform: translateY(0);
}

.stagger-children > * {
  transition-delay: calc(var(--i, 0) * 0.08s);
}

/* ============================================
   STATUS BADGES
   ============================================ */

.status-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.status-badge.upcoming {
  background: rgba(41, 180, 245, 0.15);
  color: var(--cerulean);
  border: 1px solid rgba(41, 180, 245, 0.3);
}

.status-badge.completed {
  background: rgba(52, 211, 153, 0.15);
  color: var(--success);
  border: 1px solid rgba(52, 211, 153, 0.3);
}

.status-badge.cancelled {
  background: rgba(248, 113, 113, 0.15);
  color: var(--error);
  border: 1px solid rgba(248, 113, 113, 0.3);
}

.status-badge.processing {
  background: rgba(251, 191, 36, 0.15);
  color: var(--warning);
  border: 1px solid rgba(251, 191, 36, 0.3);
}

/* ============================================
   KEYFRAME ANIMATIONS
   ============================================ */

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes spinReverse {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
}

@keyframes floatLogo {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes orbPulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

@keyframes orbitA {
  from { transform: rotate(0deg) translateX(120px) rotate(0deg); }
  to { transform: rotate(360deg) translateX(120px) rotate(-360deg); }
}

@keyframes orbitB {
  from { transform: rotate(0deg) translateX(130px) rotate(0deg); }
  to { transform: rotate(360deg) translateX(130px) rotate(-360deg); }
}

@keyframes orbitC {
  from { transform: rotate(0deg) translateX(110px) rotate(0deg); }
  to { transform: rotate(360deg) translateX(110px) rotate(-360deg); }
}

@keyframes orbitD {
  from { transform: rotate(0deg) translateX(125px) rotate(0deg); }
  to { transform: rotate(360deg) translateX(125px) rotate(-360deg); }
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ============================================
   LOGO ORB SYSTEM
   ============================================ */

.logo-orb {
  position: relative;
  width: 420px;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.logo-orb-lg {
  width: 420px;
  height: 420px;
}

.logo-orb-md {
  width: 300px;
  height: 300px;
}

.logo-orb-sm {
  width: 200px;
  height: 200px;
}

.logo-orb-xs {
  width: 110px;
  height: 110px;
}

/* Orb Layers */
.orb-layer {
  position: absolute;
  border-radius: 50%;
}

/* Layer 1: Ambient Glow */
.orb-glow {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(41,180,245,0.18) 0%, rgba(26,45,107,0.1) 40%, transparent 70%);
  filter: blur(20px);
  animation: orbPulse 5s ease-in-out infinite;
}

.logo-orb-md .orb-glow {
  width: 220px;
  height: 220px;
}

.logo-orb-sm .orb-glow {
  width: 150px;
  height: 150px;
}

.logo-orb-xs .orb-glow {
  width: 80px;
  height: 80px;
}

/* Layer 2: Dashed Ring */
.orb-ring-dashed {
  width: 320px;
  height: 320px;
  border: 1px dashed rgba(41,180,245,0.2);
  animation: spin 30s linear infinite;
}

.logo-orb-md .orb-ring-dashed {
  width: 230px;
  height: 230px;
}

.logo-orb-sm .orb-ring-dashed {
  width: 155px;
  height: 155px;
}

.logo-orb-xs .orb-ring-dashed {
  width: 85px;
  height: 85px;
}

/* Layer 3: Solid Counter-Rotating Ring */
.orb-ring-solid {
  width: 370px;
  height: 370px;
  border: 1px solid rgba(41,180,245,0.1);
  animation: spinReverse 20s linear infinite;
}

.logo-orb-md .orb-ring-solid {
  width: 265px;
  height: 265px;
}

.logo-orb-sm .orb-ring-solid {
  width: 180px;
  height: 180px;
}

.logo-orb-xs .orb-ring-solid {
  width: 100px;
  height: 100px;
}

/* Layer 4: Dotted Inner Ring */
.orb-ring-dotted {
  width: 270px;
  height: 270px;
  border: 1px dotted rgba(77,206,255,0.15);
  animation: spin 15s linear infinite;
}

.logo-orb-md .orb-ring-dotted {
  width: 195px;
  height: 195px;
}

.logo-orb-sm .orb-ring-dotted {
  width: 130px;
  height: 130px;
}

.logo-orb-xs .orb-ring-dotted {
  width: 72px;
  height: 72px;
}

/* Layer 5: Conic Gradient Spinner */
.orb-spinner {
  width: 230px;
  height: 230px;
  background: conic-gradient(transparent 0deg, rgba(41,180,245,0.6) 60deg, rgba(77,206,255,0.8) 120deg, transparent 180deg, transparent 360deg);
  animation: spin 4s linear infinite;
  position: relative;
}

.orb-spinner::after {
  content: '';
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: var(--bg-base);
}

.logo-orb-md .orb-spinner {
  width: 165px;
  height: 165px;
}

.logo-orb-md .orb-spinner::after {
  inset: 6px;
}

.logo-orb-sm .orb-spinner {
  width: 110px;
  height: 110px;
}

.logo-orb-sm .orb-spinner::after {
  inset: 4px;
}

.logo-orb-xs .orb-spinner {
  width: 60px;
  height: 60px;
}

.logo-orb-xs .orb-spinner::after {
  inset: 3px;
}

/* Layer 6: Logo Image */
.orb-logo-img {
  width: 210px;
  height: 210px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  z-index: 10;
  box-shadow: 0 0 0 3px rgba(41,180,245,0.4), 0 0 60px rgba(41,180,245,0.35), 0 0 120px rgba(41,180,245,0.12);
  animation: floatLogo 6s ease-in-out infinite;
}

.orb-logo-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.logo-orb-md .orb-logo-img {
  width: 150px;
  height: 150px;
}

.logo-orb-sm .orb-logo-img {
  width: 100px;
  height: 100px;
}

.logo-orb-xs .orb-logo-img {
  width: 55px;
  height: 55px;
}

/* Layer 7: Orbiting Dots */
.orb-dot {
  position: absolute;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform-origin: 0 0;
}

.orb-dot-1 {
  width: 10px;
  height: 10px;
  background: var(--cerulean-light);
  box-shadow: 0 0 14px var(--cerulean);
  animation: orbitA 7s linear infinite;
}

.orb-dot-2 {
  width: 7px;
  height: 7px;
  background: #ffffff;
  box-shadow: 0 0 10px rgba(255,255,255,0.8);
  animation: orbitB 11s linear infinite;
}

.orb-dot-3 {
  width: 5px;
  height: 5px;
  background: var(--cerulean-pale);
  animation: orbitC 9s linear infinite;
}

.orb-dot-4 {
  width: 8px;
  height: 8px;
  background: var(--crown-blue);
  animation: orbitD 14s linear infinite;
}

/* Responsive Orb Scaling */
@media (max-width: 768px) {
  .logo-orb-lg {
    width: 320px;
    height: 320px;
  }
  
  .logo-orb-lg .orb-glow {
    width: 230px;
    height: 230px;
  }
  
  .logo-orb-lg .orb-ring-dashed {
    width: 245px;
    height: 245px;
  }
  
  .logo-orb-lg .orb-ring-solid {
    width: 280px;
    height: 280px;
  }
  
  .logo-orb-lg .orb-ring-dotted {
    width: 205px;
    height: 205px;
  }
  
  .logo-orb-lg .orb-spinner {
    width: 175px;
    height: 175px;
  }
  
  .logo-orb-lg .orb-logo-img {
    width: 160px;
    height: 160px;
  }
}

@media (max-width: 480px) {
  .logo-orb-lg {
    width: 260px;
    height: 260px;
  }
  
  .logo-orb-lg .orb-glow {
    width: 185px;
    height: 185px;
  }
  
  .logo-orb-lg .orb-ring-dashed {
    width: 200px;
    height: 200px;
  }
  
  .logo-orb-lg .orb-ring-solid {
    width: 230px;
    height: 230px;
  }
  
  .logo-orb-lg .orb-ring-dotted {
    width: 165px;
    height: 165px;
  }
  
  .logo-orb-lg .orb-spinner {
    width: 140px;
    height: 140px;
  }
  
  .logo-orb-lg .orb-logo-img {
    width: 130px;
    height: 130px;
  }
}
