/* =====================================================
   TRUE MOBILE RESPONSIVE — KEEP ALL CONTENT
   ===================================================== */

@media (max-width: 900px) {

  /* GLOBAL SPACING */
  body {
    overflow-x: hidden;
  }

  .hero,
  .cool-area,
  .learning-section {
    padding-left: 20px;
    padding-right: 20px;
  }

  /* ================= NAV ================= */
  .main-nav {
    flex-wrap: wrap;
    gap: 10px;
  }

  .menu {
    flex-wrap: wrap;
    gap: 14px;
  }

  .menu li a {
    padding: 8px 12px;
    font-size: 14px;
  }

  /* ================= HERO ================= */
  .hero-wrapper {
    flex-direction: column;
    gap: 40px;
    padding-top: 40px;
  }

  .hero-img {
    width: 260px;
    height: 260px;
  }

  .hero-title {
    font-size: 42px;
    text-align: center;
  }

  .hero-subtitle,
  .hero-description {
    text-align: center;
  }

  .hero-buttons {
    justify-content: center;
    flex-wrap: wrap;
  }

  /* ================= TECH STACK ================= */
  .pl-scroll-wrapper {
    max-width: 100%;
  }

  .pl-scroll-track {
    animation-duration: 16s;
  }

  /* ================= COOL AREA ================= */
  .cool-area-wrapper {
    flex-direction: column;
    gap: 50px;
  }

  /* VS CODE WINDOW */
  .mac-console,
  .mac-console-header,
  .vscode-container {
    width: 100%;
    max-width: 100%;
  }
  .vs-header-img {
    max-width: 445px;
    width: 445px;
  }

  .vscode-container {
    height: auto;
    min-height: 320px;
  }

  /* ================= STATUS BADGE ================= */
  .arrow-container {
    margin-top: 20px;
    display: flex;
    justify-content: center;
  }

  .status-badge {
    position: static;
    transform: none;
    margin-top: 14px;
  }

  .arrow-container .fa-arrow-left::after {
    display: none;
  }

  /* ================= WORKING ON ================= */
  .working-on {
    max-width: 100%;
  }

  .focus-content p {
    max-width: 100%;
  }

  /* ================= LEARNING SECTION ================= */
  .learning-section {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .learning-languages {
    top: 0;
  }

  .language-stack {
    align-items: center;
  }

  .language-card.apple {
    width: 100%;
    max-width: 340px;
  }

  /* ================= STORE ================= */
  .store-actions {
    flex-wrap: wrap;
  }

  /* ================= BOTTOM NAV ================= */
  .bottom-nav {
    flex-wrap: wrap;
    gap: 10px;
  }

  .bottom-left {
    flex-wrap: wrap;
  }
}

/* ================= SMALL PHONES ================= */

@media (max-width: 480px) {

  .hero-title {
    font-size: 34px;
  }

  .hero-img {
    width: 210px;
    height: 210px;
  }

  .mac-console-header {
    font-size: 12px;
  }

  .learning-content h2 {
    font-size: 26px;
  }

  .language-card.apple {
    padding: 24px;
  }
}

/* =====================================================
   PREMIUM MOBILE NAVBAR — PHONE ONLY
   ===================================================== */

@media (max-width: 768px) {

  /* NAV CONTAINER */
  .main-nav {
    position: sticky;
    top: 12px;
    margin: 0 14px;
    padding: 12px 16px;
    border-radius: 18px;

    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);

    box-shadow:
      0 10px 30px rgba(0,0,0,0.12),
      inset 0 1px 0 rgba(255,255,255,0.6);

    border: 1px solid rgba(255,255,255,0.35);
  }

  /* LEFT GROUP */
  .nav-left {
    flex: 1;
    gap: 10px;
  }

  .logo-img {
    height: 32px;
  }

  .logo-h {
    font-size: 14px;
    letter-spacing: 0.5px;
  }

  /* DESKTOP MENU → MOBILE ICON BAR */
  .menu {
    display: flex;
    gap: 18px;
    margin-left: auto;
  }

  .menu li a {
    padding: 0;
    font-size: 0;
    position: relative;
  }

  .menu li a::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 18px;
    color: #111;
    opacity: 0.85;
  }

  /* ICON MAP */
  .menu li:nth-child(1) a::before { content: "\f015"; } /* Home */
  /* .menu li:nth-child(2) a::before { content: "\f542"; } Projects */
  .menu li:nth-child(3) a::before { content: "\f086"; } /* Forums */


  /* ACTIVE STATE */
  .menu li a.active::before {
    color: #007aff;
  }

  /* RIGHT GROUP */
  .nav-right {
    gap: 14px;
  }


  /* Remove forced white backgrounds inside nav */
  .main-nav *,
  .nav-left,
  .nav-right,
  .menu,
  .menu li,
  .menu a,
  .logo-h {
    background: transparent !important;
  }

  .fa-arrow-left {
    display: none;
  }

  /* Slightly soften logo text for glass look */
  .logo-h {
    color: #111;
    font-weight: 700;
  }

  /* Improve contrast on glass */
  .main-nav {
    background: rgba(255, 255, 255, 0.55);
  }
}

.bottom-nav{
    display: none;
}


@media (max-width: 768px) {

  /* Remove desktop active borders on mobile */
  .main-nav-a.active {
    border: none !important;
    padding: 0 !important;
    font-weight: normal;
  }

  /* Optional: cleaner active icon emphasis */
  .menu li a.active::before {
    color: #007aff;
    transform: scale(1.15);
  }
}




  .username {
    display: none;
  }

  .nav-right i {
    font-size: 18px;
    opacity: 0.85;
  }

  /* LANGUAGE DROPDOWN */
  .language-menu {
    top: 46px;
    right: 0;
  }

