/* Header Navigation - Alberta Tradesman Classic Theme */
/* Based on Main-Site Hero Section: Blue to Orange Gradient with Grid Pattern */

/* ===== Header Variables (From Main-Site Hero) ===== */
:root {
  /* Original Alberta Tradesman Brand Colors */
  --color-burnt-orange: #DD6B20;
  --color-sky-blue: #2B6CB0;
  --color-charcoal: #2D3748;
  --color-dark-gray: #1A202C;
  --color-white: #FFFFFF;

  /* Extended Palette */
  --color-orange-light: #FED7AA;
  --color-orange-dark: #9C4221;
  --color-blue-light: #DBEAFE;
  --color-blue-dark: #1E4788;

  /* Original Gradients */
  --gradient-primary: linear-gradient(135deg, #2B6CB0, #DD6B20);
  --gradient-soft: linear-gradient(135deg, #DBEAFE, #FED7AA);
  --gradient-dark: linear-gradient(135deg, #1E4788, #9C4221);

  /* Header Specific */
  --header-height: 130px;
  --header-height-mobile: 100px;

  /* Z-Index Layers */
  --z-header: 200;
  --z-dropdown: 1001;
  --z-banner: 1000;
}

/* ===== Main Header Container ===== */
.site-header {
  background: var(--gradient-primary);
  color: white;
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  width: 100%;
  height: var(--header-height);
  display: flex;
  align-items: center;
  padding: 0 2rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  position: relative;
  overflow: visible;
}

/* ===== Grid Pattern Background (from Hero) ===== */
.site-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  animation: pattern-drift 20s linear infinite;
}

@keyframes pattern-drift {
  0% { transform: translate(0, 0); }
  100% { transform: translate(60px, 60px); }
}

/* ===== Header Content Container ===== */
.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* ===== Logo Section ===== */
.header-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: white;
  transition: all 0.3s ease;
}

.header-logo:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.header-logo-img {
  height: calc(var(--header-height) * 0.7);
  width: auto;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
  margin-right: 1rem;
}

.header-logo-text {
  font-size: 2.2rem;
  font-weight: 900;
  background: linear-gradient(135deg, #FFD700, #FF6B35, #FF4500);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 2px;
  font-family: 'Arial Black', sans-serif;
  text-transform: uppercase;
  filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
}

.header-subtitle {
  font-size: 0.9rem;
  color: #FFA500;
  font-weight: 600;
  margin-top: 0.2rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Navigation styles moved to header-nav.css for modularity */

/* Header actions, dropdown, and mobile toggle styles moved to header-nav.css */

/* ===== Breadcrumb Navigation ===== */
.breadcrumb {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 0.5rem 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  max-width: 1400px;
  margin: 0 auto;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

.breadcrumb-link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.3s ease;
}

.breadcrumb-link:hover {
  color: white;
  text-decoration: underline;
}

.breadcrumb-separator {
  color: rgba(255, 255, 255, 0.5);
  margin: 0 0.5rem;
}

.breadcrumb-current {
  color: white;
  font-weight: 600;
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
  .site-header {
    height: var(--header-height-mobile);
    padding: 0 1rem;
  }

  .header-logo-text {
    font-size: 1.4rem;
  }

  .header-subtitle {
    font-size: 0.9rem;
  }

  .header-logo-img {
    height: calc(var(--header-height-mobile) * 0.8);
  }

  /* Mobile navigation styles moved to header-nav.css */

  .breadcrumb {
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .header-content {
    gap: 1rem;
  }

  .header-logo-text {
    font-size: 1.1rem;
  }

  .header-actions {
    flex-direction: column;
    gap: 0.3rem;
  }

  .header-button {
    padding: 0.3rem 0.6rem;
    font-size: 0.8rem;
  }
}

/* ===== Focus States for Accessibility ===== */
.nav-link:focus,
.header-button:focus,
.mobile-menu-toggle:focus {
  outline: 3px solid rgba(255, 255, 255, 0.5);
  outline-offset: 2px;
}

/* ===== Header Animation ===== */
.site-header {
  animation: slide-down 0.5s ease-out;
}

@keyframes slide-down {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* ===== Banner Styles (From Main-Site) ===== */
/* Timmy's Coffee Banner - Top Left */
.coffee-banner {
  position: absolute;
  top: 15px;
  left: -50px;
  width: 200px;
  padding: 6px 0;
  background: linear-gradient(135deg, #8B4513, #D2691E);
  color: white;
  text-align: center;
  font-weight: bold;
  font-size: 12px;
  transform: rotate(-45deg);
  transform-origin: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  z-index: var(--z-banner);
  letter-spacing: 0.5px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
  line-height: 1.2;
  cursor: pointer;
  transition: all 0.3s ease;
}

.coffee-banner:hover {
  background: linear-gradient(135deg, #A0522D, #DEB887);
  transform: rotate(-45deg) scale(1.05);
}

/* 18+ Features Banner - Top Right */
.features-banner {
  position: absolute;
  top: 15px;
  right: -50px;
  width: 200px;
  padding: 6px 0;
  background: linear-gradient(135deg, #DC2626, #B91C1C);
  color: white;
  text-align: center;
  font-weight: bold;
  font-size: 12px;
  transform: rotate(45deg);
  transform-origin: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  z-index: var(--z-banner);
  letter-spacing: 0.5px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
  line-height: 1.2;
}

/* Banner responsive adjustments */
@media (max-width: 768px) {
  .coffee-banner,
  .features-banner {
    font-size: 10px;
    width: 160px;
    padding: 4px 0;
  }

  .coffee-banner {
    left: -40px;
    top: 10px;
  }

  .features-banner {
    right: -40px;
    top: 10px;
  }
}

@media (max-width: 480px) {
  .coffee-banner,
  .features-banner {
    font-size: 8px;
    width: 120px;
    padding: 3px 0;
  }

  .coffee-banner {
    left: -30px;
    top: 8px;
  }

  .features-banner {
    right: -30px;
    top: 8px;
  }
}

/* ===== Print Styles ===== */
@media print {
  .site-header {
    display: none !important;
  }
}