/* ==========================================================================
   GLOBAL VARIABLES & DESIGN SYSTEM
   ========================================================================== */
:root {
  /* Colors - Minimal & Dark Luxury */
  --color-black: #050505;
  --color-near-black: #0a0a0a;
  --color-charcoal: #1a1a1a;
  --color-charcoal-light: #2d2d2d;
  --color-off-white: #f5f5f5;
  --color-white: #ffffff;
  
  /* Accents - Sophisticated */
  --color-accent-warm: #c1a27a; /* Subtle metallic/warm accent */
  --color-accent-metallic: #8c9296;

  /* Typography */
  --font-primary: 'Amiri', serif;
  
  --text-base-size: 1rem;
  --text-scale-ratio: 1.250;
  
  /* Spacing System */
  --space-3xs: 0.25rem;
  --space-2xs: 0.5rem;
  --space-xs: 0.75rem;
  --space-s: 1rem;
  --space-m: 1.5rem;
  --space-l: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  
  /* Containers */
  --container-width-main: 1440px;
  --container-padding: 2rem;
  
  /* Transitions */
  --transition-fast: 0.2s ease-out;
  --transition-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   CSS RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  background-color: var(--color-near-black);
  color: var(--color-off-white);
  font-family: var(--font-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

/* Typography Base */
h1, h2, h3, h4, h5, h6 {
  font-weight: 400;
  line-height: 1.1;
  color: var(--color-white);
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

/* ==========================================================================
   UTILITIES & GLOBAL MODIFIERS
   ========================================================================== */
body::before {
  content: "";
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
  z-index: 9999;
}

button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  color: inherit;
}

/* ==========================================================================
   FLOATING WHATSAPP BUTTON
   ========================================================================== */
.floating-whatsapp {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background-color: var(--color-near-black);
  color: var(--color-accent-warm);
  border: 1px solid rgba(193, 162, 122, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  z-index: 1000;
  transition: transform 0.3s ease, background-color 0.3s ease;
  text-decoration: none;
}

.floating-whatsapp::before {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  border-radius: 50%;
  background-color: rgba(193, 162, 122, 0.15);
  z-index: -1;
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.8);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.3);
    opacity: 0;
  }
}

.floating-whatsapp:hover {
  transform: scale(1.05);
  background-color: var(--color-black);
  color: var(--color-accent-warm);
}

@media (max-width: 768px) {
  .floating-whatsapp {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 50px;
    height: 50px;
    font-size: 1.8rem;
  }
}
