:root {
  --color-primary: #2C1810;
  --color-secondary: #4A2C20;
  --color-accent: #DC2626;
}

html { 
  scroll-behavior: smooth; 
  scroll-padding-top: 5rem; 
}

body { 
  font-family: 'Urbanist', system-ui, sans-serif; 
}

/* Button fixes */
button, .btn, [class*="btn-"], a[href="#consultation_form"] {
  white-space: nowrap;
  min-width: fit-content;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

form button[type="submit"] {
  white-space: normal;
  width: 100%;
}

/* Animations */
[data-animate] {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateX(0);
}

.rotate-180 { 
  transform: rotate(180deg); 
}

/* Form styling */
.form-input {
  @apply w-full px-4 py-3 border border-gray-300 rounded-full focus:ring-2 focus:ring-accent focus:border-transparent;
}

.form-textarea {
  @apply w-full px-4 py-3 border border-gray-300 rounded-3xl focus:ring-2 focus:ring-accent focus:border-transparent;
}

.form-checkbox {
  @apply w-4 h-4 text-accent border-gray-300 rounded focus:ring-accent;
}

/* Decorative elements */
.decor-grid-dots {
  background-image: radial-gradient(circle, currentColor 1px, transparent 1px);
  background-size: 20px 20px;
}

.decor-grid-lines {
  background-image: 
    linear-gradient(currentColor 1px, transparent 1px),
    linear-gradient(90deg, currentColor 1px, transparent 1px);
  background-size: 20px 20px;
}

.decor-diagonal {
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    currentColor 10px,
    currentColor 11px
  );
}

.decor-mesh {
  background: radial-gradient(ellipse at top, currentColor, transparent 50%);
}

.decor-subtle { opacity: 0.05; }
.decor-moderate { opacity: 0.1; }
.decor-bold { opacity: 0.2; }

.decor-gradient-blur::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at center, var(--color-accent), transparent 70%);
  filter: blur(40px);
  opacity: 0.1;
  pointer-events: none;
}

.decor-corner-tr::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: linear-gradient(-135deg, var(--color-accent), transparent);
  opacity: 0.1;
  pointer-events: none;
}

.decor-corner-bl::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100px;
  height: 100px;
  background: linear-gradient(45deg, var(--color-accent), transparent);
  opacity: 0.1;
  pointer-events: none;
}

.decor-glow-element {
  position: relative;
}

.decor-glow-element::before {
  content: '';
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle, var(--color-accent), transparent 70%);
  filter: blur(20px);
  opacity: 0.15;
  pointer-events: none;
  z-index: -1;
}

/* Custom shadows */
.shadow-accent {
  box-shadow: 0 10px 25px -3px rgba(220, 38, 38, 0.1), 0 4px 6px -2px rgba(220, 38, 38, 0.05);
}

.shadow-accent-lg {
  box-shadow: 0 20px 25px -5px rgba(220, 38, 38, 0.1), 0 10px 10px -5px rgba(220, 38, 38, 0.04);
}

/* Article content */
.article-content h2 {
  @apply text-2xl md:text-3xl font-bold text-gray-900 mb-4 mt-8;
}

.article-content h3 {
  @apply text-xl md:text-2xl font-bold text-gray-900 mb-3 mt-6;
}

.article-content p {
  @apply text-gray-700 leading-relaxed mb-4;
}

.article-content ul, .article-content ol {
  @apply text-gray-700 mb-4 pl-6;
}

.article-content li {
  @apply mb-2;
}

.article-content strong {
  @apply font-semibold text-gray-900;
}

.article-content em {
  @apply italic;
}

.article-content blockquote {
  @apply border-l-4 border-accent bg-gray-50 p-4 my-6 rounded-r-lg;
}

.article-content img {
  @apply rounded-3xl shadow-lg mb-6;
}