/* ============================================
   GLOBAL HEADER COMPONENT
   ============================================ */

/* Header Container */
.header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

/* Accent Bar (Green to Orange Gradient) */
.accent-bar {
  height: 3px;
  background: var(--gradient-accent);
}

/* Header Content Container */
.header-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--gray-200);
}

/* Logo */
.logo {
  font-size: 1.5em;
  font-weight: 700;
  color: var(--forest-green);
  text-decoration: none;
  letter-spacing: -0.5px;
  transition: opacity 0.2s;
}

.logo:hover {
  opacity: 0.8;
}

/* Navigation */
.nav-main {
  display: flex;
  gap: 32px;
  align-items: center;
  flex: 1;
  justify-content: center;
  margin: 0 40px;
}

.nav-link {
  color: var(--charcoal);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95em;
  padding: 8px 0;
  position: relative;
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--forest-green);
}

.nav-link.active {
  color: var(--forest-green);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--forest-green);
}

/* Store Icon */
.store-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--forest-green);
  text-decoration: none;
  transition: transform 0.2s;
}

.store-icon:hover {
  transform: scale(1.1);
}

.store-icon svg {
  width: 24px;
  height: 24px;
}

/* Mobile Menu Button */
.mobile-menu-button {
  display: none;
  background: none;
  border: none;
  color: var(--charcoal);
  cursor: pointer;
  padding: 12px;
  min-width: 48px;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 1001;
}

.mobile-menu-button:hover {
  background: var(--gray-100);
  border-radius: 8px;
}

.mobile-menu-button:active {
  background: var(--gray-200);
  transform: scale(0.95);
}

.mobile-menu-button svg {
  width: 24px;
  height: 24px;
  pointer-events: none;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .header-content {
    padding: 16px 20px;
  }

  .logo {
    font-size: 1.2em;
  }

  .nav-main {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 20px;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-md);
  }

  .nav-main.active {
    display: flex;
  }

  .nav-link {
    padding: 12px 0;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid var(--gray-100);
  }

  .nav-link:last-child {
    border-bottom: none;
  }

  .nav-link.active::after {
    display: none;
  }

  .mobile-menu-button {
    display: flex;
  }
}


/* ============================================
   LANGUAGE SWITCHER COMPONENT
   ============================================ */

.language-switcher {
  position: relative;
  margin-right: 16px;
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  background: white;
  border: 1px solid var(--gray-300);
  border-radius: 6px;
  padding: 8px 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.9em;
  color: var(--charcoal);
  font-family: inherit;
}

.lang-toggle:hover {
  border-color: var(--forest-green);
  background: var(--gray-50);
}

.language-switcher.open .lang-toggle {
  border-color: var(--forest-green);
  box-shadow: 0 0 0 3px rgba(4, 120, 87, 0.1);
}

.current-flag {
  font-size: 1.2em;
  line-height: 1;
}

.current-lang {
  font-weight: 600;
  letter-spacing: 0.3px;
}

.chevron {
  transition: transform 0.2s ease;
  color: var(--gray-600);
}

.language-switcher.open .chevron {
  transform: rotate(180deg);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: white;
  border: 1px solid var(--gray-300);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  min-width: 160px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s ease;
  overflow: hidden;
  z-index: 1000;
}

.language-switcher.open .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  text-decoration: none;
  color: var(--charcoal);
  transition: background 0.2s ease;
  font-size: 0.95em;
}

.lang-option:hover {
  background: var(--gray-100);
}

.lang-option .flag {
  font-size: 1.3em;
  line-height: 1;
}

.lang-option .lang-name {
  font-weight: 500;
}

@media (max-width: 768px) {
  .language-switcher {
    margin-right: 8px;
  }
  
  .lang-toggle {
    padding: 6px 10px;
  }
  
  .current-lang {
    display: none;
  }
}


/* ============================================
   FOOTER STYLES
   ============================================ */

.footer {
  background: #1f2937;
  margin-top: auto;
}

.footer-accent-bar {
  height: 3px;
  background: linear-gradient(90deg, #047857 0%, #f59e0b 100%);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 40px 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 50px;
}

.footer-about {
  max-width: 300px;
}

.footer-logo {
  font-size: 1.4em;
  font-weight: 800;
  color: #10b981;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
  transition: opacity 0.2s;
}

.footer-logo:hover {
  opacity: 0.8;
}

.footer-description {
  color: #d1d5db;
  line-height: 1.7;
  font-size: 0.95em;
}

.footer-column h4 {
  color: #ffffff;
  font-size: 0.9em;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #d1d5db;
  text-decoration: none;
  font-size: 0.95em;
  transition: color 0.2s;
  display: inline-block;
}

.footer-links a:hover {
  color: #10b981;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.footer-tagline {
  color: #10b981;
  font-size: 0.95em;
  font-weight: 500;
  font-style: italic;
  position: relative;
  padding-bottom: 12px;
}

.footer-tagline::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #047857 0%, #f59e0b 100%);
  border-radius: 1px;
}

.footer-copyright {
  color: #9ca3af;
  font-size: 0.9em;
}

.footer-disclaimer {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: #9ca3af;
  font-size: 0.85em;
  line-height: 1.6;
  max-width: 900px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .footer-content {
    padding: 40px 20px 30px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
  }

  .footer-about {
    max-width: 100%;
  }

  .footer-bottom {
    gap: 16px;
  }
}
