/* Verbeterde mobiele ervaring */

/* Algemene mobiele verbeteringen */
@media (max-width: 768px) {
    /* Verbeter leesbaarheid op kleine schermen */
    body {
        font-size: 14px;
    }
    
    /* Verklein padding voor betere ruimtebenutting */
    .info-container {
        padding: 30px 20px;
    }
    
    /* Maak de media controller compacter */
    .media-container {
        padding: 15px;
    }
    
    /* Pas grid-animatie aan voor betere prestaties op mobiel */
    .grid-animation::before {
        background-size: 80px 80px;
    }
    
    /* Pas navigation dots aan voor betere vingerinteractie */
    .dot-navigation {
        right: 15px;
    }
    
    .dot {
        width: 15px;
        height: 15px;
        margin-bottom: 5px;
    }
    
    /* Mobiel menu voor snelle navigatie */
    .mobile-nav-toggle {
        display: block;
        position: fixed;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        background-color: #8483DE;
        color: white;
        border-radius: 30px;
        padding: 10px 20px;
        z-index: 100;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        border: none;
        outline: none;
        font-family: 'Space Mono', monospace;
        font-size: 14px;
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: 8px;
    }
    
    .mobile-nav-toggle i {
        font-size: 14px;
        transition: transform 0.3s ease;
    }
    
    .mobile-nav-toggle.active i {
        transform: rotate(180deg);
    }
    
    .mobile-menu {
        position: fixed;
        bottom: -200px;
        left: 50%;
        transform: translateX(-50%);
        background-color: #141521;
        border-radius: 15px 15px 0 0;
        padding: 20px;
        width: 90%;
        z-index: 99;
        transition: bottom 0.3s ease;
        box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.2);
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    
    .mobile-menu.active {
        bottom: 70px;
    }
    
    .mobile-menu-item {
        display: flex;
        align-items: center;
        padding: 12px 15px;
        background-color: rgba(26, 28, 42, 0.7);
        border-radius: 10px;
        color: #939db8;
        text-decoration: none;
        transition: transform 0.2s ease, background-color 0.5s ease;
        border: 1px solid rgba(39, 42, 58, 0.5);
    }
    
    .mobile-menu-item:active {
        transform: scale(0.98);
    }
    
    .mobile-menu-item i {
        margin-right: 10px;
        color: #8483DE;
        font-size: 16px;
    }
    
    /* Light mode aanpassingen voor mobiel menu */
    .light-mode .mobile-menu {
        background-color: #ffffff;
    }
    
    .light-mode .mobile-menu-item {
        background-color: #f5f5f8;
        color: #4a4a68;
        border-color: #e1e1e8;
    }
}

/* Zeer kleine schermen (telefoons in portrait mode) */
@media (max-width: 480px) {
    /* Verklein tekst verder voor hele kleine schermen */
    .name {
        font-size: 1.8rem;
        letter-spacing: 10px;
    }
    
    .typewriter-text {
        font-size: 14px;
    }
    
    .social-icons {
        gap: 20px;
    }
    
    .social-icons i {
        font-size: 20px;
    }
    
    /* Volume en theme toggle aanpassingen */
    
    /* Uniform button styling for mobile */
    .theme-toggle-container, 
    .color-picker-container, 
    .comments-button-container {
        width: 44px !important;
        height: 44px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-sizing: border-box !important;
        padding: 12px !important;
        top: 20px !important;
    }
    
    .volume-container {
        width: auto;
        top: 20px;
        left: 15px;
    }
    
    /* Positions - from right to left */
    .comments-button-container {
        right: 15px !important;
    }
    
    .theme-toggle-container {
        right: 69px !important;  /* 15 + 44 + 10 gap */
    }
    
    .color-picker-container {
        right: 123px !important;  /* 69 + 44 + 10 gap */
    }
    
    /* Icon sizes */
    #volume-icon, #theme-toggle-icon, #color-picker-icon, #comments-icon {
        font-size: 16px !important;
    }
    
    #volume-slider {
        width: 80px;
    }
    
    /* Hide notification on mobile */
    .notification {
        display: none !important;
    }
    
    /* Media controls maken kleiner */
    .media-icon-container i {
        font-size: 20px;
    }
    
    .media-control-buttons i {
        font-size: 16px;
        margin-right: 15px;
    }
    
    /* Geluid en thema toggle in mobiel menu op zeer kleine schermen */
    @media (max-height: 600px) {
        .volume-container, .theme-toggle-container, .color-picker-container {
            position: static;
            margin: 0 auto 20px auto;
            display: none;
        }
        
        .mobile-controls {
            display: flex;
            justify-content: space-between;
            margin-bottom: 10px;
        }
        
        .mobile-control-volume, .mobile-control-theme {
            background-color: rgba(26, 28, 42, 0.7);
            border-radius: 10px;
            padding: 12px;
            display: flex;
            flex-direction: column;
            align-items: center;
            width: 48%;
            border: 1px solid rgba(39, 42, 58, 0.5);
        }
        
        .light-mode .mobile-control-volume, 
        .light-mode .mobile-control-theme {
            background-color: #f5f5f8;
            border-color: #e1e1e8;
        }
        
        .mobile-control-volume {
            gap: 10px;
        }
        
        .mobile-control-label {
            color: #939db8;
            font-size: 12px;
            margin-bottom: 5px;
        }
        
        .light-mode .mobile-control-label {
            color: #4a4a68;
        }
    }
}

/* Landscape modus op telefoons */
@media (max-height: 500px) and (orientation: landscape) {
    .info-container {
        padding: 20px;
        margin-top: 70px;
    }
    
    .name {
        font-size: 1.6rem;
        padding-bottom: 5px;
    }
    
    .location-container {
        margin-bottom: 5px;
    }
    
    .typewriter-container {
        margin-bottom: 15px;
    }
    
    
}