/* ============================================================
   RESPONSIVE DESIGN — Lakshya Sharma Portfolio
   Breakpoints: 1200px, 1024px, 768px, 480px, 430px, 390px
   ============================================================ */

@media (max-width: 1200px) {
  :root {
    --section-padding: 100px;
  }

  .hero-grid {
    gap: 36px;
  }

  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1024px) {
  :root {
    --section-padding: 80px;
    --nav-height: 64px;
  }

  /* Nav */
  .nav-links, .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  /* Hero */
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-content {
    order: 1;
  }

  .hero-subtitle,
  .hero-roles,
  .hero-status {
    justify-content: center;
  }

  .hero-desc {
    margin: 0 auto 32px;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    height: 520px;
    order: 2;
    margin-top: 10px;
  }

  .cutout-wrapper {
    max-width: 360px;
    height: 480px;
    margin: 0 auto;
  }

  .cutout-img {
    max-height: 450px;
  }

  .hero-scroll-hint {
    display: none;
  }

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

  .about-intro-text {
    text-align: center;
  }

  /* Services */
  .services-grid {
    grid-template-columns: 1fr;
  }

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

  /* Footer */
  .footer-main {
    flex-direction: column;
    gap: 36px;
  }

  .footer-brand {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 64px;
  }


  .container {
    padding: 0 20px;
  }

  .navbar {
    width: calc(100% - 32px);
    padding: 0 16px;
    top: 10px;
    border-radius: 16px;
  }

  .nav-mobile {
    width: calc(100% - 32px);
    top: calc(var(--nav-height) + 20px);
  }

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

  .about-card {
    display: flex;
    align-items: center;
    gap: 16px;
    text-align: left;
    padding: 20px;
  }

  .about-card-icon {
    margin: 0;
    min-width: 48px;
  }

  .about-card-title {
    margin-bottom: 4px;
  }

  /* Skills */
  .skills-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  /* Hero Visual on Tablet */
  .hero-visual {
    height: 480px;
  }

  .cutout-wrapper {
    max-width: 330px;
    height: 450px;
  }

  .cutout-img {
    max-height: 430px;
  }

  .cutout-glow {
    width: 280px;
    height: 280px;
  }

  .cutout-depth-ring {
    width: 260px;
    height: 260px;
  }

  /* Badges preserved on Mobile/Tablet */
  .cutout-badge {
    display: flex !important;
    padding: 8px 14px;
    font-size: 0.75rem;
    border-radius: 11px;
  }

  .cutout-badge.badge-ai {
    top: 24px;
    left: -10px;
  }

  .cutout-badge.badge-3d {
    top: 150px;
    right: -12px;
  }

  .cutout-badge.badge-ls {
    bottom: 50px;
    left: -8px;
  }

  .cutout-badge-icon {
    width: 26px;
    height: 26px;
    font-size: 0.625rem;
  }

  /* Form */
  .form-row {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer-nav-cols {
    flex-wrap: wrap;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
    align-items: center;
  }

  .footer-social-icons {
    display: flex;
    justify-content: center;
    gap: 12px;
  }

  /* Background */
  .bg-orb-3 {
    display: none;
  }

  .bg-grid {
    opacity: 0.15;
  }
}

@media (max-width: 480px) {
  :root {
    --section-padding: 48px;
    --radius-xl: 20px;
    --radius-lg: 18px;
  }

  .hero-title {
    font-size: 2.75rem;
  }

  .hero-subtitle {
    font-size: 0.8125rem;
    letter-spacing: 0.2em;
  }

  .hero-visual {
    height: 440px;
  }

  .cutout-wrapper {
    max-width: 295px;
    height: 410px;
  }

  .cutout-img {
    max-height: 390px;
  }

  .cutout-glow {
    width: 250px;
    height: 250px;
  }

  .cutout-depth-ring {
    width: 230px;
    height: 230px;
  }

  .cutout-badge {
    display: flex !important;
    padding: 6px 12px;
    font-size: 0.6875rem;
    border-radius: 9px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
  }

  .cutout-badge.badge-ai {
    top: 18px;
    left: -6px;
  }

  .cutout-badge.badge-3d {
    top: 135px;
    right: -8px;
  }

  .cutout-badge.badge-ls {
    bottom: 40px;
    left: -6px;
  }

  .cutout-badge-icon {
    width: 24px;
    height: 24px;
    font-size: 0.5625rem;
    border-radius: 6px;
  }

  .service-card {
    padding: 24px;
  }

  .contact-form-box {
    padding: 24px;
  }

  .coming-soon-container {
    padding: 48px 24px;
  }

  .form-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .section-title {
    font-size: clamp(1.75rem, 6vw, 2.25rem);
  }

  .terminal-body {
    font-size: 0.75rem;
    padding: 16px;
    min-height: 200px;
  }

  .bg-orb {
    display: none;
  }
}

@media (max-width: 430px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-roles {
    gap: 6px;
  }

  .role-pill {
    padding: 5px 12px;
    font-size: 0.75rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-visual {
    height: 420px;
  }

  .cutout-wrapper {
    max-width: 280px;
    height: 390px;
  }

  .cutout-img {
    max-height: 375px;
  }

  .cutout-badge {
    display: flex !important;
    padding: 5px 10px;
    font-size: 0.6875rem;
    gap: 8px;
  }

  .cutout-badge.badge-ai {
    top: 14px;
    left: -4px;
  }

  .cutout-badge.badge-3d {
    top: 130px;
    right: -6px;
  }

  .cutout-badge.badge-ls {
    bottom: 35px;
    left: -4px;
  }
}

@media (max-width: 390px) {
  .hero-title {
    font-size: 2.25rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .hero-subtitle {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    gap: 10px;
  }

  .navbar {
    padding: 0 12px;
    height: 58px;
  }

  .nav-logo-mark,
  .nav-logo-img {
    width: 34px;
    height: 34px;
    font-size: 0.75rem;
  }

  .hero-visual {
    height: 400px;
  }

  .cutout-wrapper {
    max-width: 265px;
    height: 370px;
  }

  .cutout-img {
    max-height: 355px;
  }

  .cutout-badge {
    display: flex !important;
    padding: 5px 8px;
    font-size: 0.625rem;
    gap: 6px;
  }

  .cutout-badge-icon {
    width: 22px;
    height: 22px;
    font-size: 0.5rem;
    border-radius: 5px;
  }

  .cutout-badge.badge-ai {
    top: 12px;
    left: -2px;
  }

  .cutout-badge.badge-3d {
    top: 120px;
    right: -4px;
  }

  .cutout-badge.badge-ls {
    bottom: 28px;
    left: -2px;
  }

  .coming-soon-title {
    font-size: 1.75rem;
  }
}
