/* Custom CSS for Irish China Sourcing Website */

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Custom hover effects */
.hover-scale:hover {
  transform: scale(1.05);
  transition: transform 0.2s ease-in-out;
}

/* Consultation button animations */
.consultation-btn {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.consultation-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(230, 126, 34, 0.3);
}

.consultation-btn:active {
  transform: translateY(0);
  box-shadow: 0 5px 15px rgba(230, 126, 34, 0.3);
}

/* Loading animation for forms */
.loading {
  position: relative;
}

.loading::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  margin: auto;
  border: 2px solid transparent;
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 1s ease infinite;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

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

/* Custom gradient backgrounds */
.gradient-irish {
  background: linear-gradient(135deg, #1A472A 0%, #2C3E50 100%);
}

.gradient-innovation {
  background: linear-gradient(135deg, #E67E22 0%, #D35400 100%);
}

/* Testimonial cards */
.testimonial-card {
  background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* Service cards */
.service-card {
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.service-card:hover {
  border-color: #E67E22;
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(230, 126, 34, 0.15);
}

/* Mobile menu animations */
.mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.mobile-menu.active {
  max-height: 300px;
}

/* Form focus states */
.form-input:focus {
  outline: none;
  border-color: #1A472A;
  box-shadow: 0 0 0 3px rgba(26, 71, 42, 0.1);
}

/* Success message */
.success-message {
  background-color: #d4edda;
  border-color: #c3e6cb;
  color: #155724;
  padding: 12px 16px;
  border-radius: 6px;
  border: 1px solid;
  margin-bottom: 16px;
}

/* Error message */
.error-message {
  background-color: #f8d7da;
  border-color: #f5c6cb;
  color: #721c24;
  padding: 12px 16px;
  border-radius: 6px;
  border: 1px solid;
  margin-bottom: 16px;
}

/* Stats counters */
.stat-number {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 2.5rem;
  line-height: 1;
}

/* Country flags */
.flag-ireland {
  background: linear-gradient(to right, #009639 33%, #ffffff 33%, #ffffff 66%, #ff7900 66%);
  display: inline-block;
  width: 20px;
  height: 14px;
  border-radius: 2px;
}

.flag-mexico {
  background: linear-gradient(to right, #006341 33%, #ffffff 33%, #ffffff 66%, #ce1126 66%);
  display: inline-block;
  width: 20px;
  height: 14px;
  border-radius: 2px;
}

/* WhatsApp button styling */
.whatsapp-btn {
  background-color: #25D366;
  color: white;
  border: none;
  border-radius: 50px;
  padding: 12px 24px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.whatsapp-btn:hover {
  background-color: #128C7E;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

/* Progress indicators */
.progress-step {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  position: relative;
}

.progress-step.active {
  background-color: #1A472A;
  color: white;
}

.progress-step.completed {
  background-color: #E67E22;
  color: white;
}

.progress-step.pending {
  background-color: #f8f9fa;
  border: 2px solid #dee2e6;
  color: #6c757d;
}

/* Scroll to top button */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #1A472A;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background-color: #E67E22;
  transform: translateY(-3px);
}

/* Language switcher */
.lang-switcher {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 6px 12px;
  transition: all 0.3s ease;
}

.lang-switcher:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

/* Custom checkbox styling */
.custom-checkbox {
  appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid #1A472A;
  border-radius: 3px;
  position: relative;
  cursor: pointer;
}

.custom-checkbox:checked {
  background-color: #1A472A;
}

.custom-checkbox:checked::after {
  content: '✓';
  position: absolute;
  color: white;
  font-size: 12px;
  top: -2px;
  left: 2px;
}

/* Responsive utilities */
@media (max-width: 768px) {
  .stat-number {
    font-size: 2rem;
  }
  
  .mobile-only {
    display: block;
  }
  
  .desktop-only {
    display: none;
  }
  
  .consultation-btn {
    width: 100%;
    margin-bottom: 16px;
  }
}

@media (min-width: 769px) {
  .mobile-only {
    display: none;
  }
  
  .desktop-only {
    display: block;
  }
}

/* Print styles */
@media print {
  .no-print {
    display: none;
  }
  
  .bg-gradient-to-r,
  .bg-gradient-to-br {
    background: #2C3E50 !important;
    color: white !important;
  }
}