/* EAGLE MEDIA Custom Header & Offcanvas */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700;900&display=swap');

/* Force Top Reset to fix ghost padding/margin from theme */
body {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.em-topbar, .em-header, .em-navbar, .em-offcanvas {
  font-family: 'Roboto', sans-serif;
}

/* Topbar */
.em-topbar {
  background-color: #000 !important;
  color: #fff !important;
  padding: 8px 0 !important;
  font-size: 11px;
  font-weight: 700;
  width: 100%;
}
.em-topbar .container-fluid {
  background-color: transparent !important;
}
.em-topbar a {
  color: #fff !important;
  text-decoration: none;
  margin-left: 15px;
}
.em-topbar a:hover {
  color: #ddd !important;
}
.em-top-links {
  display: flex;
  margin-right: 20px;
}
.em-top-socials a {
  margin-left: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  color: #fff !important;
  font-size: 11px;
}
.em-fb { background-color: #3b5998; }
.em-x { background-color: #000; border: 1px solid #333; font-family: sans-serif; font-weight: 900; }
.em-yt { background-color: #ff0000; }
.em-ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.em-wp { background-color: #25d366; }

/* Main Header */
.em-header {
  background-color: #fff !important;
  padding: 10px 0 !important;
  border-bottom: 1px solid #eee;
  width: 100%;
}
.em-header .em-logo img {
  max-height: 40px;
}
.em-tagline {
  margin-left: 15px;
  color: #aaa;
  font-size: 12px;
  font-weight: 400;
  border-left: 1px solid #eee;
  padding-left: 15px;
}
.em-currencies {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-right: 30px;
}
.em-currency {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  font-size: 11px;
  font-weight: 700;
}
.em-cur-name { color: #000; font-size: 10px; }
.em-cur-val { color: #000; font-size: 13px; }
.em-search-btn {
  background: transparent;
  border: none;
  font-size: 18px;
  color: #000;
  cursor: pointer;
}

/* Navbar */
.em-navbar {
  background-color: #fff;
  border-bottom: 2px solid #ff0000;
  width: 100%;
}
.em-nav-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
}
.em-nav-menu li {
  margin-right: 20px;
}
.em-nav-menu li a {
  display: block;
  padding: 12px 0;
  color: #032b5f !important;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  position: relative;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
}
.em-nav-menu li.active a, .em-nav-menu li a:hover {
  color: #ff0000 !important;
  border-bottom: 2px solid #ff0000;
}

.em-menu-btn {
  background: transparent;
  border: none;
  color: #032b5f;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 0;
}

/* Off-Canvas */
.em-offcanvas-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 1060;
  opacity: 0;
  visibility: hidden;
  transition: .3s;
}
.em-offcanvas-overlay.active {
  opacity: 1;
  visibility: visible;
}
.em-offcanvas {
  position: fixed;
  top: 0;
  left: -320px;
  width: 300px;
  height: 100%;
  background-color: #fff;
  z-index: 1070;
  overflow-y: auto;
  transition: transform 0.3s ease-in-out;
  padding: 20px;
  box-shadow: 2px 0 10px rgba(0,0,0,0.1);
}
.em-offcanvas.active {
  transform: translateX(320px);
}
.em-offcanvas-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}
.em-close-btn {
  background: transparent;
  border: none;
  font-size: 20px;
  cursor: pointer;
}
.em-offcanvas-socials a {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #fff !important;
  font-size: 16px;
  margin-right: 8px;
  text-decoration: none;
}
.em-offcanvas-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}
.em-offcanvas-nav li {
  margin-bottom: 12px;
}
.em-offcanvas-nav li a {
  color: #333 !important;
  font-weight: 500;
  font-size: 14px;
  text-decoration: none;
  display: block;
}
.em-offcanvas-nav li a:hover {
  color: #ff0000 !important;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .em-nav-menu { display: none; }
  .em-header-right { flex-direction: row-reverse; gap: 15px; }
  .em-currencies { display: none !important; }
}

/* Canlı Yayın menü noktası animasyonu */
@keyframes navLivePulse {
  0%   { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(255,0,0,0.6); }
  70%  { opacity: 0.7; transform: scale(1.3); box-shadow: 0 0 0 5px rgba(255,0,0,0); }
  100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(255,0,0,0); }
}
