/* Custom Design Tokens & Enhancements for Emirates Shipping Line (emiratesline.com.sa) */
:root {
  --esl-navy: #0b1a30;
  --esl-navy-dark: #07101e;
  --esl-navy-light: #162a4d;
  --esl-blue: #0a66c2;
  --esl-blue-hover: #084e96;
  --esl-cyan: #0284c7;
  --esl-cyan-light: #e0f2fe;
  --esl-gold: #f59e0b;
  --esl-gold-soft: #fef3c7;
  --esl-surface: #f8fafc;
  --esl-card-border: #e2e8f0;
  --esl-text-main: #1e293b;
  --esl-text-muted: #64748b;
  --esl-font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --esl-font-heading: 'Outfit', 'Plus Jakarta Sans', sans-serif;
}

body {
  font-family: var(--esl-font-sans);
  color: var(--esl-text-main);
  background-color: var(--esl-surface);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .navbar-brand {
  font-family: var(--esl-font-heading);
  letter-spacing: -0.02em;
}

/* Navbar Styling */
.esl-navbar {
  background: rgba(11, 26, 48, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.esl-navbar .nav-link {
  color: #cbd5e1;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.esl-navbar .nav-link:hover,
.esl-navbar .nav-link.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, #0a66c2 0%, #0284c7 100%);
  color: white;
  border-radius: 10px;
  font-size: 1.25rem;
  box-shadow: 0 4px 12px rgba(10, 102, 194, 0.35);
}

/* Hero Full Image with Text Overlay */
.hero-under-construction-overlay {
  position: relative;
  flex: 1;
  min-height: calc(100vh - 72px);
  background-image: url('../images/under-construction.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-under-construction-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(11, 26, 48, 0.45) 0%, rgba(7, 16, 30, 0.75) 100%);
  z-index: 1;
}

.hero-overlay-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
  color: #ffffff;
}

.hero-overlay-title {
  font-family: var(--esl-font-heading);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.75), 0 2px 10px rgba(0, 0, 0, 0.5);
  margin-bottom: 0;
}

/* Status Pulsing Dot */
.pulse-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #fbbf24;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #f59e0b;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7);
  animation: pulse-ring 1.8s infinite;
}

@keyframes pulse-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(245, 158, 11, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(245, 158, 11, 0);
  }
}

/* Image Showcase Card */
.construction-image-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.15);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.construction-image-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.25);
}

.construction-image-card img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.construction-image-card:hover img {
  transform: scale(1.02);
}

.image-floating-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: rgba(11, 26, 48, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 12px 16px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Countdown Unit */
.countdown-box {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 12px 14px;
  min-width: 75px;
  text-align: center;
}

.countdown-box .number {
  font-size: 1.75rem;
  font-weight: 700;
  font-family: var(--esl-font-heading);
  line-height: 1.1;
  color: #ffffff;
}

.countdown-box .label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #94a3b8;
  margin-top: 2px;
}

/* Cards & Sections */
.esl-card {
  background: #ffffff;
  border: 1px solid var(--esl-card-border);
  border-radius: 16px;
  padding: 24px;
  transition: all 0.3s ease;
}

.esl-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.08);
}

.feature-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.icon-blue {
  background: rgba(10, 102, 194, 0.1);
  color: var(--esl-blue);
}

.icon-cyan {
  background: rgba(2, 132, 199, 0.1);
  color: var(--esl-cyan);
}

.icon-amber {
  background: rgba(245, 158, 11, 0.1);
  color: var(--esl-gold);
}

.icon-emerald {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
}

/* Sticky Privacy TOC */
.privacy-toc-card {
  position: sticky;
  top: 90px;
  background: #ffffff;
  border: 1px solid var(--esl-card-border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.privacy-toc-card .list-group-item {
  border: none;
  padding: 0.65rem 1rem;
  font-size: 0.88rem;
  color: #475569;
  border-left: 3px solid transparent;
  transition: all 0.15s ease;
}

.privacy-toc-card .list-group-item:hover {
  background-color: #f1f5f9;
  color: var(--esl-blue);
  border-left-color: var(--esl-blue);
}

.privacy-toc-card .list-group-item.active {
  background-color: #e0f2fe;
  color: #0369a1;
  font-weight: 600;
  border-left-color: #0284c7;
}

/* Privacy Section Styling */
.privacy-section-anchor {
  scroll-margin-top: 100px;
}

.privacy-section-card {
  background: #ffffff;
  border: 1px solid var(--esl-card-border);
  border-radius: 16px;
  padding: 28px;
  margin-bottom: 24px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
  transition: border-color 0.2s ease;
}

.privacy-section-card:hover {
  border-color: #cbd5e1;
}

.section-badge-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: #e2e8f0;
  color: #334155;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  margin-right: 12px;
}

/* Contact Box */
.contact-highlight-card {
  background: linear-gradient(135deg, #f0f7ff 0%, #e0f2fe 100%);
  border: 1px solid #bfdbfe;
  border-radius: 16px;
  padding: 24px;
}

/* Footer Styling */
.esl-footer {
  background: var(--esl-navy);
  color: #94a3b8;
  padding: 3.5rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.esl-footer h5 {
  color: #ffffff;
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
}

.esl-footer a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.2s ease;
}

.esl-footer a:hover {
  color: #38bdf8;
  text-decoration: underline;
}

/* Print Styles */
@media print {
  .esl-navbar, .esl-footer, .privacy-toc-card, .btn-print-hide {
    display: none !important;
  }
  body {
    background: #ffffff;
    color: #000000;
  }
  .privacy-section-card {
    border: 1px solid #ccc !important;
    box-shadow: none !important;
    page-break-inside: avoid;
  }
}
