/* Custom Styles - Oficina Decor
   Senior Product Design System - WCAG AAA Compliant
*/

:root {
  /* Color Palette - Quiet Luxury & High Contrast (WCAG AAA >= 7:1) */
  --color-bg-base: #FAF8F5;
  --color-bg-surface: #FFFFFF;
  --color-bg-subtle: #F3EFEA;
  --color-bg-dark: #191B1A;
  --color-text-main: #141615;
  --color-text-muted: #424643;
  --color-text-light: #F9F8F6;
  --color-accent: #9A7B4F;
  --color-accent-dark: #7A5F39;
  --color-accent-light: #EFE8DD;
  --color-brand-green: #1F382B;
  --color-brand-green-hover: #162920;
  --color-border: #E3DDD4;
  --color-border-dark: #2F3330;
  --focus-ring-color: #141615;
}

/* Base resets & smooth scrolling */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Accessibility: WCAG AAA Focus Rings */
:focus-visible {
  outline: 3px solid var(--focus-ring-color) !important;
  outline-offset: 3px !important;
}

/* Typography styles */
.font-serif-luxury {
  font-family: 'Playfair Display', Georgia, serif;
}

.font-sans-body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

/* Glassmorphism & Subtle Borders */
.glass-header {
  background: rgba(250, 248, 245, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.glass-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Micro-interactions & Image Zoom */
.img-zoom-container {
  overflow: hidden;
}

.img-zoom {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.group:hover .img-zoom {
  transform: scale(1.04);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--color-bg-subtle);
}
::-webkit-scrollbar-thumb {
  background: #C4BCB1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #9A7B4F;
}

/* Subtle gradient overlays */
.hero-gradient-overlay {
  background: linear-gradient(180deg, rgba(20, 22, 21, 0.35) 0%, rgba(20, 22, 21, 0.85) 100%);
}

.card-gradient-overlay {
  background: linear-gradient(180deg, rgba(20, 22, 21, 0) 40%, rgba(20, 22, 21, 0.85) 100%);
}

/* Mobile tap target utility */
.min-tap-target {
  min-height: 48px;
  min-width: 48px;
}

/* Pulse animation for high-conversion badges */
@keyframes subtle-pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.03);
    opacity: 0.95;
  }
}

.animate-subtle-pulse {
  animation: subtle-pulse 3s infinite ease-in-out;
}

/* Reduced motion support (WCAG Requirement) */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Print styles */
@media print {
  .no-print, header, footer, #whatsapp-floating-btn, #mobile-action-bar, #booking-modal {
    display: none !important;
  }
  body {
    background: white;
    color: black;
  }
}
