/* Global Navigation Styles - PublishingEbooks.net */
/* This file contains the consistent navigation design used across all pages */
/* IMPORTANT: This file must be loaded AFTER any other CSS files to ensure proper styling */

/* CSS Variables for Brand Colors - Exact colors from screenshot */
:root {
  --pure-white: #ffffff;
  --charcoal-black: #000000;
  --light-gray: #f8f9fa;
  --muted-gold: #ffd700;
  --text-dark: #333333;
  --text-light: #666666;
  --accent-blue: #007bff;
  --success-green: #28a745;
}

/* Force these styles to override any conflicting styles */
/* This file should be loaded AFTER any other CSS files to ensure it takes precedence */

/* Header Styles */
.header {
  background: var(--charcoal-black) !important;
  color: var(--pure-white) !important;
  padding: 1rem 0 !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 1000 !important;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
  font-size: 1.8rem !important;
  font-weight: bold !important;
  color: var(--muted-gold) !important;
  text-decoration: none !important;
  transition: color 0.3s ease !important;
}

.logo:hover {
  color: var(--pure-white) !important;
}

.tagline {
  font-size: 0.9rem !important;
  color: var(--pure-white) !important;
  margin-top: 0.2rem !important;
}

.header-content {
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 2rem !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
}

/* Navigation Menu */
.nav-menu {
  display: flex !important;
  list-style: none !important;
  gap: 2rem !important;
  margin: 0 !important;
  padding: 0 !important;
}

.nav-menu a {
  color: var(--pure-white) !important;
  text-decoration: none !important;
  font-weight: 500 !important;
  transition: color 0.3s ease !important;
  padding: 0.5rem 0 !important;
  position: relative !important;
}

.nav-menu a:hover {
  color: var(--muted-gold) !important;
}

.nav-menu a.active {
  color: var(--muted-gold) !important;
}

.nav-menu a.active::after {
  content: '' !important;
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 2px !important;
  background-color: var(--muted-gold) !important;
}

/* Additional styling to match screenshot exactly */
.nav-menu li {
  margin: 0 !important;
  padding: 0 !important;
}

.nav-menu a {
  font-size: 14px !important;
  letter-spacing: 0.5px !important;
  text-transform: none !important;
}

/* Ensure proper display of header elements */
.header {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.header-content {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.logo {
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.tagline {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.nav-menu {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Ensure the logo is exactly like the screenshot */
.logo {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  letter-spacing: -0.5px !important;
}

.tagline {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  font-weight: 300 !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .logo {
        font-size: 1.5rem;
    }
    
    .tagline {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .header-content {
        padding: 0 1rem;
    }
    
    .nav-menu {
        gap: 0.8rem;
    }
    
    .nav-menu a {
        font-size: 0.9rem;
    }
}
