/* Home Page Custom Styles */
:root {
  --background: 0 0% 100%;
  --foreground: 210 24% 16%;
  --card: 0 0% 100%;
  --card-foreground: 210 24% 16%;
  --popover: 0 0% 100%;
  --popover-foreground: 210 24% 16%;
  --primary: 210 100% 12%;
  --primary-foreground: 0 0% 100%;
  --secondary: 210 16% 93%;
  --secondary-foreground: 210 24% 16%;
  --muted: 210 16% 96%;
  --muted-foreground: 210 12% 47%;
  --accent: 25 95% 53%;
  --accent-foreground: 0 0% 100%;
  --destructive: 0 72% 51%;
  --destructive-foreground: 0 0% 100%;
  --border: 210 18% 89%;
  --input: 210 18% 89%;
  --ring: 210 100% 12%;
  
  /* Industrial theme colors */
  --industrial-primary: 210 100% 12%;
  --industrial-secondary: 210 50% 25%;
  --industrial-accent: 25 95% 53%;
  --industrial-success: 142 71% 45%;
  --industrial-warning: 38 92% 50%;
  --industrial-danger: 0 72% 51%;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--industrial-secondary)));
  --gradient-hero: linear-gradient(135deg, hsl(var(--primary)) 0%, hsl(var(--industrial-secondary)) 100%);
  --gradient-accent: linear-gradient(135deg, hsl(var(--accent)), hsl(var(--industrial-warning)));
  
  /* Shadows */
  --shadow-elegant: 0 10px 30px -10px hsl(var(--primary) / 0.2);
  --shadow-card: 0 4px 20px -4px hsl(var(--primary) / 0.1);
  --shadow-glow: 0 0 30px hsl(var(--accent) / 0.3);
  
  /* Animations */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --radius: 0.5rem;
}

/* Hero Section */
.hero-section {
  position: relative;
  overflow: hidden;
  background: var(--gradient-hero);
  color: white;
  min-height: 50vh;
  display: flex;
  align-items: center;
  padding: 60px 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.hero-background {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  opacity: 0.9;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  width: 100%;
  box-sizing: border-box;
}

.hero-title {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.2rem;
}

.hero-accent {
  color: hsl(var(--accent));
}

.hero-subtitle {
  font-size: 1.25rem;
  opacity: 0.9;
  margin-bottom: 1.5rem;
  max-width: 600px;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.stat-item {
  text-align: center;
}

.stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: hsl(var(--accent));
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.875rem;
  opacity: 0.7;
}

/* Feature Cards */
.feature-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.5rem;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.feature-card:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
}

