/* =========================================================
   responsive.css — Media queries for all breakpoints
   Portfolio: Pranav Sachin Sonawane
   ========================================================= */

/* ─── LARGE DESKTOP ≥ 1280px ─────────────────────────────── */
@media (min-width: 1280px) {
  .hero-grid {
    gap: 100px;
  }
}

/* ─── TABLET LANDSCAPE ≤ 1024px ──────────────────────────── */
@media (max-width: 1024px) {
  .hero-grid {
    gap: 50px;
  }

  .hero-avatar {
    width: 200px;
    height: 200px;
  }

  .hero-avatar-inner {
    font-size: 62px;
  }

  .about-grid {
    gap: 50px;
  }

  .cert-box {
    gap: 32px;
    padding: 40px;
  }
}

/* ─── TABLET PORTRAIT ≤ 900px ────────────────────────────── */
@media (max-width: 900px) {

/* Hero: stack vertically */
.hero-grid {
grid-template-columns: 1fr;
text-align: left;
gap: 0;
}

/* SHOW avatar on mobile/tablet */
.hero-avatar-wrap {
display: flex;
width: 240px;
height: 340px;
margin: 40px auto 0;
align-items: center;
justify-content: center;
}

.hero-avatar {
width: 100%;
height: 100%;
border-radius: 24px;
overflow: hidden;
}

.hero-avatar-img {
width: 100%;
height: 100%;
object-fit: cover;
object-position: center top;
border-radius: 24px;
}

/* About: stack */
.about-grid {
grid-template-columns: 1fr;
gap: 48px;
}

/* Contact: stack */
.contact-grid {
grid-template-columns: 1fr;
gap: 40px;
}

/* Certs: stack */
.cert-box {
grid-template-columns: 1fr;
text-align: left;
padding: 36px;
}

.cert-action {
text-align: left;
display: flex;
align-items: center;
gap: 24px;
}

.cert-icon-big {
margin: 0;
}

.cert-text p {
max-width: 100%;
}



  /* About: stack */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  /* Contact: stack */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* Certs: stack */
  .cert-box {
    grid-template-columns: 1fr;
    text-align: left;
    padding: 36px;
  }

  .cert-action {
    text-align: left;
    display: flex;
    align-items: center;
    gap: 24px;
  }

  .cert-icon-big { margin: 0; }

  .cert-text p { max-width: 100%; }
}

/* ─── MOBILE LARGE ≤ 768px ───────────────────────────────── */
@media (max-width: 768px) {
  :root {
    --radius: 12px;
  }

  .section { padding: 78px 0; }
  .section-head { margin-bottom: 48px; }

  /* Nav: hide links, show hamburger */
  .nav-links { display: none; }
  .hamburger { display: flex; }

  /* Timeline: compress */
  .timeline-item {
    grid-template-columns: 72px 1px 1fr;
    gap: 0 18px;
  }

  .tl-year { font-size: 11px; }
  .tl-card { padding: 20px 22px; }

  /* Projects: single column */
  .projects-grid {
    grid-template-columns: 1fr;
  }

  /* Skills: 2 col max */
  .skills-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* Cert box */
  .cert-box { padding: 28px 24px; }
  .cert-action {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Contact form */
  .contact-form-wrap { padding: 28px 24px; }

  /* Footer */
  .footer-inner {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
}

/* ─── MOBILE SMALL ≤ 540px ───────────────────────────────── */
@media (max-width: 540px) {
  .container { padding: 0 18px; }

  /* Skills: single col */
  .skills-grid { grid-template-columns: 1fr; }

  /* Hero buttons: full width */
  .hero-btns { flex-direction: column; }
  .btn-primary,
  .btn-outline {
    width: 100%;
    justify-content: center;
  }

  /* Timeline: hide year col */
  .timeline-item {
    grid-template-columns: 1px 1fr;
    gap: 0 16px;
  }

  .tl-year { display: none; }

  /* Project card */
  .project-card { padding: 26px 22px; }

  /* Cert box */
  .cert-box { padding: 24px 20px; }

  /* Section title smaller */
  .section-title { font-size: 26px; }

  /* Hero name smaller */
  .hero-name { font-size: 38px; }

  /* Nav logo */
  .nav-logo { font-size: 17px; }
}

/* ─── VERY SMALL MOBILE ≤ 380px ──────────────────────────── */
@media (max-width: 380px) {
  .container { padding: 0 14px; }

  .section { padding: 60px 0; }

  .hero-badge { font-size: 11px; padding: 5px 12px; }

  .hero-name { font-size: 34px; }


  .project-title { font-size: 18px; }

  .tl-name { font-size: 16px; }

  .cert-box { padding: 20px 16px; }

  .contact-form-wrap { padding: 22px 18px; }
}

/* ─── PRINT ───────────────────────────────────────────────── */
@media print {
  #navbar, .aurora-wrap, #particle-canvas, #cursor-dot, #cursor-ring,
  .scroll-hint, .theme-btn, .hamburger, .mobile-menu { display: none !important; }

  body { background: #fff !important; color: #000 !important; }

  .section { padding: 40px 0; }

  .project-card, .skill-card, .tl-card, .ahi {
    border: 1px solid #ccc !important;
    break-inside: avoid;
  }

  a { color: #6366f1; }
}
