/*
 * GAM Website - Main Stylesheet
 * Using Tailwind CSS as primary design system
 * Only essential legacy styles are imported here
 */

/* Essential legacy compatibility */
.img-center {
  margin: 0 auto;
}

/* Flash messages */
.alert {
  padding: 0.75rem 1rem;
  border-radius: 0.25rem;
  margin-bottom: 1rem;
}

.alert-success {
  background-color: #dcfce7;
  border: 1px solid #4ade80;
  color: #15803d;
}

.alert-danger, .alert-error {
  background-color: #fef2f2;
  border: 1px solid #f87171;
  color: #b91c1c;
}

.alert-warning {
  background-color: #fefce8;
  border: 1px solid #facc15;
  color: #a16207;
}

.alert-info {
  background-color: #eff6ff;
  border: 1px solid #60a5fa;
  color: #1d4ed8;
}

/* Privacy Page Styles */
.privacy-card {
  background-color: #fff;
  border-radius: 0.75rem;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -4px rgba(0,0,0,.1);
  overflow: hidden;
}

.privacy-section {
  margin-bottom: 3rem;
}

/* Hero Section Subtle Typography */
.text-shadow {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.text-shadow-sm {
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

/* Outline White Button */
.btn-outline-white {
  padding: 0.75rem 1.5rem;
  border: 2px solid #fff;
  color: #fff;
  font-weight: 600;
  border-radius: 0.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.btn-outline-white:hover {
  background-color: #fff;
  color: #111827;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -4px rgba(0,0,0,.1);
}

/* Ghost Button */
.btn-ghost {
  padding: 0.75rem 1.5rem;
  color: #fff;
  font-weight: 600;
  border-radius: 0.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-ghost:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
}

/* Enhanced Ghost Button with better contrast */
.btn-ghost-enhanced {
  padding: 0.75rem 1.5rem;
  color: #fff;
  font-weight: 600;
  border-radius: 0.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  border: 2px solid rgba(255, 255, 255, 0.6);
  background-color: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 25px -5px rgba(0,0,0,.1), 0 8px 10px -6px rgba(0,0,0,.1);
}

.btn-ghost-enhanced:hover {
  background-color: #fff;
  color: #111827;
  border-color: #fff;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,.25);
}

/* Enhanced Shadow Effects */
.shadow-3xl {
  box-shadow: 0 35px 60px -12px rgba(0, 0, 0, 0.25);
}

/* Drop Shadow Utilities for Text Readability */
.drop-shadow-lg {
  filter: drop-shadow(2px 2px 8px rgba(0, 0, 0, 0.8));
}

.drop-shadow-md {
  filter: drop-shadow(1px 1px 4px rgba(0, 0, 0, 0.6));
}

/* Social proof toast (ProveSource replacement) */
.social-proof {
  position: fixed;
  left: 1.25rem;
  bottom: 1.25rem;
  z-index: 40;
  width: min(22.5rem, calc(100vw - 2.5rem));
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  transform: translateY(0.85rem);
  transition: opacity 280ms ease, transform 280ms ease;
}

.social-proof.is-visible {
  pointer-events: auto;
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.social-proof__card {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 1rem 1.15rem 1.05rem;
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12), 0 2px 8px rgba(15, 23, 42, 0.06);
}

.social-proof__medal {
  flex: 0 0 3.15rem;
  width: 3.15rem;
  height: 3.15rem;
  margin-top: 0.1rem;
}

.social-proof__medal-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.social-proof__body {
  min-width: 0;
  padding-top: 0.1rem;
}

.social-proof__company {
  margin: 0;
  color: #b54e38;
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.25;
}

.social-proof__action {
  margin: 0.05rem 0 0;
  color: #111827;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.3;
}

.social-proof__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.65rem;
  margin: 0.35rem 0 0;
  color: #9ca3af;
  font-size: 0.8rem;
  line-height: 1.2;
}

.social-proof__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
}

.social-proof__check {
  width: 0.9rem;
  height: 0.9rem;
  display: block;
}

.social-proof__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  margin-top: 0.45rem;
  color: #b54e38;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
}

.social-proof__cta:hover {
  color: #8d321c;
}

.social-proof__chevron {
  width: 0.95rem;
  height: 0.95rem;
  display: block;
}

@media (prefers-reduced-motion: reduce) {
  .social-proof {
    transition: none;
  }
}

/* Full-bleed photos on /servicios overview cards (overrides .service-card padding). */
#services-overview .service-card {
  padding: 0;
}

#services-overview .service-card img {
  object-fit: cover;
}

#services-overview .service-card--cab img {
  object-position: center 30%;
}
