/* ===================================
   RESPONSIVE STYLES
   =================================== */

/* Tablet (1024px and below) */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .profile-container {
        width: 300px;
        height: 300px;
    }
    
    .profile-image {
        width: 220px;
        height: 220px;
    }
    
    .float-element {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .hero-name {
        font-size: clamp(2.5rem, 6vw, 4rem);
    }
    
    .hero-title {
        font-size: clamp(1.5rem, 4vw, 2.5rem);
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .project-featured {
        grid-template-columns: 1fr;
    }
    
    .project-image {
        min-height: 300px;
    }
    
    .skills-category {
        padding: 2rem;
    }
    
    .skill-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

/* Mobile (768px and below) */
@media (max-width: 768px) {
    /* Cursor */
    .custom-cursor,
    .cursor-follower {
        display: none;
    }
    
    body {
        cursor: auto;
    }
    
    /* Navigation */
    .nav-container {
        padding: 1rem;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 100%;
        max-width: 300px;
        height: calc(100vh - 70px);
        background: var(--secondary-bg);
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem;
        gap: 1.5rem;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
        border-left: 2px solid var(--accent-cyan);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-link {
        width: 100%;
        padding: 0.8rem 0;
        border-bottom: 1px solid rgba(100, 255, 218, 0.1);
    }
    
    .hamburger {
        display: flex;
    }
    
    /* Hero */
    .hero {
        padding-top: 100px;
        min-height: auto;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-text {
        order: 1;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .profile-container {
        width: 250px;
        height: 250px;
        margin: 0 auto;
    }
    
    .profile-image {
        width: 180px;
        height: 180px;
    }
    
    .hexagon-layer {
        width: 70%;
        height: 70%;
    }
    
    .layer-2 {
        width: 85%;
        height: 85%;
    }
    
    .layer-3 {
        width: 100%;
        height: 100%;
    }
    
    .float-element {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .hero-name {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    
    .hero-title {
        font-size: clamp(1.2rem, 5vw, 2rem);
        justify-content: center;
    }
    
    .title-dynamic {
        min-width: 150px;
    }
    
    .hero-description {
        font-size: 1rem;
        max-width: 100%;
    }
    
    .hero-cta {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-social {
        justify-content: center;
    }
    
    .social-link {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .scroll-indicator {
        display: none;
    }
    
    /* Sections */
    section {
        padding: 3rem 0;
    }
    
    .section-header {
        flex-wrap: wrap;
        margin-bottom: 2rem;
    }
    
    .section-number {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-line {
        width: 100%;
        margin-left: 0;
        margin-top: 0.5rem;
    }
    
    /* About */
    .about-intro p {
        font-size: 1rem;
    }
    
    .about-highlights {
        grid-template-columns: 1fr;
    }
    
    .highlight-card {
        padding: 1.5rem;
    }
    
    .highlight-card i {
        font-size: 2rem;
    }
    
    .highlight-card h3 {
        font-size: 1.1rem;
    }
    
    /* Skills */
    .skills-content {
        gap: 2rem;
    }
    
    .skills-category {
        padding: 1.5rem;
    }
    
    .category-title {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
    }
    
    .skill-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .skill-item {
        gap: 0.8rem;
    }
    
    .skill-icon {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    
    .skill-info h4 {
        font-size: 1rem;
    }
    
    .skill-bar {
        height: 6px;
    }
    
    /* Projects */
    .project-featured {
        grid-template-columns: 1fr;
    }
    
    .project-image {
        min-height: 250px;
    }
    
    .project-content {
        padding: 1.5rem;
    }
    
    .project-title {
        font-size: 1.5rem;
    }
    
    .project-description {
        font-size: 0.95rem;
    }
    
    .project-tech {
        gap: 0.5rem;
    }
    
    .tech-tag {
        font-size: 0.75rem;
        padding: 0.3rem 0.8rem;
    }
    
    .project-links {
        flex-direction: column;
    }
    
    .project-link {
        width: 100%;
        justify-content: center;
    }
    
    .more-projects {
        padding: 2rem 1rem;
    }
    
    .more-projects-text {
        font-size: 0.95rem;
        flex-direction: column;
    }
    
    /* Experience */
    .timeline {
        padding-left: 2rem;
    }
    
    .timeline::before {
        left: 0;
    }
    
    .timeline-marker {
        left: -2.4rem;
        width: 16px;
        height: 16px;
    }
    
    .timeline-content {
        padding: 1.5rem;
    }
    
    .timeline-header h3 {
        font-size: 1.2rem;
    }
    
    .timeline-achievements {
        gap: 0.8rem;
    }
    
    .timeline-achievements li {
        font-size: 0.9rem;
    }
    
    .timeline-skills {
        gap: 0.5rem;
    }
    
    .skill-badge {
        font-size: 0.75rem;
        padding: 0.3rem 0.8rem;
    }
    
    /* Contact */
    .contact-text h3 {
        font-size: 1.5rem;
    }
    
    .contact-text p {
        font-size: 1rem;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .contact-card {
        padding: 1.5rem;
    }
    
    .contact-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .contact-details h4 {
        font-size: 1.1rem;
    }
    
    /* Footer */
    .footer {
        padding: 2rem 0;
    }
    
    .footer-social {
        gap: 1rem;
    }
    
    .footer-social a {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .footer-text p {
        font-size: 0.9rem;
    }
    
    .footer-tech {
        font-size: 0.8rem;
    }
    
    .footer-copyright {
        font-size: 0.75rem;
    }
    
    /* Scroll to Top */
    .scroll-top {
        width: 45px;
        height: 45px;
        bottom: 1.5rem;
        right: 1.5rem;
        font-size: 1rem;
    }
}

/* Small Mobile (480px and below) */
@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .nav-container {
        padding: 0.8rem 1rem;
    }
    
    .nav-logo {
        font-size: 1.2rem;
    }
    
    .logo-bracket {
        font-size: 1.4rem;
    }
    
    .theme-toggle {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .hero {
        padding-top: 80px;
    }
    
    .profile-container {
        width: 200px;
        height: 200px;
    }
    
    .profile-image {
        width: 150px;
        height: 150px;
    }
    
    .hero-name {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 1.2rem;
        flex-direction: column;
        align-items: center;
        gap: 0.3rem;
    }
    
    .title-dynamic {
        min-width: auto;
    }
    
    .hero-description {
        font-size: 0.95rem;
    }
    
    .hero-greeting {
        font-size: 1rem;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.85rem;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .section-number {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .highlight-card {
        padding: 1.2rem;
    }
    
    .highlight-card i {
        font-size: 1.8rem;
    }
    
    .highlight-card h3 {
        font-size: 1rem;
    }
    
    .category-title {
        font-size: 1.1rem;
    }
    
    .project-title {
        font-size: 1.3rem;
    }
    
    .timeline-header h3 {
        font-size: 1.1rem;
    }
    
    .contact-text h3 {
        font-size: 1.3rem;
    }
    
    .scroll-top {
        width: 40px;
        height: 40px;
        bottom: 1rem;
        right: 1rem;
    }
}

/* Landscape Mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 6rem 0 3rem;
    }
    
    .hero-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .hero-visual {
        order: 1;
    }
    
    .hero-text {
        order: -1;
    }
    
    .profile-container {
        width: 200px;
        height: 200px;
    }
    
    .profile-image {
        width: 150px;
        height: 150px;
    }
    
    .scroll-indicator {
        display: none;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .scroll-top,
    .loading-screen,
    #neural-network,
    .custom-cursor,
    .cursor-follower,
    .hamburger,
    .theme-toggle,
    .hero-social,
    .footer-social,
    .scroll-indicator {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
    
    section {
        page-break-inside: avoid;
    }
    
    .hero {
        min-height: auto;
        padding-top: 2rem;
    }
}
