/* ============================================
   MEDIA QUERIES - Responsive Breakpoints
   ============================================ */

/* --- Large Desktop (>2000px) --- */
@media screen and (min-width: 2000px) {
  section {
    max-width: 1400px;
  }
  .hero-title {
    font-size: 4.5rem;
  }
  .hero-image-container {
    width: 500px;
    height: 500px;
  }
}

/* --- Default Desktop (>1200px) --- */
@media screen and (min-width: 1201px) {
  #tab-nav {
    display: none !important;
  }
  #phone-nav {
    display: none !important;
  }
}

/* --- Tablet (801px - 1200px) --- */
@media screen and (max-width: 1200px) {
  #desktop-nav {
    display: none !important;
  }
  #tab-nav {
    display: flex !important;
  }
  #phone-nav {
    display: none !important;
  }

  section {
    width: 92%;
    padding: 4rem 0;
  }

  /* Hero */
  #profile {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
    padding-top: 100px;
    min-height: auto;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .social-icons {
    justify-content: center;
  }

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

  .stats-bar {
    margin: 0 auto;
  }

  .hero-image-container {
    width: 320px;
    height: 320px;
  }

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

  /* Services */
  .services-container {
    grid-template-columns: repeat(2, 1fr);
  }

  /* About */
  .about-wrapper {
    flex-direction: column;
    gap: 3rem;
  }

  .about-image-frame {
    width: 300px;
    height: 380px;
  }

  .about-text-col {
    align-items: center;
    text-align: center;
  }

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

  .btn-container {
    justify-content: center;
  }

  /* Projects */
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Contact */
  .contact-form {
    grid-template-columns: 1fr 1fr;
  }

  /* Footer */
  .footer-contact-info {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
}

/* --- Phone (<=800px) --- */
@media screen and (max-width: 800px) {
  #desktop-nav {
    display: none !important;
  }
  #tab-nav {
    display: none !important;
  }
  #phone-nav {
    display: flex !important;
  }

  section {
    width: 90%;
    padding: 3rem 0;
  }

  /* Hero */
  #profile {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
    padding-top: 80px;
    min-height: auto;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

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

  .hero-name {
    font-size: 1.2rem;
  }

  .social-icons {
    justify-content: center;
  }

  .hero-buttons {
    justify-content: center;
    flex-wrap: wrap;
  }

  .stats-bar {
    margin: 0 auto;
    gap: 1.5rem;
    padding: 1.2rem 1.5rem;
  }

  .stat-item {
    padding-right: 1.5rem;
  }

  .stat-number {
    font-size: 1.2rem;
  }

  .hero-image-container {
    width: 260px;
    height: 260px;
  }

  .hero-ambient {
    display: none;
  }

  /* Section headers */
  .section-title {
    font-size: 2rem;
  }

  .section-tag {
    font-size: 0.75rem;
    letter-spacing: 2px;
  }

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

  .service-card {
    padding: 2rem 1.5rem;
  }

  /* About */
  .about-wrapper {
    flex-direction: column;
    gap: 2.5rem;
  }

  .about-image-frame {
    width: 250px;
    height: 320px;
    border-top-left-radius: 125px;
    border-top-right-radius: 125px;
  }

  .about-text-col {
    align-items: center;
    text-align: center;
  }

  .about-description {
    text-align: center;
    font-size: 0.9rem;
  }

  .about-credentials {
    text-align: left;
  }

  .btn-container {
    justify-content: center;
  }

  /* Skills */
  .skills-row {
    gap: 2rem;
  }

  .skill-circle {
    width: 90px;
    height: 90px;
  }

  .skill-circle .inner-circle {
    width: 72px;
    height: 72px;
  }

  .skill-circle .inner-circle svg {
    width: 24px;
    height: 24px;
  }

  .skill-circle .inner-circle h2 {
    font-size: 1.2rem !important;
  }

  /* Projects */
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .folder-preview,
  .folder-preview-placeholder {
    height: 180px;
  }

  .filter-buttons {
    gap: 0.5rem;
    margin-bottom: 2rem;
  }

  .filter-btn {
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
  }

  /* Contact */
  .contact-form {
    grid-template-columns: 1fr;
  }

  .contact-textarea {
    grid-row: auto;
  }

  .contact-submit-row {
    justify-content: center;
  }

  /* Footer */
  .footer-nav {
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
  }

  .footer-contact-info {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }

  .footer-socials {
    gap: 0.5rem;
  }
}

/* --- Small Phone (<=480px) --- */
@media screen and (max-width: 480px) {
  .hero-title {
    font-size: 1.8rem;
  }

  .hero-name {
    font-size: 1rem;
  }

  .stats-bar {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    align-items: center;
  }

  .stat-item {
    border-right: none;
    padding-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 1rem;
    text-align: center;
    width: 100%;
  }

  .stat-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .hero-image-container {
    width: 200px;
    height: 200px;
  }

  .btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.85rem;
  }

  .nav-cta {
    padding: 0.45rem 1.2rem;
    font-size: 0.8rem;
  }

  .navi-links {
    gap: 0.6rem;
  }

  .navi-links li a {
    font-size: 0.75rem;
  }

  .p-logo {
    font-size: 1rem;
  }

  .about-image-frame {
    width: 200px;
    height: 260px;
    border-top-left-radius: 100px;
    border-top-right-radius: 100px;
  }

  .skill-circle {
    width: 80px;
    height: 80px;
  }

  .skill-circle .inner-circle {
    width: 64px;
    height: 64px;
  }

  .skills-row {
    gap: 1.5rem;
  }
}
