/* Ultra-premium glassmorphism custom effects and layout refinements */

:root {
  --color-gold: #D4AF37;
  --color-terracotta: #C85A32;
}

body {
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/* Header transition on scroll effect */
.header-scrolled {
  background-color: rgba(2, 6, 23, 0.9);
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Custom animation for pulsating headers */
@keyframes pulse-gentle {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.02);
    opacity: 0.95;
  }
}

.animate-pulse-gentle {
  animation: pulse-gentle 2.5s infinite ease-in-out;
}

/* Soft rotate animations for geometric decor elements */
@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes spin-reverse {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

.animate-spin-slow {
  animation: spin-slow 25s infinite linear;
}

.animate-spin-reverse {
  animation: spin-reverse 35s infinite linear;
}

/* Custom Tabs indicator highlight styles */
.comfort-tab-btn {
  background-color: rgba(30, 41, 59, 0.3);
  border-color: rgba(255, 255, 255, 0.05);
}

.comfort-tab-btn:hover {
  background-color: rgba(30, 41, 59, 0.6);
  border-color: rgba(212, 175, 55, 0.2);
}

.comfort-tab-btn.active {
  background-color: rgba(22, 163, 74, 0.15);
  border-color: rgba(22, 163, 74, 0.4);
  box-shadow: 0 4px 20px -2px rgba(22, 163, 74, 0.15);
}

/* Slider custom styles overriding typical browser scrollbars */
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--color-gold);
  cursor: pointer;
  transition: transform 0.1s ease;
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

/* Service premium card hovers */
.service-card {
  transform: translateY(0);
}

.service-card:hover {
  transform: translateY(-4px);
  background-color: rgba(30, 41, 59, 0.6);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}
