/* Global Styles */
:root {
  --primary-color: #d4af37;
  --secondary-color: #8b0000;
  --accent-color: #f8f9fa;
  --text-color: #333;
  --light-bg: #fff;
  --dark-bg: #2c2c2c;
  --background-gradient: linear-gradient(135deg, #f5f5dc 0%, #fdf5e6 100%);
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  padding-bottom: 80px;
  background: var(--background-gradient);
  background-attachment: fixed;
  color: var(--text-color);
}

/* Custom styles for elements that don't have Tailwind equivalents */
.whatsapp-sticky {
  z-index: 1050;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

.section-title {
  position: relative;
  margin-bottom: 2rem;
  text-align: center;
  color: var(--secondary-color);
}

.section-title:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--primary-color);
}

.hero-carousel {
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 2rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.service-card {
  text-align: center;
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
}

footer {
  background-color: var(--dark-bg);
  color: white;
  padding: 2rem 0;
  margin-top: 3rem;
}

/* Animation keyframes */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translate3d(0, -20%, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes tada {
  0% {
    transform: scale3d(1, 1, 1);
  }
  10%, 20% {
    transform: scale3d(.9, .9, .9) rotate3d(0, 0, 1, -3deg);
  }
  30%, 50%, 70%, 90% {
    transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
  }
  40%, 60%, 80% {
    transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
  }
  100% {
    transform: scale3d(1, 1, 1);
  }
}

@keyframes slideInUp {
  from {
    transform: translate3d(0, 100%, 0);
    visibility: visible;
  }
  to {
    transform: translate3d(0, 0, 0);
  }
}

@keyframes swing {
  20% {
    transform: rotate3d(0, 0, 1, 15deg);
  }
  40% {
    transform: rotate3d(0, 0, 1, -10deg);
  }
  60% {
    transform: rotate3d(0, 0, 1, 5deg);
  }
  80% {
    transform: rotate3d(0, 0, 1, -5deg);
  }
  100% {
    transform: rotate3d(0, 0, 1, 0deg);
  }
}

/* Animation classes */
.animated {
  animation-duration: 1s;
  animation-fill-mode: both;
}

.animated.infinite {
  animation-iteration-count: infinite;
}

.animated.hinge {
  animation-duration: 2s;
}

.animated.fadeInDown {
  animation-name: fadeInDown;
}

.animated.bounce {
  animation-name: bounce;
  animation-duration: 2s;
  animation-iteration-count: infinite;
}

.animated.pulse {
  animation-name: pulse;
  animation-duration: 2s;
  animation-iteration-count: infinite;
}

.tada-hover {
  transition: transform 0.3s ease;
}

.tada-hover:hover {
  animation: tada 1s ease;
}

.slideInUp {
  animation-name: slideInUp;
  animation-duration: 0.5s;
  animation-fill-mode: both;
}

.swing {
  animation-name: swing;
  animation-duration: 1s;
  animation-fill-mode: both;
  animation-iteration-count: infinite;
}

/* Hover underline animation */
.hover-underline-animation {
  position: relative;
}

.hover-underline-animation:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -2px;
  left: 0;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

.hover-underline-animation:hover:after {
  width: 100%;
}