/* assets/css/age.css   AGE (Al Janayin Global Enterprises) */

/* =========================   1) Theme Tokens========================= */

:root {
  --age-teal: #1a5f6a;
  --age-teal-mid: #2a7d8a;
  --age-teal-light: #d0e8eb;
  --age-teal-pale: #f0f8f9;
  --age-dark: #1c2b2d;
  --age-muted: #6b8a8e;
  --age-shadow: 0 12px 28px rgba(28,43,45,0.12);
  --age-radius: 16px;
}

/* =========================   2) Base========================= */

body {
  color: var(--age-dark);
}

a {
  color: var(--age-teal);
}

a:hover {
  color: var(--age-teal-mid);
}

.bg-age-dark {
  background: var(--age-dark) !important;
}

.bg-age-pale {
  background: var(--age-teal-pale) !important;
}

.text-age-muted {
  color: var(--age-muted) !important;
}

/* =========================   3) Spacing Helpers========================= */

.section-pad {
  padding-top: 80px;
  padding-bottom: 80px;
}

.section-pad-sm {
  padding-top: 48px;
  padding-bottom: 48px;
}

/* =========================   4) Buttons========================= */

/* Primary brand button (navbar + general CTAs) */

.btn-age {
  background-color: var(--age-teal);
  border-color: var(--age-teal);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(26,95,106,0.28);
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease;
}

.btn-age:hover {
  background-color: var(--age-teal-mid);
  border-color: var(--age-teal-mid);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(26,95,106,0.34);
}

.btn-age:focus {
  box-shadow: 0 0 0 0.25rem rgba(26,95,106,0.35);
}

/* Strong Hero CTA (guaranteed visible even if Bootstrap overrides) */

.btn-hero-primary {
  background-color: #ffffff !important;
  color: var(--age-dark) !important;
  border: 2px solid #ffffff !important;
  font-weight: 900;
  padding: 0.9rem 1.9rem;
  border-radius: 10px;
  box-shadow: 0 18px 45px rgba(0,0,0,0.45);
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease, color .2s ease;
}

.btn-hero-primary:hover {
  background-color: var(--age-teal) !important;
  border-color: var(--age-teal) !important;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 20px 55px rgba(0,0,0,0.55);
}

/* WhatsApp button */

.btn-whatsapp {
  background: #25D366;
  border: none;
  color: #fff;
  font-weight: 800;
  padding: 0.78rem 1.6rem;
  border-radius: 10px;
  box-shadow: 0 14px 34px rgba(0,0,0,0.35);
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.btn-whatsapp:hover {
  background: #1ebe5d;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.45);
}

/* Outline light improvements (hero secondary button) */

.btn-outline-light {
  border-width: 2px;
  font-weight: 800;
}

/* =========================   5) Badges / Tags========================= */

/* Service category tags: Design / Build / Water / Care / Supply / Shop */

.badge-age {
  background: var(--age-teal);
  color: #fff;
  font-weight: 800;
  padding: 0.35rem 0.65rem;
  border-radius: 8px;
  letter-spacing: .04em;
}

/* Project scope tags: Maintenance / Maintenance+Install */

.badge-project {
  background: rgba(26,95,106,0.14);
  color: var(--age-teal);
  border: 1px solid rgba(26,95,106,0.22);
  font-weight: 800;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
}

/* =========================   6) Cards========================= */

.age-card {
  border: 1px solid rgba(28,43,45,0.08);
  border-radius: var(--age-radius);
  transition: transform .18s ease, box-shadow .18s ease;
}

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

/* Hero glass card */

.age-glass {
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* =========================   7) Hero========================= */

.age-hero {
  position: relative;
  overflow: hidden;
  border-radius: 0;
}

.age-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
  filter: contrast(1.07) saturate(1.07);
}

.age-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient( 90deg, rgba(28,43,45,0.88) 0%, rgba(28,43,45,0.72) 45%, rgba(28,43,45,0.35) 100% );
}

.age-hero-content {
  position: relative;
  z-index: 2;
}

.age-kicker {
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  font-size: .85rem;
}

.age-hero h1 {
  color: #fff;
  text-shadow: 0 2px 18px rgba(0,0,0,0.35);
}

.age-hero p {
  color: rgba(255,255,255,0.88);
  text-shadow: 0 1px 10px rgba(0,0,0,0.25);
}

/* =========================   8) Footer========================= */

.footer-link {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
}

.footer-link:hover {
  color: #fff;
}

