/* Menu Icon - Clean Red */
.menu button {
  padding: 0;
  border: none;
  color: #ffffff;
  border-radius: 12px;
  background: linear-gradient(135deg, #db1a1a 0%, #b91c1c 100%);
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(219, 26, 26, 0.3);
}

.menu button ion-icon {
  font-size: 32px;
  transition: all 0.3s ease;
}

.menu button ion-icon:hover {
  color: #ffffff;
  background: transparent;
}

/* Phone Navigation - Glassmorphism Design */
.phone_nav {
  height: 100%;
  width: 0;
  margin-top: 70px;
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  background: rgba(26, 26, 46, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  overflow-x: hidden;
  transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  padding-top: 60px;
  border-right: 3px solid #db1a1a;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
}

/* Gradient overlay for phone nav */
.phone_nav::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(219, 26, 26, 0.1) 0%, transparent 30%);
  pointer-events: none;
}

.phone_nav a {
  padding: 18px 18px 18px 45px;
  text-decoration: none;
  font-size: 20px;
  color: #ffffff;
  display: block;
  transition: all 0.3s ease;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  letter-spacing: 0.5px;
  font-weight: 500;
}

.phone_nav a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 0;
  background: linear-gradient(180deg, #db1a1a, #ff6b6b);
  border-radius: 2px;
  transition: height 0.3s ease;
}

.phone_nav a:hover::before {
  height: 60%;
}

.phone_nav .phone_navi:hover {
  background: rgba(219, 26, 26, 0.2);
  color: #ff6b6b;
  padding-left: 55px;
}

.phone_nav .closebtn {
  position: absolute;
  top: 10px;
  right: 25px;
  font-size: 40px;
  color: #ffffff;
  cursor: pointer;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #db1a1a 0%, #b91c1c 100%);
  box-shadow: 0 4px 15px rgba(219, 26, 26, 0.4);
}

.phone_nav .closebtn:hover {
  background: linear-gradient(135deg, #ff6b6b 0%, #db1a1a 100%);
  transform: scale(1.1);
}

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

/* Desktop - Hide mobile nav elements */
@media (min-width: 1025px) {
  .nav {
    display: flex !important;
  }
  
  .menu {
    display: none !important;
  }
}

/* Tablet and Mobile */
@media (max-width: 1024px) {
  .nav {
    display: none;
  }
  
  .topnav {
    width: 100%;
    height: 60px;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
  }
  
  section {
    margin-left: 0px;
    top: 0;
  }
  
  .topnav .logo .imglogo {
    height: 38px;
    width: auto;
    max-width: 140px;
    margin-left: 5px;
    margin-top: 0px;
  }
  
  .menu {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .menu button {
    width: 46px;
    height: 46px;
    min-width: 46px;
    min-height: 46px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
  }
  
  .menu button ion-icon {
    font-size: 26px;
  }
  
  .menu button:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(219, 26, 26, 0.4);
  }
  
  .phone_nav {
    margin-top: 60px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .topnav {
    padding: 8px 15px;
    height: 55px;
  }
  
  .topnav .logo .imglogo {
    height: 34px;
    max-width: 120px;
  }
  
  .menu button {
    width: 42px;
    height: 42px;
  }
  
  .menu button ion-icon {
    font-size: 24px;
  }
  
  .phone_nav {
    margin-top: 55px;
    padding-top: 50px;
  }
  
  .phone_nav a {
    font-size: 18px;
    padding: 16px 16px 16px 40px;
  }
  

}

/* Small Mobile */
@media (max-width: 480px) {
  .topnav {
    padding: 6px 12px;
    height: 52px;
  }
  
  .topnav .logo .imglogo {
    height: 30px;
    max-width: 100px;
  }
  
  .menu button {
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }
  
  .menu button ion-icon {
    font-size: 22px;
  }
  
  .phone_nav {
    margin-top: 52px;
    padding-top: 45px;
  }
  
  .phone_nav a {
    font-size: 16px;
    padding: 14px 14px 14px 35px;
  }
  
  .phone_nav .phone_navi:hover {
    padding-left: 48px;
  }
  
  .phone_nav .closebtn {
    font-size: 32px;
    top: 6px;
    right: 15px;
    width: 40px;
    height: 40px;
  }
}

/* Extra Small Mobile */
@media (max-width: 360px) {
  .topnav {
    padding: 5px 10px;
    height: 48px;
  }
  
  .topnav .logo .imglogo {
    height: 28px;
    max-width: 90px;
  }
  
  .menu button {
    width: 36px;
    height: 36px;
  }
  
  .menu button ion-icon {
    font-size: 20px;
  }
  
  .phone_nav a {
    font-size: 15px;
    padding: 12px 12px 12px 30px;
  }
}
