/* ================= DESKTOP ================= */
@media (min-width: 769px) {

  .mobile-header, .mobile-menu { display: none; }

  .desktop-header {
    width:100%;
    background:#fff;
    z-index:999;
    backdrop-filter: blur(8px);
  }

  /* Top Row */
  .desktop-top-row {
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:10px 40px;
  }

  .desktop-logo img { height:70px; }

  .desktop-right {
    display:flex;
    align-items:center;
    gap:15px;
  }

  /* Language */
  .language-switch {
    display:flex;
    gap:10px;
  }

  .language-switch a {
    text-decoration:none;
    color:#222;
    font-weight:600;
    padding:6px 10px;
    border-radius:5px;
    transition:0.3s;
  }

  .language-switch a:hover {
    background:#007bff;
    color:#fff;
  }

  /* Login */
  .login-btn {
    padding:8px 14px;
    background:#007bff;
    color:#fff;
    border-radius:5px;
    text-decoration:none;
  }

  /* Menu Row */
  .desktop-menu-row {
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:10px 40px;
    background:#1a1a1a;
  }

  /* Menu */
  .desktop-menu ul {
    display:flex;
    list-style:none;
    padding:0;
    margin:0;
    gap:20px;
  }

  .desktop-menu a {
    text-decoration:none;
    color:#fff;
    font-weight:600;
    font-size:18px;
    padding:8px 14px;
    border-radius:6px;
    transition:all 0.25s ease;
  }

  .desktop-menu a:hover {
    background:#fff;
    color:#000;
  }

  /* Search */
  .desktop-search input {
    padding:6px 12px;
    border:1px solid #ccc;
    border-radius:5px;
    outline:none;
    width:150px;
  }

  .desktop-search input:focus {
    border-color:#007bff;
    box-shadow:0 0 5px rgba(0,123,255,0.5);
  }

  .desktop-search button {
    padding:6px 14px;
    background:#007bff;
    color:#fff;
    border:none;
    border-radius:5px;
    cursor:pointer;
  }

  .desktop-search button:hover {
    background:#0056b3;
  }

  /* Sticky header */
  .desktop-header.sticky {
    position:fixed;
    top:0;
    left:0;
    box-shadow:0 2px 8px rgba(0,0,0,0.15);
    width:100%;
  }
}


/* ================= MOBILE ================= */
@media (max-width: 768px) {

  .desktop-header { display:none; }

  .mobile-header {
    position:relative;
    background:#222;
    color:#fff;
  }

  .mobile-header-inner {
    flex:1;
    display:flex;
    justify-content:center;
    align-items:center;
    padding:10px 15px;
    background:#ffffff;
  }

  .mobile-logo img { height:50px; }

  .mobile-right {
    display:flex;
    align-items:center;
    gap:10px;
  }

  /* Hamburger */
  .mobile-hamburger-bar {
    display:flex;
    flex-direction:column;
    gap:4px;
    cursor:pointer;
    padding:5px 5px 5px 8px;
  }

  .mobile-hamburger-bar span {
    width:25px;
    height:3px;
    background:#fff;
    transition:0.4s;
  }

  .mobile-hamburger-bar.active span:nth-child(1){
    transform: rotate(45deg) translate(5px,5px);
  }

  .mobile-hamburger-bar.active span:nth-child(2){
    opacity:0;
  }

  .mobile-hamburger-bar.active span:nth-child(3){
    transform: rotate(-45deg) translate(5px,-5px);
  }

  .mobile-login-icon {
    padding:5px 8px 5px 5px;
  }

  .mobile-login-icon a {
    color:#fff;
    font-size:22px;
  }

  .mobile-language-switch {
    display:flex;
    gap:5px;
    margin:auto;
  }

  .mobile-language-switch a {
    color:#fff;
    text-decoration:none;
    font-size:12px;
    padding:2px 5px;
    border-radius:3px;
  }

  .mobile-language-switch a:hover {
    background:#007bff;
    color:#fff;
  }

  /* Mobile Menu */
  .mobile-menu {
    max-height:0;
    overflow:hidden;
    background:#f9f9f9;
    transition:max-height 0.6s ease;
  }

  .mobile-menu.open {
    max-height:800px;
  }

  .mobile-menu-list {
    list-style:none;
    margin:0;
    padding:0;
  }

  .mobile-menu-list li {
    padding:12px;
    text-align:center;
  }

  .mobile-menu-list li a {
    text-decoration:none;
    font-size:18px;
    color:#222;
  }

  .mobile-search {
    padding:10px;
    border-top:1px solid #ddd;
  }

  .mobile-search input {
    flex:1;
    padding:8px;
  }

  .mobile-search button {
    padding:8px 10px;
    background:#222;
    color:#fff;
    border:none;
  }
}
