/* =====================================================================
   base.css – Stiluri COMUNE pentru toate paginile publice ONCE
   (header + meniu + footer)

   Se încarcă din header.php DUPĂ CSS-ul specific paginii, deci regulile
   de aici bat orice valori diferite din style.css / style_abo.css /
   style_contact.css. Meniul se modifică DOAR de aici.
   ===================================================================== */

/* === Header + meniu (desktop) === */
header{
  position: fixed;
  right: 0;
  top: 0;
  z-index: 1000;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 9%;
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.logo{
  font-size: 30px;
  font-weight: 700;
  color: #000;
}
/* Logo: text pe desktop, imagine pe mobil */
.logo-img{
  display: none;
  height: 36px;
  width: auto;
}
.logo-text{
  display: inline;
}

.navlist{
  display: flex;
}
.navlist a{
  color: #000;
  margin-left: 60px;
  font-size: 15px;
  font-weight: 600;
  border-bottom: 2px solid transparent;
  transition: all .55s ease;
}
.navlist a:hover{
  border-bottom: 2px solid #000;
}

#menu-icon{
  color: #000;
  font-size: 35px;
  z-index: 10001;
  cursor: pointer;
  display: none;
}

@media (max-width: 1535px){
  header{
    padding: 15px 3%;
  }
}

/* === Meniu mobil (sub 990px, identic pe toate paginile) === */
@media (max-width: 990px){
  .logo-img{
    display: inline-block;
  }
  .logo-text{
    display: none;
  }
  #menu-icon{
    display: block;
  }
  .navlist{
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: #ffffff;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    padding: 80px 30px 40px 30px;
    transition: all .4s ease;
    z-index: 9999;
    overflow-y: auto;
  }
  .navlist.open{
    right: 0;
  }
  .navlist li{
    width: 100%;
    border-bottom: 1px solid #eeeeee;
  }
  .navlist a{
    margin-left: 0;
    display: block;
    padding: 18px 0;
    font-size: 22px;
    font-weight: 500;
    color: #000;
    border-bottom: none;
  }
  .navlist a:hover{
    border-bottom: none;
    color: #888;
  }
  #menu-icon.bx-x{
    position: fixed;
    right: 5%;
    top: 20px;
    z-index: 10002;
    color: #000;
  }
}

/* === Footer (comun, folosit de footer.php) === */
.container{
  max-width: 100%;
  margin: auto;
  padding: 0 3%;
}

.footer{
  background-color: #470119;
  padding: 30px 0;
}

.row{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  align-items: center;
}

.footer-col{
  margin: 0 15px;
  padding: 0 15px;
}
.footer-col h4{
  font-size: 20px;
  color: #ffffff;
  margin-bottom: 20px;
  font-weight: 500;
  position: relative;
}
.footer-col h4::before{
  content: '';
  position: absolute;
  left: 0;
  bottom: -10px;
  background-color: #e91e63;
  height: 2px;
  box-sizing: border-box;
  width: 50px;
}
.footer-col ul li:not(:last-child){
  margin-bottom: 10px;
}
.footer-col ul li a{
  font-size: 16px;
  text-decoration: none;
  font-weight: 300;
  color: #bbbbbb;
  display: block;
  transition: all 0.3s ease;
}
.footer-col ul li a:hover{
  color: #ffffff;
}

.sub-container{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #470119;
  padding: 10px 3% 8px;
}

@media (max-width: 767px){
  .footer-col{
    flex: 1;
    margin-bottom: 20px;
  }
}
