/* ==========================================================================
   SOFASHIELD PRO — Luxury Surface Protection Design System (Light Luxury Theme)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --color-charcoal: #1C1917;
  --color-charcoal-dark: #0C0A09;
  --color-charcoal-light: #292524;
  --color-ivory: #FAF8F5;
  --color-ivory-warm: #F4EFE6;
  --color-gold: #C6A66B;
  --color-gold-light: #DFC99E;
  --color-gold-dark: #A58447;
  --color-beige: #E7DFD1;
  --color-beige-light: #F2ECE2;
  --color-white: #FFFFFF;
  --color-grey: #57534E;
  --color-grey-light: #78716C;
  --border-gold-subtle: rgba(198, 166, 107, 0.3);
  --border-subtle: #E7E0D3;
}

/* Base resets & typography */
html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  color: var(--color-charcoal);
  background-color: var(--color-ivory);
}

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--color-ivory);
  color: #44403C;
}

h1, h2, h3, .font-serif {
  font-family: 'Cormorant Garamond', Georgia, serif;
  letter-spacing: -0.01em;
}

/* Custom Selection Highlight */
::selection {
  background-color: #C6A66B;
  color: #FFFFFF;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 9px;
}
::-webkit-scrollbar-track {
  background: #F4EFE6;
}
::-webkit-scrollbar-thumb {
  background: #C6A66B;
  border-radius: 4px;
  border: 2px solid #F4EFE6;
}
::-webkit-scrollbar-thumb:hover {
  background: #A58447;
}

/* Luxury Card & Border Styles */
.luxury-border {
  border: 1px solid rgba(198, 166, 107, 0.32);
}

.luxury-border-hover:hover {
  border-color: rgba(198, 166, 107, 0.85);
}

.gold-gradient-text {
  background: linear-gradient(135deg, #A58447 0%, #C6A66B 50%, #8C6524 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gold-badge {
  background: rgba(198, 166, 107, 0.12);
  border: 1px solid rgba(198, 166, 107, 0.45);
  color: #8C6A2E;
}

/* Luxury Buttons */
.btn-gold {
  background: linear-gradient(135deg, #C6A66B 0%, #B89658 100%);
  color: #FFFFFF;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(198, 166, 107, 0.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.btn-gold:hover {
  background: linear-gradient(135deg, #DFC99E 0%, #C6A66B 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(198, 166, 107, 0.45);
  color: #171717;
}

.btn-outline-gold {
  border: 1px solid #C6A66B;
  color: #8C6A2E;
  background: transparent;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.btn-outline-gold:hover {
  background: #C6A66B;
  border-color: #C6A66B;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(198, 166, 107, 0.25);
}

.btn-charcoal {
  background: #1C1917;
  color: #FAF8F5;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: all 0.3s ease;
  border: 1px solid #1C1917;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.btn-charcoal:hover {
  background: #2D2825;
  border-color: #C6A66B;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(28, 25, 23, 0.15);
}

/* Header sticky transition */
header.header-scrolled {
  background-color: rgba(250, 248, 245, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 4px 25px rgba(28, 25, 23, 0.06);
  border-bottom: 1px solid rgba(198, 166, 107, 0.3);
}

/* Floating WhatsApp Button Pulse */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 99;
  background-color: #25D366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.whatsapp-float:hover {
  transform: scale(1.08) translateY(-3px);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.6);
  color: white;
}
.whatsapp-pulse {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #25D366;
  opacity: 0.6;
  animation: pulse-ring 2.5s infinite;
  z-index: -1;
}

/* Floating Direct Call Button */
.phone-float {
  position: fixed;
  bottom: 100px;
  right: 31px;
  z-index: 99;
  background: linear-gradient(135deg, #1C1917 0%, #292524 100%);
  color: #DFC99E;
  border: 2px solid #C6A66B;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(28, 25, 23, 0.45), 0 0 12px rgba(198, 166, 107, 0.25);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.phone-float:hover {
  transform: scale(1.1) translateY(-3px);
  background: #C6A66B;
  color: #1C1917;
  border-color: #FFFFFF;
  box-shadow: 0 12px 28px rgba(198, 166, 107, 0.55);
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.95);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.35);
    opacity: 0;
  }
  100% {
    transform: scale(0.95);
    opacity: 0;
  }
}

/* Back to Top button (anchored on bottom-left) */
.back-to-top {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 90;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid rgba(198, 166, 107, 0.4);
  color: #C6A66B;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}
.back-to-top:hover {
  background: #C6A66B;
  color: #FFFFFF;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(198, 166, 107, 0.35);
}

/* Scroll reveal classes */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* FAQ Accordion Styling */
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease;
}
.accordion-item.active .accordion-content {
  max-height: 800px;
}
.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
  color: #C6A66B;
}

/* Gallery Lightbox */
.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 14, 13, 0.94);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  align-items: center;
  justify-content: center;
}
.lightbox-overlay.active {
  display: flex;
  opacity: 1;
}

/* Service Detail Process Card */
.process-step-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  line-height: 1;
  color: rgba(198, 166, 107, 0.4);
}

/* Nav Dropdown styling */
.nav-dropdown {
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s ease;
  background-color: #FFFFFF;
  border: 1px solid rgba(198, 166, 107, 0.28);
  box-shadow: 0 14px 35px rgba(28, 25, 23, 0.08);
}
.group:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
