/*
Theme Name: Support
Description: Support Theme
Author: Your Name
Author URI: https://support.testwe.eu
Template: twentyseventeen
Version: 1.0.0
*/

/* Header Navigation */
.custom-header {
  background: #fff;
  padding: 0;
  margin: 0;
}

.main-navigation {
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #e0e0e0;
  padding: 0;
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 30px;
  position: relative;
}

/* Logo */
.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  margin-right: px;
}

.my-logo img {
  height: 25px;
  width: auto;
}

/* Navigation Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 30px;
  flex: 1;
  justify-content: center;
}

.nav-item {
  position: relative;
}

.nav-link {
  color: #333;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 0;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.nav-link:hover {
  color: #0066cc;
}

.nav-item:hover .nav-link {
  color: #0066cc;
}

.dropdown-arrow {
  font-size: 10px;
  color: #666;
  transition: transform 0.3s ease;
}

.nav-item:hover .dropdown-arrow {
  transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 10px 0;
  min-width: 220px;
  z-index: 1000;
  margin-top: 5px;
}

.nav-item:hover .dropdown-menu {
  display: block;
}

.dropdown-menu a {
  display: block;
  padding: 12px 20px;
  color: #333;
  text-decoration: none;
  font-size: 14px;
  transition: background-color 0.2s ease;
}

.dropdown-menu a:hover {
  background-color: #f5f5f5;
}

/* Navigation Actions (Right Side) */
.nav-actions {
  display: flex;
  gap: 15px;
  margin-left: auto;
}

/* Buttons */
.btn-outline {
  padding: .5rem 1rem;
  border: 2px solid #0066cc;
  background: transparent;
  color: #0066cc;
  text-decoration: none;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
  white-space: nowrap;
}

.btn-outline:hover {
  background: #0066cc;
  color: #fff;
}

.btn-outline:hover a {
  color: #fff;
}

.btn-login {
  font-family: inherit;
}

/* Language Selector */
.language-selector {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  cursor: pointer;
  border-radius: 6px;
  transition: background-color 0.2s ease;
}

.language-selector:hover {
  background-color: #f5f5f5;
}

.lang-flag {
  font-size: 18px;
  line-height: 1;
  display: inline-block;
}

.lang-code {
  font-size: 14px;
  font-weight: 500;
  color: #333;
  margin-right: 2px;
}

.language-selector .dropdown-arrow {
  font-size: 8px;
  color: #666;
  margin-left: 2px;
  transition: transform 0.3s ease;
}

.language-selector:hover .dropdown-arrow {
  transform: rotate(180deg);
}

.language-selector:hover .lang-menu,
.language-selector .lang-menu:hover {
  display: block;
}

.language-selector .lang-menu {
  right: 0;
  left: auto;
  min-width: 100px;
  display: none;
  z-index: 1001;
  position: absolute;
  top: 100%;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 8px 0;
  margin-top: 3px;
}

/* Zone invisible pour combler l'espace et maintenir le hover actif */
.language-selector::before {
  content: '';
  position: absolute;
  bottom: -3px;
  left: -5px;
  right: -5px;
  height: 6px;
  background: transparent;
  z-index: 1000;
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  text-decoration: none;
  color: #333;
}

.lang-option:hover {
  background-color: #f5f5f5;
}

.lang-option .lang-flag {
  font-size: 18px;
}

.lang-option span:not(.lang-flag) {
  font-size: 14px;
  font-weight: 500;
}

/* Mobile Menu */
.menu-mobile {
  display: none;
  cursor: pointer;
}

.menu-mobile img {
  width: 24px;
  height: 24px;
}

/* Responsive */
@media (max-width: 1024px) {
  .nav-menu {
    display: none;
  }
  
  .nav-actions {
    gap: 10px;
  }
  
  .btn-outline {
    padding: 8px 16px;
    font-size: 13px;
  }
  
  .menu-mobile {
    display: block;
  }
}

@media (max-width: 768px) {
  .nav-container {
    padding: 12px 20px;
  }
  
  .my-logo img {
    height: 32px;
  }
  
  .btn-outline {
    padding: 8px 12px;
    font-size: 12px;
  }
  
  .language-selector {
    padding: 6px 10px;
  }
  
  .lang-code {
    display: none;
  }
}

/* Legacy styles */
.my-menu {
  color: black;
}

.my-dropdown-content {
  display: none;
  position: absolute;
  background-color: white;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 10px;
  z-index: 1000;
}

.site-title,
.site-info,
.menu-scroll-down {
  display: none;
}