/* Roma Plugin Central - Base Styles */
:root {
  --roma-primary: #3b82f6;
  --roma-secondary: #8b5cf6;
  --roma-accent: #f43f5e;
  --roma-text-dark: #1f2937;
  --roma-text-light: #f9fafb;
  --roma-bg-light: #ffffff;
  --roma-bg-dark: #111827;
  --roma-glass-bg: rgba(255, 255, 255, 0.1);
  --roma-glass-border: rgba(255, 255, 255, 0.2);
  --roma-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --roma-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --roma-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --roma-radius: 12px;
  --roma-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Modern Hero Slider Styles */
.roma-hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: var(--roma-bg-dark); /* fallback */
}

.roma-hero-slide-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
  padding: 40px;
  box-sizing: border-box;
}

.roma-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.roma-hero-title {
  margin-bottom: 1rem;
  line-height: 1.2;
  color: white; /* default */
}

.roma-hero-subtitle {
  margin-bottom: 2rem;
  font-size: 1.25rem;
  opacity: 0.9;
  color: white; /* default */
}

.roma-hero-button {
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  transition: var(--roma-transition);
  background: var(--roma-primary);
  color: white;
  padding: 12px 30px;
  border-radius: 8px;
}

.roma-hero-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--roma-shadow-lg);
  color: white;
}

/* Swiper overrides */
.roma-hero-slider .swiper-button-next,
.roma-hero-slider .swiper-button-prev {
  color: white;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(5px);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  transition: var(--roma-transition);
}
.roma-hero-slider .swiper-button-next:hover,
.roma-hero-slider .swiper-button-prev:hover {
  background: rgba(255,255,255,0.3);
}

.roma-hero-slider .swiper-button-next::after,
.roma-hero-slider .swiper-button-prev::after {
  font-size: 20px;
}

/* Animations */
@keyframes fadeInDown {
  from { opacity: 0; transform: translate3d(0, -30px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translate3d(0, 30px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes zoomIn {
  from { opacity: 0; transform: scale3d(0.9, 0.9, 0.9); }
  to { opacity: 1; transform: scale3d(1, 1, 1); }
}

.animated {
  animation-duration: 1s;
  animation-fill-mode: both;
}

.fadeInDown {
  animation-name: fadeInDown;
}

.fadeInUp {
  animation-name: fadeInUp;
}

.zoomIn {
  animation-name: zoomIn;
}

/* Delay for staggered effect */
.swiper-slide-active .animate-title { animation-delay: 0.1s; }
.swiper-slide-active .animate-subtitle { animation-delay: 0.3s; }
.swiper-slide-active .animate-button { animation-delay: 0.5s; }

/* Hide initially before animation triggers */
.swiper-slide:not(.swiper-slide-active) .animate-title,
.swiper-slide:not(.swiper-slide-active) .animate-subtitle,
.swiper-slide:not(.swiper-slide-active) .animate-button {
  opacity: 0;
}
