/* ============================================
   ERA INVESTMENT — COVERAGE PAGE
   Dark theme, parallax textures, region cards
   ============================================ */

/* === PAGE === */
.cov-page {
  background: #0b1121;
  min-height: 100vh;
  color: #fff;
  width: 100%;
  float: left;
}

/* === HERO === */
.cov-hero {
  position: relative;
  width: 100%;
  float: left;
  height: 55vh;
  min-height: 380px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
}

.cov-hero video {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}

.cov-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(11,17,33,0.3) 0%,
    rgba(11,17,33,0.15) 35%,
    rgba(11,17,33,0.5) 70%,
    rgba(11,17,33,1) 100%
  );
  z-index: 1;
}

.cov-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 20px;
}

.cov-hero h1 {
  font: 700 52px/1.15 'Open Sans', sans-serif;
  color: #fff;
  letter-spacing: 1px;
  margin: 0;
}

.cov-hero .cov-subtitle {
  font: 600 17px/1.5 'Open Sans', sans-serif;
  margin-top: 14px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #c0392b;
  animation: subtitleShimmer 2.8s ease-in-out infinite;
}

@keyframes subtitleShimmer {
  0%   { color: #8b1a1a; text-shadow: none; }
  40%  { color: #c0392b; text-shadow: 0 0 8px rgba(192,57,43,0.4); }
  55%  { color: #ff6040; text-shadow: 0 0 18px rgba(255,96,64,0.7), 0 0 35px rgba(192,57,43,0.35); }
  70%  { color: #c0392b; text-shadow: 0 0 8px rgba(192,57,43,0.4); }
  100% { color: #8b1a1a; text-shadow: none; }
}

/* === HEADER FIX === */
.cov-page .header1 {
  position: relative;
  z-index: 100;
}

/* === STATS BAR === */
.cov-stats {
  width: 100%;
  float: left;
  display: flex;
  justify-content: center;
  gap: 0;
  padding: 40px 20px;
  background: rgba(11,17,33,0.95);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.cov-stat {
  text-align: center;
  padding: 0 40px;
  border-right: 1px solid rgba(255,255,255,0.08);
}

.cov-stat:last-child {
  border-right: none;
}

.cov-stat-number {
  font: 700 36px/1 'Open Sans', sans-serif;
  color: #fff;
  margin-bottom: 8px;
  animation: statShimmer 3s ease-in-out infinite;
}

@keyframes statShimmer {
  0%, 100% { text-shadow: 0 0 2px rgba(139,0,0,0.2); }
  50% { text-shadow: 0 0 12px rgba(139,0,0,0.4), 0 0 24px rgba(139,0,0,0.15); }
}

.cov-stat-label {
  font: 600 11px/1 'Open Sans', sans-serif;
  color: rgba(255,255,255,0.4);
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* === INTERACTIVE MAP === */
.cov-map-section {
  width: 100%;
  float: left;
  padding: 40px 20px 20px;
  background: #0b1121;
}

.cov-map-wrapper {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
}

.cov-world-map-bg {
  width: 100%;
  height: auto;
  display: block;
  pointer-events: none;
}

.cov-map-pins {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.map-pin {
  fill: #c0392b;
  transition: all 0.3s ease;
  animation: pinPulse 2.5s ease-in-out infinite;
}

.map-pin-ring {
  fill: none;
  stroke: rgba(192,57,43,0.3);
  stroke-width: 1.5;
  animation: ringPulse 2.5s ease-in-out infinite;
}

.map-pin-group:hover .map-pin {
  fill: #e74c3c;
  filter: drop-shadow(0 0 10px rgba(192,57,43,0.8)) drop-shadow(0 0 20px rgba(192,57,43,0.4));
}

.map-pin-group:hover .map-pin-ring {
  stroke: rgba(192,57,43,0.7);
  stroke-width: 2;
}

.map-pin-group:hover .map-label {
  fill: rgba(255,255,255,0.9);
}

@keyframes pinPulse {
  0%, 100% {
    filter: drop-shadow(0 0 3px rgba(192,57,43,0.4));
  }
  50% {
    filter: drop-shadow(0 0 8px rgba(192,57,43,0.7)) drop-shadow(0 0 14px rgba(192,57,43,0.3));
  }
}

@keyframes ringPulse {
  0%, 100% {
    stroke: rgba(192,57,43,0.2);
    stroke-width: 1;
  }
  50% {
    stroke: rgba(192,57,43,0.5);
    stroke-width: 2;
  }
}

.map-label {
  fill: rgba(255,255,255,0.5);
  font-family: 'Open Sans', sans-serif;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 1.5px;
  pointer-events: none;
  transition: fill 0.3s;
}

/* === PARALLAX SECTION === */
.cov-parallax {
  position: relative;
  width: 100%;
  float: left;
  overflow: hidden;
}

.cov-parallax-bg {
  position: absolute;
  inset: -20% 0;
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0.12;
  z-index: 0;
}

.cov-parallax-bg.bg-ships {
  background-image: url('../images/Pictures - all about ships/pexels-julius-silver-753331.jpg');
}

.cov-parallax-bg.bg-cargo {
  background-image: url('../images/Pictures - Ware houses and Cargoes/pexels-elevate-1267325.jpg');
}

.cov-parallax > *:not(.cov-parallax-bg) {
  position: relative;
  z-index: 1;
}

/* === COUNTRY SECTION === */
.cov-country {
  width: 100%;
  float: left;
  padding: 0 0 40px;
}

.cov-country-header {
  padding: 35px 40px 18px;
}

.cov-country-header h2 {
  font: 700 11px/1 'Open Sans', sans-serif;
  color: rgba(200,180,160,0.6);
  letter-spacing: 3.5px;
  text-transform: uppercase;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: categoryShimmer 3s ease-in-out infinite;
}

@keyframes categoryShimmer {
  0%, 100% {
    color: rgba(200,180,160,0.5);
    text-shadow: 0 0 2px rgba(200,170,140,0.1);
  }
  50% {
    color: rgba(220,200,180,0.85);
    text-shadow: 0 0 8px rgba(200,170,140,0.3), 0 0 16px rgba(139,0,0,0.15);
  }
}

.cov-country-header h2::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.06);
}

/* === CITY CARDS GRID === */
.cov-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
  padding: 0 40px;
}

/* === CITY CARD === */
.cov-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 6px;
  overflow: hidden;
  transition: all 0.35s ease;
  position: relative;
}

.cov-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: #8b0000;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
  z-index: 2;
}

.cov-card:hover {
  transform: translateY(-4px);
  border-color: rgba(139,0,0,0.3);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}

.cov-card:hover::before {
  transform: scaleX(1);
}

.cov-card-img {
  width: 100%;
  height: 160px;
  overflow: hidden;
  position: relative;
}

.cov-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.cov-card:hover .cov-card-img img {
  transform: scale(1.08);
}

.cov-card-img::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 50%;
  background: linear-gradient(transparent, rgba(11,17,33,0.6));
}

.cov-card-info {
  padding: 16px 18px 18px;
}

.cov-card-city {
  font: 700 15px/1.3 'Open Sans', sans-serif;
  color: rgba(255,255,255,0.9);
  margin: 0 0 4px;
}

.cov-card-country {
  font: 600 10px/1 'Open Sans', sans-serif;
  color: rgba(139,0,0,0.7);
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* === COMPACT CARD GRID (75% smaller) === */
.cov-grid-sm {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
  padding: 0 40px;
}

.cov-card-sm {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 4px;
  overflow: hidden;
  transition: all 0.35s ease;
  position: relative;
}

.cov-card-sm::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: #8b0000;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
  z-index: 2;
}

.cov-card-sm:hover {
  transform: translateY(-3px);
  border-color: rgba(139,0,0,0.3);
  box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}

.cov-card-sm:hover::before {
  transform: scaleX(1);
}

.cov-card-sm-img {
  width: 100%;
  height: 100px;
  overflow: hidden;
  position: relative;
}

.cov-card-sm-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.cov-card-sm:hover .cov-card-sm-img img {
  transform: scale(1.1);
}

.cov-card-sm-info {
  padding: 10px 12px;
  text-align: center;
}

.cov-card-sm-city {
  font: 600 12px/1.3 'Open Sans', sans-serif;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.3px;
}

/* === BOTTOM CTA === */
.cov-bottom-cta {
  text-align: center;
  padding: 60px 30px;
  background: linear-gradient(180deg, #0b1121 0%, #0f1729 100%);
  width: 100%;
  float: left;
}

.cov-bottom-cta p {
  font: 400 15px/24px 'Open Sans', sans-serif !important;
  color: rgba(255,255,255,0.4) !important;
  margin: 0 0 20px !important;
  text-align: center !important;
}

.cov-bottom-cta .cov-btn {
  display: inline-block;
  padding: 14px 42px;
  background: transparent;
  border: 1px solid #8b0000;
  color: #fff;
  font: 700 12px/1 'Open Sans', sans-serif;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.cov-bottom-cta .cov-btn:hover {
  background: #8b0000;
  box-shadow: 0 6px 20px rgba(139,0,0,0.3);
}

/* === FOOTER === */
.cov-page .footer1,
.cov-page .footer1-largerview {
  position: relative;
  margin-top: 0;
  float: left;
  width: 100%;
}

/* === RESPONSIVE === */
@media screen and (max-width: 991px) {
  .cov-hero h1 { font-size: 38px; }
  .cov-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); padding: 0 25px; }
  .cov-grid-sm { padding: 0 25px; }
  .cov-country-header { padding: 30px 25px 15px; }
  .cov-stats { flex-wrap: wrap; gap: 20px; }
  .cov-stat { border-right: none; padding: 10px 30px; }
}

@media screen and (max-width: 767px) {
  .cov-hero { height: 40vh; min-height: 280px; }
  .cov-hero h1 { font-size: 30px; }
  .cov-stats { flex-direction: column; align-items: center; padding: 30px 20px; gap: 20px; }
  .cov-stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.05); padding: 0 0 18px; }
  .cov-stat:last-child { border-bottom: none; padding-bottom: 0; }
  .cov-stat-number { font-size: 28px; }
  .cov-grid { grid-template-columns: repeat(2, 1fr); padding: 0 16px; gap: 10px; }
  .cov-grid-sm { grid-template-columns: repeat(3, 1fr); padding: 0 16px; gap: 8px; }
  .cov-country-header { padding: 25px 16px 12px; }
  .cov-card-img { height: 120px; }
  .cov-card-sm-img { height: 80px; }
  .cov-parallax-bg { background-attachment: scroll; }
}

@media screen and (max-width: 480px) {
  .cov-hero h1 { font-size: 24px; }
  .cov-grid { grid-template-columns: 1fr 1fr; }
  .cov-card-info { padding: 12px 14px 14px; }
  .cov-card-city { font-size: 13px; }
}
