/* ===== RESPONSIVE TYPOGRAPHY SYSTEM ===== */

/* Large Desktop (1200px and up) */
@media (min-width: 1200px) {
    :root {
        --text-5xl: 3.75rem;   /* 60px */
        --text-4xl: 2.75rem;   /* 44px */
        --text-3xl: 2.25rem;   /* 36px */
        --text-xl: 1.375rem;   /* 22px */
        --text-lg: 1.25rem;    /* 20px */
    }

    .portfolio-container {
        padding: 4rem 2.5rem;
    }

    .hero-section {
        padding: 4rem 0;
        margin-bottom: 3rem;
    }

    .hero-avatar {
        width: 11.25rem;
        height: 11.25rem;
    }

    .contact-section {
        padding: 3rem 0;
        margin-bottom: 3rem;
    }

    .footer {
        margin-top: 5rem;
        padding: 4rem 0 3rem;
    }

    .footer-content {
        padding: 0 2.5rem;
    }

    .footer-details {
        gap: 2.5rem;
    }
}

/* Desktop (992px to 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    :root {
        --text-5xl: 3.25rem;   /* 52px */
        --text-4xl: 2.5rem;    /* 40px */
        --text-3xl: 2rem;      /* 32px */
        --text-xl: 1.25rem;    /* 20px */
        --text-lg: 1.125rem;   /* 18px */
    }

    .portfolio-container {
        padding: 3rem 2rem;
    }

    .hero-section {
        padding: 3.5rem 0;
        margin-bottom: 2.5rem;
    }

    .hero-avatar {
        width: 10rem;
        height: 10rem;
    }

    .contact-section {
        padding: 2.5rem 0;
        margin-bottom: 2.5rem;
    }

    .footer {
        margin-top: 4rem;
        padding: 3rem 0 2.5rem;
    }

    .footer-content {
        padding: 0 2rem;
    }

    .footer-details {
        gap: 2rem;
    }
}

/* Tablet (768px to 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    :root {
        --text-5xl: 2.75rem;   /* 44px */
        --text-4xl: 2.25rem;   /* 36px */
        --text-3xl: 1.75rem;   /* 28px */
        --text-xl: 1.125rem;   /* 18px */
        --text-lg: 1rem;       /* 16px */
    }

    .portfolio-container {
        padding: 2.5rem 1.5rem;
    }

    .hero-section {
        padding: 2.5rem 0;
        margin-bottom: 2rem;
    }

    .hero-avatar {
        width: 9rem;
        height: 9rem;
    }

    .contact-section {
        padding: 2rem 0;
        margin-bottom: 2rem;
    }

    .footer {
        margin-top: 3rem;
        padding: 2.5rem 0 2rem;
    }

    .footer-content {
        padding: 0 1.5rem;
    }

    .footer-details {
        gap: 1.5rem;
        flex-direction: column;
        align-items: center;
    }
}

/* Mobile Large (576px to 767px) */
@media (min-width: 576px) and (max-width: 767px) {
    :root {
        --text-5xl: 2.25rem;   /* 36px */
        --text-4xl: 1.875rem;  /* 30px */
        --text-3xl: 1.5rem;    /* 24px */
        --text-xl: 1rem;       /* 16px */
        --text-lg: 0.875rem;   /* 14px */
    }

    .portfolio-container {
        padding: 2rem 1.25rem;
    }

    .hero-section {
        padding: 2rem 0;
        margin-bottom: 1.5rem;
    }

    .hero-content {
        gap: 1.25rem;
        margin-bottom: 1.5rem;
    }

    .hero-avatar {
        width: 8rem;
        height: 8rem;
    }

    .hero-badges {
        gap: 0.75rem;
        flex-direction: column;
        align-items: center;
    }

    .hero-location,
    .relationship-status {
        padding: 0.75rem 1.25rem;
        font-size: var(--text-sm);
    }

    .location-icon,
    .status-icon {
        width: 1rem;
        height: 1rem;
    }

    .hero-description {
        padding: 1.5rem;
    }

    .contact-section {
        padding: 1.5rem 0;
        margin-bottom: 1.5rem;
    }

    .footer {
        margin-top: 2.5rem;
        padding: 2rem 0 1.5rem;
    }

    .footer-content {
        padding: 0 1.25rem;
    }

    .footer-details {
        gap: 1rem;
        flex-direction: column;
        align-items: center;
    }

    .footer-item {
        font-size: var(--text-xs);
    }
}

/* Mobile Small (up to 575px) */
@media (max-width: 575px) {
    :root {
        --text-5xl: 2rem;      /* 32px */
        --text-4xl: 1.625rem;  /* 26px */
        --text-3xl: 1.25rem;   /* 20px */
        --text-xl: 0.875rem;   /* 14px */
        --text-lg: 0.8125rem;  /* 13px */
    }

    .portfolio-container {
        padding: 1.5rem 1rem;
    }

    .hero-section {
        padding: 1.5rem 0;
        margin-bottom: 1.25rem;
    }

    .hero-content {
        gap: 1rem;
        margin-bottom: 1.25rem;
    }

    .hero-avatar {
        width: 7rem;
        height: 7rem;
    }

    .avatar-ring {
        top: -0.5rem;
        left: -0.5rem;
        right: -0.5rem;
        bottom: -0.5rem;
    }

    .hero-role {
        height: 2.5rem;
        margin-bottom: 0.75rem;
    }

    .hero-badges {
        gap: 0.5rem;
        margin-bottom: 1rem;
    }

    .hero-location,
    .relationship-status {
        padding: 0.625rem 1rem;
        font-size: var(--text-xs);
    }

    .location-icon,
    .status-icon {
        width: 0.875rem;
        height: 0.875rem;
    }

    .status-secret {
        left: 2.75rem;
    }

    .hero-description {
        padding: 1.25rem;
        border-radius: 1rem;
    }

    .contact-section {
        padding: 1.25rem 0;
        margin-bottom: 1.25rem;
    }

    .footer {
        margin-top: 2rem;
        padding: 1.5rem 0 1rem;
    }

    .footer-content {
        padding: 0 1rem;
    }

    .copyright-main p {
        font-size: var(--text-base);
    }

    .footer-divider {
        width: 40px;
        margin: 1.5rem auto;
    }

    .footer-details {
        gap: 0.75rem;
        flex-direction: column;
        align-items: center;
        margin-bottom: 1.5rem;
    }

    .footer-item {
        font-size: var(--text-xs);
    }

    .footer-tech {
        padding-top: 1rem;
    }

    .tech-stack {
        font-size: var(--text-xs);
    }

    .section-title::after {
        width: 3rem;
        height: 0.1875rem;
        bottom: -0.75rem;
    }
}