html {
  direction: rtl;
  text-align: right;
}

body {
  font-family: 'Rubik', sans-serif;
  background-color: #131317;
  color: #e4e1e7;
  direction: rtl;
  text-align: right;
  overflow-x: hidden;
  scroll-behavior: smooth;
  width: 100%;
  max-width: 100vw;
}

.cursor-grab {
  cursor: grab;
}

.cursor-grabbing {
  cursor: grabbing;
  user-select: none;
}

/* Gold-Secondary gradient text for Guy Cohen brand */
.brand-gradient-text {
  background: linear-gradient(135deg, #f2ca50 0%, #e9c349 25%, #d4af37 50%, #efcb60 75%, #d0bcff 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Gold gradient for secondary elements */
.gold-gradient-text {
  background: linear-gradient(135deg, #f2ca50 0%, #e9c349 50%, #d4af37 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Secondary gradient for tertiary elements */
.secondary-gradient-text {
  background: linear-gradient(135deg, #d0bcff 0%, #c0a7ff 50%, #e9ddff 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Combined glow effect */
.brand-border-glow {
  box-shadow: 0 0 25px -5px rgba(242, 202, 80, 0.3), 0 0 25px -5px rgba(208, 188, 255, 0.3);
}

.gold-border-glow {
  box-shadow: 0 0 25px -5px rgba(242, 202, 80, 0.4);
}

.secondary-border-glow {
  box-shadow: 0 0 25px -5px rgba(208, 188, 255, 0.4);
}

.brand-glow-subtle {
  box-shadow: 0 0 15px rgba(242, 202, 80, 0.2), 0 0 15px rgba(208, 188, 255, 0.2);
}

/* Hide scrollbar for clean horizontal carousel */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}

.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Reveal animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
}

.reveal-delay-1 {
  animation-delay: 0.2s;
}

.reveal-delay-2 {
  animation-delay: 0.4s;
}

.reveal-delay-3 {
  animation-delay: 0.6s;
}

.reveal-delay-4 {
  animation-delay: 0.8s;
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal.active {
  display: flex;
  opacity: 1;
}

.modal.hidden {
  display: none !important;
}

.modal .bg-dark-800 {
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.modal.active .bg-dark-800 {
  transform: scale(1);
}

.loading-spinner {
  border: 3px solid rgba(168, 85, 247, 0.3);
  border-top: 3px solid #a855f7;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Smooth button transitions */
button, a {
  transition: all 0.2s ease;
}

/* Fixed vertical centering and smooth hover for carousel navigation arrows */
#carousel-prev,
#carousel-next {
  top: 50% !important;
  transform: translateY(-50%) !important;
}

#carousel-prev:hover,
#carousel-next:hover {
  transform: translateY(-50%) scale(1.1) !important;
}

#carousel-prev:active,
#carousel-next:active {
  transform: translateY(-50%) scale(0.95) !important;
}

/* Smooth accordion transitions */
[id$="-content"] {
  transition: all 0.3s ease;
}

/* Date chip smooth selection */
.date-chip {
  transition: all 0.2s ease;
}

.date-chip:hover {
  transform: translateY(-2px);
}

.date-chip:active {
  transform: scale(0.95);
}

/* Time chip smooth selection */
.time-chip {
  transition: all 0.2s ease;
}

.time-chip:hover:not(:disabled) {
  transform: translateY(-2px);
}

.time-chip:active:not(:disabled) {
  transform: scale(0.95);
}

/* Service card smooth selection */
.service-card {
  transition: all 0.2s ease;
}

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

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

/* Smooth scroll behavior for the whole page */
html {
  scroll-behavior: smooth;
}

/* Align service cards text to right */
.service-card {
  text-align: right;
}

.service-card .flex {
  justify-content: space-between;
}

/* ===== GUY COHEN BRAND — Purple-Blue accent overrides ===== */

/* Input focus rings */
input:focus, textarea:focus, select:focus {
  outline: none;
}

/* Hero ambient glow - purple-blue blend */
.hero-glow {
  background: radial-gradient(ellipse at center, rgba(168,85,247,0.08) 0%, rgba(59,130,246,0.06) 50%, transparent 70%);
}

/* Ambient background effects */
.ambient-purple {
  background: radial-gradient(circle at 20% 50%, rgba(168, 85, 247, 0.15) 0%, transparent 50%);
}

.ambient-blue {
  background: radial-gradient(circle at 80% 50%, rgba(59, 130, 246, 0.15) 0%, transparent 50%);
}

/* Scissor / barber decorative accent */
.brand-accent {
  color: #f2ca50;
}

/* Step number circles - gold-secondary gradient */
.step-circle {
  background: linear-gradient(135deg, #f2ca50, #d0bcff);
  color: #fff;
}

/* Step number circles - gold only */
.step-circle-gold {
  background: linear-gradient(135deg, #f2ca50, #e9c349);
  color: #fff;
}

/* Step number circles - secondary only */
.step-circle-secondary {
  background: linear-gradient(135deg, #d0bcff, #c0a7ff);
  color: #fff;
}

/* Booking form fields — elegant dark gold-secondary tint */
.form-field {
  background: #12121a;
  border: 1px solid rgba(242, 202, 80, 0.25);
  border-radius: 0.5rem;
  color: #f3f4f6;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-field:focus {
  border-color: #f2ca50;
  box-shadow: 0 0 0 2px rgba(242, 202, 80, 0.15);
}

/* Button gradients */
.btn-brand-gradient {
  background: linear-gradient(135deg, #f2ca50 0%, #e9c349 50%, #d0bcff 100%);
}

.btn-gold-gradient {
  background: linear-gradient(135deg, #f2ca50 0%, #e9c349 50%, #d4af37 100%);
}

.btn-secondary-gradient {
  background: linear-gradient(135deg, #d0bcff 0%, #c0a7ff 50%, #e9ddff 100%);
}

/* Card hover effects */
.card-brand-hover:hover {
  border-color: rgba(242, 202, 80, 0.5);
  box-shadow: 0 0 20px rgba(242, 202, 80, 0.2), 0 0 20px rgba(208, 188, 255, 0.2);
}

/* Animated gradient border */
@keyframes gradient-border {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.animated-gradient-border {
  background: linear-gradient(90deg, #f2ca50, #e9c349, #d0bcff, #f2ca50);
  background-size: 300% 300%;
  animation: gradient-border 8s ease infinite;
}

/* Pulse glow effect */
@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(242, 202, 80, 0.3), 0 0 20px rgba(208, 188, 255, 0.3);
  }
  50% {
    box-shadow: 0 0 30px rgba(242, 202, 80, 0.5), 0 0 30px rgba(208, 188, 255, 0.5);
  }
}

.pulse-glow {
  animation: pulse-glow 3s ease-in-out infinite;
}

/* Floating animation */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.float-animation {
  animation: float 4s ease-in-out infinite;
}

/* Shimmer effect */
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.shimmer {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  background-size: 200% 100%;
  animation: shimmer 2s infinite;
}

/* Button hover animation */
.btn-brand-gradient {
  position: relative;
  overflow: hidden;
}

.btn-brand-gradient::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn-brand-gradient:hover::before {
  left: 100%;
}

/* Ripple effect on click */
@keyframes ripple {
  0% {
    transform: scale(0);
    opacity: 1;
  }
  100% {
    transform: scale(4);
    opacity: 0;
  }
}

.ripple {
  position: relative;
  overflow: hidden;
}

.ripple::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.ripple:active::after {
  width: 300px;
  height: 300px;
}

/* Step container hover effect */
.step-container {
  transition: all 0.3s ease;
}

.step-container:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(168, 85, 247, 0.15), 0 10px 30px rgba(59, 130, 246, 0.15);
}

/* Gallery image zoom effect */
.group-hover/card\:scale-105 {
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Smooth scale on hover */
.scale-on-hover {
  transition: transform 0.3s ease;
}

.scale-on-hover:hover {
  transform: scale(1.05);
}

/* Animated background gradient */
@keyframes gradient-xy {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.animated-bg-gradient {
  background: linear-gradient(45deg, #0a0a0f, #12121a, #1a1a25, #12121a, #0a0a0f);
  background-size: 400% 400%;
  animation: gradient-xy 15s ease infinite;
}

/* Text glow animation */
@keyframes text-glow {
  0%, 100% {
    text-shadow: 0 0 10px rgba(242, 202, 80, 0.5), 0 0 20px rgba(242, 202, 80, 0.3);
  }
  50% {
    text-shadow: 0 0 20px rgba(242, 202, 80, 0.8), 0 0 40px rgba(242, 202, 80, 0.5), 0 0 60px rgba(208, 188, 255, 0.3);
  }
}

.text-glow-animated {
  animation: text-glow 3s ease-in-out infinite;
}

/* Border shimmer effect */
@keyframes border-shimmer {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

.border-shimmer {
  position: relative;
  background: linear-gradient(90deg, #f2ca50, #e9c349, #d0bcff, #f2ca50);
  background-size: 300% 300%;
  animation: border-shimmer 4s linear infinite;
}

.border-shimmer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: inherit;
  border-radius: inherit;
  padding: 2px;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

/* Magnetic button effect */
.magnetic-btn {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.magnetic-btn:hover {
  transform: scale(1.05);
}

/* Glass morphism with gold-secondary tint */
.glass-purple {
  background: rgba(242, 202, 80, 0.03);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(242, 202, 80, 0.08);
}

/* Neon text effect - very subtle */
.neon-text {
  text-shadow:
    0 0 1px rgba(242, 202, 80, 0.3),
    0 0 3px rgba(242, 202, 80, 0.2);
}

/* Spotlight effect on hover */
@keyframes spotlight {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.spotlight {
  position: relative;
  overflow: hidden;
}

.spotlight::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(242, 202, 80, 0.15), transparent 50%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.spotlight:hover::after {
  opacity: 1;
}
