/* Base styles */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  min-height: 100vh;
}

/* Custom color utilities */
.text-plum-200 { color: #fbcfe8; }
.text-plum-300 { color: #f9a8d4; }
.text-plum-400 { color: #f472b6; }
.text-plum-500 { color: #db2777; }
.text-plum-600 { color: #be185d; }
.text-plum-700 { color: #9d174d; }
.text-plum-800 { color: #831443; }
.text-plum-900 { color: #500724; }
.text-plum-950 { color: #340617; }

.bg-plum-800 { background-color: #831443; }
.bg-plum-900 { background-color: #500724; }
.bg-plum-950 { background-color: #340617; }
.bg-plum-900\/60 { background-color: rgba(80, 7, 36, 0.6); }
.bg-plum-900\/80 { background-color: rgba(80, 7, 36, 0.8); }
.bg-plum-900\/98 { background-color: rgba(80, 7, 36, 0.98); }
.bg-plum-800\/50 { background-color: rgba(131, 20, 67, 0.5); }
.bg-plum-800\/60 { background-color: rgba(131, 20, 67, 0.6); }
.bg-plum-800\/80 { background-color: rgba(131, 20, 67, 0.8); }
.bg-plum-700\/40 { background-color: rgba(157, 23, 77, 0.4); }
.bg-plum-700\/50 { background-color: rgba(157, 23, 77, 0.5); }
.bg-plum-600\/50 { background-color: rgba(190, 24, 93, 0.5); }
.bg-amber-500\/15 { background-color: rgba(255, 179, 0, 0.15); }
.bg-amber-500\/25 { background-color: rgba(255, 179, 0, 0.25); }
.bg-amber-500\/5 { background-color: rgba(255, 179, 0, 0.05); }
.bg-amber-500\/8 { background-color: rgba(255, 179, 0, 0.08); }
.bg-amber-500\/10 { background-color: rgba(255, 179, 0, 0.1); }
.bg-amber-400\/5 { background-color: rgba(255, 202, 80, 0.05); }

.border-plum-600\/50 { border-color: rgba(190, 24, 93, 0.5); }
.border-plum-700\/40 { border-color: rgba(157, 23, 77, 0.4); }
.border-plum-700\/50 { border-color: rgba(157, 23, 77, 0.5); }
.border-plum-800\/50 { border-color: rgba(80, 7, 36, 0.5); }
.border-amber-500\/30 { border-color: rgba(255, 179, 0, 0.3); }
.border-amber-500\/40 { border-color: rgba(255, 179, 0, 0.4); }
.border-amber-500\/20 { border-color: rgba(255, 179, 0, 0.2); }

/* Fixed background decorative shapes */
.bg-shapes {
  z-index: 0;
}

.shape-circle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.4;
}

.shape-circle.shape-1 {
  width: 300px;
  height: 300px;
  top: 15%;
  left: -80px;
  background: radial-gradient(circle, rgba(255, 179, 0, 0.08) 0%, transparent 70%);
  animation: float-slow 20s ease-in-out infinite;
}

.shape-circle.shape-2 {
  width: 200px;
  height: 200px;
  top: 45%;
  right: -40px;
  background: radial-gradient(circle, rgba(190, 24, 93, 0.12) 0%, transparent 70%);
  animation: float-slow 15s ease-in-out infinite reverse;
}

.shape-circle.shape-3 {
  width: 150px;
  height: 150px;
  bottom: 20%;
  left: 10%;
  background: radial-gradient(circle, rgba(255, 202, 80, 0.06) 0%, transparent 70%);
  animation: float-slow 18s ease-in-out infinite;
}

.shape-circle.shape-4 {
  width: 100px;
  height: 100px;
  top: 70%;
  right: 20%;
  background: radial-gradient(circle, rgba(190, 24, 93, 0.1) 0%, transparent 70%);
  animation: float-slow 12s ease-in-out infinite reverse;
}

.shape-rect {
  position: absolute;
  opacity: 0.3;
}

.shape-rect.shape-5 {
  width: 80px;
  height: 80px;
  top: 30%;
  right: 10%;
  border: 1px solid rgba(255, 179, 0, 0.15);
  transform: rotate(45deg);
  animation: float-slow 22s ease-in-out infinite;
}

.shape-triangle {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0.2;
}

.shape-triangle.shape-2 {
  top: 60%;
  left: 5%;
  border-left: 40px solid transparent;
  border-right: 40px solid transparent;
  border-bottom: 70px solid rgba(255, 179, 0, 0.06);
  animation: float-slow 16s ease-in-out infinite reverse;
}

.shape-diamond {
  position: absolute;
  width: 60px;
  height: 60px;
  opacity: 0.2;
}

.shape-diamond.shape-3 {
  bottom: 30%;
  right: 5%;
  border: 1px solid rgba(190, 24, 93, 0.2);
  transform: rotate(45deg);
  animation: float-slow 14s ease-in-out infinite;
}

@keyframes float-slow {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33% { transform: translateY(-20px) rotate(2deg); }
  66% { transform: translateY(10px) rotate(-1deg); }
}

/* Scroll reveal animations */
.scroll-reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: no-preference) {
  .scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
  }

  .scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile menu link styles */
.mobile-link {
  display: block;
  padding: 0.5rem 0;
}

/* Select dropdown styling */
select option {
  background-color: #500724;
  color: #fbcfe8;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #340617;
}

::-webkit-scrollbar-thumb {
  background: #831443;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #9d174d;
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid #ffb300;
  outline-offset: 2px;
  border-radius: 4px;
}

/* Header scroll state */
header.scrolled {
  background: rgba(52, 6, 23, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(131, 20, 67, 0.3);
}

/* Selection color */
::selection {
  background: rgba(255, 179, 0, 0.3);
  color: #fff;
}
