/* ============================================
   US HOT NEWS - NAVIGATION STYLES
   ============================================ */

/* Top Bar */
.top-bar {
  background: var(--navy);
  color: var(--white);
  font-size: var(--text-sm);
  padding: var(--space-xs) 0;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.top-bar-date {
  color: var(--gray-300);
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

/* Main Header */
.main-header {
  background: var(--white);
  padding: var(--space-lg) 0;
  border-bottom: 1px solid var(--gray-200);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xl);
}

/* Logo */
.logo-link {
  text-decoration: none;
  flex-shrink: 0;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-flag-block {
  width: 60px;
  height: 42px;
  border-radius: 3px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0,0,0,0.2);
  flex-shrink: 0;
}

.flag-stripe {
  flex: 1;
  width: 100%;
}

.flag-stripe.red { background: #B22234; }
.flag-stripe.white { background: #FFFFFF; }

.flag-canton {
  position: absolute;
  top: 0;
  left: 0;
  width: 26px;
  height: 22px;
  background: #3C3B6E;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  padding: 1px 1px;
}

.stars-row {
  display: flex;
  justify-content: space-evenly;
  width: 100%;
  line-height: 1;
}

.stars-row span {
  color: #FFFFFF;
  font-size: 3px;
  line-height: 1;
}

.logo-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.logo-brand {
  display: flex;
  align-items: baseline;
  gap: 0px;
  line-height: 1;
}

.logo-ushot {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  font-weight: 700;
  color: #3C3B6E;
  letter-spacing: -0.5px;
}

.logo-news {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  font-weight: 700;
  color: #B22234;
  letter-spacing: -0.5px;
}

.logo-tagline {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 10px;
  font-weight: 600;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

/* Search Bar */
.search-bar {
  flex: 1;
  max-width: 500px;
  position: relative;
}

.search-bar input {
  width: 100%;
  padding: var(--space-sm) var(--space-lg);
  padding-left: 40px;
  font-family: var(--font-body);
  font-size: var(--text-base);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-full);
  transition: border-color var(--transition-fast);
}

.search-bar input:focus {
  outline: none;
  border-color: var(--red);
}

.search-bar::before {
  content: "🔍";
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  opacity: 0.5;
}

/* Primary Navigation */
.primary-nav {
  background: var(--red);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-md);
}

.nav-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: block;
  padding: var(--space-md) var(--space-lg);
  color: var(--white);
  font-weight: 600;
  font-size: var(--text-base);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: background var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  background: var(--red-dark);
  color: var(--white);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 3px;
  background: var(--gold);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: var(--text-2xl);
  cursor: pointer;
  padding: var(--space-sm);
}

/* Sub Navigation */
.sub-nav {
  background: #2c2c2c;
  display: none;
}

.sub-nav.active {
  display: block;
}

.sub-nav-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: var(--space-xs);
}

.sub-nav-link {
  display: block;
  padding: var(--space-sm) var(--space-md);
  color: var(--gray-300);
  font-size: var(--text-sm);
  transition: all var(--transition-fast);
  border-radius: var(--radius-sm);
}

.sub-nav-link:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.sub-nav-link.active {
  background: var(--red);
  color: var(--white);
}

/* Mobile Navigation */
.mobile-nav {
  display: none;
  background: var(--navy-dark);
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow);
}

.mobile-nav.active {
  display: block;
  max-height: 500px;
}

.mobile-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-nav-link {
  display: block;
  padding: var(--space-md);
  color: var(--white);
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav-link:hover {
  background: var(--red);
}

/* Reading Progress Bar */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 4px;
  background: var(--red);
  z-index: 10000;
  transition: width 0.1s ease;
}

/* Share Bar */
.share-bar {
  position: fixed;
  left: var(--space-lg);
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  z-index: 100;
}

.share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  color: var(--white);
  font-size: var(--text-lg);
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-md);
}

.share-btn:hover {
  transform: scale(1.1);
  color: var(--white);
}

.share-btn.facebook { background: #1877F2; }
.share-btn.twitter { background: #000000; }
.share-btn.copy { background: var(--gray-600); }

.share-btn.facebook:hover { background: #166FE5; }
.share-btn.twitter:hover { background: var(--gray-800); }
.share-btn.copy:hover { background: var(--gray-700); }
