/*
Theme Name: Hello Elementor Child
Theme URI: https://etheos.fr
Description: Thème enfant Hello Elementor pour Etheos
Author: Pixel Drop
Author URI: https://pixel-drop.com
Template: hello-elementor
Version: 1.0.0
Text Domain: hello-elementor-child
*/

/* ============================================
   ETHEOS HEADER - Styles
   ============================================ */

.etheos-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #FCF8F1;
  border-bottom: 1px solid #eee;
  z-index: 1000;
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-img {
  height: 36px;
  width: auto;
  display: block;
  transition: transform 0.2s ease;
}

.logo:hover .logo-img {
  transform: scale(0.95);
}

/* Navigation */
.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link,
.nav-link:visited {
  color: #333 !important;
  text-decoration: none !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  padding: 8px 12px !important;
  position: relative;
  transition: color 0.2s ease;
  font-family: 'Cormorant Garamond', Georgia, serif !important;
  line-height: 1.4 !important;
}

/* Effet souligné au hover */
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 12px;
  right: 12px;
  height: 2px;
  background-color: #E07B4C;
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.nav-link:hover,
.nav-link:hover:visited {
  color: #E07B4C !important;
}

.nav-link:hover::after {
  transform: scaleX(1);
}

/* Contact dans nav : caché sur desktop (y'a le bouton) */
.nav-link-contact {
  display: none;
}

/* Actions (LinkedIn + Contact) */
.header-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-shrink: 0;
}

.linkedin-link,
.linkedin-link:visited {
  color: #8F997F !important;
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
}

.linkedin-link svg {
  display: block;
  width: 28px;
  height: 28px;
}

.linkedin-link:hover,
.linkedin-link:hover:visited {
  color: #E07B4C !important;
}

/* Bouton Contact */
.btn-contact,
.btn-contact:visited {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  padding: 12px 24px !important;
  border: 1px solid #333 !important;
  border-radius: 0 !important;
  color: #333 !important;
  text-decoration: none !important;
  font-family: 'Cormorant Garamond', Georgia, serif !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  transition: all 0.2s ease;
  white-space: nowrap;
  background: transparent !important;
  line-height: 1.4 !important;
}

.btn-contact svg {
  display: block;
  flex-shrink: 0;
}

/* HOVER sur le bouton Contact - couleur de fond */
.btn-contact:hover,
.btn-contact:hover:visited {
  background-color: #E07B4C !important;
  border-color: #E07B4C !important;
  color: #fff !important;
}

/* Menu burger (mobile) */
.menu-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 10;
}

.menu-burger span {
  width: 24px;
  height: 2px;
  background: #333;
  transition: all 0.3s ease;
}

/* Overlay sombre */
.menu-overlay {
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 998;
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* Tablette */
@media (max-width: 1024px) {
  .header-container {
    padding: 0 24px;
  }
  
  .main-nav {
    position: fixed !important;
    top: 80px !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: calc(100vh - 80px) !important;
    background: #FCF8F1 !important;
    flex-direction: column;
    justify-content: flex-start;
    padding: 2vh 20px;
    gap: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 999;
    overflow: hidden !important;
  }
  
  .main-nav.active {
    opacity: 1 !important;
    visibility: visible !important;
  }
  
  body.menu-open {
    overflow: hidden !important;
  }
  
  .nav-link {
    padding: 3vh !important;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid #eee;
    font-size: clamp(18px, 4vh, 32px) !important;
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  
  .nav-link::after {
    display: none;
  }
  
  /* Afficher Contact dans le menu sur tablette/mobile */
  .nav-link-contact {
    display: block !important;
  }
  
  .menu-burger {
    display: flex;
    background: none !important;
    -webkit-tap-highlight-color: transparent !important;
  }
  
  .menu-burger:focus,
  .menu-burger:active {
    background: none !important;
    outline: none !important;
  }
  
  /* Tablette : cacher bouton Contact et LinkedIn */
  .header-actions {
    display: none !important;
  }
}

/* Mobile */
@media (max-width: 576px) {
  .header-container {
    padding: 0 16px;
  }
  
  /* Mobile : cacher tout sauf logo + burger */
  .header-actions {
    display: none;
  }
}
