/**
 * Custom styles — patterns and subtle decorative overlays.
 * Tailwind handles most layout; these complement the brand assets.
 */

.pattern-section {
  position: relative;
  overflow: hidden;
}

.pattern-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../assets/pattren2.png');
  background-size: 400px;
  background-repeat: repeat;
  opacity: 0.06;
  pointer-events: none;
  z-index: 0;
}

.pattern-section-alt::before {
  background-image: url('../assets/pattren 1.png');
  opacity: 0.05;
}

.pattern-section > * {
  position: relative;
  z-index: 1;
}

.hero-pattern {
  position: relative;
  overflow: hidden;
}

.hero-pattern::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../assets/pattren 1.png');
  background-size: 350px;
  background-repeat: repeat;
  opacity: 0.07;
  pointer-events: none;
}

.hero-pattern > * {
  position: relative;
  z-index: 1;
}

.font-arabic {
  font-family: 'Noto Sans Arabic', 'Inter', system-ui, sans-serif;
}

/* Smooth focus rings matching brand */
:focus-visible {
  outline: 2px solid #ed2128;
  outline-offset: 2px;
}

/* Contact card hover lift */
.contact-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-card:active {
  transform: scale(0.98);
}

@media (hover: hover) {
  .contact-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -8px rgba(129, 0, 71, 0.2);
  }
}
