/* ==========================================================================
   Responsive Styles
   ========================================================================== */

/* Tablet Devices (768px - 1024px) */
@media (max-width: 1024px) {
    :root {
        --font-size-5xl: 2.5rem;
        --font-size-4xl: 2rem;
        --font-size-3xl: 1.75rem;
    }
    
    .container {
        padding: 0 var(--spacing-md);
    }
    
    .section {
        padding: var(--spacing-2xl) 0;
    }
    
    .home-content {
        gap: var(--spacing-xl);
    }
    
    .profile-image {
        width: 340px;
        height: 340px;
    }
    
    .profile-image img {
        width: 280px;
        height: 280px;
    }
    
    .profile-image .orbit-ring:nth-child(1) { width: 320px; height: 320px; }
    .profile-image .orbit-ring:nth-child(2) { width: 360px; height: 360px; }
    .profile-image .orbit-ring:nth-child(3) { width: 400px; height: 400px; }
    .profile-image::before { width: 380px; height: 380px; }
    .profile-image::after { width: 420px; height: 420px; }
}

/* Mobile Devices (max-width: 768px) */
@media (max-width: 768px) {
    :root {
        --font-size-5xl: 2rem;
        --font-size-4xl: 1.75rem;
        --font-size-3xl: 1.5rem;
        --font-size-2xl: 1.25rem;
        --spacing-3xl: 3rem;
    }
    
    /* Home Section */
    .home-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
        text-align: center;
    }
    
    .home-text {
        order: 2;
    }
    
    .home-image {
        order: 1;
    }
    
    .profile-image {
        width: 300px;
        height: 300px;
    }
    
    .profile-image img {
        width: 240px;
        height: 240px;
    }
    
    .profile-image .orbit-ring:nth-child(1) { width: 280px; height: 280px; }
    .profile-image .orbit-ring:nth-child(2) { width: 320px; height: 320px; }
    .profile-image .orbit-ring:nth-child(3) { width: 360px; height: 360px; }
    .profile-image::before { width: 340px; height: 340px; }
    .profile-image::after { width: 380px; height: 380px; }
    .profile-image .glow-bg { width: 220px; height: 220px; }
    .profile-image .status-indicator { bottom: 35px; right: 35px; width: 16px; height: 16px; }
    
    /* Floating Skills - Tablet */
    .floating-skills-container { width: 400px; height: 400px; }
    .skill-badge { padding: 6px 10px; font-size: 0.7rem; }
    .skill-badge i { font-size: 0.9rem; }
    .skill-badge.position-3 { right: -12%; }
    .skill-badge.position-6 { left: -12%; }
    
    .profile-image .code-bracket { font-size: 1.1rem; }
    
    .home-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .social-links {
        justify-content: center;
    }
    
    /* About Section */
    .about-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    
    .about-info {
        grid-template-columns: 1fr;
    }
    
    /* Skills Section */
    .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: var(--spacing-md);
    }
    
    .skill-item {
        padding: var(--spacing-md);
    }
    
    .skill-item i {
        font-size: 2.5rem;
    }
    
    /* Services Section */
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    /* Portfolio Section */
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    /* Contact Section */
    .contact-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    
    .contact-item {
        padding: var(--spacing-md);
    }
    
    .contact-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .contact-form-wrapper {
        padding: var(--spacing-lg);
    }
}

/* Small Mobile Devices (max-width: 480px) */
@media (max-width: 480px) {
    :root {
        --font-size-5xl: 1.75rem;
        --font-size-4xl: 1.5rem;
        --font-size-3xl: 1.25rem;
        --spacing-2xl: 2.5rem;
        --spacing-3xl: 2rem;
    }
    
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    .section-header {
        margin-bottom: var(--spacing-xl);
    }
    
    .profile-image {
        width: 260px;
        height: 260px;
    }
    
    .profile-image img {
        width: 200px;
        height: 200px;
    }
    
    .profile-image .orbit-ring:nth-child(1) { width: 240px; height: 240px; }
    .profile-image .orbit-ring:nth-child(2) { width: 280px; height: 280px; }
    .profile-image .orbit-ring:nth-child(3) { width: 320px; height: 320px; }
    .profile-image::before { width: 300px; height: 300px; }
    .profile-image::after { width: 340px; height: 340px; }
    .profile-image .glow-bg { width: 180px; height: 180px; }
    .profile-image .status-indicator { bottom: 30px; right: 30px; width: 14px; height: 14px; }
    .profile-image .accent-dot { display: none; }
    
    /* Floating Skills - Small Mobile: Show only 4 badges */
    .floating-skills-container { width: 340px; height: 340px; }
    .skill-badge { padding: 5px 8px; font-size: 0.65rem; }
    .skill-badge i { font-size: 0.8rem; }
    .skill-badge.position-5,
    .skill-badge.position-6 { display: none; }
    .skill-badge.position-1 { top: -8%; }
    .skill-badge.position-2 { right: -5%; top: 20%; }
    .skill-badge.position-3 { right: -8%; }
    .skill-badge.position-4 { bottom: 5%; right: 10%; }
    
    .profile-image .code-bracket { font-size: 1rem; }
    
    .home-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        padding: 12px 24px;
    }
    
    .social-link {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .service-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
    
    .portfolio-filter {
        gap: var(--spacing-sm);
    }
    
    .filter-btn {
        padding: 8px 16px;
        font-size: var(--font-size-sm);
    }
    
    .scroll-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }
}

/* Landscape Mode for Mobile */
@media (max-height: 600px) and (orientation: landscape) {
    .home-section {
        min-height: auto;
        padding: var(--spacing-3xl) 0;
    }
    
    .profile-image {
        width: 200px;
        height: 200px;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .scroll-top,
    .footer-social,
    .home-buttons,
    .social-links,
    .portfolio-links {
        display: none;
    }
    
    .section {
        page-break-inside: avoid;
    }
    
    * {
        background: transparent !important;
        color: black !important;
        box-shadow: none !important;
    }
}

/* ...existing code... */