.feature-icon {
  width: 3rem;
  height: 3rem;
  background: var(--gradient-primary);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.feature-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.feature-description {
  font-size: 0.875rem;
  opacity: 0.8;
}

/* Live Activity Section */
.activity-card {
  background: white;
  border: 1px solid hsl(var(--border));
  border-radius: 0.5rem;
  padding: 1rem;
  transition: all 0.3s ease;
}

.activity-card:hover {
  box-shadow: var(--shadow-card);
}

.activity-icon {
  width: 2.5rem;
  height: 2.5rem;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.live-badge {
  background: rgba(34, 197, 94, 0.1);
  color: hsl(var(--industrial-success));
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.live-dot {
  width: 0.5rem;
  height: 0.5rem;
  background: hsl(var(--industrial-success));
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* Testimonials */
.testimonial-card {
  background: white;
  border: 1px solid hsl(var(--border));
  border-radius: 0.5rem;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  box-shadow: var(--shadow-elegant);
  transform: translateY(-2px);
}

.star-rating {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.star {
  color: hsl(var(--accent));
  fill: currentColor;
}

/* CTA Section */
.cta-section {
  background: var(--gradient-hero);
  color: white;
  padding: 5rem 0;
  text-align: center;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.cta-description {
  font-size: 1.25rem;
  opacity: 0.8;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
.footer {
  background: hsl(var(--card));
  border-top: 1px solid hsl(var(--border));
  padding: 3rem 0;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.footer-brand-icon {
  width: 1.5rem;
  height: 1.5rem;
  background: var(--gradient-primary);
  border-radius: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: hsl(var(--muted-foreground));
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: hsl(var(--foreground));
}

/* Buttons */
.btn-primary {
  background: var(--gradient-primary);
  color: white;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border: 1px solid hsl(var(--border));
  color: hsl(var(--foreground));
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background: hsl(var(--muted));
  transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-section {
    min-height: auto;
    padding: 30px 0 60px 0;
  }
  
  .hero-content {
    padding: 0 15px;
    width: 100%;
    max-width: 100% !important;
    box-sizing: border-box;
  }
  
  .hero-content .row {
    margin: 0;
    align-items: flex-start;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  
  .hero-content .row > [class*="col-"] {
    margin-bottom: 2rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .hero-title {
    font-size: 1.5rem;
    line-height: 1.3;
    margin-bottom: 1rem;
    text-align: center;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    white-space: normal;
    overflow: visible;
  }
  
  .hero-title .hero-accent {
    font-size: 1.5rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  
  .hero-title .fs-4 {
    font-size: 1.1rem !important;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  
  .hero-content .col-lg-4 {
    width: 100%;
    max-width: 100%;
  }
  
  .hero-subtitle {
    font-size: 1rem;
    text-align: center;
    margin-bottom: 1.5rem;
    padding: 0 10px;
    max-width: 100% !important;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    white-space: normal;
    overflow: visible;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
    width: 100%;
  }
  
  .hero-buttons .btn-primary,
  .hero-buttons .btn-secondary {
    width: 100%;
    justify-content: center;
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
  }
  
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .cta-title {
    font-size: 2rem;
  }
  
  /* Virtual Fair Mobile Styles */
  .virtual-fair-hero-container {
    margin-top: 1.5rem;
    padding: 1rem !important;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  
  .virtual-fair-hero-container h3 {
    font-size: 1rem !important;
    line-height: 1.4;
    margin-bottom: 0.75rem !important;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    white-space: normal;
    overflow: visible;
    max-width: 100%;
  }
  
  .virtual-fair-hero-container p {
    font-size: 0.85rem !important;
    margin-bottom: 1rem !important;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    white-space: normal;
    overflow: visible;
    max-width: 100%;
  }
  
  .virtual-fair-container {
    margin: 0 !important;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  
  .virtual-fair-container .ratio {
    height: 250px !important;
    border-radius: 0.5rem !important;
    width: 100%;
    max-width: 100%;
  }
  
  .virtual-fair-overlay {
    border-radius: 0.5rem !important;
  }
  
  .virtual-fair-overlay i {
    font-size: 2rem !important;
  }
  
  .virtual-fair-overlay p {
    font-size: 0.75rem !important;
    padding: 0 10px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    white-space: normal;
    overflow: visible;
    max-width: 100%;
    line-height: 1.3;
  }
  
  .col-lg-8 {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
    flex: 0 0 100%;
  }
  
  .col-lg-4 {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100%;
  }
  
  .virtual-fair-hero-container .mt-4 {
    margin-top: 1.5rem !important;
  }
  
  .virtual-fair-hero-container .badge {
    font-size: 0.75rem;
    padding: 0.5rem 0.75rem !important;
  }
  
  .virtual-fair-hero-container .btn-sm {
    font-size: 0.75rem;
    padding: 0.5rem 0.75rem;
  }
}

/* Extra small devices (phones in portrait, less than 576px) */
@media (max-width: 575.98px) {
  .hero-section {
    padding: 20px 0 50px 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  
  .hero-content {
    padding: 0 10px;
    width: 100%;
    max-width: 100%;
  }
  
  .hero-title {
    font-size: 1.3rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    max-width: 100%;
  }
  
  .hero-title .hero-accent {
    font-size: 1.3rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  
  .hero-title .fs-4 {
    font-size: 1rem !important;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  
  .hero-subtitle {
    font-size: 0.9rem;
    padding: 0 5px;
    max-width: 100% !important;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    overflow: visible;
  }
  
  .hero-buttons .btn-primary,
  .hero-buttons .btn-secondary {
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
    width: 100%;
    max-width: 100%;
  }
  
  .virtual-fair-hero-container {
    padding: 0.75rem !important;
    width: 100%;
    max-width: 100%;
  }
  
  .virtual-fair-hero-container h3 {
    font-size: 0.9rem !important;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    max-width: 100%;
  }
  
  .virtual-fair-hero-container p {
    font-size: 0.8rem !important;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    max-width: 100%;
  }
  
  .virtual-fair-container {
    width: 100%;
    max-width: 100%;
  }
  
  .virtual-fair-container .ratio {
    height: 200px !important;
    width: 100%;
    max-width: 100%;
  }
  
  .virtual-fair-hero-container .badge {
    font-size: 0.7rem;
    padding: 0.4rem 0.6rem !important;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  
  .virtual-fair-hero-container .btn-sm {
    font-size: 0.7rem;
    padding: 0.4rem 0.6rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  
  .virtual-fair-overlay p {
    font-size: 0.7rem !important;
    padding: 0 8px !important;
  }
}

/* Wave SVG */
.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4rem;
}

.hero-wave svg {
  width: 100%;
  height: 100%;
}

/* Utility Classes */
.text-accent {
  color: hsl(var(--accent));
}

.text-muted {
  color: hsl(var(--muted-foreground));
}

.bg-muted {
  background: hsl(var(--muted));
}

.border-border {
  border-color: hsl(var(--border));
}

.shadow-card {
  box-shadow: var(--shadow-card);
}

.shadow-elegant {
  box-shadow: var(--shadow-elegant);
}

.transition-all {
  transition: all 0.3s ease;
}

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

.hover\:shadow-card:hover {
  box-shadow: var(--shadow-card);
}

.hover\:shadow-elegant:hover {
  box-shadow: var(--shadow-elegant);
} 