/* Book by Text System Styles */

/* Sticky Mobile Bar */
.book-by-text-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, #4285f4 0%, #1a73e8 100%);
  color: white;
  padding: 12px;
  display: none;
  z-index: 9999;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
  animation: slideUp 0.5s ease-out;
}

@media (max-width: 768px) {
  .book-by-text-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
  }
}

.book-by-text-bar .text-icon {
  font-size: 24px;
  animation: pulse 2s infinite;
}

.book-by-text-bar .text-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.book-by-text-bar .text-number {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.book-by-text-bar .text-action {
  font-size: 0.85rem;
  opacity: 0.9;
}

/* Book by Text Buttons */
.book-text-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: white;
  padding: 15px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
  position: relative;
  overflow: hidden;
}

.book-text-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
}

.book-text-btn::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.6s ease;
}

.book-text-btn:hover::before {
  left: 100%;
}

.book-text-btn .text-icon {
  font-size: 1.3rem;
  animation: wiggle 2s ease-in-out infinite;
}

/* Hero Text-to-Book Section */
.hero-text-booking {
  background: rgba(255,255,255,0.95);
  border-radius: 20px;
  padding: 25px;
  margin: 30px 0;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  border: 3px solid #25d366;
  position: relative;
}

.hero-text-booking::before {
  content: '🔥 NEW!';
  position: absolute;
  top: -15px;
  right: 20px;
  background: #ff6b35;
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: bold;
  animation: bounce 2s infinite;
}

.hero-text-booking h3 {
  color: #3b3d3a;
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.hero-text-booking .phone-number {
  font-size: 2.2rem;
  font-weight: 700;
  color: #25d366;
  margin: 15px 0;
  letter-spacing: 2px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.hero-text-booking .keywords {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
}

.hero-text-booking .keyword-badge {
  background: #f0f0f0;
  padding: 8px 16px;
  border-radius: 25px;
  font-size: 0.95rem;
  color: #666;
  border: 2px solid #e0e0e0;
  transition: all 0.3s ease;
}

.hero-text-booking .keyword-badge:hover {
  background: #25d366;
  color: white;
  border-color: #25d366;
  transform: scale(1.05);
}

/* Service Page Text Prompts */
.text-prompt-card {
  background: linear-gradient(135deg, #f8f9fa 0%, #e8f0fe 100%);
  border-left: 5px solid #25d366;
  padding: 20px;
  margin: 20px 0;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
}

.text-prompt-card::after {
  content: '📱';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 3rem;
  opacity: 0.1;
}

.text-prompt-card h4 {
  color: #128c7e;
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.text-prompt-card .prompt-example {
  background: white;
  padding: 12px 20px;
  border-radius: 8px;
  display: inline-block;
  margin: 10px 0;
  font-family: 'Courier New', monospace;
  font-size: 1.1rem;
  color: #25d366;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Floating Text Button (Desktop) */
.floating-text-btn {
  position: fixed;
  right: 30px;
  bottom: 30px;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: white;
  padding: 15px 20px;
  border-radius: 50px;
  box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
  z-index: 9998;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  transition: all 0.3s ease;
  animation: floatButton 3s ease-in-out infinite;
}

.floating-text-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

@media (max-width: 768px) {
  .floating-text-btn {
    display: none;
  }
}

/* Animations */
@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

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

@keyframes wiggle {
  0%, 100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(-10deg);
  }
  75% {
    transform: rotate(10deg);
  }
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes floatButton {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Text-to-Book Info Section */
.text-booking-info {
  background: rgba(37, 211, 102, 0.05);
  border: 2px dashed #25d366;
  padding: 20px;
  border-radius: 15px;
  margin: 30px 0;
  text-align: center;
}

.text-booking-info h3 {
  color: #128c7e;
  margin-bottom: 15px;
}

.text-booking-info .steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.text-booking-info .step {
  background: white;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.text-booking-info .step-number {
  background: #25d366;
  color: white;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin-bottom: 10px;
}

/* Highlight Animation for New Feature */
.new-feature-highlight {
  animation: highlightPulse 2s ease-in-out infinite;
}

@keyframes highlightPulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
}